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.