有买卖点的均线粘合主图指标 通达信公式(附图)

[复制链接]
查看57 | 回复0 | 2021-8-20 17:59:28 | 显示全部楼层 |阅读模式

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60),COLORGREEN,DOTLINE;
MA120:MA(CLOSE,120),COLORRED,DOTLINE;
MA250:MA(CLOSE,250),COLORBLUE,DOTLINE;
STICKLINE(C/REF(C,1)>1.099 AND C=H,O,C,-1,1),COLORYELLOW;
三合:(MAX(MAX(MA(C,5),MA(C,10)),MA(C,20))/MIN(MIN(MA(C,5),MA(C,10)),MA(C,20))-1)*100,NODRAW;
四合:(MAX(MAX(MAX(MA(C,5),MA(C,10)),MA(C,20)),MA(C,60))/MIN(MIN(MIN(MA(C,5),MA(C,10)),MA(C,20)),MA(C,60))-1)*100,NODRAW;
五合:(MAX(MAX(MAX(MAX(MA(C,5),MA(C,10)),MA(C,20)),MA(C,60)),MA(C,120))/MIN(MIN(MIN(MIN(MA(C,5),MA(C,10)),MA(C,20)),MA(C,60)),MA(C,120))-1)*100,NODRAW;
六合:(MAX(MAX(MAX(MAX(MAX(MA(C,5),MA(C,10)),MA(C,20)),MA(C,60)),MA(C,120)),MA(C,250))/MIN(MIN(MIN(MIN(MIN(MA(C,5),MA(C,10)),MA(C,20)),MA(C,60)),MA(C,120)),MA(C,250))-1)*100,NODRAW;
A:=C>REF(HHV(H,2),1);
B:=C<REF(LLV(L,2),1);
ENTERLONG:=TFILTER(A,B,1);
EXITLONG:=TFILTER(A,B,2);
DRAWICON(ENTERLONG,L*0.98,1),COLORRED;
DRAWICON(EXITLONG,H/0.998,2),COLORGREEN;


14P410145J0-312G.gif

14P410145J0-312G.gif

回复

使用道具 举报

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

本版积分规则