0

我正在尝试用布林带绘制图表的各个部分。但是在为图表带着色时,某些部分似乎用两种颜色着色或与颜色重叠,

见下图:

我的形象

见黄色矩形部分。我该怎么做才能避免颜色重叠?

我怎样才能避免这种重叠?因为它使能见度无法理解目前存在的颜色。该文档现在没有帮助。

我只是使用以下内容:

//--- 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
4

1 回答 1

0

我怎样才能避免这种重叠?

好吧,实际上你不能。

MetaTrader 终端本地 GUI 引擎中没有这样的工具来执行此操作。

然而,人们可以构建自己的远程 GUI 引擎,其中任何此类工具都可用(并且只需与 MT4/5 终端 MQL4/5 代码进行通信)。 在此处输入图像描述

于 2018-04-16T14:09:36.627 回答