bjr117

Moving Average Multitool Crossover

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

Ben R.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?