bjr117

Moving Average Multitool Crossover

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

Ben R.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?