自己使用多年 中国股神 通达信指标 源码 贴图
2018-06-01 11:18:00来源:本站整理浏览:749
自己使用多年 中国股神 通达信指标 源码 贴图
HJ_1:=EMA(CLOSE,7);
HJ_2:=MA(CLOSE,34);
HJ_3:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HJ_4:=(20*HJ_3+19*REF(HJ_3,1)+18*REF(HJ_3,2)+17*REF(HJ_3,3)+16*REF(HJ_3,4)+15*REF(HJ_3,5)+14*REF(HJ_3,6)+13*REF(HJ_3,7)+12*REF(HJ_3,8)+11*REF(HJ_3,9)+10*REF(HJ_3,10)+9*REF(HJ_3,11)+8*REF(HJ_3,12)+7*REF(HJ_3,13)+6*REF(HJ_3,14)+5*REF(HJ_3,15)+4*REF(HJ_3,16)+3*REF(HJ_3,17)+2*REF(HJ_3,18)+REF(HJ_3,20))/210;
HJ_5:=MA(HJ_4,5);
HJ_6:=CLOSE>HJ_5;
HJ_7:=(3*CLOSE+LOW+OPEN+HIGH)/6;
HJ_8:=(20*HJ_7+19*REF(HJ_7,1)+18*REF(HJ_7,2)+17*REF(HJ_7,3)+16*REF(HJ_7,4)+15*REF(HJ_7,5)+14*REF(HJ_7,6)+13*REF(HJ_7,7)+12*REF(HJ_7,8)+11*REF(HJ_7,9)+10*REF(HJ_7,10)+9*REF(HJ_7,11)+8*REF(HJ_7,12)+7*REF(HJ_7,13)+6*REF(HJ_7,14)+5*REF(HJ_7,15)+4*REF(HJ_7,16)+3*REF(HJ_7,17)+2*REF(HJ_7,18)+REF(HJ_7,20))/210;
HJ_9:=EMA(HJ_8,13);
HJ_10:=EMA(CLOSE,5);
HJ_11:=EMA(HJ_10,8);
HJ_12:=EMA(HJ_11,13);
HJ_13:=EMA(HJ_12,50);
HJ_14:=REF(CLOSE,1)<REF(HJ_9,1) AND CLOSE>HJ_9;
HJ_15:=CLOSE/REF(CLOSE,1)>1+0.01*9;
HJ_16:=HJ_9/HJ_13<1+0.01*20;
HJ_17:=HJ_14 AND HJ_15 AND HJ_16;
HJ_18:=(OPEN+HIGH+LOW+CLOSE)/4;
HJ_19:=IF(BETWEEN(CLOSE,HJ_18,HIGH) OR CLOSE=OPEN,VOL,0);
HJ_20:=IF(BETWEEN(CLOSE,HJ_18,LOW),VOL,0);
HJ_21:=IF(HJ_19 AND HJ_20,0,VOL/3);
HJ_22:=10*(HJ_19-(HJ_20+HJ_21))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
HJ_23:=MA(CLOSE,5);
HJ_24:=MA(CLOSE,10);
HJ_25:=MA(CLOSE,20);
HJ_26:=MA(CLOSE,30);
HJ_27:=CROSS(CLOSE,HJ_23) AND CROSS(CLOSE,HJ_24) AND CROSS(CLOSE,HJ_25) AND CROSS(CLOSE,HJ_26);
HJ_28:=CROSS(CLOSE,HJ_23) AND CROSS(CLOSE,HJ_24) AND LOW<HJ_25 AND LOW<HJ_26;
出击:REF(CLOSE,1)<REF(OPEN,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,1)<HJ_2 AND (CLOSE>HJ_2 OR CROSS(CLOSE,HJ_2)) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND (REF(CLOSE,1)/REF(CLOSE,2)-1)*100>(-9.7) AND HJ_6 AND (CLOSE/REF(CLOSE,1)-1)*100>=2 AND HJ_14 AND HJ_16 AND REF(HIGH,1)>=REF(HJ_1,1) AND (HJ_27 OR HJ_28) AND HJ_22>0;
{-----------------------------------}