大智慧趋势选股指标公式

[复制链接]
查看159 | 回复0 | 2021-8-21 13:59:46 | 显示全部楼层 |阅读模式

VAR1:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
VAR2:=EMA(VAR1,N3);
VAR3:2*(VAR1-VAR2);
STICKLINE(VAR3,0,VAR3,4,1),COLORYELLOW;
STICKLINE(VAR3>=ref(VAR3,1)and VAR3>0,0,VAR3,4,1),COLORRED;
STICKLINE(VAR3>ref(VAR3,1)and VAR3<0,0,VAR3,4,1),COLORFFC8FF;
STICKLINE(VAR3<=ref(VAR3,1)and VAR3<0,0,VAR3,4,1),COLORFFCC66;
趋势一:EMA(CLOSE,N4)-EMA(CLOSE,N5),COLORWHITE;
趋势二:EMA(VAR1,N5),COLORYELLOW;
红色:VAR3>=ref(VAR3,1)and VAR3>0,PRECIS0,COLOR0000FF,linethick0;
白色:VAR3>ref(VAR3,1)and VAR3<0,PRECIS0,COLOR0000FF,linethick0;
绿色:VAR3<=ref(VAR3,1)and VAR3<0,PRECIS0,COLOR0000FF,linethick0;
黄色:VAR3<=ref(VAR3,1)and VAR3>0,PRECIS0,COLOR0000FF,linethick0;
向上:VAR3>ref(VAR3,1),PRECIS0,COLOR0000FF,linethick0;
连续飘红:LAST(红色>0),PRECIS0,COLOR0000FF,linethick0;
十日飘红:COUNT(红色>0,10),PRECIS0,COLOR33CCFF,linethick0;

202108211311.png

202108211311.png

202108211311.png

202108211311.png

 

回复

使用道具 举报

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

本版积分规则