OPEN-SOURCE SCRIPT

Moving Averages - Backtesting

Alerts script that has triggers on multiple moving average crossovers so that profit is maximised, it also has an optional control moving average, enabled by default, that when active will stop trading when the price (first ma) is below the control moving average.

Source code is open so that others can use and modify
Click Below for Alerts Study version:
Multiple Moving Averages Alerts Script


Disclaimers, not an expert, not intended to be financial advise.

Biffy
alertsMoving Averagesmultiplemovingaverageopensourcecode

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer