krispa

TICKv2

416 1 57
USI:TICK            
FX:SPX500            
CME_MINI:ES1!            

High/Low/Close/SMA of $TICK
Changes:

editable SMA lenght of HL/2 instead of ema of ohlc4. (green line)
added close (yelllow).
added 4 more editable lines.
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study(title="TICKv2", shorttitle="TICKv2", overlay=false, precision=0)
len = input(14, minval=1, title="SMA of hl/2 Lenght")

sym1 = "TICK", res1 = period, source1 = high
plot(security(sym1, res1, source1), color=#4985E7, linewidth=2, title="High of period", transp=25)

sym2 = "TICK", res2 = period, source2 = low
plot(security(sym2, res2, source2), color=red, linewidth=2, title="Low of period", transp=25)

sym3 = "TICK", res3 = period, source3 = close
plot(security(sym3, res3, source3), color=yellow, linewidth=1, title="Current or Close of period", transp=25)

hline(0, color=green, linewidth=1, linestyle=solid, title="0 Line")
linje1 = hline(800, color=orange, linestyle=dotted, title="Upper 1")
linje2 = hline(-800, color=orange, linestyle=dotted, title="Lower 1")
linje3 = hline(1000, color=orange, linestyle=dashed, title="Upper 2")
linje4 = hline(-1000, color=orange, linestyle=dashed, title="Lower 2")
linje5 = hline(1200, color=orange, linestyle=solid, title="Upper 3")
linje6 = hline(-1200, color=orange, linestyle=solid, title="Lower 3")

medel = security("TICK", period, sma(hl2, len))
plot(medel, color=lime, linewidth=2,title="SMA", transp=40)
Great job making this!
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out