SJ:=1;
突破:=REF(EMA(C,14),1),LINETHICK4,COLORYELLOW;
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X =0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),LINETHICK2;
空方:=IF(A1X 0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),LINETHICK2;
STICKLINE(A1X*SJ 0,多方,突破,18,0),COLORRED;{九毛八公式指标网www.9m8.cn}
STICKLINE(A1X*SJ 0,空方,突破,18,0),COLOR990000;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);