TradingView
bjr117
2021年12月6日晚上9點04分

Moving Average Multitool 

Euro Fx/U.S. DollarFXCM

描述

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: https://www.tradingview.com/script/dQ0RZcoO-Moving-Average-Multitool-Crossover/

發布通知

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
評論
everget
Check if RMA and WWMA are equal
bjr117
@everget, Ahh I see that they are exactly equal, thank you for pointing this out! I removed WWMA and created a WWMA/RMA option.
GarethSA
GREAT SCRIPT.

Can you make this into a crossover script so it displays two MA's ?
bjr117
@GarethSA, Sure! I was planning on doing so, but just made due with adding two of these to my chart.
GarethSA
@bjr117, Please let me know when you do
bjr117
@GarethSA, Will do!
bjr117
edkiers
Hello everget, i want to discuss a simple prgramming job with you but this message is not getting through when I send you a direct message because I have not enough points. How can I reach you? Do you want me to publish the idea here ? Kind regards, Ed Kiers in Amsterdam
更多