把这个很好的成交量公式再加个条件_炒股书籍

股价上穿昨日的最高价,换手达到五预警

股价上穿昨日的最高价,换手达到五预警

股票公式网

编写条件:

编写方法:

 网友求助:

请老师把这个成交量公式再加上  每天能看到前20天主动买减去20天的主动卖的公式,最好能用数值表示。

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
主动买万:主动买盘/10000,COLORRED,NODRAW;
主动卖万:主动卖盘/10000,COLORGREEN,NODRAW;
地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)<LLV(IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),14)*1.001;
天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;
STICKLINE(主动买盘>0,0,VOL,2,1),COLORWHITE;
STICKLINE(主动买盘>V/2,0,V,2,1),COLOR3232FF;
STICKLINE(主动买盘<=V/2,0,V,2,1),COLORFFFF54;
STICKLINE(主动买盘>0,0,主动买盘,2,0),COLORRED;
STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLORGREEN;
STICKLINE(天量,0,主动买盘,0.5,1),COLORMAGENTA;
STICKLINE(地量>0,0,主动买盘,0.5,1),COLORYELLOW;
0,COLORWHITE;

 
解答如下:
看20日前的买卖差有作用吗?

卖卖差:REF(主动买万,20)-REF(主动卖万,20);这一句加到主动卖万之下即可。

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

成交:=VOL,POINTDOT;

主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;

主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;

主动买万:主动买盘/10000,COLORRED,NODRAW;

主动卖万:主动卖盘/10000,COLORGREEN,NODRAW;

卖卖差:REF(主动买万,20)-REF(主动卖万,20);

地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)<LLV(IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),14)*1.001;

天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;

STICKLINE(主动买盘>0,0,VOL,2,1),COLORWHITE;

STICKLINE(主动买盘>V/2,0,V,2,1),COLOR3232FF;

STICKLINE(主动买盘<=V/2,0,V,2,1),COLORFFFF54;

STICKLINE(主动买盘>0,0,主动买盘,2,0),COLORRED;

STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLORGREEN;

STICKLINE(天量,0,主动买盘,0.5,1),COLORMAGENTA;

STICKLINE(地量>0,0,主动买盘,0.5,1),COLORYELLOW;

0,COLORWHITE;

 

把这个很好的成交量公式再加个条件

 

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}股票公式网

20日均线画圆弧向上,5日成交量也画圆弧向上

20日均线画圆弧向上,5日成交量也画圆弧向上

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu