通达信成交量买卖线主图指标
-
相关简介:通达信成交量买卖线主图指标 源码 AMV0:=VOL*(O+C)/2; BS:SUM(AMV0,88)/SUM(VOL,88),COLORMAGENTA,LINETHICK3; CG:MA(C,17),COLORCYAN,LINETHICK3; FL:HHV(CG,2),COLORGREEN; FS:CG-(FL-CG),COLORYELLOW,LINETHICK2; MA6:MA(C,6),COLORWHITE,LINETHICK0; MA18:MA(C,18),COLOR0099FF,LIN
-
文章来源:股海网作者:股海网发布时间:2016-04-27浏览次数:
通达信成交量买卖线主图指标
源码
AMV0:=VOL*(O+C)/2;
BS:SUM(AMV0,88)/SUM(VOL,88),COLORMAGENTA,LINETHICK3;
CG:MA(C,17),COLORCYAN,LINETHICK3;
FL:HHV(CG,2),COLORGREEN;
FS:CG-(FL-CG),COLORYELLOW,LINETHICK2;
MA6:MA(C,6),COLORWHITE,LINETHICK0;
MA18:MA(C,18),COLOR0099FF,LINETHICK0;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;
{STICKLINE(买线<卖线,LOW,HIGH,0.1,0),COLOR148A14;}
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLOR148A14;
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<0,1,0);
P1:=今小昨;
今小前:=IF(C<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),H,L,0.3,0),COLORMAGENTA;
STICKLINE(TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,O,C,3,0),COLORBLUE ;
STICKLINE(TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,H,L,0.3,0),COLORBLUE ;
上一篇:通达信量化庄建仓指标副图
下一篇:通达信波浪副图指标