大智慧趋势选股指标公式
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;