The Elder Ray indicator measures buying and selling pressures to determine which group is driving the market. Bull Power measures whether the high is above or below an exponential moving average; while Bear Power measures whether the low is above or below an estimated moving average.
\[Bull\;Power = High - EMA_{n-period}\]
\[Bear\;Power = Low - EMA_{n-period}\]