bjr117

Moving Average Multitool Crossover

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

Ben R.
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?