PROTECTED SOURCE SCRIPT
MACD Hook + RSI + Breakout + EMA

//version=5
indicator("MACD Hook + RSI + Breakout + EMA + ADX", overlay=true)
// ===== MACD Hook =====
[macdLine, signalLine, _] = ta.macd(close, 12, 26, 9)
macdHook = macdLine > signalLine and ta.crossover(macdLine, signalLine)
// ===== RSI =====
rsi = ta.rsi(close, 14)
rsiCondition = rsi > 50
// ===== Breakout =====
highestHigh = ta.highest(high, 5)
breakout = close > highestHigh[1]
// ===== EMA Confirmation =====
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
emaCondition = close > ema20 and ema20 > ema50
// ===== ADX =====
adx = ta.adx(14)
adxCondition = adx > 20
// ===== Bullish Candle =====
bullishCandle = close > open
// ===== Entry Condition =====
entryLong = macdHook and rsiCondition and breakout and emaCondition and adxCondition and bullishCandle
// ===== Plot Signal on Chart =====
plotshape(entryLong, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
// ===== Alert Condition =====
alertcondition(entryLong, title="Buy Alert", message="🚨 إشارة شراء مؤكدة (MACD + RSI + Breakout + EMA + ADX)")
indicator("MACD Hook + RSI + Breakout + EMA + ADX", overlay=true)
// ===== MACD Hook =====
[macdLine, signalLine, _] = ta.macd(close, 12, 26, 9)
macdHook = macdLine > signalLine and ta.crossover(macdLine, signalLine)
// ===== RSI =====
rsi = ta.rsi(close, 14)
rsiCondition = rsi > 50
// ===== Breakout =====
highestHigh = ta.highest(high, 5)
breakout = close > highestHigh[1]
// ===== EMA Confirmation =====
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
emaCondition = close > ema20 and ema20 > ema50
// ===== ADX =====
adx = ta.adx(14)
adxCondition = adx > 20
// ===== Bullish Candle =====
bullishCandle = close > open
// ===== Entry Condition =====
entryLong = macdHook and rsiCondition and breakout and emaCondition and adxCondition and bullishCandle
// ===== Plot Signal on Chart =====
plotshape(entryLong, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
// ===== Alert Condition =====
alertcondition(entryLong, title="Buy Alert", message="🚨 إشارة شراء مؤكدة (MACD + RSI + Breakout + EMA + ADX)")
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.