The trend detection index ( TDI ), which can be used to help detect when a trend has begun and when it has come to an end.
The Trend Detection Index ( TDI ) is used to identify when a trend has started and when it ends. The TDI can be used as a stand-alone indicator or combined with others; It will work well when it comes to spotting the beginning of trends. However, this does not mean that its signals are absolutely accurate.
Price --> Price source as input.
Length --> Length input can be adjusted to tune TDI performance.
MktPos --> 1 for long and -1 for short
This is a Level 1 free but closed source indicator.
Feedbacks are appreciated.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
USDT TRC20: TWVYATJFN7SsbrmH8jLVrWHaV2aNruvvcT
USDT ERC20: 0xfd4d0eb131e81f44530849c1a966cb261dd6bda2