OPEN-SOURCE SCRIPT

MA Crossover Type

Updated
Draws the up and down crossovers of a specified MA Type.

# Inputs

- MA Type: "sma", "ema", "swma", "vwma", "wma"
- Length >=1
- Source
- Offset >= 0
- Show cross Up?
- Show cross Down?

# Open Source

The code is open source @ https://github.com/holofinance/tradingview-indicators/blob/master/MACrossOverType.pine and uses the commonpine library https://github.com/holofinance/commonpine



Release Notes
docs(): fix links
crossovercrossoversExponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)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?

Disclaimer