bjr117

Moving Average Multitool Crossover

bjr117 Aggiornato   
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)
Note di rilascio:
Fixed buy and sell labels being position too far from price on lower timeframe charts.
Note di rilascio:
Corrected 2nd MA's plot title, and added offset as an input to the Arnaud Legoux MA (ALMA).
Note di rilascio:
Merged WWMA and RMA, since they result in a perfectly identical calculation. Cleaned up code.

Ben R.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?