三一:HIGH-(HIGH-LOW)*0.333,NODRAW;
二一:HIGH-(HIGH-LOW)*0.5,NODRAW;
三二:HIGH-(HIGH-LOW)*0.666,NODRAW;
实三一:IF(CLOSE>OPEN,CLOSE-(CLOSE-OPEN)/3,OPEN-(OPEN-CLOSE)/3),NODRAW,COLORGREEN;
实体腰线:OPEN+(CLOSE-OPEN)*0.5,NODRAW;
实三二:IF(CLOSE>OPEN,OPEN+(CLOSE-OPEN)/3,CLOSE+(OPEN-CLOSE)/3),NODRAW,COLORGREEN;
HJ_1:=MA(CLOSE,3);
HJ_2:=REFX(HJ_1,3);
高于实顶:CLOSE<HJ_2,NODRAW;
HJ_3:=OPEN<REFX(CLOSE,1) AND OPEN<REFX(CLOSE,2) AND OPEN<REFX(CLOSE,3);
HJ_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>2;
HJ_5:=CLOSE=OPEN AND CLOSE=HIGH AND CLOSE=LOW;
HJ_6:=高于实顶 AND HJ_3 AND HJ_4 AND HJ_5=0;
HJ_7:=1.9;{www.fxjgsw.com}
HJ_8:=VOL>=REF(VOL,1)*HJ_7 AND IF(CLOSE<OPEN,CLOSE>REF(CLOSE,1),1);
DRAWICON(HJ_8,LOW*0.98,39),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);
DRAWTEXT_FIX(1,0.05,0.06,0,FGBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(1,0.22,0.004,0,139),COLORYELLOW;
TESTSKIP(DATE>1191130);
HJ_9:=CLOSE/REF(CLOSE,1)>1.097;
年涨停:COUNT(HJ_9,250),NODRAW,COLORLIMAGENTA;
HJ_10:=MA(CLOSE,5);
MA5角度:ATAN((HJ_10/REF(HJ_10,1)-1)*100)*180/3.1416,NODRAW,COLORYELLOW;
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),5,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),5,0),COLORGRAY;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
HJ_11:=REF(CLOSE,1);
HJ_12:=IF(CLOSE>=1,10000,100000);
HJ_13:=1.1*HJ_11-49/HJ_12;
HJ_14:=1.05*HJ_11-49/HJ_12;
HJ_15:=0.9*HJ_11+51/HJ_12;
HJ_16:=0.95*HJ_11+51/HJ_12;
HJ_17:=NAMELIKE(2) OR NAMELIKE(3);
HJ_18:=IF(HJ_17,CLOSE>=HJ_14,CLOSE>=HJ_13);
HJ_19:=IF(HJ_17,CLOSE<=HJ_16,CLOSE<=HJ_15);
HJ_20:=IF(HJ_17,HIGH>=HJ_14,HIGH>=HJ_13);
HJ_21:=IF(HJ_17,LOW<=HJ_16,LOW<=HJ_15);
STICKLINE(HJ_20,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(HJ_21,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
HJ_22:=CLOSE>OPEN AND (CLOSE>=HJ_14 OR CLOSE>1.05*OPEN-51/HJ_12) OR (CLOSE>1000 AND CLOSE>HJ_11*1.024);
STICKLINE(HJ_22,OPEN,CLOSE,1,0),COLOR0000BB;
HJ_23:=CLOSE<OPEN AND (CLOSE<=HJ_16 OR CLOSE<0.95*OPEN+49/HJ_12) OR (CLOSE>1000 AND CLOSE<HJ_11*0.976);
STICKLINE(HJ_23,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(HJ_18,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(HJ_19,OPEN,CLOSE,1,0),COLORLICYAN;
STICKLINE(HJ_6,OPEN*1.01,CLOSE*0.99,0,0),COLORWHITE;
HJ_24:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(HJ_24,OPEN,CLOSE,1.5,0),COLORRED;
HJ_25:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(HJ_25,OPEN,CLOSE,1.5,0),COLORYELLOW;
HJ_26:=PERIOD=5 AND NAMELIKE(7) AND (ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.025 OR ABS(CLOSE-OPEN)>=60);
STICKLINE(HJ_26,(HIGH+LOW)/2,(HIGH+LOW)/2,2,0),COLORYELLOW;
STICKLINE(HJ_22 OR HJ_23 OR HJ_18 OR HJ_19 AND BETWEEN(CLOSE,1,500),LOW+(HIGH-LOW)/2,LOW+(HIGH-LOW)/2,1,0),COLORYELLOW;
STICKLINE(HJ_22 OR HJ_23 OR HJ_18 OR HJ_19 AND BETWEEN(CLOSE,1,500),实体腰线,实体腰线,1,0),COLORBLUE;
区间高点:REF(HHV(HIGH,2),1),NODRAW;
区间低点:REF(LLV(LOW,2),1),NODRAW;
区间半分位:(区间高点+区间低点)/2,NODRAW;
STICKLINE(区间高点 AND ISLASTBAR,区间高点,区间高点,15,(-1)),COLORRED;
STICKLINE(区间低点 AND ISLASTBAR,区间低点,区间低点,15,(-1)),COLORRED;
STICKLINE(区间半分位 AND ISLASTBAR,区间半分位,区间半分位,15,(-1)),COLORYELLOW;
HJ_27:=1.3;
HJ_28:=1;
HJ_29:=0;
HJ_30:=MA(CLOSE,5);
HJ_31:=MA(CLOSE,10);
HJ_32:=MA(CLOSE,20);
HJ_33:=HJ_30>REF(HJ_30,1) AND HJ_31<REF(HJ_31,1) AND HJ_32<REF(HJ_32,1);
HJ_34:=REF(VOL,1);
HJ_35:=REF(VOL,2);
HJ_36:=REF(VOL,3);
HJ_37:=REF(CLOSE,1);
HJ_38:=REF(CLOSE,2);
HJ_39:=REF(CLOSE,3);
HJ_40:=REF(CLOSE,4);
HJ_41:=REF(OPEN,1);
HJ_42:=REF(OPEN,2);
HJ_43:=REF(OPEN,3);
HJ_44:=REF(OPEN,4);
HJ_45:=CLOSE>=HJ_39 AND HJ_37>=HJ_39 AND HJ_38>=HJ_39;
HJ_46:=LOW>HJ_43 AND REF(LOW,1)>HJ_43 AND REF(LOW,2)>HJ_43;
HJ_47:=AMOUNT/VOL/100;
HJ_48:=REF(HJ_47,1);
HJ_49:=REF(HJ_47,2);
HJ_50:=CLOSE>=OPEN OR (CLOSE<OPEN AND HJ_47>HJ_37);
HJ_51:=COUNT(HJ_50,3)>=2;
HJ_52:=HJ_39>HJ_43;
HJ_53:=HJ_47>=HJ_48 OR CLOSE>HJ_37 AND (HJ_48>=HJ_49 OR HJ_37>=HJ_38);
HJ_54:=(CLOSE+HJ_37+HJ_38)/3>HJ_39;
HJ_55:=VOL>HJ_34 AND HJ_34>HJ_35;
HJ_56:=VOL<=HJ_34 AND HJ_34<=HJ_35;
HJ_57:=(VOL+HJ_34+HJ_35)/3<=HJ_36 AND NOT(HJ_55);
HJ_58:=CLOSE/VOL;
HJ_59:=HJ_58>=REF(HJ_58,1) AND REF(HJ_58,1)>=REF(HJ_58,2);
HJ_60:=(CLOSE+HJ_37+HJ_38)/3/HJ_39;
HJ_61:=(VOL+HJ_34+HJ_35)/3/HJ_36;
HJ_62:=HJ_27*HJ_60/HJ_61>1;
HJ_63:=HJ_43>HJ_40 AND HJ_40>HJ_44;
HJ_64:=HJ_52 AND HJ_53 AND HJ_56 AND HJ_45 AND HJ_46 AND HJ_63;
HJ_65:=BACKSET(HJ_64,5);
HJ_66:=FILTER(HJ_65,4);
HJ_67:=HJ_52 AND HJ_53 AND HJ_56 AND HJ_45 AND HJ_46;
HJ_68:=BACKSET(HJ_67,4);
HJ_69:=FILTER(HJ_68,3);
HJ_70:=HJ_67 AND REF(HJ_67,1);
HJ_71:=BACKSET(HJ_70,4);
HJ_72:=FILTER(HJ_71,3);
HJ_73:=HJ_67 AND REF(HJ_67,2);
HJ_74:=BACKSET(HJ_73,4);
HJ_75:=FILTER(HJ_74,3);
HJ_76:=HJ_67 AND REF(HJ_67,3);
HJ_77:=BACKSET(HJ_76,4);
HJ_78:=FILTER(HJ_77,3);
HJ_79:=HJ_52 AND HJ_53 AND HJ_57 AND NOT(HJ_55) AND HJ_45 AND HJ_46 AND HJ_63 AND NOT(HJ_67) AND NOT(HJ_64);
HJ_80:=BACKSET(HJ_79,5);
HJ_81:=FILTER(HJ_80,4);
HJ_82:=HJ_52 AND HJ_53 AND HJ_57 AND NOT(HJ_55) AND HJ_45 AND HJ_46 AND NOT(HJ_67) AND NOT(HJ_64);
HJ_83:=BACKSET(HJ_82,4);
HJ_84:=FILTER(HJ_83,3);
HJ_85:=HJ_82 AND REF(HJ_82,1);
HJ_86:=BACKSET(HJ_85,4);
HJ_87:=FILTER(HJ_86,3);
HJ_88:=HJ_82 AND REF(HJ_82,2);
HJ_89:=BACKSET(HJ_88,4);
HJ_90:=FILTER(HJ_89,3);
HJ_91:=HJ_82 AND REF(HJ_82,3);
HJ_92:=BACKSET(HJ_91,4);
HJ_93:=FILTER(HJ_92,3);
HJ_94:=HJ_52 AND HJ_54 AND HJ_56 AND HJ_45 AND HJ_46 AND HJ_63 AND NOT(HJ_67) AND NOT(HJ_82) AND NOT(HJ_64) AND NOT(HJ_79);
HJ_95:=BACKSET(HJ_94,5);
HJ_96:=FILTER(HJ_95,4);
HJ_97:=HJ_52 AND HJ_54 AND HJ_56 AND HJ_45 AND HJ_46 AND NOT(HJ_67) AND NOT(HJ_82) AND NOT(HJ_64) AND NOT(HJ_79);
HJ_98:=BACKSET(HJ_97,4);
HJ_99:=FILTER(HJ_98,3);
HJ_100:=HJ_97 AND REF(HJ_97,1);
HJ_101:=BACKSET(HJ_100,4);
HJ_102:=FILTER(HJ_101,3);
HJ_103:=HJ_97 AND REF(HJ_97,2);
HJ_104:=BACKSET(HJ_103,4);
HJ_105:=FILTER(HJ_104,3);
HJ_106:=HJ_97 AND REF(HJ_97,3);
HJ_107:=BACKSET(HJ_106,4);
HJ_108:=FILTER(HJ_107,3);
HJ_109:=HJ_52 AND HJ_54 AND HJ_57 AND HJ_45 AND HJ_46 AND HJ_63 AND NOT(HJ_67) AND NOT(HJ_64) AND NOT(HJ_82) AND NOT(HJ_79) AND NOT(HJ_97) AND NOT(HJ_94);
HJ_110:=BACKSET(HJ_109,5);
HJ_111:=FILTER(HJ_110,4);
HJ_112:=HJ_52 AND HJ_54 AND HJ_57 AND HJ_45 AND HJ_46 AND NOT(HJ_67) AND NOT(HJ_82) AND NOT(HJ_97) AND NOT(HJ_64) AND NOT(HJ_79) AND NOT(HJ_94);
HJ_113:=BACKSET(HJ_112,4);
HJ_114:=FILTER(HJ_113,3);
HJ_115:=HJ_112 AND REF(HJ_112,1);
HJ_116:=BACKSET(HJ_115,4);
HJ_117:=FILTER(HJ_116,3);
HJ_118:=HJ_112 AND REF(HJ_112,2);
HJ_119:=BACKSET(HJ_118,4);
HJ_120:=FILTER(HJ_119,3);
HJ_121:=HJ_112 AND REF(HJ_112,3);
HJ_122:=BACKSET(HJ_121,4);
HJ_123:=FILTER(HJ_122,3);
HJ_124:=HJ_52 AND HJ_54 AND HJ_62 AND HJ_45 AND HJ_46 AND HJ_63 AND NOT(HJ_67) AND NOT(HJ_82) AND NOT(HJ_97) AND NOT(HJ_112) AND NOT(HJ_64) AND NOT(HJ_79) AND NOT(HJ_94) AND NOT(HJ_109);
HJ_125:=BACKSET(HJ_124,5 |