反杀庄家主图源码
X_1:=REF(HIGH,3)=HHV(HIGH,2*3+1);
X_2:=FILTER(X_1,3);
X_3:=BACKSET(X_2,3+1);
X_4:=FILTER(X_3,3);
X_5:=REF(LOW,3)=LLV(LOW,2*3+1);
X_6:=FILTER(X_5,3);
X_7:=BACKSET(X_6,3+1);
X_8:=FILTER(X_7,3);
X_9:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
X_10:=(HIGH+LOW)/2;
X_11:=X_4 AND NOT(X_8 AND X_9>=X_10) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
X_12:=X_8 AND NOT(X_4 AND X_9=X_10);
X_13:=REF(BARSLAST(X_11),1)+1;
X_14:=BACKSET(X_11 AND COUNT(X_12,X_13)>0,LLVBARS(IF(X_12,LOW,10000),X_13));
X_15:=X_14>REF(X_14,1);
X_16:=BACKSET(X_15,2);
X_17:=X_16>REF(X_16,1);
X_18:=X_17 OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
X_19:=REF(BARSLAST(X_18),1)+1;
X_20:=BACKSET(X_18 AND COUNT(X_11,X_19)>0,HHVBARS(IF(X_11,HIGH,0),X_19));
X_21:=X_20>REF(X_20,1);
X_22:=BACKSET(X_21,2);
X_23:=X_22>REF(X_22,1);
DRAWLINE(X_17,LOW,X_23,HIGH,0),POINTDOT,COLORWHITE;
DRAWLINE(X_23,HIGH,X_17,LOW,0),POINTDOT,COLORWHITE;
X_24:=BACKSET(BARSTATUS=2,MIN(BARSLAST(X_23),BARSLAST(X_17))+1);
X_25:=X_24>REF(X_24,1);
DRAWLINE(X_25,IF(X_23,HIGH,LOW),BARSTATUS=2,IF(BARSLAST(X_23)>BARSLAST(X_17),HIGH,LOW),0),POINTDOT,COLORWHITE;
X_26:=HIGH;
X_27:=REF(HIGH,REF(BARSLAST(X_23),1)+1)>REF(HIGH,REF(BARSLAST(X_23),1)+2+REF(BARSLAST(X_23),REF(BARSLAST(X_23),1)+2));
X_28:=X_26 AND X_27 AND X_23;
X_29:=BACKSET(X_28,REF(BARSLAST(X_23),1)+2);
X_30:=X_29>REF(X_29,1);
X_31:=LOW>REF(LOW,REF(BARSLAST(X_17),1)+1);
X_32:=REF(LOW,REF(BARSLAST(X_17),1)+1);
X_33:=X_31 AND X_32 AND X_17;
X_34:=BACKSET(X_33,REF(BARSLAST(X_17),1)+2);
X_35:=X_34>REF(X_34,1);
DRAWICON(X_30,HIGH,10);
DRAWICON(X_35,LOW,12);
X_36:=X_30 OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
X_37:=REF(BARSLAST(X_36),1)+1;
X_38:=BACKSET(X_36 AND COUNT(X_35,X_37)>0,LLVBARS(IF(X_35,LOW,POW(10,20)),X_37));
X_39:=X_38>REF(X_38,1);
X_40:=BACKSET(X_39,2);
X_41:=X_40>REF(X_40,1);
X_42:=X_41 OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
X_43:=REF(BARSLAST(X_42),1)+1;
X_44:=BACKSET(X_42 AND COUNT(X_30,X_43)>0,HHVBARS(IF(X_30,HIGH,-POW(10,20)),X_43));
X_45:=X_44>REF(X_44,1);
X_46:=BACKSET(X_45,2);
X_47:=X_46>REF(X_46,1);
DRAWLINE(X_47,HIGH,X_41,LOW,0),COLORGREEN;
DRAWLINE(X_41,LOW,X_47,HIGH,0),COLORGREEN;
X_48:=BACKSET(BARSTATUS=2,MIN(BARSLAST(X_47),BARSLAST(X_41))+1);
X_49:=X_48>REF(X_48,1);
DRAWLINE(X_49,IF(X_47,HIGH,LOW),BARSTATUS=2,CLOSE,0),COLORGREEN;
X_50:=BACKSET(BARSTATUS=2,BARSLAST(X_17)+1);
X_51:=X_50>REF(X_50,1);
X_52:=BACKSET(X_51,REF(BARSLAST(X_17),1)+2);
X_53:=X_52>REF(X_52,1);
DRAWLINE(X_53,LOW,X_51,LOW,1),COLORMAGENTA;
X_54:=BACKSET(BARSTATUS=2,BARSLAST(X_23)+1);
X_55:=X_54>REF(X_54,1);
X_56:=BACKSET(X_55,REF(BARSLAST(X_23),1)+2);
X_57:=X_56>REF(X_56,1);
DRAWLINE(X_57,HIGH,X_55,HIGH,1),COLORMAGENTA;
前一低:REF(LOW,BARSLAST(X_51)),POINTDOT,COLOR99FF66,LINETHICK3;
前二低:REF(LOW,BARSLAST(X_53)),POINTDOT,COLORFF66FF,LINETHICK3;
前一高:REF(HIGH,BARSLAST(X_55)),POINTDOT,COLOR99FF66,LINETHICK3;
前二高:REF(HIGH,BARSLAST(X_57)),POINTDOT,COLORFF66FF,LINETHICK3;
X_58:=REF(HIGH,BARSLAST(X_55));
X_59:=REF(LOW,BARSLAST(X_51));
短比:(CLOSE-X_59)/(X_58-X_59),LINETHICK0;
X_60:=REF(INDEXC,BARSLAST(X_51))/REF(CLOSE,BARSLAST(X_51));
底:REF(LOW,BARSLAST(X_51)),COLORRED,LINETHICK2;
頂:REF(HIGH,BARSLAST(X_55)),COLORGREEN,LINETHICK2;
STICKLINE(X_51,頂,底,0,0),COLORFF6633,LINETHICK3;
DRAWLINE(X_55,HIGH,X_51,頂,0),COLORFF6633,LINETHICK3;
STICKLINE(X_55,頂,底,0,0),COLORRED,LINETHICK3;
DRAWLINE(X_51,LOW,X_55,底,0),COLORRED,LINETHICK3;
反杀庄家副图源码
AAAA:80,POINTDOT,COLORBLUE,LINETHICK3;
BBBB:20,POINTDOT,COLORMAGENTA,LINETHICK3;
ZKK:KD.K#WEEK(9,3,3),COLORWHITE;
ZKD:KD.D#WEEK(9,3,3),COLORGREEN;
X_1:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1)<30,13);
X_2:=CROSS(ZKK,ZKD);
X_3:=CROSS(ZKD,ZKK);
DRAWICON(X_3,ZKK,2);
DRAWICON(X_2,ZKD,1);
X_4:=X_1;
STICKLINE(X_4,20,10,4,0),COLOR000099;
STICKLINE(X_4,20,10,2,0),COLOR0000BB;
STICKLINE(X_4,20,10,1,0),COLOR0000DD;
STICKLINE(X_4,0,20,0.3,0),COLORRED;
X_5:=FILTER(CROSS(ZKD,ZKK) AND REF(ZKK,1)>78,13);
STICKLINE(X_5,90,80,4,0),COLOR009900;
STICKLINE(X_5,90,80,2,0),COLOR00BB00;
STICKLINE(X_5,90,80,1,0),COLOR00DD00;
STICKLINE(X_5,100,80,0.3,0),COLORGREEN;
DRAWTEXT(X_5,95,17),COLORGREEN;
X_6:=MACD.DIF#WEEK(12,26,9);
X_7:=MACD.DEA#WEEK(12,26,9);
X_8:=FILTER(CROSS(X_6,X_7) AND REF(X_7,1)<0,13);
X_9:=X_8;
STICKLINE(X_9,10,20,4,0),COLOR990099;
STICKLINE(X_9,10,20,2,0),COLORBB00BB;
STICKLINE(X_9,10,20,1,0),COLORDD00DD;
STICKLINE(X_9,10,20,0.3,0),COLORMAGENTA;
DRAWTEXT(X_9,10,8),COLORMAGENTA;
X_10:=FILTER(CROSS(X_7,X_6) AND REF(X_6,1)>0,13);
STICKLINE(X_10,90,80,4,0),COLOR999900;
STICKLINE(X_10,90,80,2,0),COLORBBBB00;
STICKLINE(X_10,90,80,1,0),COLORDDDD00;
STICKLINE(X_10,90,80,0.3,0),COLORCYAN;
DRAWTEXT(X_10,83,9),COLORCYAN;
STICKLINE(X_4 AND X_9,20,80,0.1,0),COLORMAGENTA;
DRAWTEXT(X_4 AND X_9,50,10),COLORRED;
DRAWTEXT(X_4 AND X_9,43,11),COLORRED;
STICKLINE(X_5 AND X_10,20,80,0.1,0),COLORGREEN;
DRAWTEXT(X_5 AND X_10,50,12),COLORBLUE;
X_11:=CLOSE-REF(CLOSE,1);
X_12:=100*EMA(EMA(X_11,6),6)/EMA(EMA(ABS(X_11),6),6);
X_13:=LLV(X_12,2)=LLV(X_12,7) AND COUNT(X_12<0,2) AND CROSS(X_12,MA(X_12,2));
X_14:=FILTER(X_13,13);
X_15:=X_14;
STICKLINE(X_15,20,30,0.3,0),COLORYELLOW;
评论(0)