indicator · on price · open source
Elder Ray Bull Power indicator
Elder Ray Bull Power is a free open-source indicator. Bull Power is the difference between the period high and an EMA of the close. Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Elder Ray Bull Power does
Bull Power is the difference between the period high and an EMA of the close. Positive = bulls pushed price above the average close.
- Pair with Bear Power for the full Elder Ray setup.
- Bull Power rising while Bear Power falls = trend confirmation.
- Plot on the price pane alongside candles.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Elder Ray Bull Power", overlay=true)
len = input.int(13, "EMA Length", minval=2, maxval=200)
colorUp = input.color("color.green", "Color Up")
colorNeutral = input.color("color.gray", "Color Neutral")
bull = high - ta.ema(close, len)
hline(0, "Zero", color=colorNeutral, linestyle=hline.style_dotted)
p_Bull_Power = plot(bull, "Bull Power", color=colorUp, style=plot.style_columns, linewidth=2)
alertcondition(ta.crossover(bull, 0), "Bull Power positive", "Bull Power crossed above zero")
alertcondition(ta.crossunder(bull, 0), "Bull Power negative", "Bull Power crossed below zero")
No comments yet.
Sign in to comment.