我正试着用布林格带画出图的部分。但是在给图形带着色时,一些部分看起来是用2种颜色着色或与颜色重叠,
如下图所示:

请看标有黄色矩形的部分。我能做些什么来避免这种颜色重叠?
如何避免这种重叠?因为它使可见性无法理解当前呈现的颜色。此documentation目前没有任何帮助。
我只是在使用以下内容:
//--- plot Label1
#property indicator_label1 "UpTrend"
#property indicator_type1 DRAW_FILLING
#property indicator_color1 DarkGreen//C'10,10,70'
#property indicator_style1 STYLE_SOLID
#property indicator_width1 1
//--- plot Label2
#property indicator_label2 "DnTrend"
#property indicator_type2 DRAW_FILLING
#property indicator_color2 C'70,10,10'
#property indicator_style2 STYLE_SOLID
#property indicator_width2 1
//--- plot Label3
#property indicator_label3 "Flat"
#property indicator_type3 DRAW_FILLING
#property indicator_color3 Aqua//C'50,50,50'
#property indicator_style3 STYLE_SOLID
#property indicator_width3 1发布于 2018-04-16 22:09:37
如何避免这种重叠?
嗯,实际上你不能。
在MetaTrader终端本机图形用户界面引擎中没有这样的工具来执行此操作。
然而,人们可以构建自己的远程GUI引擎,其中任何这样的工具都是可用的(并且只与MT4/5终端MQL4/5代码通信)。

https://stackoverflow.com/questions/49857952
复制相似问题