OPEN-SOURCE SCRIPT

Indicator: 8x MA with configurable lengths

Generic 8x MA plotter. Marks all MA crossings.

Also, you can specify the type of MA -- SMA or EMA.

I actually added an option to disable a specific MA line by specifying ZERO for it. This seems to break the Pinescript Engine. So, for now, please specify all MA values, though I have support for disabling a line in the code.
Exponential Moving Average (EMA)Simple Moving Average (SMA)

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?


List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
Also on:

Disclaimer