Editor's Picks
OPEN-SOURCE SCRIPT

BERLIN Range Index | Bar color version

Aktualisiert
The original problem: The choppiness index is great at finding ranging markets, but it is sometimes very slow, which means most of the time it only catches the end of a trend.

This indicator tries to solve this. It uses the choppiness index and filters it using a factor that is based on the standard deviation of the ATR.

The ATR based filter is calculated by first calculating the running standard deviation of the ATR, and then looking at that in relation to its recent low to find a filtering factor to use on the choppiness index. This makes the choppiness index more reactive to trends, but also slightly more likely to missidentify ranges.

This is the bar color version of the indicator. It changes the color of the bars when it it thinks the market is ranging and when it thinks it is trending.

Yellow = Trending
Transparent gray = Ranging
Versionshinweise
- Version 1.1 -
  • Added option to use normalized true range in the ATR filter. This is now the default.
  • Changed color for exhausted trends from transparent gray to solid orange.
  • Changed color for weakening exhausted trend from transparent yellow to red.
Average True Range (ATR)CHOPChoppiness Index (CHOP)choppyOscillatorsrangeVolatility

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss