针对上一形态主图公式,出现的形态,分享里面的几个选股源码
1:曙光初线选股
曙光初现:(((((REF(CLOSE,1) / REF(OPEN,1)) < 0.97) AND ((CLOSE / OPEN) >
1.03)) AND (OPEN < REF(CLOSE,1))) AND (CLOSE > REF(CLOSE,1)));
2:红三兵选股(1)
K:REF(CLOSE,2)>REF(OPEN,2) AND
REF(CLOSE,1)>REF(OPEN,1) AND
CLOSE>OPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND
CLOSE>REF(CLOSE,1) AND V>REF(V,1) AND REF(V,1)>REF(V,2)
AND (CLOSE-OPEN)<0.05*REF(OPEN,1) AND (REF(CLOSE,1)-REF(OPEN,1))<0.05*REF(OPEN,2)
AND (REF(CLOSE,2)-REF(OPEN,2))<0.05*REF(OPEN,3);
3:多方炮选股
V0:=ABS(CLOSE-OPEN)/(HIGH-LOW)>0.5;
V0 AND REF(V0,2) AND REF(CLOSE,2)>REF(OPEN,2) AND
REF(CLOSE,1)OPEN AND
CLOSE>REF(CLOSE,2) AND CLOSE>REF(OPEN,1) AND
4:倒锤头选股
倒锤头:H-L>3*(MAX(O,C)-LOW) AND MIN(O,C)=L ;
5:揉搓线选股
揉搓线:=(REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>0.7 AND (MIN(O,C)-L)/(H-L)>0.7;
DRAWTEXT(揉搓线,(L*0.99),'↑揉搓线');
6:假阴线选股
假阴线:O>MA(C,20) AND (O-C)/O*100>0.01 AND VOL/CAPITAL*100 >=3 AND C>REF(C,1);
7:光头光脚选股
C=H AND L=O;
8:阳吞阴线选股
RX:REF(C