OPEN-SOURCE SCRIPT
Updated

True Momentum Oscillator - Universal Edition

13 991
"TMO calculates momentum using the delta of price. Giving a much better picture of trend, trend reversals and divergence than momentum oscillators using price".

This is an implementation of the popular ToS indicator TMO . It incorporates a few improvements on the original code, which have also been proposed upstream. Please read the opening comment in the code.

How to use this indicator?
You can think of this indicator as a mix of RSI and MACD .
Similarly to RSI , it has overbought and oversold levels.
Similarly to MACD it has a TMO line and a signal line. The histogram shows the difference between those lines and easily lets you spot crossovers.

What does this indicator do?
In its default configuration, it looks at the last 14 candles and determines a score based on whether the current price is higher or lower than those candles. This reacts to breakouts very quickly, especially after a consolidation period.
Release Notes
Removed unnecessary parentheses.
Release Notes
Added multi-timeframe support and replaced parameters that are going to be deprecated. Freshened up some default colors.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.