Maga3

[M] MTF Fibonacci levels

12510 просмотров
5459
12510 30
Automatic drawing Fibonacci levels for such lazy like me =)
Удалить из избранных скриптов Добавить в избранные скрипты
For such lazy like me too :) YOU did a great Job this Fib Rtm is Golden.
Ответить
How do you create the labels on the right (Fib:61.8, Fib:50.0, etc.)??
+3 Ответить
Great indicator. Just curious why there are two of each level? And I notice the 50% level sometimes is also the high/low of the period. Is that to show the direction? And when does it change colour? On close of candle?
+1 Ответить
:(( I can't add to my favorite scripts. Please grant me the access.
Ответить
My indicator simply draws the fibo levels from high to low, I do not know why people like it and ask for its code. But if you need it, then take it)


//@version=2

study(title=' MTF Fibonacci levels', shorttitle='Fib', overlay=true)
TimeFrame = input('1D',type=string,title="Timeframe" )
fiblength=input(1,minval=1,title="Length")

zeroSrc = close > open ? high : low

Z_000 = security(tickerid, TimeFrame, sum(zeroSrc,fiblength)/fiblength)
H_100 = security(tickerid, TimeFrame, highest(high,fiblength))
L_100 = security(tickerid, TimeFrame, lowest(low,fiblength))

H_RANGE = H_100-Z_000
L_RANGE = Z_000-L_100

H_764 = H_100 - H_RANGE * 0.236
H_618 = H_100 - H_RANGE * 0.382
H_500 = H_100 - H_RANGE * 0.500
H_382 = H_100 - H_RANGE * 0.618
H_236 = H_100 - H_RANGE * 0.764

L_764 = L_100 + L_RANGE * 0.236
L_618 = L_100 + L_RANGE * 0.382
L_500 = L_100 + L_RANGE * 0.500
L_382 = L_100 + L_RANGE * 0.618
L_236 = L_100 + L_RANGE * 0.764

h100=plot( series=change(H_100)!=0?na:H_100, title="100", color=black, transp=0, linewidth=2,style=linebr)
h764=plot( series=change(H_764)!=0?na:H_764, title="76.4", color=yellow, transp=0,style=linebr, linewidth=2)
h618=plot( series=change(H_618)!=0?na:H_618, title="61.8", color=blue, transp=0,style=linebr, linewidth=2)
h500=plot( series=change(H_500)!=0?na:H_500, title="50.0", color=lime, transp=0,style=linebr, linewidth=2)
h382=plot( series=change(H_382)!=0?na:H_382, title="38.2", color=green, transp=0,style=linebr, linewidth=2)
h236=plot( series=change(H_236)!=0?na:H_236, title="23.6", color=red, transp=0,style=linebr, linewidth=2)
l236=plot( series=change(L_236)!=0?na:L_236, title="23.6", color=red, transp=0,style=linebr, linewidth=2)
l382=plot( series=change(L_382)!=0?na:L_382, title="38.2", color=green, transp=0,style=linebr, linewidth=2)
l500=plot( series=change(L_100)!=0?na:L_500, title="50.0", color=lime, transp=0,style=linebr, linewidth=2)
l618=plot( series=change(L_618)!=0?na:L_618, title="61.8", color=blue, transp=0,style=linebr, linewidth=2)
l764=plot( series=change(L_764)!=0?na:L_764, title="76.4", color=yellow, transp=0,style=linebr, linewidth=2)
l100=plot( series=change(L_100)!=0?na:L_100, title="100", color=black, transp=0, linewidth=2,style=linebr)
zero=plot( series=change(Z_000)!=0?na:Z_000, title="0.00", color=black, transp=0, linewidth=2,style=linebr)
+11 Ответить
cool ,can you give me access to code?
Ответить
could I please have access to the script?
Ответить
Can you allow me to get access to this script?
Ответить
the only problem with your script is that the value of negative fibs and positive fibs are sometimes the same. so if you can change it to + and minus . for eample: fib 76 up will be = to fib 76 down . if you just modify in your script this issue then you will solve the problem
Ответить
liufengly RafaelZioni
@RafaelZioni, pardon?
Ответить
RU Русский
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
HE עברית
Домой Скринер акций Скринер форекс Скринер криптовалют Экономический календарь О проекте Особенности Правила поведения Модераторы Решения для сайтов и брокеров Виджеты Компонент графиков Отзывы и предложения Блог и новости ЧаВо Справка и Wiki Твиттер
Профиль Настройка профиля Счёт и оплата Оставить отзыв Опубликовано идей Подписчики Подписан Личные сообщения Чат Выйти