P
PipsGrowth

Key Takeaways

Difficulty:Intermediate
Reliability:High
Category:momentum
Timeframes:Daily, Weekly

Elder Ray Index

momentumšŸ“Š Daily, Weekly

Dr. Alexander Elder's indicator measuring Bull Power and Bear Power relative to an EMA.

Formula

Code
Bull Power = High - EMA(13)
Bear Power = Low - EMA(13)

Detailed Explanation

Elder Ray was developed by Dr. Alexander Elder to measure buying and selling pressure.

Components:
- Bull Power: Distance from high to EMA (buyer strength)
- Bear Power: Distance from low to EMA (seller strength)
- EMA: 13-period default

Trading Setup Example

Entry, stop loss, and take profit levels.

šŸ“ˆ Buy Setup
Elder Ray Index703050Oversold!EntryTake ProfitStop LossCandlesIndicatorOversoldBUY
šŸ“‰ Sell Setup
Elder Ray Index703050Overbought!EntryTake ProfitStop LossCandlesIndicatorOverboughtSELL

Always wait for signal confirmation before entering a trade.

Where This Indicator Works Best

Trend context and market position.

šŸ“ˆ Bullish Context
OBOSOversold!Ranging MarketBest Fit āœ“Buy Signal
šŸ“‰ Bearish Context
OBOSOverbought!Ranging MarketBest Fit āœ“Sell Signal

Detects overbought/oversold in trending and ranging markets.

Live Chart — Elder Ray Index

See Elder Ray Index in action on a live chart. Try changing the settings and timeframe.

Elder Ray Index is a manual drawing tool or chart type and cannot be auto-overlaid as a study.

Open Chart on TradingView

Parameters

EMA Period
Default: 13
EMA calculation period

šŸ“ˆ Bullish Signals

EMA rising, Bear Power negative but rising toward zero

šŸ“‰ Bearish Signals

EMA falling, Bull Power positive but falling toward zero

Python Implementation

Elder Ray calculation

Python
import pandas_ta as ta
df['EMA'] = ta.ema(df['close'], 13)
df['Bull_Power'] = df['high'] - df['EMA']
df['Bear_Power'] = df['low'] - df['EMA']

TradingView Pine Script

JavaScript
//@version=5
indicator("Elder Ray")
ema = ta.ema(close, 13)
bull = high - ema
bear = low - ema
plot(bull, "Bull Power", color=color.green, style=plot.style_histogram)
plot(bear, "Bear Power", color=color.red, style=plot.style_histogram)
šŸ“Š Use TradingView for Advanced Charting
Professional analysis tools with 100+ technical indicators
Get TradingView Pro

MT5 MQL5 Code

C++
int bears_handle = iBearsPower(_Symbol, _Period, 13);
int bulls_handle = iBullsPower(_Symbol, _Period, 13);

Common Mistakes

āœ—Trading against EMA trend
āœ—Ignoring divergences

Confirmation Signals

EMA direction
MACD
Price action

Best For

Trend confirmationEntry timingPullback trading

šŸ’” Pro Tips

  • •Part of Elder Triple Screen System
  • •Bull Power shows buyer strength
  • •Bear Power shows seller strength
Last updated: February 8, 2026

Educational Disclaimer

This content is for educational purposes only and does not constitute financial or investment advice. Trading involves significant risk and you may lose your capital. Always consult a licensed financial advisor before making investment decisions.

Frequently Asked Questions

Elder Ray Index - Complete Guide with Python & TradingView Code