为给定的指示线设置新的类型、样式、宽度和颜色。
SetIndexStyle
void SetIndexStyle( int index, // 指标线索引号 0-7 int type, // 画线类型 int style=EMPTY, //线条类型 空意味着使用默认类型 int width=EMPTY, // 线条宽度 1-5 color clr=clrNONE //线条颜色 ); |
示例:
SetIndexStyle(3,DRAW_LINE,EMPTY,2,clrRed); 第4根指标线绘制为线条,线条使用默认类型,宽度为2,颜色为红色 |