MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60);
MA90:MA(C,90);
MA120:MA(C,120);
MA250:MA(C,250);
A:=100*WINNER(CLOSE)>=85;
B:=100*WINNER(CLOSE)<50;
AA:=100*WINNER(CLOSE)>=50 AND 100*WINNER(CLOSE)<85 AND C>MA250 ;
获利:=WINNER(C)*100;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.91,1.02,0,'获利'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.96,1.98,0,获利),COLORYELLOW;
STICKLINE(A,O,C,3,0),COLOR0077BB;
STICKLINE(A,O,C,2.6,0),COLOR0088CC;
STICKLINE(A,O,C,2.2,0),COLOR0099CC;
STICKLINE(A,O,C,1.8,0),COLOR00AADD;
STICKLINE(A,O,C,1.4,0),COLOR00bbdD;
STICKLINE(A,O,C,1,0),COLOR00CCEE;
STICKLINE(A,O,C,0.6,0),COLOR00ddeE;
STICKLINE(A,H,L,0,0),COLOR00FFFF;
STICKLINE(B ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(B ,OPEN,CLOSE,3.1,0 ),COLOR990000;
STICKLINE(B ,OPEN,CLOSE,2.7,0 ),COLORCC0000;
STICKLINE(B ,OPEN,CLOSE,2.1,0 ),COLORFF4400;
STICKLINE(B ,OPEN,CLOSE,1.5,0 ),COLORFF8800;
STICKLINE(B,OPEN,CLOSE,0.9,0 ),COLORFFCC00;
STICKLINE(B,OPEN,CLOSE,0.3,0 ),COLORCYAN;
STICKLINE(AA ,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(AA ,OPEN,CLOSE,3.8,0 ),COLOR000033;
STICKLINE(AA ,OPEN,CLOSE,3.0,0 ),COLOR000066;
STICKLINE(AA,OPEN,CLOSE,2.7,0 ),COLOR000099;
STICKLINE(AA,OPEN,CLOSE,2.1,0 ),COLOR0000CC;
STICKLINE(AA ,OPEN,CLOSE,1.5,0 ),COLOR0000FF;
STICKLINE(AA ,OPEN,CLOSE,1.0,0 ),COLORCC66FF;
STICKLINE(AA,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3.1,0 ),COLOR555555;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;