阳光正好 发表于 2016-4-5 05:02

量学基本公式


盘中虚拟:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,盘中虚拟,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MA3:MA(VOL,3),COLORWHITE,LINETHICK1;
三日量线升角:ATAN((MA(VOL,3)/REF(MA(VOL,3),1)-1)*100)*180/3.1416,NODRAW,COLORRED;
MA10:=MA(VOLUME,10),COLORYELLOW,LINETHICK1;
MA40:MA(VOL,40),COLORMAGENTA,LINETHICK2;





下跌系数:=(1-C/HHV(H,500))*100,NODRAW,COLORYELLOW,LINETHICK3;
换手:=VOL/CAPITAL*100,NODRAW,COLORWHITE;
昨换手:REF(换手,1),NODRAW,COLORRED;
今换手:VOL/CAPITAL*100,NODRAW,COLORGREEN;
虚拟换手:盘中虚拟/CAPITAL*100,NODRAW,COLORWHITE;
量比:DYNAINFO(17),NODRAW,COLORGREEN;
涨幅5日:=SUM(
(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,5),COLORYELLOW;
BC3:=REF(C,1);
除权:=IF((BC3-C)*100/BC3>=(15-0.01*100/BC3),1,0);
涨停:=IF((C-BC3)*100/BC3>=(10-0.01*100/BC3),1,0);


最高量60日:=IF(VOL > REF(HHV(VOL,60),1)*1.0 AND VOL<
REF(HHV(VOL,120),1)*1.0AND BARSCOUNT(C)>=60, 1,0);
DRAWTEXT(最高量60日=1,VOL*0.975,'60天量'),COLORGREEN;

最高量120日:=IF(VOL > REF(HHV(VOL,120),1)*1.0 AND VOL<
REF(HHV(VOL,250),1)*1.0 AND BARSCOUNT(C)>=120, 1,0) ;
DRAWTEXT(最高量120日=1,VOL*0.975,'120天量'),COLORGREEN;


最高量250日:=IF(VOL > REF(HHV(VOL,250),1)*1.0 AND BARSCOUNT(C)>=250, 1,0);
DRAWTEXT(最高量250日=1,VOL*0.955,'250天量'),COLORGREEN;



月内地量:=LLV(VOL,20)=VOL AND VOL<MA(VOL,55)*0.3AND VOL<MA(VOL,10)*0.5
AND BARSCOUNT(C)>=20;
DRAWTEXT(月内地量 AND C<MA(C,30),MA(V,15)*0.95,'月内地量'),COLORLIRED;


{平量柱:=VOL>REF(V,1)*0.97 AND VOL<REF(V,1)*1.03 AND BARSCOUNT(C)>=2;
DRAWTEXT(平量柱,V*0.6,'平量柱'),COLORRED;};


梯度缩量:=COUNT(V<REF(V,1),2)=2 ;

DRAWTEXT(梯度缩量,MA(V,5)*1.15,'梯度缩量'),COLORRED;


{梯度放量:=COUNT(V>REF(V,1),2)=2;

DRAWTEXT(梯度放量,MA(V,5),'梯度放量'),COLORWHITE;}

倍缩量柱A:=VOL< REF(V,1)*0.525;

倍缩量柱B:=EXIST(VOL< REF(V,1)*0.525,2) AND V<REF(V,1);
倍缩量柱:=倍缩量柱A OR 倍缩量柱B;


DRAWTEXT(倍缩量柱,MA(V,5),'倍缩量柱'),COLORCYAN;


缩量:=VOL< REF(V,1);

DRAWTEXT(缩量,V*0.25,'缩量'),COLORRED;



凹口平量柱A:=VOL>REF(V,2)*0.95 AND VOL<REF(V,2)*1.065 AND REF(V,1)<REF(V,2) ;

凹口平量柱B:=VOL>REF(V,3)*0.95 AND VOL<REF(V,3)*1.065 AND REF(V,1)<REF(V,3)
AND REF(V,2)<REF(V,3);

凹口平量柱C:=VOL>REF(V,4)*0.95 AND VOL<REF(V,4)*1.065
AND REF(V,1)<REF(V,4)
AND REF(V,2)<REF(V,4) AND REF(V,3)<REF(V,4);
凹口平量柱:=凹口平量柱A OR 凹口平量柱B OR 凹口平量柱C;

DRAWTEXT(凹口平量柱,V*0.985,'凹口平量柱'),COLORGREEN;


平量柱:=VOL>REF(V,1)*0.93 AND VOL<REF(V,1)*1.05;


DRAWTEXT(平量柱,V*0.5,'平量柱'),COLORGREEN;

梯度放量:=COUNT(V>REF(V,1),2)=2;

DRAWTEXT(梯度放量,V*0.25,'梯度放量'),COLORCYAN;

百日低量:=LLV(VOL,40)=VOL AND BARSCOUNT(C)>=40;

DRAWTEXT(百日低量,MA(V,40)*1.1,'百日低量'),COLORWHITE;



STICKLINE(V<HHV(REF(V,1),5)/2 AND V<REF(V,1) AND C<REF(C,1),V,0,2,0),COLORRED;


倍量伸缩A:=EXIST(VOL > REF(V,1)*1.8 AND C>=REF(C,1),2) AND VOL < REF(V,1)*0.705;
倍量伸缩B:=EXIST(VOL/REF(V,1)>1.35 AND C>=REF(C,1),2) AND VOL < REF(V,1)*0.625;

倍量伸缩C:=EXIST(VOL > LLV(V,5)*1.8 AND C>=REF(C,1),5)
AND VOL/HHV(V,5)<0.5 AND HHV(V,3)<HHV(V,5);



倍量伸缩:=倍量伸缩A OR 倍量伸缩B OR 倍量伸缩C;

DRAWTEXT(FILTER(倍量伸缩,1),MA(V,40)*1.25,'倍量伸缩'),COLORYELLOW;
倍量柱:=IF(VOL > REF(V,1)*1.9 AND C>REF(C,1) , 1,0);
DRAWTEXT(倍量柱=1,VOL*0.825,'倍量柱'),COLORMAGENTA;

rhj6836 发表于 2016-4-5 06:15

#在这里快速回复#DRAWTEXT(倍量柱=1,VOL*0.825,'倍量柱'),COLORMAGENTA

ztl6836 发表于 2016-4-5 06:15

rhj6836 发表于 2016-4-5 06:15
#在这里快速回复#DRAWTEXT(倍量柱=1,VOL*0.825,'倍量柱'),COLORMAGENTA

祝股票天天一字板涨停,打新中签,发大财

关心你 发表于 2016-4-5 06:42

rhj6836 发表于 2016-4-5 07:24

关心你 发表于 2016-4-5 06:42
祝股票天天一字板涨停,打新中签,发大财

换手率最好是超过100%)。

飞黄腾达 发表于 2016-4-5 08:18

谢谢楼主分享

天井小镇 发表于 2016-4-5 11:39

谢谢楼主分享!

稳重博弈 发表于 2016-4-5 11:42

谢谢楼主分享

李京洋 发表于 2016-4-6 21:35

天天一字板涨停,打新中签,发大财

datashzq 发表于 2016-4-8 13:04

谢谢分享,学习中

王者之道 发表于 2019-2-14 20:34

谢谢楼主分享!

天涯月海角明 发表于 2022-2-23 14:11

怎么通不过测试呀?

周瑞峰 发表于 2023-3-16 09:43

量学基本公式
页: [1]
查看完整版本: 量学基本公式