OPEN-SOURCE SCRIPT

Ultimate Multi-Timeframe Indicator

69
//version=5
indicator("Ultimate Multi-Timeframe Indicator", overlay=true)

// EMA Ayarları
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
trendBullish = ta.crossover(ema50, ema200)
trendBearish = ta.crossunder(ema50, ema200)

// RSI Ayarları
rsi = ta.rsi(close, 14)
rsiOverbought = 70
rsiOversold = 30
rsiBullish = rsi < rsiOversold
rsiBearish = rsi > rsiOverbought

// MACD Ayarları
[macdLine, signalLine, _] = ta.macd(close, 12, 26, 9)
macdBullish = ta.crossover(macdLine, signalLine)
macdBearish = ta.crossunder(macdLine, signalLine)

// Bollinger Bantları
bbBasis = ta.sma(close, 20)
bbUpper = bbBasis + ta.stdev(close, 20) * 2
bbLower = bbBasis - ta.stdev(close, 20) * 2
bbBreakout = close > bbUpper or close < bbLower

// Giriş & Çıkış Sinyalleri
buySignal = trendBullish and macdBullish and rsiBullish
sellSignal = trendBearish and macdBearish and rsiBearish

// Grafikte Gösterimler
plot(ema50, color=color.blue, title="EMA 50")
plot(ema200, color=color.red, title="EMA 200")
plot(bbUpper, color=color.green, title="Bollinger Upper")
plot(bbLower, color=color.green, title="Bollinger Lower")
plot(bbBasis, color=color.orange, title="Bollinger Basis")

// Alış & Satış İşaretleri
plotshape(series=buySignal, location=location.belowbar, color=color.green, style=shape.labelup, title="BUY Signal", text="BUY")
plotshape(series=sellSignal, location=location.abovebar, color=color.red, style=shape.labeldown, title="SELL Signal", text="SELL")

// Uyarılar
alertcondition(buySignal, title="BUY Alert", message="Strong Buy Signal")
alertcondition(sellSignal, title="SELL Alert", message="Strong Sell Signal")

// Al-Sat Sinyalleri için Etiketler
bgcolor(buySignal ? color.green : na, transp=90)
bgcolor(sellSignal ? color.red : na, transp=90)

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.