PROTECTED SOURCE SCRIPT

Trading Checklist

32
//version=5
indicator("Trading Checklist – Transparent (Checkbox)", overlay=true)

// ───── INPUTS (1 klik)
g = "Checklist"
c1 = input.bool(false, "✅ Trend vyšší TF", group=g)
c2 = input.bool(false, "✅ Cena na S/R", group=g)
c3 = input.bool(false, "✅ Potvrzovací svíčka", group=g)
c4 = input.bool(false, "✅ RRR min 1:2", group=g)
c5 = input.bool(false, "✅ Bez makro zpráv", group=g)

// ───── VZHLED
bgHeader = color.new(color.black, 80)
bgLeft = color.new(color.black, 90)
bgDone = color.new(color.green, 85)
bgWait = color.new(color.red, 85)

f_txt(done) => done ? "✅ SPLNĚNO" : "❌ ČEKÁM"
f_bg(done) => done ? bgDone : bgWait

// ───── TABULKA
var table t = table.new(position.bottom_right, 2, 6, border_width=1)

if barstate.islast
table.cell(t, 0, 0, "TRADING CHECKLIST", text_color=color.white, bgcolor=bgHeader)
table.cell(t, 1, 0, "STAV", text_color=color.white, bgcolor=bgHeader)

table.cell(t, 0, 1, "Trend vyšší TF", text_color=color.white, bgcolor=bgLeft)
table.cell(t, 1, 1, f_txt(c1), text_color=color.white, bgcolor=f_bg(c1))

table.cell(t, 0, 2, "Cena na S/R", text_color=color.white, bgcolor=bgLeft)
table.cell(t, 1, 2, f_txt(c2), text_color=color.white, bgcolor=f_bg(c2))

table.cell(t, 0, 3, "Potvrzovací svíčka", text_color=color.white, bgcolor=bgLeft)
table.cell(t, 1, 3, f_txt(c3), text_color=color.white, bgcolor=f_bg(c3))

table.cell(t, 0, 4, "RRR min 1:2", text_color=color.white, bgcolor=bgLeft)
table.cell(t, 1, 4, f_txt(c4), text_color=color.white, bgcolor=f_bg(c4))

table.cell(t, 0, 5, "Bez makro zpráv", text_color=color.white, bgcolor=bgLeft)
table.cell(t, 1, 5, f_txt(c5), text_color=color.white, bgcolor=f_bg(c5))

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.