通达信分时买点副图指标 源码

[复制链接]
查看314 | 回复0 | 2021-8-26 22:01:44 | 显示全部楼层 |阅读模式

以下是通达信分时买点副图指标 源码(无源码的请下载附件导入)

通达信分时买点副图指标 源码 贴图

HD:=HIGH-REF(HIGH,1);
 LD:=REF(LOW,1)-LOW;
 DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),28);
 DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),28);
 VZH:=EMA(DMP/10,28);
 VZL:=EMA(DMM/10,28);
 MA1:=EMA((CLOSE+HIGH+LOW)/3,2);
 VAR1:=MAX((DYNAINFO(3)),EMA(DYNAINFO(5),5));
 VAR2:=MIN((DYNAINFO(3)),EMA(DYNAINFO(6),5));
 HHS:=(COST(95)+DYNAINFO(11))/2;
 LLS:=(COST(5)+DYNAINFO(11))/2;
 VAR3:=CONST((VAR1+HHS)/2);
 VAR4:=CONST((VAR2+LLS)/2);
 VAR5:=(VAR3+VAR4)/2;
 VAR6:=(VAR4+VAR5)-VAR3;
 VAR7:=(VAR4+VAR6)/2;
 VAR8:=(VAR6+VAR7)/2;
 DIF:=((EMA(CLOSE,24)-EMA(CLOSE,52))*4)+VAR5;
 DEA:=EMA(DIF,18);
 MCD:=((DIF-DEA)*2)+VAR5;
 VAR10:=(3*SMA((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)),3,1)-2*SMA(SMA((C-LLV(L,54))/(HHV(H,54)-LLV(L,54)),3,1),3,1));
 VAR11:=MEMA(VAR10,10);
 VAR12:=EMA(VAR11,10);
 VAR13:=IF(EXIST(CROSS(VAR3,MA1),5) AND EXIST(C>VAR3,10) AND VAR11<HHV(VAR11,10) AND VAR12<REF(VAR12,1),1,0);
 VAR14:=IF(EXIST(CROSS(MA1,VAR4),5) AND EXIST(C<VAR4,10) AND VAR11>LLV(VAR11,10) AND VAR12>REF(VAR12,1),1,0);
买:VAR14=1 AND REF(VAR14,1)=0;

1332188125.png

1332188125.png

回复

使用道具 举报

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

本版积分规则