This strategy is based on the AlphaTrend indicator by KivancOzbilgichttps://www.tradingview.com/v/o50NYLAZ/ A full description of this algorithm functionality may be found by clicking the linked image above. Changes and/or additions:
It is now a backtestable strategy
Updated alert trigger logic
Easy integration with ProfitView to use this algorithm for automated trading
When you create an alert, and you are using ProfitView, select "alert() function calls only" as the condition option. If you would rather set your own custom alert message, select "Order fills only" instead. There is a selectable setting in the options to trigger alert() function calls immediately, that you may use to see what text it will send.
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 publication is governed by House rules. You can favorite it to use it on a chart.
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.