无名主图指标 通达信公式(附图)

[复制链接]
查看88 | 回复0 | 2021-8-20 19:12:11 | 显示全部楼层 |阅读模式

MA5:MA(C,5),DOTLINE,COLOR606060;
H3:=EVERY(C>MA5,3);
L3:=EVERY(C<ma5,3);
X:=H3-L3;
T2:=BARSLAST(X!=0);
Y:=REF(X,T2);
T3:=BARSLAST(CROSS(Y,0) OR CROSS(0,Y));
HHL:=IF(REF(Y=-1,1),LLV(L,2),HHV(MAX(LLV(L,2),REF(LLV(L,2),1)),T3));
LLH:=IF(REF(Y=1,1), HHV(H,2),LLV(MIN(HHV(H,2),REF(HHV(H,2),1)),T3));
NOTEXT3:IF(Y=1 ,HHL,DRAWNULL),COLORCC66FF,LINETHICK2;
NOTEXT4:IF(Y=-1,LLH,DRAWNULL),COLOR55CC33,LINETHICK2;
NOTEXT1:IF(Y=1 AND T3=0,HHL,DRAWNULL),COLORFF66A0,CIRCLEDOT,LINETHICK7;
NOTEXT10:IF(Y=1 AND T3=0,HHL,DRAWNULL),COLOR00FFFF,CROSSDOT,LINETHICK1;
NOTEXT11:IF(Y=1 AND T3=0,HHL,DRAWNULL),COLOR0000FF,POINTDOT,LINETHICK4;
NOTEXT2:IF(Y=-1 AND T3=0,LLH,DRAWNULL),COLOR00FFCC,CIRCLEDOT,LINETHICK7;
NOTEXT20:IF(Y=-1 AND T3=0,LLH,DRAWNULL),COLORCC00FF,CROSSDOT,LINETHICK2;
NOTEXT21:IF(Y=-1 AND T3=0,LLH,DRAWNULL),COLORFFFFFF,POINTDOT,LINETHICK4;

14O3GT03Z-3DT.jpg

14O3GT03Z-3DT.jpg

 

回复

使用道具 举报

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

本版积分规则