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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.