OPEN-SOURCE SCRIPT

MA Cross - Multi-Timeframe

Updated
The MA cross is probably one of my favourite strategies because of its simplicity but it often gets overlooked for more complex strategies.

The original author of this script is ChartArt, I have just added some extra controls and functions which are outlined below. I would just like to add that this is my first published script, everything I have learned about coding has been from studying and tinkering with many of the publicly available scripts on TV so I would like thank all the authors who give out this knowledge so freely!

Updates
- Converted to v4
- Made some graphical changes and provided more control over plots
- Added RMA and VWMA
- Added alerts

Original script can be found here
Release Notes
Updates v1.1
- Resolved issue where old script was not calculating the higher TFs correctly
- This fix causes the Ribbon Fill color to break, you can disable the Ribbon Fill if this bothers you.
- Slow MA color now changes to orange when Ribbon Fill is disabled.
- Added more alert options and fixed an issue where not all crosses generated alerts.
crossMoving AveragesmtfrmasmatrendTrend Analysis

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