轻松涨停狙击通达信指标公式源码

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

最近大盘一直在震荡,如意闲来无事整合优化一个涨停狙击指标

优化之后感觉挺好的,所以发上来和大家一起分享下

附图内是.TNE的通达信公式文件,是附图,下载之后直接导入软件内就行了,导入之后可以看到源码,源码全公开

用法:同样是盘后选股,最好是5-10-20-30均线之上的,止盈止损10%

N:=0.01;

X_1:=DYNAINFO(4)>0;

X_2:=EMA(CLOSE,5);

X_3:=EMA(CLOSE,10);

X_4:=EMA(CLOSE,20);

X_5:=MAX(X_2,X_3);

X_6:=MAX(X_4,X_5);

X_7:=X_6;

X_8:=MIN(X_2,X_3);

X_9:=MIN(X_8,X_4);

X_10:=X_9;

X_11:=(X_7-X_10)/X_7*1000<25;

X_12:=CLOSE>X_7;

X_13:=OPEN

X_14:=X_12 AND X_13;

X_15:=CROSS(X_2,X_3) OR CROSS(X_2,X_4) OR X_11;

X_16:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

X_17:=SMA(X_16,3,1);

X_18:=SMA(X_17,3,1);

X_19:=CROSS(X_17,X_18) OR REF(CROSS(X_17,X_18),1);

X_20:=(HIGH+LOW+CLOSE)/3;

X_21:=(X_20-MA(X_20,14))/(0.015*AVEDEV(X_20,14));

X_22:=X_21>REF(X_21,1);

X_23:=X_1 AND X_14 AND X_15 AND X_19 AND X_22 AND X_18<65;

X_24:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

X_25:=MA(X_24,3);

X_26:=LLV(OPEN,30);

X_27:=MA(CLOSE,10);

X_28:=MA(CLOSE,12);

X_29:=ATAN(X_27-REF(X_27,1))*3.1416*10;

X_30:=ATAN(X_28-REF(X_28,1))*3.1416*10;

X_31:=MA(CLOSE,13);

X_32:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

X_33:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

X_34:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

X_35:=(X_32+2*X_33+3*X_34)/6;

X_36:=MA(X_35,3);

X_37:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);

X_38:=(CLOSE-X_37)/X_37*100;

X_39:=REF(X_38,1)<0-40 AND X_38>REF(X_38,1) AND REF(X_38,1)2.5;

X_40:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

X_41:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

X_42:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

X_43:=REF(CLOSE,1);

X_44:=SMA(MAX(CLOSE-X_43,0),5,1)/SMA(ABS(CLOSE-X_43),5,1)*100;

X_45:=(HIGH+LOW+CLOSE)/3;

X_46:=(X_45-MA(X_45,14))/(0.015*AVEDEV(X_45,14));

X_47:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(MA(AMO UNT,5)/MA(VOL,5)/100)<0-0.273;

X_48:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.125;

X_49:=X_47 AND X_48;

X_50:=X_40>=0-45 AND X_40<=0-10 AND X_41<=0-15 AND X_42<=0-20;

X_51:=COUNT(X_50,1)>=1;

X_52:=X_49 AND X_51;

X_53:=1;

X_54:=531;

X_55:=1510000;

X_56:=X_54+X_55;

X_57:=1;

X_58:=SMA(HIGH,10,9)*X_57;

X_59:=SMA(LOW,10,9)*X_57;

X_60:=CLOSE*VOL;

X_61:=EMA((MA(X_60,4)/MA(VOL,4)+MA(X_60,6)/MA(VOL,6)+MA(X_60,13)/MA(VOL,13 )+MA(X_60,24)/MA(VOL,24))/4,1);

X_62:=1*X_61;

X_63:=X_61*0.92;

X_64:=EMA(CLOSE,34);

X_65:=MA(X_64*1.12,5);

X_66:=MA(X_64*0.82,5);

X_67:=CLOSE

X_68:=(MA(AMOUNT,5)*X_53/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(M A(AMOUNT,5)/MA(VOL,5)/100)<(0-0.4)*X_53;

X_69:=HHV(HIGH,500);

X_70:=LLV(LOW,500);

X_71:=HHV(HIGH,250);

X_72:=LLV(LOW,250);

X_73:=HHV(HIGH,125);

X_74:=LLV(LOW,125);

X_75:=MA((X_69*0.45+X_71*0.5+X_70+X_72+X_74)/5,35);

X_76:=MA((X_71*0.62+X_74)/2,35);

X_77:=MA((X_71*0.75+X_74)/2,18);

X_78:=MA((X_71*0.93+X_75*2+X_76*1.8+X_77*1.5)/4,18);

X_79:=MA((X_69*0.95+X_75*3+X_76*2)/3,35);

X_80:=X_75;

X_81:=X_76;

X_82:=X_77;

X_83:=X_78;

X_84:=X_79;

X_85:=CLOSE-REF(MA(CLOSE,20),11)<0-2;

X_86:=INDEXA/100000000;

X_87:=INDEXADV;

X_88:=INDEXDEC;

X_89:=X_60/(X_60+X_61)*X_53;

X_90:=X_61/(X_60+X_61)*X_53;

X_91:=EMA(X_89,10);

X_92:=EMA(X_90,10);

X_93:=EMA(X_91,10);

X_94:=EMA(X_92,20);

X_95:=EMA(X_91,3);

X_96:=EMA(X_93,6);

X_97:=EMA(X_94,2);

X_98:=X_96-X_97;

X_99:=X_96-REF(X_96,1)>0 AND REF(X_96,1)-REF(X_96,2)<0;

X_100:=IF(CROSS(X_95,X_96) AND X_96<=20,30,0);

X_101:=X_100;

X_102:=SMA(AMOUNT/VOL/100,13,1)*1.15;

X_103:=SMA(AMOUNT/VOL/100,13,1)*0.85;

X_104:=CLOSE-REF(MA(CLOSE,20),11);

相关文档
最新文档