characteristics, and is formulated to detect the beginning and ending of these
cycles by incorporating a moving average together with a divisor that reflects both possible
and actual trading ranges. The final index measures the deviation from normal, which indicates
major changes in market trend.
To put it simply, the ( ) value shows how the instrument is trading
relative to its mean (average) price. When the value is high, it means that the prices are
high compared to the average price; when the value is down, it means that the prices are low
compared to the average price. The value usually does not fall outside the -300 to 300 range
and, in fact, is usually in the -100 to 100 range.
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.