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)")
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.