【涨停连珠炮】选股指标分享(源码)

指标源码在文章最下方。直接复制既可。

下面是指标的几个截图:

指标源码(选股和附图源码一样):

{选股,幅图指标源码}

X_1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

X_2:=IF(CLOSE>OPEN,X_1*(HIGH-LOW),IF(CLOSE<OPEN,X_1*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));

X_3:=MA(X_2,35);

X_4:=X_2>X_3;

X_5:=(LOW+HIGH+CLOSE+OPEN)/3.82;

X_6:=HHV(MA(X_5,6),15);

X_7:=CROSS(CLOSE,X_6);

X_8:=MA(CLOSE,30);

X_9:=X_8+2*STD(CLOSE,30);

X_10:=CLOSE>X_9 AND CLOSE>=OPEN;

X_11:=X_2>X_3 AND CROSS(CLOSE,X_6) AND X_10;

X_12:=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);

X_13:=EMA(CLOSE,40);

X_14:=EMA(CLOSE,60);

X_15:=MAX(X_13,X_14);

X_16:=CLOSE>X_15 AND X_12 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);

X_17:=IF(BARSCOUNT(CLOSE)>7,100*(MA(CLOSE,7)/LLV(MA(CLOSE,7),7)-1),1);

X_18:=IF(X_17>0.35,6,65);

X_19:=(-1)*(100*(HHV(HIGH,X_18)-CLOSE))/(HHV(HIGH,X_18)-LLV(LOW,X_18));

X_20:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

X_21:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

X_22:=(HIGH+LOW)/2;

X_23:=EMA(X_22,3);

X_24:=IF(CLOSE>X_23,VOL,0);

X_25:=IF(CLOSE<X_23,VOL,0);

X_26:=MA(SUM(X_24-X_25,22),3);

X_27:=21*X_26+20*REF(X_26,1)+19*REF(X_26,2)+18*REF(X_26,3);

X_28:=X_27+17*REF(X_26,4)+16*REF(X_26,5)+15*REF(X_26,6)+14*REF(X_26,7)+13*REF(X_26,8);

X_29:=X_28+12*REF(X_26,9)+11*REF(X_26,10)+10*REF(X_26,11);

X_30:=X_29+9*REF(X_26,12)+8*REF(X_26,13)+7*REF(X_26,14)+6*REF(X_26,15);

X_31:=X_30+5*REF(X_26,16)+4*REF(X_26,17)+3*REF(X_26,18)+2*REF(X_26,19)+REF(X_26,20);

X_32:=SMA(X_20,3,1);

X_33:=SMA(X_32,3,1);

X_34:=EMA(SMA(X_21,3,1),2);

X_35:=SMA(X_34,3,1);

X_36:=CROSS(X_19,(-2)) AND CROSS(X_32,X_33) AND CROSS(X_34,X_35);

X_37:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.875;

X_38:=X_37;

连珠炮:X_4 AND X_7 AND X_10 AND X_11 AND X_16 AND X_36 AND X_38;

-----------------------

{主图源码}

MA5:MA(CLOSE,5);

MA10:MA(CLOSE,10);

MA20:MA(CLOSE,20);

X_1:=CLOSE/REF(CLOSE,1)>1.0975;

X_2:=CLOSE/REF(CLOSE,1)>1.06;

STICKLINE(X_1=1,CLOSE,OPEN,3.5,0),COLORYELLOW;

DRAWTEXT(X_1=1,LOW,'★涨停'),COLORYELLOW;

DRAWICON(X_1=1,LOW*0.98,1),COLORYELLOW;

使用指标源码编写指标的方法教程:

》》通达信指标编辑方法教程

》》通达信手机版的指标编辑方法

指标仅供交流参考,依指标买卖,盈亏自负,与本公众号无关。

(0)

相关推荐