JMA + A2RTS + Alerts

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.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
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.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.