High/Low/Close/SMA of $TICK

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
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)
This is pretty cool but you can also just add TICK to your charts and unmerge it and have the actual TICK at the bottom or the top. You can then use candlesticks, HA candles, bars, etc.
Great job making this!
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
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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