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.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.