DRAWRECTREL(0,965,130,999,RGB(0,0,1)),LINETHICK9;
DRAWTEXT_FIX(1,0,1,0,137),COLOR999999;
DD1:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0),COLORFF8000;
DD2:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0),COLORFF8000;
HJ_1:=DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0);
HJ_2:=DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0);
IF(B=1,HJ_1,DRAWNULL),DOTLINE,COLORYELLOW;
IF(B=1,HJ_2,DRAWNULL),DOTLINE,COLORYELLOW;
HJ_3:=IF(HIGH>REF(HIGH,1),1,IF(HIGH=REF(HIGH,1),0,IF(HIGH<REF(HIGH,1),(-1),0)));
HJ_4:=IF(LOW>REF(LOW,1),1,IF(LOW=REF(LOW,1),0,IF(LOW<REF(LOW,1),(-1),0)));
HJ_5:=HJ_3+HJ_4;
HJ_6:=REF(HJ_5,1);
{www.70822.com}
上:STICKLINE(HJ_5=2,HIGH,LOW,1.8,0),COLOR000080;
下:STICKLINE(HJ_5=(-2),HIGH,LOW,1.8,0),COLORLICYAN;
包:STICKLINE(RANGE(HJ_5,(-2),2),HIGH,LOW,2.5,0),COLOREEEEEE;
平上:STICKLINE(HJ_5=1,HIGH,LOW,2.5,1),COLOREEEEEE;
平下:STICKLINE(HJ_5=(-1),HIGH,LOW,2.5,1),COLOREEEEEE;
平包:STICKLINE(HJ_5=0 AND HIGH=REF(HIGH,1) AND LOW=REF(LOW,1),HIGH,LOW,2.5,1),COLOREEEEEE;
HJ_7:=IF(HJ_6=2 AND REF(HIGH,1),REF(HIGH,1),DRAWNULL);
HJ_8:=IF(HJ_6=2 AND REF(LOW,1),REF(LOW,1),DRAWNULL);
HJ_9:=IF(HJ_6=(-2) AND REF(HIGH,1),REF(HIGH,1),DRAWNULL);
HJ_10:=IF(HJ_6=(-2) AND REF(LOW,1),REF(LOW,1),DRAWNULL);
HJ_11:=RANGE(HJ_5,(-2),2);
HJ_12:=IF(HJ_11 AND HJ_6=2 AND HJ_7=REF(HIGH,1) AND HJ_8=REF(LOW,1) AND HJ_7>=REF(HIGH,2),HHV(HIGH,2),DRAWNULL);
HJ_13:=IF(HJ_11 AND HJ_6=2 AND HJ_7=REF(HIGH,1) AND HJ_8=REF(LOW,1) AND HJ_7>=REF(HIGH,2),HHV(LOW,2),DRAWNULL);
包K1上:STICKLINE(HJ_6=2 AND HJ_12 AND HJ_13,HJ_12,HJ_13,1,0),COLORFF24FF;
HJ_14:=IF(HJ_11 AND HJ_6=(-2) AND HJ_9=REF(HIGH,1) AND HJ_10=REF(LOW,1) AND HJ_10<=REF(LOW,2),LLV(HIGH,2),DRAWNULL);
HJ_15:=IF(HJ_11 AND HJ_6=(-2) AND HJ_9=REF(HIGH,1) AND HJ_10=REF(LOW,1) AND HJ_10<=REF(LOW,2),LLV(LOW,2),DRAWNULL);
包K1下:STICKLINE(HJ_6=(-2) AND HJ_14 AND HJ_15,HJ_14,HJ_15,1,0),COLORGREEN;
HJ_16:=REF(HJ_5,3);
HJ_17:=HJ_16=(-2) OR HJ_16=2;
HJ_18:=REF(HJ_5,2);
HJ_19:=RANGE(HJ_18,(-2),2);
HJ_20:=RANGE(HJ_6,(-2),2) AND HJ_11 AND HIGH>=REF(HJ_14,1) AND LOW<=REF(HJ_15,1);
HJ_21:=RANGE(HJ_6,(-2),2) AND HJ_11 AND HIGH<=REF(HJ_14,1) AND LOW>=REF(HJ_15,1);
HJ_22:=HJ_20 OR HJ_21;
双下包外:STICKLINE(HJ_20 AND HJ_17 AND REF(HJ_14,1)<=REF(HIGH,3),REF(HJ_14,1),LOW,1,0),COLORFF1E1E;
双下包内:STICKLINE(HJ_21 AND HJ_17 AND REF(HJ_14,1)<=REF(HIGH,3),HIGH,REF(HJ_15,1),1,0),COLORFF1E1E;
三下包外:STICKLINE(HJ_20 AND HJ_19 AND REF(HJ_14,1)<=REF(HJ_14,2),REF(HJ_14,1),LOW,1,0),COLORBLUE;
三下包内:STICKLINE(HJ_21 AND HJ_19 AND REF(HJ_14,1)<=REF(HJ_14,2),HIGH,REF(HJ_15,1),1,0),COLORBLUE;
HJ_23:=RANGE(HJ_6,(-2),2) AND HJ_11 AND HIGH>=REF(HJ_12,1) AND LOW<=REF(HJ_13,1);
HJ_24:=RANGE(HJ_6,(-2),2) AND HJ_11 AND HIGH<=REF(HJ_12,1) AND LOW>=REF(HJ_13,1);
HJ_25:=HJ_23 OR HJ_24;{www.70822.com}
双上包外K2:STICKLINE(HJ_23 AND HJ_17 AND REF(HJ_12,1)>=REF(HIGH,3),HIGH,REF(HJ_13,1),1,0),COLORFF33FF;
双上包内K02:STICKLINE(HJ_24 AND HJ_17 AND REF(HJ_12,1)>=REF(HJ_12,2),REF(HJ_12,1),LOW,1,0),COLORFF33FF;
三上包外K2:STICKLINE(HJ_23 AND HJ_19 AND REF(HJ_12,1)>=REF(HJ_12,2),HIGH,REF(HJ_13,1),1,0),COLORMAGENTA;
三上包内K02:STICKLINE(HJ_24 AND HJ_19 AND REF(HJ_12,1)>=REF(HJ_12,2),REF(HJ_12,1),LOW,1,0),COLORMAGENTA;
{-----------------------------------}
201841722302040628.png
|