MA-EMA Crossover Alerts

This is a script for getting alerts for the MA-EMA XO Strategy that I published recently.
This is probably the first version that I am putting out for this logic.
Based on feedback (and some coding suggestions and support if anyone is willing), I will try to improve this further.
So, what do we have in this script -
I have created 5 alert conditions. The 4 alerts are straight-forward : Entry / Exit alerts for Long / Short.
The fifth alert is just a single Alert which is triggered if any of the 4 alert conditions are met. Then user can check the chart to see what trade is triggered.

I am not explaining the logic of the indicator here since it is kind-of covered in the strategy.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Your work is greatly appreciated!
+1 Reply
Thanks for uploading this script.... really nice :)
Masa_1234 cgminer997

Hope it helps you. If you use this script to trade, please share specific feedback on your experience. I will be happy to modify / tune the script further.
cgminer997 Masa_1234
@Masa_1234, So far I think, this is one of the best scripts I've seen here. I'll be glad to share with you my experience (eg swing and scapling). If you could PM me with your email, that would help :)
Again: nice job man :) Glad I've found your script here :)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out