//version=4
strategy("MavilimW Al-Sat Botu", shorttitle="MavilimW Bot", overlay=true)

// MavilimW indikatörünü kullanarak al-sat sinyalleri üret
longCondition = crossover(sma(close, 50), sma(close, 200))
shortCondition = crossunder(sma(close, 50), sma(close, 200))

// Alım sinyali
if (longCondition)
strategy.entry("Alım", strategy.long)

// Satış sinyali
if (shortCondition)
strategy.entry("Satış", strategy.short)
Trend Analysis

免责声明