OPEN-SOURCE SCRIPT

Market Trend Oscillator

Updated
Market Trend Oscillator segments the market into ranged bound and trending aspect. The threshold level segregates both types of market. With higher level, both the risk and reward lower down.

The MTO indicator, is based on Standard Deviation, difference between highest high and lowest low, ATR and ADR. There are two different volatility aspect which are:
  1. Volatility according to the movement of one price e.g. closing price.
  2. Volatility according to the candles.


The minimum of both these aspects gives an insight into the volatility of the market. To segregate a dynamic value with ATR and ADR is used with the threshold level. Moreover, the volatilities can be smoothed to have a smoother decision making.
Release Notes
Market Trend Oscillator segments the market into ranged bound and trending aspect. The threshold level segregates both types of market. With higher level, both the risk and reward lower down.

The MTO indicator, is based on Standard Deviation, difference between highest high and lowest low, ATR and ADR. There are two different volatility aspect which are:
  1. Volatility according to the movement of one price e.g. closing price.
  2. Volatility according to the candles.


The minimum of both these aspects gives an insight into the volatility of the market. To segregate a dynamic value with ATR and ADR is used with the threshold level. Moreover, the volatilities can be smoothed to have a smoother decision making.
Release Notes
Market Trend Oscillator segments the market into ranged bound and trending aspect. The threshold level segregates both types of market. With higher level, both the risk and reward lower down.

The MTO indicator, is based on Standard Deviation, difference between highest high and lowest low, ATR and ADR. There are two different volatility aspect which are:
  1. Volatility according to the movement of one price e.g. closing price.
  2. Volatility according to the candles.


The minimum of both these aspects gives an insight into the volatility of the market. To segregate a dynamic value with ATR and ADR is used with the threshold level. Moreover, the volatilities can be smoothed to have a smoother decision making.
OscillatorsTrend AnalysisVolatility

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer