捕捉涨停个股排序 跟风捉涨停通达信公式 排序 源码附图

XA_1:=IF(BARSTATUS=2,OPEN,CLOSE);
XA_2:=(0.36095*XA_1-0.03309*REF(CLOSE,1)-0.04242*REF(CLOSE,2)-0.02674*REF(CLOSE,3)-0.00701*REF(CLOSE,4)-0.00265*REF(CLOSE,5)-0.00084*REF(CLOSE,6)-0.00029*REF(CLOSE,7)-0.000096*REF(CLOSE,8)-0.000032*REF(CLOSE,9)-0.000011*REF(CLOSE,10)-0.000004*REF(CLOSE,11)-0.000001*REF(CLOSE,12))/(1-0.75224);
XA_3:=OPEN/REF(CLOSE,1)<1.07;
{股票指标网 整理}
XA_4:=OPEN/REF(CLOSE,1)>0 AND OPEN/REF(CLOSE,1)<1.07;
XA_5:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
捕风捉影:(XA_2-XA_1)/XA_1*1000>55 AND XA_4 AND XA_5>0.5;
 
{捕捉涨停个股排序}
年涨幅以下:=200;波段涨以下:=60;
X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_2:=EMA(X_1,9);
X_3:=BARSLAST(YEAR>REF(YEAR,1))+1;
X_4:=IF(X_3=DRAWNULL,BARSCOUNT(CLOSE)+1,X_3);
X_5:=(CLOSE/REF(CLOSE,X_4)-1)*100;
X_6:=BARSLASTCOUNT(X_1>X_2);
X_7:=(CLOSE/REF(CLOSE,X_6)-1)*100;
X_8:=0.1;
X_9:=CLOSE>=ZTPRICE(REF(CLOSE,1),X_8) AND LOW<HIGH;
X_10:=CLOSE>=ZTPRICE(REF(CLOSE,1),X_8) AND LOW=HIGH;
X_11:=HIGH>=ZTPRICE(REF(CLOSE,1),X_8) AND CLOSE<HIGH;
X_12:=1+0.8*X_9+0.3*X_10+0.2*X_11;
X_13:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_14:=X_13*X_12;
X_17:=0;
X_18:=0;
X_19:=1;
X_21:=EMA(CLOSE,2)-EMA(CLOSE,89)*X_19;
X_22:=EMA(X_21,30)*X_19;
X_23:=2*(X_21-X_22)*10*X_19;
X_24:=POW(X_23,3)*0.1+POW(X_23,2)*X_19;
X_25:=IF(X_18!=1 AND X_23>0.015,X_24,0)/45*X_19;
X_26:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
X_27:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
X_28:=EMA(X_26,5);
X_29:=EMA(X_27,5);
X_30:=X_28-REF(X_28,1);
X_31:=X_29-REF(X_29,1);
X_32:=IF(X_30-X_31>0 AND X_17=0,(X_30-X_31)*5,0);
X_33:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_34:=IF(CLOSE>OPEN,X_33*(HIGH-LOW),IF(CLOSE<OPEN,X_33*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
X_35:=IF(CLOSE>OPEN,X_33*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,X_33*(HIGH-LOW),VOL/2));
X_36:=SUM((X_34-X_35)/CAPITAL,1)*1000;
X_37:=VOL/10000;
X_38:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_39:=MOD(FROMOPEN,X_38);
X_40:=IF(X_39<0.5,X_38,X_39);
X_41:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*X_38/X_40/10000,DRAWNULL);
X_42:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,X_41,X_37);
X_43:=X_42/REF(MA(X_42,5),1);
X_44:=IF(X_43>=100,10,IF(X_43>=50 AND X_43<100,20,X_43/2));
X_45:=DYNAINFO(17)>0;
X_46:=NOT(NAMELIKE(2) OR NAMELIKE(4) OR NAMELIKE(3));
X_47:=X_46 AND X_45 AND BARSCOUNT(CLOSE)>=30 AND X_25>REF(X_25,1);
X_48:=X_5<年涨幅以下 AND X_7<波段涨以下;
日序:IF(X_47=1 AND X_17!=1 AND CLOSE>=OPEN AND X_48,X_36+X_32+X_14+X_44,0),NODRAW;
周序:IF(X_18!=1 AND CLOSE>=OPEN,SUM(日序,5),0),NODRAW;
月序:IF(X_18!=1 AND CLOSE>=OPEN,SUM(日序,20),0),NODRAW;
年涨:(CLOSE/REF(CLOSE,X_4)-1)*100,NODRAW;
波段涨幅:(CLOSE/REF(CLOSE,X_6)-1)*100,NODRAW;
{股票指标网 整理}



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

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

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