OPEN-SOURCE SCRIPT
ICT Timeline Istanbul (UTC+3) — FINAL CLEAN

//version=6
indicator("ICT Timeline Istanbul (UTC+3) — FINAL CLEAN", overlay=true)
// ==== helper ====
isExact(t) => not na(time(timeframe.period, t, "Europe/Istanbul"))
isRange(t) => not na(time(timeframe.period, t, "Europe/Istanbul"))
// ============================================================
// === NY MARKERS (vertical lines) — Istanbul ===
// ============================================================
ny_m1 = isExact("150000-150000") // 15:00 TR
ny = isExact("160000-160000") // 16:00 TR
ny_p1 = isExact("170000-170000") // 17:00 TR
plot(ny_m1 ? 10e20 : na, style=plot.style_linebr, color=color.teal, linewidth=1, title="NY-1 (15:00)")
plot(ny ? 10e20 : na, style=plot.style_linebr, color=color.teal, linewidth=1, title="NY (16:00)")
plot(ny_p1 ? 10e20 : na, style=plot.style_linebr, color=color.teal, linewidth=1, title="NY+1 (17:00)")
// ============================================================
// === MACRO WINDOWS (Auction — FOMC) — Istanbul ===
// ============================================================
auction = isExact("210000-210000") // 21:00 TR
fomc = isExact("220000-220000") // 22:00 TR
plot(auction ? 10e20 : na, style=plot.style_linebr, color=color.red, linewidth=1, title="Auction (21:00)")
plot(fomc ? 10e20 : na, style=plot.style_linebr, color=color.orange, linewidth=1, title="FOMC (22:00)")
// ============================================================
// === SILVER BULLET WINDOWS (full shading) — Istanbul ===
// ============================================================
// London SB : 11–12
// NY AM SB : 18–19
// NY PM SB : 22–23
in_lon = isRange("110000-120000")
in_am = isRange("180000-190000")
in_pm = isRange("220000-230000")
bgcolor(in_lon ? color.new(color.blue, 85) : na, title="London SB")
bgcolor(in_am ? color.new(color.aqua, 85) : na, title="NY AM SB")
bgcolor(in_pm ? color.new(color.purple, 85) : na, title="NY PM SB")
indicator("ICT Timeline Istanbul (UTC+3) — FINAL CLEAN", overlay=true)
// ==== helper ====
isExact(t) => not na(time(timeframe.period, t, "Europe/Istanbul"))
isRange(t) => not na(time(timeframe.period, t, "Europe/Istanbul"))
// ============================================================
// === NY MARKERS (vertical lines) — Istanbul ===
// ============================================================
ny_m1 = isExact("150000-150000") // 15:00 TR
ny = isExact("160000-160000") // 16:00 TR
ny_p1 = isExact("170000-170000") // 17:00 TR
plot(ny_m1 ? 10e20 : na, style=plot.style_linebr, color=color.teal, linewidth=1, title="NY-1 (15:00)")
plot(ny ? 10e20 : na, style=plot.style_linebr, color=color.teal, linewidth=1, title="NY (16:00)")
plot(ny_p1 ? 10e20 : na, style=plot.style_linebr, color=color.teal, linewidth=1, title="NY+1 (17:00)")
// ============================================================
// === MACRO WINDOWS (Auction — FOMC) — Istanbul ===
// ============================================================
auction = isExact("210000-210000") // 21:00 TR
fomc = isExact("220000-220000") // 22:00 TR
plot(auction ? 10e20 : na, style=plot.style_linebr, color=color.red, linewidth=1, title="Auction (21:00)")
plot(fomc ? 10e20 : na, style=plot.style_linebr, color=color.orange, linewidth=1, title="FOMC (22:00)")
// ============================================================
// === SILVER BULLET WINDOWS (full shading) — Istanbul ===
// ============================================================
// London SB : 11–12
// NY AM SB : 18–19
// NY PM SB : 22–23
in_lon = isRange("110000-120000")
in_am = isRange("180000-190000")
in_pm = isRange("220000-230000")
bgcolor(in_lon ? color.new(color.blue, 85) : na, title="London SB")
bgcolor(in_am ? color.new(color.aqua, 85) : na, title="NY AM SB")
bgcolor(in_pm ? color.new(color.purple, 85) : na, title="NY PM SB")
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.