通达信【抓上涨强势真龙头】副图/选股指标 实战中总结而来 源码
ZWS1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)
ZWS2:=IF(DATETODAY(DATE)<15000000,1,DRAWNULL);
ZWS3:=Ema(CLOSE,5);
ZWS4:=EMA(CLOSE,10);
ZWS5:=EMA(CLOSE,14);
ZWS6:=EMA(CLOSE,18);
ZWS7:=EMA(CLOSE,40);
ZWS8:=EMA(CLOSE,60);
ZWS9:=IF(DATE<30000*500,1,DRAWNULL);
ZWS10:=MAX(ZWS7,ZWS8);
ZWS11:=CLOSE>ZWS10 AND ZWS1 AND (CLOSE>REF(HHV(HIGH,3),1)*ZWS2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
ZWS12:=vol;
ZWS13:=MA(ZWS12,5);
ZWS14:=ZWS13+ZWS13>ZWS12;
ZWS15:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*ZWS2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*ZWS9;
ZWS16:=(CLOSE>REF(HHV(HIGH,3),1)*ZWS2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*ZWS2 AND ZWS15 AND ZWS14;
ZWS17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*ZWS2
ZWS18:=(CLOSE-REF(CLOSE,1)*ZWS2)/REF(CLOSE,1)*100>7;
ZWS19:=ZWS17 AND ZWS18;
ZWS20:=DATETODAY(DATE);
ZWS21:=ZWS20>9344 AND ZWS20<15000000;
ZWS22:=(ZWS11 AND ZWS19)*ZWS21;
ZWS23:=EMA(CLOSE,5);
ZWS24:=EMA(CLOSE,10);
ZWS25:=EMA(CLOSE,14);
ZWS26:=EMA(CLOSE,18);
ZWS27:=EMA(CLOS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SE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;
ZWS59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
ZWS60:=COUNT(ZWS59<35,100)>=95;
ZWS61:=ZWS43 AND ZWS58>0 AND NOT(DYNAINFO(4)=0) AND ZWS60 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(ZWS57,ZWS56) OR CROSS(ZWS44,0) OR REF(COUNT(CROSS(ZWS44,0),3)=1 AND ZWS44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(ZWS45,ZWS46) OR CROSS(ZWS47,ZWS48)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;
ZWS62:=ZWS11+ZWS16+ZWS19+ZWS32+ZWS61>=2;
ZWS63:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
ZWS64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
ZWS65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*ZWS2>=20;
ZWS66:=VOL/REF(VOL,1)*ZWS2>1.9;
ZWS67:=ZWS63 AND ZWS64 AND ZWS65 AND ZWS66;
ZWS68:=MA(CLOSE,5);
ZWS69:=MA(CLOSE,10);
ZWS70:=MA(CLOSE,20);
ZWS71:=MA(CLOSE,30);
ZWS72:=MA(CLOSE,60);
ZWS73:=CLOSE>ZWS68 AND ZWS68>ZWS69 AND ZWS69>ZWS70 AND CLOSE>ZWS72;
ZWS74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
ZWS75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
ZWS76:=CAPITAL<10000000;{www.goodgongshi.com}
ZWS77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
ZWS78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
ZWS79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
ZWS80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
ZWS81:=ZWS77 AND ZWS78 AND ZWS79 AND ZWS80;
ZWS82:=kdj.K>REF(KDJ.K,1)*ZWS2;
ZWS83:=KDJ.D>REF(KDJ.D,1)*ZWS2 AND KDJ.D<70;
ZWS84:=KDJ.J>REF(KDJ.J,1)*ZWS2;
ZWS85:=ZWS82 AND ZWS83 AND ZWS84;
ZWS86:=ZWS7 AND ZWS74 AND ZWS75 AND ZWS76 AND ZWS81 AND ZWS85;
ZWS87:=FILTER(ZWS86,15)*ZWS2;
ZWS88:=ZWS67 OR ZWS87;
XG:((ZWS88 AND ZWS62)*ZWS2 OR ZWS35 OR ZWS22),COLORRED;
更多相关内容请查看分类:好公式网
更多好公式参考:http://www.goodgongshi.com/tongdaxingongshi/98771.html