操作线:MA(CLOSE,5) DOTLINE;
生命线:MA(CLOSE,21);
AA:=C>MA(C,5);
ESRZD:=(CLOSE-REF(CLOSE,20))/REF(CLOSE,20)*100;
SMALL_CAP:=CAPITAL<5;
HSLD:=vol/CAPITAL*100>10;
QYR:=(HIGH-LOW)/REF(CLOSE,1)>0.1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
CC:=MACD>0;
ZHPF:=ESRZD+IF(SMALL_CAP,1,0)+IF(HSLD,1,0)+IF(QYR,1,0);
DRAWICON(ZHPF>=3 AND REF(ZHPF,1)<3 AND AA AND CC,LOW,9);
STICKLINE(ZHPF>=3 AND AA,O,C,2,0),COLORRED;