OPEN-SOURCE SCRIPT

Trend Direction Force Index v2 - TDFI [wm]

已更新
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
版本注释
+ Fixed bug for FX point values less than 0.0
版本注释
.
Trend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明