//@version=2
study(title="Multi Time Frame Al-Sat", overlay=true)
// Zaman dilimleri
m5 = security(tickerid, "5", close)
m15 = security(tickerid, "15", close)
h1 = security(tickerid, "60", close)
h4 = security(tickerid, "240", close)
d1 = security(tickerid, "1440", close)
// Grafikler
plot(m5, color=red, linewidth=2)
plot(m15, color=green, linewidth=2)
plot(h1, color=blue, linewidth=2)
plot(h4, color=yellow, linewidth=3)
plot(d1, color=purple, linewidth=3)
// Al-Sat Sinyalleri
longCondition = crossover(m5, m15) and crossover(m15, h1) and crossover(h1, h4)
shortCondition = crossunder(m5, m15) and crossunder(m15, h1) and crossunder(h1, h4)
//if (longCondition)
// label.new(bar_index, m5, "Al", color = green)
//if (shortCondition)
//label.new(bar_index, m5, "Sat", color = red)
al sat kesisim yazdım fakat hata veriyor bi turlu düzeltemedim yardımcı olabilr misiniz
Yer İmleri