[RS]Equinox Timed Extremes V0.01

request for Equinox, update adds open line.
Remove from Favorite Scripts Add to Favorite Scripts
study("[RS]Equinox Timed Extremes V0.01", overlay=true)
ExtremeTimeFrame = input("240")
ExtremeTimeWindow = input(1)

TEH = security(tickerid, ExtremeTimeFrame, highest(ExtremeTimeWindow))
TEL = security(tickerid, ExtremeTimeFrame, lowest(ExtremeTimeWindow))
TO = security(tickerid, ExtremeTimeFrame, open)

plot(TO, color=TEH!=TEH[1]?na:black, linewidth=2)

EH = plot(TEH, color=TEH!=TEH[1]?na:black)
EL = plot(TEL, color=TEL!=TEL[1]?na:black)
fill(EH, EL, color=gray, transp=75)
Hcon = high >= TEH
Lcon = low <= TEL

plotshape(Hcon, style=shape.triangledown, color=maroon, location=location.abovebar, text='[TEH]')
plotshape(Lcon, style=shape.triangleup, color=green, location=location.belowbar, text='[TEL]')
showFibLvls = input(true)
range = TEH-TEL

fib236 = TEL + range*0.236
fib382 = TEL + range*0.382
fib500 = TEL + range*0.500
fib618 = TEL + range*0.618
fib764 = TEL + range*0.764

plot(not showFibLvls ? na : fib236, color=fib236!=fib236[1]?na:blue)
plot(not showFibLvls ? na : fib382, color=fib382!=fib382[1]?na:teal)
plot(not showFibLvls ? na : fib500, color=fib500!=fib500[1]?na:orange)
plot(not showFibLvls ? na : fib618, color=fib618!=fib618[1]?na:teal)
plot(not showFibLvls ? na : fib764, color=fib764!=fib764[1]?na:blue)

showZigzag = input(true)
zigzag = Hcon ? high : Lcon ? low : na
plot(not showZigzag ? na : zigzag, color=black, style=circles, linewidth=4, join=true)
im a newbie, can u explain this please
they move when new extreme highs/lows are made, but need to be updated manually(refresh page or by changing indicator settings) the it doesnt repaint automatically
vdubus PRO RicardoSantos
ye I just caught it in action on a 5 min chart, I'm running it along side your Monthly Dynamic Range Levels, I'm impressed lol., Not to blow smock up you @rs your in a League of your own, nice work :)
the TEH points, are they fixed ones painted or doe they move to new highs / lows if broken ?
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out