SetIndexStyle(0,DRAW_HISTOGRAM,0,2); SetIndexBuffer(0,Up1); SetIndexStyle(1,DRAW_HISTOGRAM,0,2); SetIndexBuffer(1,Up2); SetIndexStyle(2,DRAW_HISTOGRAM,0,2); SetIndexBuffer(2,Dn1); SetIndexStyle(3,DRAW_HISTOGRAM,0,2); SetIndexBuffer(3,Dn2); //--- SetIndexBuffer(0,Up1); SetIndexBuffer(1,...
SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,2); //参数里面:0表示设定第一个数组,参数DRAW_HISTOGRAM表示画柱状图,参数STYLE_SOLID表示画图的样式为实心图,参数2表示画徒的线宽度为2。 SetIndexStyle(1,DRAW_HISTOGRAM,STYLE_SOLID,1);//参考上面 提示:凡是你不懂意思的参数或者函数,将光标移动到它上面,按F1,则...
input int ThrottleRedraw = 0; // ThrottleRedraw: delay (in seconds) for updating Market Profile. input bool DisableHistogram = false; // DisableHistogram: do not draw profile, VAH, VAL, and POC still visible. input group "Alerts" input string ___Alerts = "==="; input bool AlertNative...
DRAW_HISTOGRAM 2 Drawing histogram. DRAW_ARROW 3 Drawing arro 10、ws (symbols). DRAW_NONE 12 No drawing. 样式:ConstantValueDescriptionSTYLE_SOLID 0 The pen is solid. STYLE_DASH 1 The pen is dashed. STYLE_DOT 2 The pen is dotted. STYLE_DASHDOT 3 The pen has alternating dashes and dots...
DRAW_HISTOGRAM = 2 画柱状图 DRAW_ARROW = 3 画箭头符号(需要设置符号代码) DRAW_ZIGZAG = 4 画锯齿图 DRAW_NONE = 12 不画图 style:指标线型 0~4的选择。也可以不要,默认为0。 Width:指标线宽 1~5的选择。也可以不要,默认为1。 clr: 指标颜色一般用#property indicator_color1 White语句定义。前面定...
5、OLID,1);SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,1);SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_SOLID,1);SetIndexStyle(3,DRAW_HISTOGRAM,STYLE_SOLID,1);SetIndexDrawBegin(1,SignalSMA);IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)+1);/- indicator buffers mappingif(!SetIndexBuffer(0,ind_buffer1)& !
风格:通过SetIndexStyle函数来设置,例如SetIndexStyle(0, DRAW_HISTOGRAM, STYLE_SOLID);表示将索引0设置为实现的柱状图,例如ExplosionSA指标中的红色柱子;(请参考SetIndexStyle函数来详细了解) 颜色:通过指标属性来设置,例如#property indicator_color1 Red表示将索引1的颜色设置为红色 3、缓冲区(buffer) 每个缓冲区对应的...
SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,1); SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,1); SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_SOLID,1); SetIndexStyle(3,DRAW_HISTOGRAM,STYLE_SOLID,1); SetIndexDrawBegin(1,SignalSMA); IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)+1); ...
SetIndexStyle(2,DRAW_HISTOGRAM,0,3,ExtColor3); SetIndexBuffer(2,ExtOpenBuffer); SetIndexStyle(3,DRAW_HISTOGRAM,0,3,ExtColor4); SetIndexBuffer(3,ExtCloseBuffer); //--- SetIndexLabel(0,"Low/High"); SetIndexLabel(1,"High/Low"); SetIndexLabel(2,"Open"); ...
DRAW_LINE);SetIndexStyle(1,DRAW_LINE);SetIndexStyle(2,DRAW_HISTOGRAM);SetIndexDrawBegin(1,SignalEMA...