OPEN-SOURCE SCRIPT

AlphaTrend For ProfitView

Updated
This strategy is based on the AlphaTrend indicator by KivancOzbilgic https://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.
Release Notes
Add option to only allow longs
automationbotMoving AveragesprofitviewTrend Analysis

Open-source script

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.

Want to use this script on a chart?

Disclaimer