以下是全部选股公式部分,请根据需要,选择使用!
{红杏出墙选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;红杏出墙:AR5 AND FILTER(AR5,10);
{蚂蚁上树选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/CEMA55 AND (REF(C,1)(C,4)蚂蚁上树:BR1 AND BR2 AND BR3;
{红衣侠女选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);EMA120:=EMA(C,120);CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55EMA34 AND EMA34DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND CEMA55 ANDBETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:=DR1 AND DR5 AND DR6 ;黑客点击:FILTER(DR7,10) AND DR7;
{均线互换选股}EMA34:=EMA(C,34);EMA55:=EMA(C,55);均线互换:BARSLAST(REF(CROSS(EMA55,EMA34),1)) ANDCROSS(EMA34,EMA55);
{梅开二度选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);梅开二度:BARSLAST(REF(CROSS(EMA34,EMA13),1)) ANDCROSS(EMA13,EMA34);
{三线推进选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) ANDEMA55>=REF(EMA55,1) AND CROSS(C,EMA13) ANDCROSS(C,EMA34) AND CROSS(C,EMA55);三线推进:(HR2 AND FILTER(HR2,10));
一个倍量启动半量回踩的选股公式
REF(C,N)/REF(C,N+1)>1.05 AND REF(V,N)>REF(V,N+1)*2 ANDMA(C,5)>MA(C,10) AND C>=MA(C,10) AND2*V