通达信四喜临门主图指标

[复制链接]
查看129 | 回复0 | 2021-8-20 09:16:20 | 显示全部楼层 |阅读模式

以下是通达信四喜临门主图指标(无源码的请下载附件导入)

MA1:MA(CLOSE,5);
 MA2:MA(CLOSE,10);
 MA3:MA(CLOSE,20);
 MA4:MA(CLOSE,30);
 MA5:MA(CLOSE,60);
 MA6:MA(CLOSE,120);

AP1:=CROSS(MA(C,5),MA(C,10));
 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 AP2:=CROSS(K,D);
 DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 AP3:=CROSS(DIFF,DEA);
 AP4:=CROSS(MA(V,5),MA(V,10));
 GYTJ1:=BETWEEN(C/REF(C,1),1.02,0.95);
 GYTJ2:=C/REF(C,1)>1.02 AND O/REF(C,1)<1.05;
 XG:=AP1 AND COUNT(AP2,2) AND COUNT(AP3,5) AND COUNT(AP4,5)AND EVERY(REF(GYTJ1,1),5) AND GYTJ2;
 DRAWICON(XG,L*0.98,9);
 DRAWTEXT(XG,L*0.94,'四喜临门'),COLORYELLOW;

632288377.jpg

632288377.jpg

回复

使用道具 举报

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

本版积分规则