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