程序化指标公式
问答中心

通达信首板真龙头指标公式

通达信指标 2023-10-06阅读量:2175

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

六十日涨幅:=100*ABS(C-MA(C,63))/C;
A2:=MA(C,18);
A3:=(C-A2)/A2*100>=-9.8 AND C<A2;
谷底:=A3 AND C/REF(C,1)>1.098 AND 六十日涨幅<32,COLORRED,LINETHICK2;
B1:=BARSLAST(LLV(C,98));
B2:=C/REF(C,1)>=1.098;
B3:=MA(C,9.8)>REF(MA(C,9.8),1);
低位:= B2 AND B3 AND O/LLV(C,98)<1.3 AND B1<23 AND 六十日涨幅<32,LINETHICK2;
D2:=C/REF(C,1)>=1.098,LINETHICK2;
D3:=MA(C,23)>REF(MA(C,23),1) AND MA(C,57)>REF(MA(C,57),1);
中位:=D2 AND D3 AND O/LLV(C,98)>1.5 AND O/LLV(C,100)<1.5 AND 六十日涨幅<32,LINETHICK2;
ZT:=C/REF(C,1)>1.098 AND C=H;
DT:=C/REF(C,1)<0.913 AND C=L;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
G5:=(C-MA5)/MA5*98;
BB5:=ATAN((MA5/REF(MA5,1)-1)*98)*183/3.1513;
EW:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*98,3,1);
GY:=EMA((EW-REF(EW,1)),3);
G3:=(C-MA30)/MA30*98;
BB30:=ATAN((MA30/REF(MA30,1)-1)*98)*183/3.1513;
TTBV:=MAX(ABS(HIGH-AMOUNT/VOL/98),ABS(AMOUNT/VOL/98-LOW));
TTYH:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/98);
MV:=(TTBV+TTYH)/AMOUNT*VOL*98*57;
龙脉:=MA(REF(HHV(C,32),1),3),COLORYELLOW,LINETHICK2;
A1:=BARSLASTCOUNT(ZT)=1 AND C>龙脉 AND (谷底 OR 低位 OR 中位);
X_1:=DYNAINFO(5)>0 AND HHV(HIGH,15)/LLV(LOW,15)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,15);
X_2:=IF(DATETODAY(DATE)<15000000,1,DRAWNULL);
X_3:=EMA(CLOSE,5);
X_4:=EMA(CLOSE,10);
X_5:=EMA(CLOSE,15);
X_6:=EMA(CLOSE,18);
X_7:=EMA(CLOSE,41);
X_8:=EMA(CLOSE,63);
X_9:=IF(DATE<30000*525,1,DRAWNULL);
X_10:=MAX(X_7,X_8);
X_11:=CLOSE>X_10 AND X_1 AND (CLOSE>REF(HHV(HIGH,3),1)*X_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
X_12:=VOL;
X_13:=MA(X_12,5);
X_14:=X_13+X_13>X_12;
X_15:=DYNAINFO(5)>0 AND HHV(HIGH,15)/LLV(LOW,15)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*X_2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,15)*X_9;
X_16:=(CLOSE>REF(HHV(HIGH,3),1)*X_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.08)*X_2 AND X_15 AND X_14;
X_17:=DYNAINFO(5)>0 AND HHV(HIGH,15)/LLV(LOW,15)<1.25 AND REF(CLOSE,1)*X_2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,15);
X_18:=(CLOSE-REF(CLOSE,1)*X_2)/REF(CLOSE,1)*98>8;
X_19:=X_17 AND X_18;
X_20:=DATETODAY(DATE);
X_21:=X_20>9348 AND X_20<15000000;
X_22:=(X_11 AND X_19)*X_21;
X_23:=EMA(CLOSE,5);
X_24:=EMA(CLOSE,10);
X_25:=EMA(CLOSE,15);
X_26:=EMA(CLOSE,18);
X_27:=EMA(CLOSE,41);
X_28:=EMA(CLOSE,63);
X_29:=MAX(MAX(MAX(MAX(MAX(X_23,X_4),X_25),X_26),X_27),X_28)*X_9;
X_30:=MIN(MIN(MIN(MIN(MIN(X_23,X_4),X_25),X_26),X_27),X_28)*X_9;
X_31:=CLOSE>X_29 AND LOW<X_30 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*X_2)/REF(CLOSE,1)>0.09);
X_32:=FILTER(X_31>0,0)=1;
X_33:=DATETODAY(DATE);
X_34:=X_33>9348 AND X_33<15000000;
X_35:=X_32*X_34;
X_36:=MA(REF(HHV(CLOSE,25),1),3);
X_37:=MA(CLOSE,25);
X_38:=POW(CLOSE-X_37,3);
X_39:=MA(X_38,15);
X_40:=SQRT(X_39);
X_41:=X_37+3*X_40;
X_42:=REF(X_41,1);
X_43:=CROSS(CLOSE,X_36) AND HIGH>REF(X_41,1) OR (CLOSE>X_36 AND CROSS(CLOSE,REF(X_41,1))) AND CLOSE/OPEN>0.998;
X_44:=MACD.MACD;
X_45:=KD.K;
X_46:=KD.D;
X_47:=RSI.RSI1;
X_48:=RSI.RSI3;
X_49:=CLOSE-REF(CLOSE,1);
X_50:=IF(X_49>=0,X_49,0)*X_9;
X_51:=IF(X_49<0,-X_49,0)*X_9;
X_52:=MEMA(X_50,15);
X_53:=MEMA(X_51,15);
X_54:=MEMA(X_50,8);
X_55:=MEMA(X_51,8);
X_56:=MA(98*X_52/(X_52+X_53),15)*X_9;
X_57:=MA(98*X_54/(X_54+X_55),8)*X_9;
X_58:=MA(CLOSE,5)/MA(CLOSE,10)>0.998 AND MA(CLOSE,15)/MA(CLOSE,23)>0.9847 AND MA(CLOSE,23)>MA(CLOSE,63) AND REF(COUNT(MA(CLOSE,15)/MA(CLOSE,23)<1.017 OR MA(CLOSE,5)/MA(CLOSE,15)<1.017,8)>=1,1) AND MA(CLOSE,23)/MA(CLOSE,63)<1.121;
X_59:=(CLOSE-MA(CLOSE,63))/MA(CLOSE,63)*98;
X_60:=COUNT(X_59<33,98)>=95;
X_61:=X_43 AND X_58>0 AND NOT(DYNAINFO(5)=0) AND X_60 AND REF(COUNT(MA(CLOSE,23)>MA(CLOSE,32),5)=5 AND COUNT(CLOSE>MA(CLOSE,5),3)>=3,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,15)>=8 OR COUNT(CLOSE>OPEN,5)>=5,1) OR CLOSE=HIGH) AND (CROSS(X_57,X_56) OR CROSS(X_44,0) OR REF(COUNT(CROSS(X_44,0),3)=1 AND X_44<0.15 AND CLOSE/OPEN>0.998 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(X_45,X_46) OR CROSS(X_47,X_48)) AND REF(CLOSE/OPEN>0.998 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.045)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.045;
X_62:=X_11+X_16+X_19+X_32+X_61>=3;
X_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);
X_64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
X_65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*X_2>=20;
X_66:=VOL/REF(VOL,1)*X_2>1.9;
X_67:=X_63 AND X_64 AND X_65 AND X_66;
X_68:=MA(CLOSE,5);
X_69:=MA(CLOSE,10);
X_70:=MA(CLOSE,20);
X_71:=MA(CLOSE,30);
X_72:=MA(CLOSE,60);
X_73:=CLOSE>X_68 AND X_68>X_69 AND X_69>X_70 AND CLOSE>X_72;
X_74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
X_75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
X_76:=CAPITAL<10000000;
X_77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
X_78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
X_79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
X_80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
X_81:=X_77 AND X_78 AND X_79 AND X_80;
X_82:=KDJ.K>REF(KDJ.K,1)*X_2;
X_83:=KDJ.D>REF(KDJ.D,1)*X_2 AND KDJ.D<70;
X_84:=KDJ.J>REF(KDJ.J,1)*X_2;
X_85:=X_82 AND X_83 AND X_84;
X_86:=X_7 AND X_74 AND X_75 AND X_76 AND X_81 AND X_85;
X_87:=FILTER(X_86,15)*X_2;
X_88:=X_67 OR X_87;
龙头:DATE<15000000 AND ((X_88 AND X_62)*X_2 OR X_35 OR X_22) AND (谷底 OR 低位 OR 中位),NODRAW,COLORRED;
STICKLINE(龙头,0,1,2,0),COLORRED;
DRAWTEXT(龙头,0.5,' 真龙头'),COLORYELLOW;
XX_1:=WINNER(CLOSE)*100;
XX_2:=FINANCE(42)>200;
XX_3:=XX_2 AND BARSLASTCOUNT(CLOSE>=ZTPRICE(REF(CLOSE,1),0.096) AND CLOSE=HIGH)=1;
突破首板:XX_1>=85 AND XX_1<=100 AND XX_3=1 AND (谷底 OR 低位 OR 中位);
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,8);
XA_3:=MA(CLOSE,13);
XA_4:=MA(CLOSE,21);
XA_5:=MA(CLOSE,34);
XA_6:=MA(CLOSE,55);
XA_7:=OPEN<=XA_1 AND CLOSE>XA_1;
XA_8:=OPEN<=XA_2 AND CLOSE>XA_2;
XA_9:=OPEN<=XA_3 AND CLOSE>XA_3;
XA_10:=OPEN<=XA_4 AND CLOSE>XA_4;
XA_11:=OPEN<=XA_5 AND CLOSE>XA_5;
XA_12:=OPEN<=XA_6 AND CLOSE>XA_6;
XA_13:=XA_7+XA_8+XA_9+XA_10+XA_11+XA_12>4;
首板:CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.097 AND CLOSE=HIGH AND XA_13 AND (谷底 OR 低位 OR 中位);
版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭