OPEN-SOURCE SCRIPT

CHOPper

It is based on the Choppiness Index indicator. It can show you when the market is in range. If the lines are below the lower band, it can be a strong trend, if it is inside the 2 bands, it is considered to be a choppy market, and if it is crossed down the upper band, it can be a developing trend.
This indicator does not show you the trend direction! This may be used as a confirmation indicator.

The improvements this indicator provides over the original:
  • It uses ATR instead of just TR (if ATR length is 1, it is the original TR)
  • It uses my ATRWO (ATR Without Outliers) indicator inside, which can remove extreme highs and lows from calculation. You can tune this by the "ATRWO STDev Mult" parameter. Higher value means more outliers are allowed.
  • It has 2 lines, one uses ATR(WO) (the blue one), which can be similar to the original Choppiness Index, the other uses standard deviation (the teal one).


The 2 lines can be used together, or you can hide one of them.
ATRCHOPChoppiness Index (CHOP)OscillatorsStandard Deviation (Volatility)Trend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité