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.
crossoverMoving Averages

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明