OPEN-SOURCE SCRIPT

Fractal Dimension Index

The Fractal Dimension Index is a technical indicator that gauges the amount of volatility currently present in the market.

The theory behind this indicator is that a value of 1.5 suggests the market is acting in a completely random fashion. As the market deviates from 1.5, the opportunity for earning profits is increased in proportion to the amount of deviation.

Keep in mind that the indicator does not show the direction of trends! Although you can try to test it as a trend-following indicator that gives trend-following signals, that isn't the intended use of the indicator.

The Fractal Dimension Index is red when the market is in a trend. And it is blue when there is high volatility. When the Fractal Dimension Index changes its color from red to blue, it means that a trend is finishing. The market becomes erratic and high in volatility when the Fractal Dimension Index is blue. Usually, these "blue periods" do not go on for a long time, they come before a new trend.

So, look for trend-following signals while the Fractal Dimension Index is blue since this indicates high volatility before a potential trend, and avoid trend-following signals when the Fractal Dimension Index is red since this indicates a ranging/non-trending market or a trend that started long ago.
contractionfilternnfxtrendTrend AnalysistrendfilterVolatilityVolume

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità