OPEN-SOURCE SCRIPT
Diupdate 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.
Catatan Rilis
Added Arnaud Legoux and Least SquaresCatatan Rilis
Added smoothed MACatatan Rilis
Added Triple Exponential MACatatan Rilis
TEMA simplified by 4 linesCatatan Rilis
Cleaned up code, double and triple ema no longer calculate until they are called for. Added quadruple ema.Catatan Rilis
Moved smoothed MA's into switch so they don't calculate until called.Catatan Rilis
Changed Smoothed to Welles Wilder, found a new way to do the calculationCatatan Rilis
Added the Ehlers version of Kaufman's adaptive moving averageCatatan Rilis
Added option to choose timeframe. Repainting now removed by default.Skrip open-source
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.
Pernyataan Penyangkalan
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.
Skrip open-source
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.
Pernyataan Penyangkalan
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.