通达信两色主图指标公式

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

AP:=(H+L+C*2)/4;
EPL:=DMA(AP,ABS(AP/MA(C,30)-1));
EML:=MA(AP*C/EPL,3);
EAL:=(4-EML/EPL)/3*EML;
EALS:IF(EAL>REF(EAL,1),1,-1),NODRAW;
STICKLINE(EALS>0,H,L,0,0),COLORRED;
STICKLINE(EALS>0 AND C>=O,O,C,2,1),COLORRED;
STICKLINE(EALS>0 AND C< O,O,C,2,0),COLORRED;
STICKLINE(EALS<0,H,L,0,0),COLORCYAN;
STICKLINE(EALS<0 AND C>=O,O,C,2,1),COLORCYAN;
STICKLINE(EALS<0 AND C< O,O,C,2,0),COLORCYAN;

202108201222.jpg

202108201222.jpg

 

回复

使用道具 举报

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

本版积分规则