{水下背离主图}
X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.091;
STICKLINE(X_1,CLOSE,OPEN+ABS(CLOSE-OPEN)*0.5,4,0),COLORBROWN;
STICKLINE(X_1,CLOSE,OPEN+ABS(CLOSE-OPEN)*0.5,3,0),COLOR00CACA;
STICKLINE(X_1,CLOSE,OPEN+ABS(CLOSE-OPEN)*0.5,2,0),COLOR00ECEC;
STICKLINE(X_1,CLOSE,OPEN+ABS(CLOSE-OPEN)*0.5,1,0),COLOR44FFFF;
STICKLINE(X_1,CLOSE,OPEN+ABS(CLOSE-OPEN)*0.5,0.5,0),COLORBDFFFF;
STICKLINE(X_1,CLOSE,OPEN+ABS(CLOSE-OPEN)*0.5,0.2,0),COLORD2FFFF;
STICKLINE(X_1,OPEN,OPEN+ABS(CLOSE-OPEN)*0.5,4,0),COLOR000080;
STICKLINE(X_1,OPEN,OPEN+ABS(CLOSE-OPEN)*0.5,3,0),COLOR0000AA;
STICKLINE(X_1,OPEN,OPEN+ABS(CLOSE-OPEN)*0.5,2,0),COLOR4040FF;
STICKLINE(X_1,OPEN,OPEN+ABS(CLOSE-OPEN)*0.5,1,0),COLOR5353FF;
STICKLINE(X_1,OPEN,OPEN+ABS(CLOSE-OPEN)*0.5,0.5,0),COLORB0B0FF;
STICKLINE(X_1,OPEN,OPEN+ABS(CLOSE-OPEN)*0.5,0.1,0),COLORE8E8FF;
X_2:=X_1 AND (CLOSE-OPEN)/OPEN>=0.05;
X_3:=BARSLAST(X_2);
X_4:=REF(OPEN,X_3)+(REF(CLOSE,X_3)-REF(OPEN,X_3))/2;
X_5:=REF(OPEN,X_3)+(REF(CLOSE,X_3)-REF(OPEN,X_3))*3/3;
X_6:=REF(OPEN,X_3)+(REF(CLOSE,X_3)-REF(OPEN,X_3))*0/3;
X_7:=ISLASTBAR AND COUNT(X_2,20)>=1 AND X_4;
X_8:=X_7;
X_9:=2;{分析家公式网www.70822.com}
评台1:DRAWTEXT(X_8,REF(X_4,X_3),X_9),COLORBLUE;
DRAWTEXT(X_7 AND ISLASTBAR=1,REF(X_4,X_3),STRCAT(3,CON2STR(REF(X_4,X_3),2))),COLORYELLOW;
X_10:=ISLASTBAR AND COUNT(X_2,20)>=1 AND X_5;
X_11:=X_10;
X_12:=4;
评台2:DRAWTEXT(X_11,REF(X_5,X_3),X_12),COLORBLUE;
DRAWTEXT(X_10 AND ISLASTBAR=1,REF(X_5,X_3),STRCAT(5,CON2STR(REF(X_5,X_3),2))),COLORYELLOW;
X_13:=ISLASTBAR AND COUNT(X_2,20)>=1 AND X_6;
X_14:=X_13;
X_15:=2;
评台3:DRAWTEXT(X_14,REF(X_6,X_3),X_15),COLORBLUE;
DRAWTEXT(X_13 AND ISLASTBAR=1,REF(X_6,X_3),STRCAT(5,CON2STR(REF(X_6,X_3),2))),COLORYELLOW;
X_16:=(MA(VOL,5)+MA(VOL,10)+MA(VOL,20))/3;
X_17:=2;
X_18:=VOL>X_17*REF(X_16,1) AND VOL>X_17*HHV(REF(VOL,1),12);
X_19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.09;
X_20:=X_18 AND X_19 AND VOL>REF((MA(VOL,5)+MA(VOL,10)+MA(VOL,20))/3,1)*X_17;
X_21:=BARSLAST(X_20);
X_22:=X_20;
X_23:=2;
画线评台:DRAWTEXT(X_20,REF(CLOSE,X_21+1),X_23),COLORLIMAGENTA;
DRAWTEXT(X_20 AND ISLASTBAR=1,REF(CLOSE,X_21+1),STRCAT(5,CON2STR(REF(CLOSE,X_21),2))),COLOR800080;
X_24:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_25:=EMA(X_24,9);
X_26:=BARSLAST(CROSS(X_24,X_25) AND X_25<0 AND X_24<0);
X_27:=CURRBARSCOUNT=CONST(X_26)+1;
X_28:=BARSLAST(X_27);{分析家公式网www.70822.com}
X_29:=FINDHIGHBARS(HIGH,BARSLAST(CROSS(X_25,X_24) AND X_25>0)+1,X_26+1,1);
X_30:=CURRBARSCOUNT=CONST(X_29)+1;
X_31:=BARSLAST(X_30);
X_32:=COUNT(CROSS(X_24,X_25),X_31)=1;
BB:LLV(REF(LOW,2),X_31),DOTLINE,COLORMAGENTA;
X_33:=DRAWLINE(X_30,HIGH,ISLASTBAR,REF(HIGH,X_29),0);
X_34:=DRAWLINE(X_31=0,HIGH,X_28=0,LOW,0);
X_35:=BARSLAST(CROSS(X_24,X_25) AND X_24<0 AND X_25<0);
X_36:=X_24<0 AND X_25<0 AND X_25>REF(X_25,1) AND X_24>X_25;
X_37:=LAST(X_36,X_35+1,0) AND X_24>X_25;
X_38:=REF(X_25,X_35+1)<X_25 AND REF(LOW,X_35+1)>LOW AND CROSS(BB,LOW) AND COUNT(X_28=0,24)=1 AND X_25<0 AND X_24>X_25;
DRAWLINE(X_35=0,REF(LOW,X_35),X_38,LOW,0),COLORYELLOW,LINETHICK2;
MA5:MA(CLOSE,5);{分析家公式网www.70822.com}
X_39:=REFDATE(REF(CLOSE,X_21+1),DATE);
DRAWTEXT(X_38,BB,STRCAT(6,CON2STR(BB,2))),COLORYELLOW;
p2018383243093830.jpg
|