OPEN-SOURCE SCRIPT

EmreGMS

//version=5
indicator("Birleştirilmiş ALMA ve Medyan", overlay=true)

// ALMA İndikatörü Ayarları
almaLength = input.int(9, title="ALMA Periyodu", minval=1)
almaOffset = input.float(0.85, title="ALMA Offset", step=0.05)
almaSigma = input.float(6, title="ALMA Sigma", step=0.5)
almaValue = ta.alma(close, almaLength, almaOffset, almaSigma)

// Medyan İndikatörü Ayarları
medyanLength = input.int(14, title="Medyan Periyodu", minval=1)
medyanValue = ta.median(close, medyanLength)

// ALMA ve Medyan'ı Birleştir
combinedValue = (almaValue + medyanValue) / 2

// Çizgileri Grafikte Göster
plot(almaValue, color=color.blue, linewidth=2, title="ALMA")
plot(medyanValue, color=color.green, linewidth=2, title="Medyan")
plot(combinedValue, color=color.red, linewidth=3, title="Birleştirilmiş ALMA ve Medyan")

// Alım/Satım Sinyalleri
buySignal = ta.crossover(close, combinedValue)
sellSignal = ta.crossunder(close, combinedValue)

// Sinyalleri Göster
plotshape(buySignal, style=shape.labelup, location=location.belowbar, color=color.green, text="AL")
plotshape(sellSignal, style=shape.labeldown, location=location.abovebar, color=color.red, text="SAT")
Candlestick analysisFundamental AnalysisMoving Averages

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer