TradingView
darkbrewery
2021年11月30日晚上6點34分

Two Moving Average Cross 

VOLATILITY S&P 500TVC

描述

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.

發布通知

Added Arnaud Legoux and Least Squares

發布通知

Added smoothed MA

發布通知

Added Triple Exponential MA

發布通知

TEMA simplified by 4 lines

發布通知

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

發布通知

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

發布通知

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

發布通知

Added the Ehlers version of Kaufman's adaptive moving average

發布通知

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