OPEN-SOURCE SCRIPT
JMA + A2RTS + Alerts

The script is a combination of two high quality scripts Everget's JMA and Alex Grover's A2RTS script, all credit too them for the original code.
Additional thanks to Mango2Juice for the continued help as this is my first script published and it would not of been possible without the help.
The goal of this script is to allow for you to enter into trends and too keep you in them while maximizing profit.
Trade Conditions:
Buy Enter: when JMA goes from red to green and use yellow line (A2RTS) as a trail stop
Buy Exit: when A2RTS flips or JMA goes back to red
Sell Enter: when JMA goes from green to red and use yellow line (A2RTS) as a trail stop
Sell Exit: When A2RTS flips or JMA goes back to green
Alerts have also been added for when JMA changes color and when A2RTS flips

Please drop a comment below if this script is helpful or if you have any question
Once again this is my first script and I hope you all enjoy it.
Additional thanks to Mango2Juice for the continued help as this is my first script published and it would not of been possible without the help.
The goal of this script is to allow for you to enter into trends and too keep you in them while maximizing profit.
Trade Conditions:
Buy Enter: when JMA goes from red to green and use yellow line (A2RTS) as a trail stop
Buy Exit: when A2RTS flips or JMA goes back to red
Sell Enter: when JMA goes from green to red and use yellow line (A2RTS) as a trail stop
Sell Exit: When A2RTS flips or JMA goes back to green
Alerts have also been added for when JMA changes color and when A2RTS flips
Please drop a comment below if this script is helpful or if you have any question
Once again this is my first script and I hope you all enjoy it.
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.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
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.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
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.