阳涨幅:=3.5;
阳倍量:=1.9;
单阳收:=C;
单阳开:=O;
单阳:=单阳收 =REF(C,1)*(1+阳涨幅/100)AND VOL REF(VOL,1)*阳倍量;
DRAWTEXT(CURRBARSCOUNT 100 AND 单阳,L*0.98,'阳'),COLOR00FFFF;
高不破价:=REF(C,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));
单阳不破:=CURRBARSCOUNT 100 AND BARSLAST(单阳) 11 AND (LLV(L,BARSLAST(单阳)) 低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);
STICKLINE(单阳不破,低不破价-低不破价*0.0005,低不破价,4,0),colorgreen;
STICKLINE(单阳不破,高不破价,高不破价,4,0),colorred;
STICKLINE(单阳,单阳开,单阳收,2,0),coloryellow;
DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),colorgreen;
DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),colorgreen;
MA5:MA(C,5),coloryellow;
MA10:=MA(C,10);
MA30:MA(C,30),colorgreen;
IF(MA10 MA30,MA10,MA30),colorred;