通达信幅图【量能多空】这个指标好玩

[复制链接]
查看41 | 回复0 | 2022-7-24 07:04:00 | 显示全部楼层 |阅读模式

DKX:=(EMA(C,18)),POINTDOT;
 STICKLINE(((C >=DKX) AND (C >= O)),H,L,0,1),COLORRED;
 STICKLINE(((C >=DKX) AND (C >= O)),O,C,2,1),COLORRED;
 STICKLINE(((C >=DKX) AND (C <= O)),H,L,0,0),COLORRED;
 STICKLINE(((C >=DKX) AND (C <= O)),O,C,2,0),COLORRED;
 STICKLINE(((C <DKX) AND (C >= O)),H,L,0,1),COLORGREEN;
 STICKLINE(((C < DKX) AND (C >= O)),O,C,2,1),COLORGREEN;
 STICKLINE(((C < DKX) AND (C <= O)),H,L,0,0),COLORGREEN;
 STICKLINE(((C < DKX) AND (C <= O)),O,C,2,0),COLORGREEN;
 VAR1:=(HHV(HIGH,15)-LLV(LOW,15));
 VAR2:=(HHV(HIGH,15)-CLOSE);
 VAR3:=(CLOSE-LLV(LOW,15));
 VAR4:=(((VAR2/VAR1)*100)-70);
 VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);
 VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);
 VAR7:=SMA(((VAR3/VAR1)*100),3,1);
 VAR8:=LLV(LOW,34);
 VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));
 VAR10:=IF((VAR9>100),(VAR9-100),0);
 VAR11:=HHV(HIGH,34);
 VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),15);
 VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);
 MA11:=EMA(VAR13,5);
 DRAWTEXT(CROSS(VAR12-VAR13,0),L-1,'多');
 DRAWTEXT(CROSS(0,VAR12-VAR13),H+1,'空');
 

040288009.jpg

040288009.jpg

回复

使用道具 举报

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

本版积分规则