代码如下:
代码
V1:=(2*CLOSE+HIGH+LOW)/4;
V2:=LLV(LOW,34);
VA:=HHV(HIGH,34);
FXB:=EMA((V1-V2)/(VA-V2)*100,13);
FXBB:=EMA((0.667*REF(FXB,1)+0.333*FXB),2);
AAA:=FXB-FXBB;
流通:=(AMOUNT / VOL);
PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));
ZLL:=(VOL / CAPITAL);
HSL1:=IF((ZLL > 10),10,ZLL);
HSL:=((XVL / 20) / 1.15);
攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
BBB:=LLJX;
(REF(AAA,3)<=0 OR REF(BBB,3)<=0) AND (REF(AAA,1)<=0 OR REF(BBB,1)<=0) AND AAA>0 AND BBB>0 AND FXB < 15;
可用于东方财富、同花顺等软件公式选股使用。
日线、排除特殊情况的股票,建议仅在沪深300或者中证1000中选股。