三一: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.36,0.006,0,68),COLORYELLOW;
TESTSKIP(DATE>1191130);
HJ_9:=CLOSE/REF(CLOSE,1)>1.097;
年涨停:COUNT(HJ_9,250),NODRAW,COLORLIMAGENTA;
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_10:=REF(CLOSE,1);
HJ_11:=IF(CLOSE>=1,10000,100000);
HJ_12:=1.1*HJ_10-49/HJ_11;
HJ_13:=1.05*HJ_10-49/HJ_11;
HJ_14:=0.9*HJ_10+51/HJ_11;
HJ_15:=0.95*HJ_10+51/HJ_11;
HJ_16:=NAMELIKE(2) OR NAMELIKE(3);
HJ_17:=IF(HJ_16,CLOSE>=HJ_13,CLOSE>=HJ_12);
HJ_18:=IF(HJ_16,CLOSE<=HJ_15,CLOSE<=HJ_14);
HJ_19:=IF(HJ_16,HIGH>=HJ_13,HIGH>=HJ_12);
HJ_20:=IF(HJ_16,LOW<=HJ_15,LOW<=HJ_14);
STICKLINE(HJ_19,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(HJ_20,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
HJ_21:=CLOSE>OPEN AND (CLOSE>=HJ_13 OR CLOSE>1.05*OPEN-51/HJ_11) OR (CLOSE>1000 AND CLOSE>HJ_10*1.024);
STICKLINE(HJ_21,OPEN,CLOSE,1,0),COLOR0000BB;
HJ_22:=CLOSE<OPEN AND (CLOSE<=HJ_15 OR CLOSE<0.95*OPEN+49/HJ_11) OR (CLOSE>1000 AND CLOSE<HJ_10*0.976);
STICKLINE(HJ_22,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(HJ_17,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(HJ_18,OPEN,CLOSE,1,0),COLORLICYAN;
STICKLINE(HJ_6,OPEN*1.01,CLOSE*0.99,0,0),COLORWHITE;
HJ_23:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(HJ_23,OPEN,CLOSE,1.5,0),COLORRED;
HJ_24:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(HJ_24,OPEN,CLOSE,1.5,0),COLORYELLOW;
HJ_25:=PERIOD=5 AND NAMELIKE(7) AND (ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.025 OR ABS(CLOSE-OPEN)>=60);
STICKLINE(HJ_25,(HIGH+LOW)/2,(HIGH+LOW)/2,2,0),COLORYELLOW;
STICKLINE(HJ_21 OR HJ_22 OR HJ_17 OR HJ_18 AND BETWEEN(CLOSE,1,500),LOW+(HIGH-LOW)/2,LOW+(HIGH-LOW)/2,1,0),COLORYELLOW;
STICKLINE(HJ_21 OR HJ_22 OR HJ_17 OR HJ_18 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)),NODRAW,COLORRED;
STICKLINE(区间低点 AND ISLASTBAR,区间低点,区间低点,15,(-1)),NODRAW,COLORRED;
STICKLINE(区间半分位 AND ISLASTBAR,区间半分位,区间半分位,15,(-1)),COLORYELLOW;
HJ_26:=TESTSKIP(DATE>1191230);
HJ_27:=CONST(HHV(REF(HIGH,1),240));
HJ_28:=CONST(LLV(REF(LOW,1),240));
HJ_29:=HJ_27-HJ_28;
HJ_30:=LOW-HJ_29*0.03;
HJ_31:=HIGH+HJ_29*0.03;
HJ_32:=CLOSE>500;
HJ_33:=MAX(CLOSE,OPEN);
HJ_34:=MIN(CLOSE,OPEN);
HJ_35:=0;
HJ_36:=1;
HJ_37:=IF(HJ_32,HIGH,HJ_33);
HJ_38:=IF(HJ_32,LOW,HJ_34);
HJ_39:=IF(CLOSE>OPEN,IF(HJ_36=0,LOW,HJ_38),IF(HJ_36=0,HIGH,HJ_37));
HJ_40:=2/1000;
HJ_41:=CURRBARSCOUNT;
HJ_42:=120;
HJ_43:=HJ_41<=HJ_42;
HJ_44:=LOW;
HJ_45:=IF(HJ_35=0,HJ_44,REF(HJ_35,HJ_35));
基准价:IF(HJ_43,CONST(HJ_45),DRAWNULL),DOTLINE,COLORLIGRAY;
HJ_46:=基准价;
HJ_47:=HJ_46*HJ_40;
HJ_48:=ABS(LOW-HJ_46)<=HJ_47;
HJ_49:=ABS(OPEN-HJ_46)<=HJ_47;
HJ_50:=ABS(CLOSE-HJ_46)<=HJ_47;
HJ_51:=ABS(HIGH-HJ_46)<=HJ_47;
HJ_52:=HJ_48 OR HJ_49 OR HJ_50 OR HJ_51 AND HJ_43 AND HJ_41!=1;
HJ_53:=COUNT(HJ_52,HJ_42);
精准点个数:IF(HJ_53>0,HJ_53+1,0),NODRAW,COLORMAGENTA;
HJ_54:=CLOSE;
HJ_55:=REF(HJ_54,10)=HHV(HJ_54,2*10+1);
HJ_56:=FILTER(HJ_55,10);
HJ_57:=BACKSET(HJ_56,10+1);
HJ_58:=FILTER(HJ_57,10);
HJ_59:=REF(HJ_54,10)=LLV(HJ_54,2*10+1);
HJ_60:=FILTER(HJ_59,10);
HJ_61:=BACKSET(HJ_60,10+1);
HJ_62:=FILTER(HJ_61,10);
HJ_63:=REF(CLOSE,BARSLAST(HJ_62));
HJ_64:=REF(CLOSE,BARSLAST(HJ_58));
STICKLINE(CLOSE,HJ_64,HJ_64,8,0),COLORMAGENTA;
STICKLINE(CLOSE,HJ_63,HJ_63,8,0),COLORLICYAN;
STICKLINE(HJ_58,CLOSE,OPEN,1,0),COLORYELLOW;
STICKLINE(HJ_58,CLOSE,OPEN,1,0),COLORYELLOW;
STICKLINE(HJ_62,CLOSE,OPEN,1,0),COLORBLUE;
STICKLINE(HJ_62,CLOSE,OPEN,1,0),COLORBLUE;
{-----------------------------------} |