OPEN-SOURCE SCRIPT
Mis à jour

Two Moving Average Cross

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

Clause de non-responsabilité