阳涨幅:=5;
阳倍量:=2;
单阳:=C O*(1+阳涨幅/100) ANDvol REF(VOL,1)*阳倍量;
DRAWTEXT(CURRBARSCOUNT 100 AND 单阳,L*0.98,'阳'),COLOR00BBBB;
STICKLINE(CURRBARSCOUNT 100 AND 单阳,O,C,0.8,0),COLOR00FFFF;
高不破价:=REF(C,BArslAST(单阳));
中不破价:=REF((C+L)/2,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));
单阳不破:=CURRBARSCOUNT 100 AND BARSLAST(单阳) 11 AND {(LLV(L,BARSLAST(单阳)) 低不破价 OR LLV(L,BARSLAST(单阳))=低不破价)}
(LLV(C,BARSLAST(单阳)) 低不破价 OR LLV(C,BARSLAST(单阳))=低不破价);
STICKLINE(单阳不破,低不破价-低不破价*0.002,{低不破价}
低不破价-低不破价*0.002,4.1,0),COLORRED;
量:V,NODRAW;
单阳量:REF(V,BARSLAST(单阳)),NODRAW;
单阳后均量:SUM(V,BARSLAST(单阳)-1)/(BARSLAST(单阳)-1),NODRAW;
单阳后缩量:单阳后均量 单阳量*0.75,NODRAW;
单阳线体:=REF(C-O,BARSLAST(单阳)),NODRAW;
小线体:=Abs(C-O) 单阳线体/2.5,NODRAW;
小线体严:COUNT(小线体,BARSLAST(单阳)-1) BARSLAST(单阳)-2,NODRAW;
小线体松:COUNT(小线体,BARSLAST(单阳)-1) BARSLAST(单阳)-3 AND C REF(C,1)*1.03,NODRAW;
两天:=LLV(C,BARSLAST(单阳)) 低不破价 OR LLV(C,BARSLAST(单阳))=低不破价;
一般:=LLV(C,BARSLAST(单阳)-2) 低不破价 OR LLV(C,BARSLAST(单阳)-2)=低不破价;
一般选股:STICKLINE(CURRBARSCOUNT 100 AND BARSLAST(单阳) 9 AND 两天 AND 一般,低不破价,低不破价,2,0),COLOR88FF00;
较强:=LLV(C,BARSLAST(单阳)-2) 中不破价 OR LLV(C,BARSLAST(单阳)-2)=中不破价;
较强选股:STICKLINE(CURRBARSCOUNT 100 AND BARSLAST(单阳) 9 AND 两天 AND 较强,中不破价,中不破价,2,0),COLOR0088FF;
最强:=LLV(C,BARSLAST(单阳)-2) 高不破价 OR LLV(C,BARSLAST(单阳)-2)=高不破价;
最强选股:STICKLINE(CURRBARSCOUNT 100 AND BARSLAST(单阳) 9 AND 两天 AND 最强,高不破价,高不破价,2,0),COLOR00FFFF;
DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价-低不破价*0.02,'1'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价-低不破价*0.02,'2'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价-低不破价*0.02,'3'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价-低不破价*0.02,'4'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价-低不破价*0.02,'5'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价-低不破价*0.02,'6'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价-低不破价*0.02,'7'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价-低不破价*0.02,'8'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价-低不破价*0.02,'9'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价-低不破价*0.02,'10'),COLOR00BB00;
{松班工作线}
工作线:EMA(C,14),COLOR00FFFF,LINETHICK1;
二号线:EMA(C,25),COLORFF8800,LINETHICK1;