OPEN-SOURCE SCRIPT

Moving Average Multitool Crossover

Telah dikemas kini
As per request, this is a moving average crossover version of my original moving average multitool script.

It allows you to easily access and switch between different types of moving averages, without having to continuously add and remove different moving averages from your chart. This should make backtesting moving average crossovers much, much more easier. It also has the option to show buy and sell signals for the crossovers of the chosen moving averages.

It contains the following moving averages:
  • Exponential Moving Average (EMA)
  • Simple Moving Average (SMA)
  • Weighted Moving Average (WMA)
  • Double Exponential Moving Average (DEMA)
  • Triple Exponential Moving Average (TEMA)
  • Triangular Moving Average (TMA)
  • Volume-Weighted Moving Average (VWMA)
  • Smoothed Moving Average (SMMA)
  • Hull Moving Average (HMA)
  • Least Squares Moving Average (LSMA)
  • Kijun-Sen line from the Ichimoku Kinko-Hyo system (Kijun)
  • McGinley Dynamic (MD)
  • Rolling Moving Average (RMA)
  • Jurik Moving Average (JMA)
  • Arnaud Legoux Moving Average (ALMA)
  • Vector Autoregression Moving Average (VAR)
  • Welles Wilder Moving Average (WWMA)
  • Sine Weighted Moving Average (SWMA)
  • Leo Moving Average (LMA)
  • Variable Index Dynamic Average (VIDYA)
  • Fractal Adaptive Moving Average (FRAMA)
  • Variable Moving Average (VAR)
  • Geometric Mean Moving Average (GMMA)
  • Corrective Moving Average (CMA)
  • Moving Median (MM)
  • Quick Moving Average (QMA)
  • Kaufman's Adaptive Moving Average (KAMA)
  • Volatility-Adjusted Moving Average (VAMA)
  • Modular Filter (MF)
Nota Keluaran
Fixed buy and sell labels being position too far from price on lower timeframe charts.
Nota Keluaran
Corrected 2nd MA's plot title, and added offset as an input to the Arnaud Legoux MA (ALMA).
Nota Keluaran
Merged WWMA and RMA, since they result in a perfectly identical calculation. Cleaned up code.
c1confirmationcrossoverMoving AveragesmovingaveragecrossovermultipleindicatorsmultiplemovingaveragennfxtrendTrend Analysis

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian