OPEN-SOURCE SCRIPT
Trend Finder {Darkoexe}

This indicator displays the end and start of trends using an ATR factor.
The ATR with trend factor is used to determine the minimum length for a trend to be considered a trend.
The ATR against trend factor is used to determine the minimum length price needs to move against a trend for it to break the trend.
The ATR factors are multiplied with the ATR to determine these lengths.
The labels indicate the starts and ends of trends;
The green label indicates the start of an up trend.
The red label indicates the start of a down trend.
The black/gray label indicates the start of a trend and the end of another trend at the same location.
The purple/pink label indicates the end of a trend.
All the label colors can be changed.
IMPORTANT NOTE: This is a repainting indicator, it should only be used to back test and analyze previous trends. Do not use this indicator for live trading.
The ATR with trend factor is used to determine the minimum length for a trend to be considered a trend.
The ATR against trend factor is used to determine the minimum length price needs to move against a trend for it to break the trend.
The ATR factors are multiplied with the ATR to determine these lengths.
The labels indicate the starts and ends of trends;
The green label indicates the start of an up trend.
The red label indicates the start of a down trend.
The black/gray label indicates the start of a trend and the end of another trend at the same location.
The purple/pink label indicates the end of a trend.
All the label colors can be changed.
IMPORTANT NOTE: This is a repainting indicator, it should only be used to back test and analyze previous trends. Do not use this indicator for live trading.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.