indicator · on price · open source
Elder Impulse System indicator
Elder Impulse System is a free open-source indicator. Elder Impulse System colours price bars green when both EMA(13) and MACD histogram are… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Elder Impulse System does
Elder Impulse System colours price bars green when both EMA(13) and MACD histogram are rising (bulls in control), red when both falling, blue when they disagree.
- Stay long in green bars, short in red bars; blue bars are no-trade zones.
- Avoids many false signals from a pure EMA cross or pure MACD cross.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Elder Impulse System", overlay=true)
colorUp = input.color("color.green", "Color Up")
colorDown = input.color("color.red", "Color Down")
colorLine = input.color("color.blue", "Color Line")
ema13 = ta.ema(close, 13)
[macdLine, signalLine, macdH] = ta.macd(close, 12, 26, 9)
emaSlope = ema13 > ema13[1]
macdUp = macdH > macdH[1]
impulseColor = emaSlope and macdUp ? colorUp : (not emaSlope and not macdUp ? colorDown : colorLine)
barcolor(impulseColor)
alertcondition(impulseColor == colorUp and impulseColor[1] != colorUp, "Bullish impulse", "Elder impulse flipped bullish")
alertcondition(impulseColor == colorDown and impulseColor[1] != colorDown, "Bearish impulse", "Elder impulse flipped bearish")
No comments yet.
Sign in to comment.