OPEN-SOURCE SCRIPT
已更新 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.
發行說明
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.開源腳本
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.
免責聲明
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.
開源腳本
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.
免責聲明
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.