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HJ_36:=TDXDLL8(1,13,0,CLOSE);
HJ_37:=TDXDLL8(1,13,1,HIGH);
HJ_38:=TDXDLL8(1,13,2,LOW);
HJ_39:=TDXDLL8(1,13,3,OPEN);
HJ_40:=TDXDLL8(2,13,0,0);
HJ_41:=TDXDLL8(3,13,0,0);
HJ_42:=TDXDLL8(5,0,0,0);
HJ_43:=HJ_27 OR HJ_35 OR HJ_41;
HJ_44:=BARSCOUNT(CLOSE)>80 AND NOT(REF(HIGH,2)>REF(MA(CLOSE,20)+2*STD(CLOSE,20),2) AND REF(CLOSE,2)<REF(MA(CLOSE,20)+2*STD(CLOSE,20),2) AND REF(EVERY(CLOSE<MA(CLOSE,20)+2*STD(CLOSE,20),5),2)) AND REF(CLOSE,2)/REF(CLOSE,3)>0.96 AND NOT(REF(HIGH,3)>REF(MA(CLOSE,20)+2*STD(CLOSE,20),3) AND REF(CLOSE,3)<REF(MA(CLOSE,20)+2*STD(CLOSE,20),3) AND REF(EVERY(CLOSE<MA(CLOSE,20)+2*STD(CLOSE,20),5),3));
HJ_45:=NOT(REF(EVERY(CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,7),4)) AND REF(MA(CLOSE,10),1)>REF(MA(CLOSE,10),2) AND REF(HHV(HIGH,3),2)/REF(LOW,1)>1.09 AND REF(HIGH,2)/REF(MAX(CLOSE,OPEN),2)<1.095 AND REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND OPEN/REF(CLOSE,1)>1.03 AND REF(CLOSE,1)/REF(CLOSE,5)>1.15 AND HIGH/OPEN<1.03 AND CLOSE/OPEN<0.93,10)<1,1) AND REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.098 AND REF(OPEN,1)/REF(CLOSE,2)>1.005 AND OPEN=HIGH AND CLOSE/OPEN<0.96,10)<1,1) AND NOT(REF(OPEN,2)/REF(CLOSE,2)>1.09 AND REF(VOL,2)>REF(HHV(VOL,100),3)) AND NOT(REF(COUNT(HIGH>MA(CLOSE,250) AND HIGH/MA(CLOSE,250)<1.04,3)>0,1));
HJ_46:=TDXDLL8(4,0,0,0);
HJ_47:=TDXDLL8(1,5,0,CLOSE);
HJ_48:=TDXDLL8(2,5,0,0);
HJ_49:=TDXDLL8(3,5,0,0);
HJ_50:=TDXDLL8(1,4,0,CLOSE);
HJ_51:=TDXDLL8(1,4,2,LOW);
HJ_52:=TDXDLL8(1,4,3,OPEN);
HJ_53:=TDXDLL8(2,4,0,0);
HJ_54:=TDXDLL8(3,4,0,0);
HJ_55:=HJ_44 AND HJ_45 AND HJ_49 AND HJ_54;
HJ_56:=NOT(REF(EVERY(CLOSE/REF(CLOSE,1)>1.01 AND CLOSE>OPEN,4),3)) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(OPEN,1)<REF(CLOSE,2) AND REF(HIGH,2)/REF(LOW,1)>1.08 AND REF(CLOSE,1)/REF(LOW,1)>1.003 AND REF(CLOSE,1)/REF(CLOSE,2)>0.92;
HJ_57:=TDXDLL8(1,3,0,CLOSE);
HJ_58:=TDXDLL8(1,3,1,HIGH);
HJ_59:=TDXDLL8(1,3,3,OPEN);
HJ_60:=TDXDLL8(2,3,0,0);
HJ_61:=TDXDLL8(3,3,0,0);
HJ_62:=HJ_56 AND HJ_61;
HJ_63:=REF(HIGH,2)/REF(LOW,1)>1.07 AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.07 AND (REF(HIGH,2)/REF(CLOSE,2)>1.03 AND REF(OPEN,1)/REF(CLOSE,2)<0.98 AND REF(CLOSE,2)>REF(CLOSE,3) OR REF(CLOSE,2)<REF(CLOSE,3)) AND REF(COUNT(COUNT(CLOSE/REF(CLOSE,1)>1.098,3)>1,5)=0,1) AND REF(MA(CLOSE,20),1)>REF(MA(CLOSE,20),2) AND REF(CLOSE,1)>REF(REF(LOW,BARSLAST(CLOSE/REF(CLOSE,1)>1.098)),1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND OPEN/REF(CLOSE,1)<1.006 AND REF(CLOSE,3)/REF(CLOSE,4)>1.098 AND CLOSE/REF(CLOSE,1)>1.03;
HJ_64:=HJ_55 OR HJ_62 OR HJ_63;
HJ_65:=NOT(NAMELIKE(1) OR NAMELIKE(2));
HJ_66:=HJ_64 AND HJ_65;
HJ_67:=TDXDLL8(1,14,0,CLOSE);
HJ_68:=TDXDLL8(1,14,1,HIGH);
HJ_69:=TDXDLL8(1,14,2,LOW);
HJ_70:=TDXDLL8(1,14,3,OPEN);
HJ_71:=TDXDLL8(2,14,0,0);
HJ_72:=TDXDLL8(3,14,0,0);
HJ_73:=TDXDLL8(5,0,0,0);
HJ_74:=REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.05 AND OPEN>REF(CLOSE,1) AND OPEN=HIGH AND CLOSE/OPEN<0.98,3)<1,1) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.18;
HJ_75:=HJ_72 AND HJ_74;
HJ_76:=CAPITAL<10000000 AND REF(MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,250)/REF(MA(CLOSE,250),1)>0.9995 AND MA(CLOSE,20)>MA(CLOSE,60),1) AND NOT(REF(OPEN,2)/REF(CLOSE,3)>1.05 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(VOL,2)>REF(HHV(VOL,30),3));
HJ_77:=FILTER(HJ_75 AND HJ_76,7);{www.fxjgsw.com}
HJ_78:=REF(CLOSE,3)/REF(CLOSE,4)>1.098 AND REF(CLOSE,1)/REF(MA(CLOSE,60),1)<1.1 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(HIGH,1)>REF(MAX(CLOSE,OPEN),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,60),1) AND (REF(MIN(CLOSE,OPEN),1)-REF(LOW,1))/(REF(HIGH,1)-REF(MAX(CLOSE,OPEN),1))>1.7 AND REF(HIGH,2)/REF(LOW,1)>1.05 AND REF(CLOSE,1)<REF(MIN(CLOSE,OPEN),2) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(OPEN,1)/REF(CLOSE,2)<0.99 AND REF(MIN(CLOSE,OPEN),1)/REF(LOW,1)>1.01 AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(MIN(CLOSE,OPEN),2)/REF(LOW,2)>1.025 AND (REF(MIN(CLOSE,OPEN),2)-REF(LOW,2))/(REF(HIGH,2)-REF(MAX(CLOSE,OPEN),2))>1.7 AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,5),2) AND REF(MA(CLOSE,10),1)>REF(MA(CLOSE,10),2) AND CLOSE/REF(CLOSE,1)>1.02;
HJ_79:=REF(CLOSE,2)/REF(LOW,1)>1.07 OR REF(HIGH,1)/REF(LOW,1)>1.07 AND REF(CLOSE,2)/REF(CLOSE,13)<1.4 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)>0.9 AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.185 AND (REF(CLOSE,1)/REF(CLOSE,2)<0.96 OR REF(CLOSE,1)/REF(OPEN,1)<0.94) AND REF(CLOSE,1)/REF(CLOSE,2)>0.906 AND REF(CLOSE,2)/REF(CLOSE,3)>1.098 AND REF(COUNT(COUNT(CLOSE/REF(CLOSE,1)>1.098,3)>1,5)=0,1) AND REF(MA(CLOSE,20),1)>REF(MA(CLOSE,20),2) AND REF(CLOSE,1)>REF(REF(LOW,BARSLAST(CLOSE/REF(CLOSE,1)>1.098)),1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND OPEN/REF(CLOSE,1)<1.006 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,4)>0,1) AND CLOSE/REF(CLOSE,1)>1.03;
HJ_80:=HJ_77 OR HJ_78 OR HJ_79;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
开仓:DRAWICON(HJ_43 OR HJ_66 OR HJ_80,LOW*0.995,1);
止盈:DRAWICON(FILTER(MAX(CLOSE,OPEN)/REF(CLOSE,BARSLAST(HJ_43 OR HJ_66)+1)*1.03>1.25 AND BARSLAST(HJ_43 OR HJ_66)<15 AND CLOSE/REF(CLOSE,1)<1.05,15),HIGH*1.005,2);
止盈2:DRAWICON(FILTER(MAX(CLOSE,OPEN)/REF(CLOSE,BARSLAST(HJ_80)+1)*1.03>1.145 AND BARSLAST(HJ_80)<15 AND CLOSE/REF(CLOSE,1)<1.05,15),HIGH*1.005,2);
回撤止盈1:DRAWICON(FILTER(CLOSE<MIN(REF(CLOSE,1),REF(OPEN,1)) AND HIGH/REF(MAX(CLOSE,OPEN),1)<0.998 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(HJ_43)>0 AND BARSLAST(HJ_43)<15 OR (CLOSE/REF(HHV(HIGH,3),1)<0.93 AND BARSLAST(HJ_43)>3 AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(HJ_43)>0 AND BARSLAST(HJ_43)<15) OR (CLOSE/REF(CLOSE,BARSLAST(HJ_43))<0.95 AND HIGH<REF(MAX(CLOSE,OPEN),1) AND CLOSE/REF(CLOSE,1)<1.05 AND BARSLAST(HJ_43)>0) AND BARSLAST(HJ_43)<15 OR (BARSLAST(HJ_43)>8 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE/REF(CLOSE,1)<0.975 AND BARSLAST(HJ_43)<15),15),HIGH*1.005,8);
回撤止盈2:DRAWICON(FILTER(CLOSE<MIN(REF(CLOSE,1),REF(OPEN,1)) AND HIGH/REF(MAX(CLOSE,OPEN |