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.
Nota Keluaran:
Added Arnaud Legoux and Least Squares
Nota Keluaran:
Added smoothed MA
Nota Keluaran:
Added Triple Exponential MA
Nota Keluaran:
TEMA simplified by 4 lines
Nota Keluaran:
Cleaned up code, double and triple ema no longer calculate until they are called for. Added quadruple ema.
Nota Keluaran:
Moved smoothed MA's into switch so they don't calculate until called.
Nota Keluaran:
Changed Smoothed to Welles Wilder, found a new way to do the calculation
Nota Keluaran:
Added the Ehlers version of Kaufman's adaptive moving average
Nota Keluaran:
Added option to choose timeframe. Repainting now removed by default.