OPEN-SOURCE SCRIPT
Aktualisiert

Two Moving Average Cross

3 940
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.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.