1.主圖公式如下: {M1(1,1000,5) M2(1,1000,10) M3(1,1000,20) M4(1,1000,60) M5(1,1000,120)} MA1:MA(CLOSE,M1); MA2:MA(CLOSE,M2); MA3:MA(CLOSE,M3); MA4:MA(CLOSE,M4); MA5:MA(CLOSE,M5); STICKLINE((C-REF(C,1))/REF(C,1)*100>9.5,C,O,1.5,0),COLOR00FFFF; AL:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10; TRK:=EMA(EMA(CLOSE,13),13); MTQ:=(TRK-REF(TRK,1))/REF(TRK,1)*1000; VX1:=(C-DYNAINFO(11))/DYNAINFO(11)<-0.005; VX2:=(C-DYNAINFO(11))/DYNAINFO(11)<-0.03; VX3:=MTQ>REF(MTQ,1) AND MTQ<-0.2; VX4:=CROSS(AL,EMA(AL,3)) AND AL<-0.3; VX5:=FILTER(VX1 AND VX3 AND VX4,13); VX6:=FILTER(VX2 AND VX3 AND VX4,13); XG:VX5 AND VX6,COLORRED,NODRAW; DRAWICON(XG,L*0.985,1); DRAWICON(XG,L*0.99,18); 2.選股公式如下: AL:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10; TRK:=EMA(EMA(CLOSE,13),13); MTQ:=(TRK-REF(TRK,1))/REF(TRK,1)*1000; VX1:=(C-DYNAINFO(11))/DYNAINFO(11)<-0.005; VX2:=(C-DYNAINFO(11))/DYNAINFO(11)<-0.03; VX3:=MTQ>REF(MTQ,1) AND MTQ<-0.2; VX4:=CROSS(AL,EMA(AL,3)) AND AL<-0.3; VX5:=FILTER(VX1 AND VX3 AND VX4,13); VX6:=FILTER(VX2 AND VX3 AND VX4,13); XG:VX5 AND VX6; |
|