专捉牛股的指标 通达信公式(附图)

[复制链接]
查看116 | 回复0 | 2021-8-20 14:47:55 | 显示全部楼层 |阅读模式

专捉牛股:=26;牛股指标:=12;M:=9;

牛股公式:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,1);

vvvg1: EMA(牛股公式,12) - EMA(牛股公式,26);

BBvvvg1:=vvvg1-REF(vvvg1,1);

vvvg2: EMA(vvvg1,9);

BBvvvg2:=vvvg2-REF(vvvg2,1);

MACD : 2*(vvvg1-vvvg2), COLORSTICK;

vvvg3: 2*(vvvg1-vvvg2);

BBvvvg3:=vvvg3-REF(vvvg3,1);

IF(BBvvvg1>0,vvvg1,DRAWNULL),COLORCC00FF,LINETHICK2;

IF(BBvvvg1<=0,vvvg1,DRAWNULL),COLORFF9999,LINETHICK2;

IF(BBvvvg2>0,vvvg2,DRAWNULL),COLOR0066FF,LINETHICK2;

IF(BBvvvg2<=0,vvvg2,DRAWNULL),COLOR00FF33,LINETHICK2;

IF(BBvvvg3>0,vvvg3,DRAWNULL),COLORCC00FF,LINETHICK1;

IF(BBvvvg3<=0,vvvg3,DRAWNULL),COLORFF9999,LINETHICK1;

vvvg1cc:BBvvvg1*100,,NODRAW;

vvvg2cc:BBvvvg2*100,,NODRAW;

vvvg3cc:BBvvvg3*100,,NODRAW;

160052R5O50-59632.jpg

160052R5O50-59632.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则