TradingView
darkbrewery
30 Th11 2021 18:34

Two Moving Average Cross 

VOLATILITY S&P 500TVC

Mô tả

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.

Phát hành các Ghi chú

Added Arnaud Legoux and Least Squares

Phát hành các Ghi chú

Added smoothed MA

Phát hành các Ghi chú

Added Triple Exponential MA

Phát hành các Ghi chú

TEMA simplified by 4 lines

Phát hành các Ghi chú

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

Phát hành các Ghi chú

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

Phát hành các Ghi chú

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

Phát hành các Ghi chú

Added the Ehlers version of Kaufman's adaptive moving average

Phát hành các Ghi chú

Added option to choose timeframe. Repainting now removed by default.
Bình luận
eli5mang
Thank you so much for this. It's perfect ! :)
Thêm nữa