九毛八公式指标
麻烦老师编一个选出运行在融胜轨道安全线之上股票的选股公式,谢谢!!! 融胜轨道源码: AAA:=MA((2*CLOSE+HIGH+LOW)/4,5); 通1:=AAA*102/100; 通2:=AAA*(200-102)/100; CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=DMA(CLOSE,CC); 上:(1+7/100)*DD,CROSSDOT,COLORGREEN; 下:(1-7/100)*DD,CROSSDOT,COLORGREEN; 中:(上+下)/2,LINETHICK1,COLORGREEN; 顶:(1+14/100)*DD,CROSSDOT,COLORWHITE; 底:(1-14/100)*DD,CROSSDOT,COLORBLUE; IF(上>=REF(上,1), 上,DRAWNULL),CROSSDOT,COLORRED; IF(中>=REF(中,1), 中,DRAWNULL),LINETHICK1,COLORRED; IF(下>=REF(下,1), 下,DRAWNULL),CROSSDOT,COLORRED; IF(顶>=REF(顶,1), 顶,DRAWNULL),CROSSDOT,COLORRED; IF(底>=REF(底,1), 底,DRAWNULL),CROSSDOT,COLORRED; DRAWNUMBER(ISLASTBAR,上,上),COLOR0099FF; DRAWNUMBER(ISLASTBAR,下,下),COLOR0099FF; DRAWNUMBER(ISLASTBAR,中,中),COLORWHITE; DRAWNUMBER(ISLASTBAR,顶,顶),COLOR0000FF; DRAWNUMBER(ISLASTBAR,底,底),COLORWHITE; {MACD变色} DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA := EMA(DIFF,9); MACD := 2*(DIFF-DEA); IF(MACD<0 or diff<0,中,drawnull),linethick1,colorgreen; if(diff>=0 AND MACD>=0,中,DRAWNULL),LINETHICK1,COLORRED; {工作线} A0:=(L+H+C*2)/4; A1:EMA(A0,14)COLORGREEN,LINETHICK2; A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW; 铁:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK2; 律:IF(A1X<0 and a2x<0,a1,drawnull)colorgreen,linethick2;
公式模块:
C>=EMA((L+H+C*2)/4,14);
0>