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))

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.