OPEN-SOURCE SCRIPT
Atualizado AlphaTrend For ProfitView

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:
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.
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.
Notas de Lançamento
Add option to only allow longsScript de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.