通达信抓一二三板指标公式源码副图

DRAWGBK(C>O,RGB(10,0,0),RGB(0,0,0),1,2,1);
XA_1:=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);
XA_2:=IF(DATETODAY(DATE)<15000000,1,DRAWNULL);
XA_3:=Ema(CLOSE,5);
XA_4:=EMA(CLOSE,10);
XA_5:=EMA(CLOSE,14);
XA_6:=EMA(CLOSE,18);
XA_7:=EMA(CLOSE,40);
XA_8:=EMA(CLOSE,60);
XA_9:=IF(DATE<30000*500,1,DRAWNULL);
XA_10:=MAX(XA_7,XA_8);
XA_11:=CLOSE>XA_10 AND XA_1 AND (CLOSE>REF(HHV(HIGH,3),1)*XA_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
XA_12:=vol;
XA_13:=MA(XA_12,5);
XA_14:=XA_13+XA_13>XA_12;
XA_15:=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)*XA_2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*XA_9;
XA_16:=(CLOSE>REF(HHV(HIGH,3),1)*XA_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*XA_2 AND XA_15 AND XA_14;
XA_17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*XA_2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
XA_18:=(CLOSE-REF(CLOSE,1)*XA_2)/REF(CLOSE,1)*100>7;
XA_19:=XA_17 AND XA_18;
XA_20:=DATETODAY(DATE);
XA_21:=XA_20>9344 AND XA_20<15000000;
XA_22:=(XA_11 AND XA_19)*XA_21;
XA_23:=EMA(CLOSE,5);
XA_24:=EMA(CLOSE,10);
XA_25:=EMA(CLOSE,14);
XA_26:=EMA(CLOSE,18);
XA_27:=EMA(CLOSE,40);
XA_28:=EMA(CLOSE,60);
XA_29:=MAX(MAX(MAX(MAX(MAX(XA_23,XA_4),XA_25),XA_26),XA_27),XA_28)*XA_9;
XA_30:=MIN(MIN(MIN(MIN(MIN(XA_23,XA_4),XA_25),XA_26),XA_27),XA_28)*XA_9;
XA_31:=CLOSE>XA_29 AND LOW<XA_30 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*XA_2)/REF(CLOSE,1)>0.09);
XA_32:=FILTER(XA_31>0,0)=1;
XA_33:=DATETODAY(DATE);
XA_34:=XA_33>9350 AND XA_33<15000000;
XA_35:=XA_32*XA_34;
XA_36:=MA(REF(HHV(CLOSE,26),1),2);
XA_37:=MA(CLOSE,26);
XA_38:=POW(CLOSE-XA_37,2);
XA_39:=MA(XA_38,13);
XA_40:=SQRT(XA_39);
XA_41:=XA_37+2*XA_40;
XA_42:=REF(XA_41,1);
XA_43:=crOSS(CLOSE,XA_36) AND HIGH>REF(XA_41,1) OR (CLOSE>XA_36 AND CROSS(CLOSE,REF(XA_41,1))) AND CLOSE/OPEN>0.998;
XA_44:=macd.MacD;
XA_45:=kd.K;
XA_46:=KD.D;
XA_47:=rsi.RSI1;
XA_48:=RSI.RSI3;
XA_49:=CLOSE-REF(CLOSE,1);
XA_50:=IF(XA_49>=0,XA_49,0)*XA_9;
XA_51:=IF(XA_49<0,-XA_49,0)*XA_9;
XA_52:=MEMA(XA_50,10);
XA_53:=MEMA(XA_51,10);
XA_54:=MEMA(XA_50,6);
XA_55:=MEMA(XA_51,6);
XA_56:=MA(100*XA_52/(XA_52+XA_53),10)*XA_9;
XA_57:=MA(100*XA_54/(XA_54+XA_55),6)*XA_9;
XA_58:=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;
XA_59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
XA_60:=COUNT(XA_59<35,100)>=95;
XA_61:=XA_43 AND XA_58>0 AND NOT(DYNAINFO(4)=0) AND XA_60 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(XA_57,XA_56) OR CROSS(XA_44,0) OR REF(COUNT(CROSS(XA_44,0),3)=1 AND XA_44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(XA_45,XA_46) OR CROSS(XA_47,XA_48)) 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;
XA_62:=XA_11+XA_16+XA_19+XA_32+XA_61>=2;
XA_63:=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);
XA_64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
XA_65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*XA_2>=20;
XA_66:=VOL/REF(VOL,1)*XA_2>1.9;
XA_67:=XA_63 AND XA_64 AND XA_65 AND XA_66;
XA_68:=MA(CLOSE,5);
XA_69:=MA(CLOSE,10);
XA_70:=MA(CLOSE,20);
XA_71:=MA(CLOSE,30);
XA_72:=MA(CLOSE,60);
XA_73:=CLOSE>XA_68 AND XA_68>XA_69 AND XA_69>XA_70 AND CLOSE>XA_72;
XA_74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
XA_75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
XA_76:=CAPITAL<10000000;
XA_77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
XA_78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
XA_79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
XA_80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
XA_81:=XA_77 AND XA_78 AND XA_79 AND XA_80;
XA_82:=kdj.K>REF(KDJ.K,1)*XA_2;
XA_83:=KDJ.D>REF(KDJ.D,1)*XA_2 AND KDJ.D<70;
XA_84:=KDJ.J>REF(KDJ.J,1)*XA_2;
XA_85:=XA_82 AND XA_83 AND XA_84;
XA_86:=XA_7 AND XA_74 AND XA_75 AND XA_76 AND XA_81 AND XA_85;
XA_87:=FILTER(XA_86,15)*XA_2;
XA_88:=XA_67 OR XA_87;
启动:DATE<15000000 AND ((XA_88 AND XA_62)*XA_2 OR XA_35 OR XA_22),NODRAW,COLORRED;
stICKLINE(启动,0,1,2,0),COLORRED;
流通盘小于亿:=300;
震荡过滤:=0;
X_1:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
X_2:=EMA(X_1,5);
X_3:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
X_4:=EMA(X_3,5);
X_5:=X_2-REF(X_2,1);
X_6:=X_4-REF(X_4,1);
X_7:=IF(X_5-X_6>0,(X_5-X_6)*5,0);
X_8:=X_7-REF(X_7,1);
X_9:=SMA((CLOSE-REF(CLOSE,1))*VOL,3,1)/10000;
X_10:=1;
X_11:=EMA(X_9,12)-EMA(X_9,26);
X_12:=EMA(X_11,9);
X_13:=(X_11-X_12)*2;
X_14:=HHVBARS(X_13,BArslAST(X_13<0)+1);
X_15:=CROSS(BACKSET(CROSS(0,X_13),REF(X_14,1)+2),0.5);
X_16:=DRAWLINE(X_15,X_13,REF(X_15,1),REF(X_13,1),1);
X_17:=X_13>X_16 AND X_13>=REF(X_13,1);
X_18:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;
X_19:=BARSSINCE(CLOSE)<1 OR BARSSINCE(CLOSE)<34 AND CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH;
X_20:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW<HIGH;
X_21:=HIGH>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<HIGH;
X_22:=1+3*X_20+1*X_18+0.2*X_21;
X_23:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_24:=X_23*X_22;
X_25:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
X_26:=IF(CLOSE>OPEN,X_25*(HIGH-LOW),IF(CLOSE<OPEN,X_25*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL*0.7,VOL*0.3)));
X_27:=IF(CLOSE>OPEN,X_25*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,X_25*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL*0.7,VOL*0.3)));
X_28:=IF(X_10!=1,0,SUM((X_26-X_27)/CAPITAL,1)*1000);
X_29:=VOL/10000;
X_30:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_31:=MOD(FROMOPEN,X_30);
X_32:=IF(X_31<0.5,X_30,X_31);
X_33:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*X_30/X_32/10000,DRAWNULL);
X_34:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,X_33,X_29);
X_35:=X_34/REF(MA(X_34,5),1);
X_36:=IF(CLOSE>=REF(CLOSE,1) AND X_35>3,33,IF(CLOSE<REF(CLOSE,1) AND X_35>3,0,IF(CLOSE>=REF(CLOSE,1) AND X_35<=3,X_35*10,X_35)));
X_37:=IF(CLOSE>0,EMA(MAX(CLOSE-REF(CLOSE,1),0),83)/EMA(ABS(CLOSE-REF(CLOSE,1)),83)*101,0);
X_38:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
X_39:=X_13-REF(X_13,1);
X_40:=DYNAINFO(4)>0;
X_41:=EXIST(ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.052,20) AND EXIST(CLOSE/REF(CLOSE,1)>1.15,2)!=1;
X_42:=FINANCE(40)<300*100000000 AND FINANCE(7)<=流通盘小于亿*100000000;
X_43:=X_41 AND X_40 AND X_19=0 AND AMOUNT/10000>1000;
X_44:=COUNT(HIGH/REF(CLOSE,1)>=1.081,5)>=2 AND CLOSE>=OPEN;
X_45:=INDEXADV/(INDEXADV+INDEXDEC);
X_46:=X_10;
X_47:=IF(X_46=1,X_45*100,0);
X_48:=X_47>85 OR REF(X_47,1)>85;
X_49:=IF(震荡过滤=1,X_48,0);
X_50:=X_37>53 AND CLOSE>=OPEN;
X_51:=(CLOSE-X_38)/X_38*200;
X_52:=IF(X_49=0 AND X_43 AND X_42 AND X_44 AND X_50 AND X_17=1,(X_28+X_8*3+X_24+X_36+X_39*5+X_51)*1.1,0);
连板:CROSS(X_52,5),NODRAW,COLORLIBLUE;
STICKLINE(连板,0,1,2,0),COLORLIBLUE;
上市日期年:=REF(YEAR,(BARSCOUNT(CLOSE)-1)),LINETHICK0;
月:=REF(MONTH,(BARSCOUNT{+}(CLOSE)-1)),LINETHICK0,COLORFF00FF;
日:=REF(DAY,(BARSCOUNT(CLOSE)-1)),LINETHICK0;
VAR1:=((((((2*CLOSE)+HIGH)+LOW)+OPEN)/5));
A1:=(((((EMA(VAR1,3)+EMA(VAR1,6))+EMA(VAR1,12))+EMA(VAR1,24))/4));
A2:=(EMA(A1,2));
A3:=(EMA(A2,2));
A4:=(EMA(A3,2));
A5:=(EMA(A4,2));
A6:=(EMA(A5,2));
A7:=(EMA(A6,2));
A8:=((EMA(VAR1,2.78)*1.028));
A9:=((MA(OPEN,3.2)*1.028));
AA:=((CLOSE/REF(CLOSE,1))>=1.099);
AB:=(VOL/REF(VOL,1));
关注:=IF((((CLOSE/REF(CLOSE,1))>=1.046) AND (AB<1)),1,0),LINETHICK0;
龙头第一买点:=IF((AA AND (AB<1)),1,0);
首板:IF((((CLOSE/REF(CLOSE,1))>=1.046)AND (AB<1)),1,0) AND HHV((C-REF(C,1))/REF(C,1)>0.095,5) AND BARSCOUNT(C)>=250 ,LINETHICK2 ;
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);
资金流入强度:=ZJLRQD,NODRAW;
强势:=CROSS(资金流入强度,20);
资金:(O>=REF(C,1)*1.00 AND EXIST(强势,1)*0.6)*0.4,COLORWHITE,LINETHICK2;




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

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

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