期货问答

自己编写指标出现问题,附图指标柱状图下面出现白线。业务值得输出。代码是自己拼凑的

1728549610 发布于 1星期前 分类:软件问题

20210713101914952021071310192097CCYD:=AMOUNT-REF(AMOUNT,1);
SPYD:=C-REF(C,1);
B1:IF(SPYD>=0 AND CCYD>=0,ABS(CCYD),DRAWNULL),COLOR0000FF,NODRAW;
B2:IF(SPYD>0 AND CCYD<0,ABS(CCYD),DRAWNULL),COLOR0000FF,NODRAW;
S1:IF(SPYD<0 AND CCYD>=0,ABS(CCYD),DRAWNULL),COLORFFFFFF,NODRAW;
S2:IF(SPYD<0 AND CCYD<0,ABS(CCYD),DRAWNULL),COLORFFFFFF,NODRAW;
STICKLINE(SPYD>=0 AND CCYD>=0,CCYD,0,10,0),COLOR0000FF;
STICKLINE(SPYD>0 AND CCYD<0,CCYD,0,10,0),COLOR0000FF;
STICKLINE(SPYD<0 AND CCYD>=0,CCYD,0,10,0),COLORFFFFFF;
STICKLINE(SPYD<0 AND CCYD<0,CCYD,0,10,0),COLORFFFFFF;

0个回复

  • 暂无回复