TradingView
darkbrewery
30 nov 2021 18:34

Two Moving Average Cross 

VOLATILITY S&P 500TVC

Descrizione

Choose two completely different moving averages and determine crossover points. Feel free to copy and paste the code into any strategy using MA crosses in order to optimize backtesting.

Note di rilascio

Added Arnaud Legoux and Least Squares

Note di rilascio

Added smoothed MA

Note di rilascio

Added Triple Exponential MA

Note di rilascio

TEMA simplified by 4 lines

Note di rilascio

Cleaned up code, double and triple ema no longer calculate until they are called for. Added quadruple ema.

Note di rilascio

Moved smoothed MA's into switch so they don't calculate until called.

Note di rilascio

Changed Smoothed to Welles Wilder, found a new way to do the calculation

Note di rilascio

Added the Ehlers version of Kaufman's adaptive moving average

Note di rilascio

Added option to choose timeframe. Repainting now removed by default.
Commenti
eli5mang
Thank you so much for this. It's perfect ! :)
Altro