stickline(barpos=datacount-22,c,o,10,0,COLORMAGENTA);
stickline(barpos=datacount-10,c,o,10,0,COLORMAGENTA);
当这两根k线阳线就是COLORMAGENTA, 阴线的时候变为其他颜色。帮忙改一下
stickline(barpos=datacount-22 and c>=O,c,o,10,0,COLORMAGENTA);
stickline(barpos=datacount-10 and c>=o,c,o,10,0,COLORMAGENTA);
stickline(barpos=datacount-22 and c<O,c,o,10,0,COLORwhite);
stickline(barpos=datacount-10 and c<o,c,o,10,0,COLORwhite);
变色根据变色的那根k线是阴线还是阳线来决定,那根k线是阳线就变紫,那根k线是阴线就变蓝这样。
stickline(barpos=datacount-22 and c>=O,c,o,10,0,COLORMAGENTA);
stickline(barpos=datacount-10 and c>=o,c,o,10,0,COLORMAGENTA);
stickline(barpos=datacount-22 and c<O,c,o,10,0,COLOrblue);
stickline(barpos=datacount-10 and c<o,c,o,10,0,COLORblue);