indicator · on price · open source
Waddah Attar Explosion
Running…
Loading chart…
About
Waddah Attar Explosion combines MACD direction with Bollinger Band Width: green/red columns show MACD building in each direction, the orange line tracks volatility expansion.
- Trade only when columns appear together with a rising orange line (real explosion).
- Columns without expansion = low-conviction drift, skip.
- Histogram colours flip with trend strength.
Source code
//@version=5
indicator("Waddah Attar Explosion", overlay=true)
macdL = ta.ema(close, 20) - ta.ema(close, 40)
macdS = ta.ema(close, 5) - ta.ema(close, 35)
bbW = ta.bbw(close, 20, 2)
trendUp = macdL > macdL[1] and macdL > 0
p_Bull_MACD = plot(trendUp ? macdL : 0, "Bull MACD", color=color.green, style=plot.style_columns)
p_Bear_MACD = plot(trendUp ? 0 : -macdL, "Bear MACD", color=color.red, style=plot.style_columns)
p_Explosion = plot(bbW * 150, "Explosion", color=color.orange, linewidth=2)
alertcondition(trendUp and not trendUp[1], "Bullish explosion start", "Waddah Attar bullish explosion started")
alertcondition(not trendUp and trendUp[1], "Bearish explosion start", "Waddah Attar bearish explosion started")
No comments yet.
Sign in to comment.