#property indicator_type1 DRAW_SECTION
SetIndexBuffer(0,zbzigzagBuffer ,INDICATOR_DATA);
ArraySetAsSeries(zbzigzagBuffer,true);
画竖线,
加上//PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0.0); 为画连接线
DRAW_SECTION 方框
DRAW_LINE 竖线
#property indicator_type1 DRAW_SECTION
SetIndexBuffer(0,zbzigzagBuffer ,INDICATOR_DATA);
ArraySetAsSeries(zbzigzagBuffer,true);
画竖线,
加上//PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0.0); 为画连接线
DRAW_SECTION 方框
DRAW_LINE 竖线