很具有实战效果 逢低买 通达信指标 源码
2018-06-12 15:26:00来源:本站整理浏览:256
很具有实战效果 逢低买 通达信指标 源码
HJ_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HJ_2:=SMA(HJ_1,3,1);
HJ_3:=SMA(HJ_2,3,1);
HJ_4:=3*HJ_2-2*HJ_3;
HJ_5:=INDEXC>0.98*REF(INDEXC,2) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);
HJ_6:=INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);
HJ_7:=IF(NAMELIKE(1),0,1);
HJ_8:=IF(NAMELIKE(2),0,1);
HJ_9:=NOT(DYNAINFO(4)=0);
HJ_10:=FINANCE(7)<20*100000000;
HJ_11:=HJ_2<80 AND HJ_4<80 AND HJ_5 AND HJ_7 AND HJ_8 AND HJ_10;
HJ_12:=HJ_2<80 AND HJ_4<80 AND HJ_6 AND HJ_7 AND HJ_8 AND HJ_10;
HJ_13:=CLOSE<=OPEN;
HJ_14:=CLOSE>OPEN;
HJ_15:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
HJ_16:=(CLOSE-HJ_15)/HJ_15*100;
HJ_17:=1310901;
HJ_18:=1311001;
HJ_19:=IF(DATE>HJ_17,IF(CLOSE<80,1,0),0);
HJ_20:=IF(DATE>HJ_18,1,HJ_19);
HJ_21:=REF(HJ_16,1)<(-25) AND HJ_16>REF(HJ_16,1) AND HJ_20!=1 AND REF(HJ_16,1)<REF(HJ_16,2) AND CLOSE/REF(CLOSE,1)>1.098 AND HJ_11 AND HJ_16-REF(HJ_16,1)>2 AND REF(HJ_16,2)-REF(HJ_16,1)>1;
HJ_22:=(2*CLOSE+HIGH+LOW+OPEN)/5;
HJ_23:=EMA(EMA(EMA(HJ_22,4),4),4);
HJ_24:=(HJ_23-REF(HJ_23,1))/REF(HJ_23,1)*100;
HJ_25:=MA(HJ_24,2);
HJ_26:=MA(HJ_24,1);
HJ_27:=(LOW+HIGH+CLOSE)/3;
HJ_28:=MA(HJ_27,5);
HJ_29:=HHV(HJ_28,30);
HJ_30:=LLV(HJ_28,13);
HJ_31:=HJ_30+0.0001;
HJ_32:=CROSS(HJ_28,HJ_31);
HJ_33:=(HHV(HIGH,7)-LLV(LOW,7))/LLV(LOW,7)>0.07 AND (HHV(HIGH,7)-LLV(LOW,7))/LLV(LOW,7)<0.18;
HJ_34:=COUNT(HJ_26>=HJ_25,7)>0;
HJ_35:=LLV(HJ_26,12);
HJ_36:=COUNT(HJ_32,10)>0 AND LOW<HJ_30 AND HJ_30=REF(HJ_30,5);
HJ_37:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_38:=EMA(HJ_37,9);
HJ_39:=2*(HJ_37-HJ_38);
HJ_40:=BARSLAST(REF(HJ_39,1)<0 AND HJ_39>0);
HJ_41:=LLVBARS(HJ_39,HJ_40+20);
HJ_42:=IF(HJ_41>HJ_40,REF(HJ_39,HJ_41),0);
HJ_43:=LLVBARS(HJ_37,HJ_40+20);
HJ_44:=IF(HJ_43>HJ_40,REF(HJ_37,HJ_43),0);
HJ_45:=HJ_39<0 AND HJ_39>HJ_42 AND HJ_19!=1 AND HJ_37<0 AND HJ_37>HJ_44 AND CLOSE=LLV(CLOSE,HJ_40+20) AND HJ_42<0 AND HJ_44<0;
HJ_46:=REF(HJ_45,1)=1 AND HJ_19!=1 AND HJ_39>REF(HJ_39,1);
HJ_47:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
HJ_48:=MA(VOL,2)/MA(VOL,10);
HJ_49:=VOL/CAPITAL;
HJ_50:=0.0068*HJ_47-0.0072*HJ_48-0.5676*HJ_49-0.0105;
HJ_51:=0.0015*HJ_47-0.0124*HJ_48+1.7461*HJ_49-0.0074;
HJ_52:=0-0.0003*HJ_47+0.047*HJ_48-0.5734*HJ_49-0.0549;
HJ_53:=DMA(EMA(CLOSE,12),SUM(VOL,5)/2/CAPITAL);
HJ_54:=(CLOSE-HJ_53)/HJ_53*100;
HJ_55:=CROSS(HJ_54,REF(HJ_54,1)) AND HJ_20!=1 AND CLOSE>=OPEN;
HJ_56:=HJ_55 AND (0-12.2401*HJ_50-1*HJ_51+0.321<0)*110;
HJ_57:=HJ_36 OR HJ_46 AND HJ_56>0 AND HJ_12;
HJ_58:=HJ_21 OR HJ_57;
HJ_59:=REF(HJ_58,1) AND CLOSE<REF(CLOSE,1)*1.03 AND LOW>REF(CLOSE,2);
HJ_60:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_61:=EMA(HJ_60,9);
HJ_62:=2*(HJ_60-HJ_61);
HJ_63:=BARSLAST(CROSS(HJ_61,HJ_60));
HJ_64:=BARSLAST(CROSS(HJ_60,HJ_61));
HJ_65:=REF(HJ_61,HJ_63);
HJ_66:=CROSS(HJ_60,HJ_65);
HJ_67:=BARSLAST(HJ_66);
HJ_68:=REF(CLOSE,2)/REF(CLOSE,1)>1.05;
HJ_69:=CLOSE/REF(CLOSE,1)>1.098;
HJ_70:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HJ_71:=SMA(HJ_70,3,1);
HJ_72:=SMA(HJ_71,3,1);
HJ_73:=3*HJ_71-2*HJ_72;
HJ_74:=HJ_73<80 AND HJ_20!=1 AND HJ_68 AND HJ_69 AND HJ_62>0 AND HJ_5 AND HJ_7 AND HJ_8;
HJ_75:=HJ_5 AND REF(HJ_74,1) AND CLOSE<=REF(CLOSE,1)*1.03 AND LOW>=REF(CLOSE,2);
HJ_76:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
HJ_77:=CLOSE/REF(CLOSE,1)>1.098;
HJ_78:=REF(CLOSE,1)/REF(CLOSE,2)<1.02;
HJ_79:=HJ_77 AND HJ_78 AND HJ_19!=1 AND CROSS(HJ_76,(-87)) AND OPEN<MA(CLOSE,5) AND HJ_5 AND HJ_7 AND HJ_8;
HJ_80:=HJ_5 AND REF(HJ_79,1) AND CLOSE<=REF(CLOSE,1)*1.03 AND LOW>=REF(CLOSE,2);
HJ_81:=DMA(EMA(CLOSE,12),SUM(VOL,5)/2/CAPITAL);
HJ_82:=(CLOSE-HJ_81)/HJ_81*100;
HJ_83:=CROSS(HJ_82,REF(HJ_82,1)) AND HJ_19!=1 AND CLOSE>=OPEN;
HJ_84:=EMA(HHV(HIGH,500),21);
HJ_85:=EMA(HHV(HIGH,250),21);
HJ_86:=EMA(HHV(HIGH,90),21);
HJ_87:=EMA(LLV(LOW,500),21);
HJ_88:=EMA(LLV(LOW,250),21);
HJ_89:=EMA(LLV(LOW,90),21);
HJ_90:=EMA((HJ_87*0.96+HJ_88*0.96+HJ_89*0.96+HJ_84*0.558+HJ_85*0.558+HJ_86*0.558)/6,21);
HJ_91:=EMA((HJ_87*1.25+HJ_88*1.23+HJ_89*1.2+HJ_84*0.55+HJ_85*0.55+HJ_86*0.65)/6,21);
HJ_92:=EMA((HJ_87*1.3+HJ_88*1.3+HJ_89*1.3+HJ_84*0.68+HJ_85*0.68+HJ_86*0.68)/6,21);
HJ_93:=EMA((HJ_90*3+HJ_91*2+HJ_92)/6*1.738,21);
HJ_94:=REF(LOW,1);
HJ_95:=SMA(ABS(LOW-HJ_94),3,1)/SMA(MAX(LOW-HJ_94,0),3,1)*100;
HJ_96:=EMA(IF(CLOSE*1.35<=HJ_93,HJ_95*10,HJ_95/10),3);
HJ_97:=LLV(LOW,30);
HJ_98:=HHV(HJ_96,30);
HJ_99:=IF(MA(CLOSE,58),1,0);
HJ_100:=EMA(IF(LOW<=HJ_97,(HJ_96+HJ_98*2)/2,0),3)/618*HJ_99;
HJ_101:=HJ_83 AND HJ_100>0 AND CROSS(REF(HJ_100,1),HJ_100) AND CLOSE/REF(CLOSE,1)>1.098 AND HJ_5 AND HJ_7 AND HJ_8;
HJ_102:=HJ_5 AND REF(HJ_101,1) AND CLOSE<=REF(CLOSE,1)*1.001 AND LOW>=REF(CLOSE,2);
HJ_103:=HJ_79 OR HJ_101;
HJ_104:=HJ_80 OR HJ_102;
HJ_105:=HJ_58 OR HJ_74 OR HJ_103;
逢低买:FROMOPEN>1 AND (HJ_59 OR HJ_75 OR HJ_104) AND CLOSE<=REF(CLOSE,1)*1.03 AND LOW>=REF(CLOSE,2);