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