bjr117

Moving Average Multitool

bjr117 已更新   
I made this script as a personal tool while backtesting multiple moving averages. 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.

It also has the option to show the a 14 period average distance between the closing price of an asset and the selected moving average, as a multiple of ATR. This number can be shown by enabling the "Show ATR Between MA and Close" setting. The intention of this value is to quantify and compare the speed of different moving averages across any instrument and any timeframe. The higher the value, the slower the moving average. The lower the value, the faster the moving average.
版本注释:
Credited the original authors of the moving average scripts I didn't make myself.
版本注释:
Created a moving average crossover version of this script:
版本注释:
Cleaned up code, corrected ALMA settings, and added ma-close crossover signals
版本注释:
Fixed ATR lookback period input and corrected input titles.
版本注释:
Corrected more input titles.
版本注释:
Merged WWMA and RMA, since they result in a perfectly identical calculation. Cleaned up code.
版本注释:
Added the HiLo Trend (HLT)
版本注释:
Added the Tillson T3 (T3)
版本注释:
Added the option to display standard deviation bands around the MA (same calculation as Bollinger Bands)
Added the option to show moving average slope change signals
Added the option to color the moving average based on either the price cross signal or slope change signal

Ben R.
开源脚本

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

免责声明

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

想在图表上使用此脚本?