OPEN-SOURCE SCRIPT

Multi Function 5MA

Multi Function 5MA has covered about all the functions that you would generally want to MA.
The functions that can be displayed with this indicator are as follows.

1 Up to 5 MA and Signal lines can be displayed as desired.

2 MA lines change color according to the following conditions. Fixed color can also be selected
1. Up/Down with the source of calculation (e.g., closing price)
2. Up/Down with the Signal
3. MA line up or down

3 MA and Signal lines can be selected from the following 6 types
1.SMA (Simple Moving Average)
2.EMA (Exponential Moving Average)
3.RMA (Running Moving Average)
4.WMA (Weighted Moving Average)
5.HMA (Hull Moving Average)
6.LSMA (Least Squares Moving Average)

4 The following can be set individually for both MA and Signal lines
1.Type
2.Period
3.Offset value

5 Ribbon backgrounds can be displayed on MA lines with the following information
1.4 Ribbons can be displayed simultaneously for MA1/2 MA2/3 MA3/4 MA4/5
2.Ribbon color can be set individually for all four ribbons
3.Ribbon color changes depending on MAs Condition. Fixed colors can also be set and selected.

6 BB (Bollinger Bands) and KC (Keltner Channels) can be set for MAs as follows
1.BB and KC can be set for the same MA or for different MA
2.Up to 3 BB line and 3 KC line can be displayed each
3.Standard deviation period and sigma value for BB and ATR value and multiplier for KC can be set
4.Colors can be set for each BB line and KC line
5.Background can be displayed in any range for both BB and KC

7 MA, Signal, Ribbon, BB, KC, and background can all be set individually for color, density, and thickness
Bands and ChannelsMoving Averages

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明