{短线捉妖主图源码如下}
操作线: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;
{短线捉妖副图源码如下}
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;
AA:=C>MA(C,20);
ZHPF:=ESRZD+IF(SMALL_CAP,1,0)+IF(HSLD,1,0)+IF(QYR,1,0);
DRAWICON(ZHPF>=3 AND REF(ZHPF,1)<3,6,1);
STICKLINE(ZHPF>=3 AND AA,0,5.6,0,0),COLORYELLOW;