OPEN-SOURCE SCRIPT
Actualizado 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.
Notas de prensa
Added Arnaud Legoux and Least SquaresNotas de prensa
Added smoothed MANotas de prensa
Added Triple Exponential MANotas de prensa
TEMA simplified by 4 linesNotas de prensa
Cleaned up code, double and triple ema no longer calculate until they are called for. Added quadruple ema.Notas de prensa
Moved smoothed MA's into switch so they don't calculate until called.Notas de prensa
Changed Smoothed to Welles Wilder, found a new way to do the calculationNotas de prensa
Added the Ehlers version of Kaufman's adaptive moving averageNotas de prensa
Added option to choose timeframe. Repainting now removed by default.Script de código abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Script de código abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.