This is an experimental study designed to track the average magnitude of price movements.
First the range between high and low, and the range between open and close are calculated.
Then a positive and negative root mean square is taken of both ranges, and the results are smoothed with an exponential moving average.
And lastly, the median value between the ranges...
This study is an experimental variation of Peter Martin's Ulcer Index built using the framework of my Dual Ulcer Index indicator.
In this version, the difference between the long and short UI is calculated.
This index is a measure of volatility and momentum that can be used to locate low risk trading opportunities.
Bull and Bear power based on linear regression (this is a non lagging oscillator, the parameter are for the lookup window for the donchian extremes)
this indicator can also be used for convergence/divergence.
(accidentjev2) added option to show as accumulation
added another option to show as remainder of (bull minus bear)
EXPERIMENTAL: this script can be used as a trend follower if bgcolor is active, it can be used to catch extremes and target levels for a pull back to the mean, can be used as support and resistance with the time period open price and extreme. other uses, improvements let me know :p.