NH:=120;
KK:=BARSLAST(CURRBARSCOUNT=NH);
GD:=CONST(IF(ISLASTBAR=1,HHV(H,KK),0));
DD:=CONST(IF(ISLASTBAR=1,LLV(L,KK),0));
KJ:=GD-DD;
GD4:=IF(CURRBARSCOUNT<=NH/2,GD,DRAWNULL);
{DRAWBAND(GD4,RGB(80,80,30),DD+KJ/2,RGB(0,0,0));}
突破:=REF(EMA(C,14),1)COLORRED,LINETHICK2;
A1X:=(EMA(C,14)-突破)/突破*100,NODRAW;
多方:=IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORGREEN,LINETHICK9;
{IF(A1X>=0,突破,DRAWNULL),COLORRED,LINETHICK2;}
空方:=IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK2;
{IF(A1X<0 ,突破,DRAWNULL),COLORGREEN,LINETHICK2;}
STICKLINE(CROSS(A1X,0) AND TIME<=0935,C,O,2,0)COLORYELLOW;
STICKLINE(CROSS(A1X,0) AND TIME<=0935,H,L,0,1)COLORYELLOW;