OPEN-SOURCE SCRIPT

TSEP Dual SMA + Optional BB

31
//version=6
indicator(title="TSEP Chart Info Overlay", shorttitle="TSEP Overlay", overlay=true)

// === INPUTS ===
tickerID = input.string(title="Ticker Symbol", defval="TYPE", tooltip="Manually enter the ticker symbol for this chart.")
showOverlay = input.bool(true, title="Show TSEP Overlay")

// === PRICE ===
currentPrice = close

// === VOLUME ===
currentVol = volume
adtv50 = ta.sma(volume, 50)

// === TIMESTAMP ===
timestampText = "🕓 01:40 AM CDT 07/10/2025" // Replace automatically on future updates if needed

// === DISPLAY STRING ===
labelText = "Ticker: " + tickerID + "\nPrice: $" + str.tostring(currentPrice, "#.##") +
"\nVolume: " + str.tostring(currentVol, "#.##") +
"\n50-day ADTV: " + str.tostring(adtv50, "#.##") +
"\n" + timestampText

// === RENDER ===
if showOverlay
label.new(x=bar_index, y=high, text=labelText, style=label.style_label_left,
textcolor=color.white, size=size.normal, color=color.new(color.black, 85))

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.