金牛能量(通达信公式 副图 源码 测试图)

[复制链接]
查看64 | 回复0 | 2022-6-27 14:51:30 | 显示全部楼层 |阅读模式

 金牛能量

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);
 

20225294163914847.png

20225294163914847.png

20225294161652796.rar

3.15 KB, 下载次数: 0

售价: 4 金钱  [记录]  [购买]

20225294161652796.rar

回复

使用道具 举报

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

本版积分规则