通达信高端抓涨停副图 花了代价淘来的追涨类指标 抓涨停思路 源码

HGW1:=VOL;
HGW2:=MA(HGW1,5);
HGW3:=MA(CLOSE,10);
HGW4:=MA(CLOSE,26);
HGW5:=EMA(CLOSE,5);
HGW6:=EMA(CLOSE,14);
HGW7:=EMA(CLOSE,18);
HGW8:=EMA(CLOSE,40);
HGW9:=EMA(CLOSE,60);
HGW10:=MA(CLOSE,10);
HGW11:=MA(CLOSE,54);
HGW12:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
HGW13:=FILTER(HGW12,10);
HGW14:=BARSLAST(HGW13);
HGW15:=REF(HIGH,HGW14+2);
HGW16:=REF(HIGH,HGW14+1);
HGW17:=REF(HIGH,HGW14);
HGW18:=MAX(HGW15,HGW16);
HGW19:=MAX(HGW18,HGW17);
HGW20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
HGW21:=HGW14<150;
HGW22:=(OPEN-HGW19)/HGW19*100<30;
HGW23:=(CLOSE-LLV(LOW,HGW14))/LLV(LOW,HGW14)*100<50;
HGW24:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
HGW25:=VOL/MA(VOL,5)<3.5;
HGW26:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
HGW27:=HGW20 AND HGW21 AND HGW22 AND HGW23 AND HGW24 AND HGW25 AND HGW26;
HGW28:=FILTER(HGW27,15);
HGW29:=(CLOSE-HGW11)/HGW11<0.1;
HGW30:=(CLOSE-HGW10)/HGW10<0.3;
HGW31:=(HGW29=1 AND HGW30=1)*0.2;
HGW32:=(HGW31=0 AND REF(HGW31,1)=0.2 AND REF(COUNT(HGW31=0.2,10)=10,1)=1)*(-0.1);
HGW33:=HGW32=(-0.1);
HGW34:=HGW28 OR HGW33;
HGW35:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;
HGW36:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
HGW37:=HGW34 AND CLOSE/REF(CLOSE,1)>1.099 AND HGW36 AND HGW35;
HGW38:=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 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
HGW39:=DYNAINFO(4)>0 AND HHV(HIGH,8)/LLV(LOW,8)<2 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15)) AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,120);
HGW40:=MAX(HGW8,HGW9);
HGW41:=CLOSE>HGW40 AND HGW38 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
HGW42:=HGW2+HGW2>HGW1;
HGW43:=CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07 AND HGW39 AND HGW42;
HGW44:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>7;
HGW45:=HGW39 AND HGW44;
HGW46:=HGW41 AND HGW45;
HGW47:=MAX(MAX(MAX(MAX(MAX(HGW5,HGW3),HGW6),HGW7),HGW8),HGW9);
HGW48:=MIN(MIN(MIN(MIN(MIN(HGW5,HGW3),HGW6),HGW7),HGW8),HGW9);
HGW49:=CLOSE>HGW47 AND LOW<HGW48 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.09);
HGW50:=FILTER(HGW49>0,0)=1;
HGW51:=MA(REF(HHV(CLOSE,26),1),2);
HGW52:=POW(CLOSE-HGW4,2);
HGW53:=MA(HGW52,13);
HGW54:=SQRT(HGW53);
HGW55:=HGW4+2*HGW54;
HGW56:=CROSS(CLOSE,HGW51) AND HIGH>REF(HGW55,1) OR (CLOSE>HGW51 AND CROSS(CLOSE,REF(HGW55,1))) AND CLOSE/OPEN>0.998;
HGW57:=MACD.MACD;
HGW58:=KD.K;
HGW59:=KD.D;
HGW60:=RSI.RSI1;
HGW61:=RSI.RSI3;
HGW62:=CLOSE-REF(CLOSE,1);
HGW63:=IF(HGW62>=0,HGW62,0);
HGW64:=IF(HGW62<0,-HGW62,0);
HGW65:=MEMA(HGW63,10);
HGW66:=MEMA(HGW64,10);
HGW67:=MEMA(HGW63,6);
HGW68:=MEMA(HGW64,6);
HGW69:=MA(100*HGW65/(HGW65+HGW66),10);
HGW70:=MA(100*HGW67/(HGW67+HGW68),6);
HGW71:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;
HGW72:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
HGW73:=COUNT(HGW72<35,100)>=95;
HGW74:=HGW56 AND HGW71>0 AND NOT(DYNAINFO(4)=0) AND HGW73 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(HGW70,HGW69) OR CROSS(HGW57,0) OR REF(COUNT(CROSS(HGW57,0),3)=1 AND HGW57<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(HGW58,HGW59) OR CROSS(HGW60,HGW61)) 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;
HGW75:=HGW41+HGW43+HGW45+HGW50+HGW74>=2;
HGW76:=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);
HGW77:=CLOSE>REF(CLOSE,1)*1.1-0.01;
HGW78:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)>=20;
HGW79:=VOL/REF(VOL,1)>1.9;
HGW80:=HGW76 AND HGW77 AND HGW78 AND HGW79;
HGW81:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
HGW82:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
HGW83:=CAPITAL<10000000;
HGW84:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
HGW85:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
HGW86:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
HGW87:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
HGW88:=HGW84 AND HGW85 AND HGW86 AND HGW87;
HGW89:=KDJ.K>REF(KDJ.K,1);
HGW90:=KDJ.D>REF(KDJ.D,1) AND KDJ.D<70;
HGW91:=KDJ.J>REF(KDJ.J,1);
HGW92:=HGW89 AND HGW90 AND HGW91;
HGW93:=HGW8 AND HGW81 AND HGW82 AND HGW83 AND HGW88 AND HGW92;
HGW94:=FILTER(HGW93,15);
HGW95:=HGW80 OR HGW94;
HGW96:=HGW95 AND HGW75 OR HGW50 OR HGW46;
突破龙头优化:HGW96 OR HGW39 OR HGW37,COLORRED;


未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图