成交量选股公式大全?成交量公式详解
A1:=MA(VOL,N1);
A2:=MA(VOL,N2);
M1:=(A1>=A2);
M1 AND VOL>A2 AND C>O AND REF(A1,1)<REF(A2,1);
N1:0 500 5 N2:0 500 10
条件选股公式:交叉 (5日线上穿10日线且本次交叉距上次交叉20天以上) 缺省周期:日线
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=BARSLAST(CROSS(Var1,Var2));
Var4:=REF(Var3,1);
IF(Var4>=20 AND Var3=0,1,0);
成交量变异率VR买入
WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;
VOL变异率VR买入:CROSS(LL,WVR);
{N 5 100 26 5}
{LL 0 80 70 5};
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA120:=SMA(C,120,1);
ZH520:=ABS(MA5-MA20)/MA20*100<=10;
ZH530:=ABS(MA5-MA30)/MA30*100<=10;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
买:LYKK AND NOT(REF(LYKK,1));
虚拟成交量>昨日VOL的2倍的股
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
昨日VOL:=REF(VOL,1)*2.0;
ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};
成交量是昨日的1.8倍
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
昨日VOL:=REF(VOL,1)*1.8;
ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};
AMO:=AMOUNT;
MAAMO1:=MA(AMO,5);
MAAMO2:=MA(AMO,10);
MAAMO3:=MA(AMO,40);
XG:CROSS(TJ1,TJ2)AND CROSS(TJ1,TJ3)OR CROSS(MAAMO1,MAAMO2)AND CROSS(MAAMO1,MAAMO3);
成交量四均线副图
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL5:MA(VOLUME,5);
MAVOL20:MA(VOLUME,20);
MAVOL40:MA(VOLUME,40);
MAVOL80:MA(VOLUME,80);
选股
CROSS(MA(V,5),MA(V,20)) AND CROSS(MA(V,5),MA(V,40));
低量+倍量
W3:=REF(VOL,1)<REF(LLV(VOL,10),2);
W4:=VOL/REF(VOL,1)>1.5;
W5:W3 AND W4;
说明: 其中的值10代表10天最低量 值1.5 为1.5倍量均可按选股苛刻程度适当修改
连续缩倍量
W1:=VOL/REF(VOL,1)<=0.6;
W2:=VOL/REF(VOL,2)<=0.35;
W3:W1 AND W2 AND DYNAINFO(17)!=0;
说明: 其中 0.6 0.35可按选股苛刻程度适当修改
天地量
A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;
VAR2:=1*AMOUNT;
三十日地量:VAR2=LLV(VAR2,30) AND VAR2!=0 AND BARSCOUNT(C)>30;
六十日地量:VAR2=LLV(VAR2,60) AND VAR2!=0 AND BARSCOUNT(C)>60;
一百日地量:VAR2=LLV(VAR2,100) AND VAR2!=0 AND BARSCOUNT(C)>100;
一年地量:VAR2=LLV(VAR2,250) AND VAR2!=0 AND BARSCOUNT(C)>250;
三十日天量:VAR2=HHV(VAR2,30) AND VAR2!=0 AND BARSCOUNT(C)>30;
六十日天量:VAR2=HHV(VAR2,60) AND VAR2!=0 AND BARSCOUNT(C)>60;
一百日天量:VAR2=HHV(VAR2,100) AND VAR2!=0 AND BARSCOUNT(C)>100;
一年天量:VAR2=HHV(VAR2,250) AND VAR2!=0 AND BARSCOUNT(C)>250;
日成交量触及5日均量线
M1:=MA(V,5);
M2:V > M1;
60日天量
T1:=V=HHV(V,100);
T2:=V/REF(VOL,1)>=3;
选股:T1 AND T2;
选股公式:
{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}
var1:=v>ref(v,1)*2;
ref(var1,3) and count(c>ref(c,3),3)=3;