N:=53;
M:=30;
A:=EMA((C+O+50*H+L)/N,4);
B:=EMA((C+O+H+12*L)/15.2,4);
D:=BArslASTCOUNT(H=1;
E:=100*(C-REF(C,M))/REF(C,M);
STICKLINE(D AND COUNT(D,6)<4 AND E>50 ,0,7,2,0 ) COLORRED;
STICKLINE(D AND COUNT(D,6)<4 AND E>50 ,7,8,2,0 ) COLORBLUE;
STICKLINE(D AND COUNT(D,6)<4 AND E>50 ,8,15,2,0 ) COLORWHITE;
DRAWTEXT(D AND COUNT(D,6)<4 AND E>50,12,'赚') COLORYELLOW;
DRAWTEXT(D AND COUNT(D,6)<4 AND E>50,10,'够') COLORYELLOW;
DRAWTEXT(D AND COUNT(D,6)<4 AND E>50,8,'了') COLORYELLOW;