OPEN-SOURCE SCRIPT

SMA EMA HMA VWMA Crossover Strategy with MA Turning Point Exits

Updated
This version adds HMA and VWMA, allowing you to backtest different crossover strategies for any combination, with the exits on the turning point of the faster MA. Due to order limitations this will only work on higher timeframes for some combinations, or on more recent exchanges with less history. You can edit the code though to add the timestamp to a recent date.
Release Notes
Added TEMA
crossoverHMAMoving AveragessmaTriple Exponential Moving Average (TEMA)

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