股票软件通达信精品指标公式-金牛能量指标源码通达信公式

2017-11-20    来源:原创    编辑:翔博软件
公式源码: VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,V*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; 量:V,VOLSTICK;


公式源码:

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

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

量:V,VOLSTICK;

倍量: (V/REF(V,1)>=1.90 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.90),NODRAW,COLORYELLOW;

低量:V<=REF(LLV(V,13),1),NODRAW,COLORGREEN;

地量1:=V<=REF(LLV(V,100),1),NODRAW,COLORMAGENTA;

地量:V<=REF(LLV(V,100),1) OR 地量1,NODRAW,COLORMAGENTA;

平量:ABS(V-HHV(REF(V,1),5))/HHV(REF(V,1),5)<=0.03 OR ABS(V-REF(V,1))/REF(V,1)<=0.03,NODRAW,COLORWHITE;

倍缩:V<=REF(V,1)*0.5,NODRAW,COLORRED;

梯量:COUNT(V>REF(V,1),3)=3 AND COUNT(C>O,3)=3,NODRAW,COLOR824173;

缩量涨:COUNT(C>REF(C,1),2)=2 AND COUNT(V<REF(V,1),2)=2,NODRAW,COLORLIMAGENTA;

STICKLINE(倍量,0,V,1,0),COLORYELLOW;

STICKLINE(低量,0,V,1,0),COLORGREEN;

STICKLINE(地量,0,V,1,0),COLORMAGENTA;

STICKLINE(平量,0,V,1,0),COLORWHITE;

STICKLINE(倍缩,0,V,1,0),COLORRED;

STICKLINE(梯量,0,V,1,0),COLOR824173;

STICKLINE(缩量涨,0,V,1,0),COLORBLUE;

年线1:=EMA(C,83);

主力1:=EMA(C,3)/1.01,COLORRED,LINETHICK2; 

压力1:=MA(LLV(C,3)*1.1,8); 

支撑1:=MA(HHV(C,8)*0.9,8); 

多空线:=(压力1+支撑1)/2; 

散户:=(压力1+支撑1)/2;

趋势线:=SMA(LLV(C,3)*1.1,22,1);

背离线:=SMA(年线1-(主力1-年线1)*0.5,5,1);

MV5:MA(V,5),COLORWHITE;

MV20:MA(V,20),COLORYELLOW;

MV60:MA(V,60),COLORGREEN;

IF(MV5>MV20 AND MV5>MV60 AND MV20>MV60  AND C>背离线,MV5,DRAWNULL),COLORMAGENTA,LINETHICK2;

NLG:=MV5>=MV20 AND CROSS(MV20,MV60) AND MV5>MV60;

DRAWICON(NLG,V,1);

FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));

FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);

BB:=IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17));

年线:=EMA(C,200);

A:=BB-(EMA(C,3)-BB);

DIFF:=EMA((年线-(EMA(C,3)-年线)),5);

ZD:=EMA(COST(81),10);

牛熊线:=EMA(COST(27),120);

HC22:=NDAY(BB,REF(BB,1),4) AND REF(BB,2)<BB;

HC11:=NDAY(DIFF,REF(DIFF,1),4) AND  REF(DIFF,2)>DIFF;

LTP:=FINANCE(7)/100000000<8;

XG:=(HC22 OR COUNT(CROSS(BB,DIFF),3)>0)  AND CROSS(C,ZD) AND LTP;

DRAWICON(XG,V/2,11);

 

 

一个聚百万原创指标公式圈子

	

	

原创价值分享思维

ID:xiangbogongshi

1
3
点击进入翔博软件旗下官方微店--指标超市