OPEN-SOURCE SCRIPT

Trend Direction Force Index v2 - TDFI [wm]

Atualizado
TDFI can range from -1 to 1 and thus indicate the direction of the trend.

In periods of consolidation ratios take very low values ​​close to zero as a rule, do not exceed the value of 0.05 (and -0.05), which have set arbitrarily as horizontal signal lines. Rate accelerates rapidly to higher values ​​when the consolidation ends and is a good chance of becoming a permanent trend.

As an extension, the trader can assume that as long as the pointer moves above the signal line and does not come down to the low value of less than 0.05 for at least two bars the trend continues. So the descent below signal line and a return to higher values ​​should be interpreted as a temporary weakening trend. Not before rate remains below 0.05 for at least 2 bars, can we consider that the market is likely to begin to consolidate

In addition, we can assess the strength of the trend, depending on the value of the index – the index reaches 1 trend is strong (-1 is a strong downward trend) and generally values ​​above 0.6 should be so interpreted. Less than in decline should be considered that the trend is losing its momentum.

Change Log:

* Refactored tdfi implementation. Functionally exactly the same
* Added selectable smoothers
* Added finer grained inputs fora each smoother
Notas de Lançamento
+ Fixed bug for FX point values less than 0.0
Notas de Lançamento
.
Trend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal