使用说明:粉k注意买入、红k拉升、浅蓝下跌、粉k包黄心启动、红k包黄心局部顶、红k包深蓝心绝对顶部、浅蓝包黄心上下俩难、浅蓝包深蓝心下挫开始、粉k包深蓝心跌至基本到位!
【不能保证很准确,概率在80%】
X_1:=EMA(CLOSE,2);
X_2:=EMA(SLOPE(CLOSE,13)*15+CLOSE,34);
X_3:=CROSS(X_1,X_2);
X_4:=CROSS(X_2,X_1);
STICKLINE(X_1 =X_2,LOW,HIGH,0,0),COLORRED;
STICKLINE(X_1 =X_2,CLOSE,OPEN,3,0),COLOR0000AA;
STICKLINE(X_1 =X_2,CLOSE,OPEN,2.5,0),COLOR0000CC;
STICKLINE(X_1 =X_2,CLOSE,OPEN,2,0),COLOR0000CC;
STICKLINE(X_1 =X_2,CLOSE,OPEN,1,0),COLOR0000EE;
STICKLINE(X_1 X_2,CLOSE,OPEN,3,0),COLORAAAA00;
STICKLINE(X_1 X_2,CLOSE,OPEN,2.5,0),COLORBBBB00;
STICKLINE(X_1 X_2,CLOSE,OPEN,2,0),COLORCCCC00;
STICKLINE(X_1 X_2,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(X_1 X_2,LOW,HIGH,0,0),COLORCYAN;
STICKLINE(CROSS(X_2,X_1),OPEN,CLOSE,1,0),COLORFF2400;
X_5:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
X_6:=EMA(X_5,5);
X_7:=REFDATE(REF(HHV(HIGH,96),5),DATE);
X_8:=REFDATE(REF(LLV(LOW,96),5),DATE);
X_9:=BARSLAST(CURRBARSCOUNT=21);
X_10:=CONST(IF(ISLASTBAR=1,HHV(HIGH,X_9),0));
X_11:=CONST(IF(ISLASTBAR=1,LLV(LOW,X_9),0));
X_12:=X_10-X_11;
X_13:=EMA(CLOSE,9)-EMA(CLOSE,21);
吸:XLPL.NOTEXT吸,NODRAW,COLORMAGENTA;
X_14:=IF(吸!=DRAWNULL,X_13,DRAWNULL);
STICKLINE(X_14,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(X_14,CLOSE,OPEN,3,1),COLORMAGENTA;
X_15:=CLOSE REF(CLOSE,1) AND CLOSE REF(CLOSE,2);
X_16:=REF(X_15,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_17:=REF(X_16,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_18:=REF(X_17,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_19:=REF(X_18,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_20:=REF(X_19,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_21:=REF(X_20,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_22:=REF(X_21,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_23:=REF(X_22,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_24:=REF(X_23,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_25:=REF(X_24,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_26:=REF(X_25,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_27:=CLOSE REF(CLOSE,1) AND CLOSE REF(CLOSE,2);
X_28:=REF(X_27,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_29:=REF(X_28,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_30:=REF(X_29,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_31:=REF(X_30,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_32:=REF(X_31,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_33:=REF(X_32,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_34:=REF(X_33,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_35:=REF(X_34,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_36:=REF(X_35,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_37:=REF(X_36,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_38:=REF(X_37,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
X_39:=REF(X_27 OR X_28 OR X_29 OR X_30 OR X_31 OR X_32 OR X_33 OR X_34 OR X_35 OR X_36 OR X_37 OR X_38,1) AND X_15;
X_40:=REF(X_15 OR X_16 OR X_17 OR X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26,1) AND X_27;
STICKLINE(X_39,CLOSE,OPEN,1,0),COLOR4ABEFF;
STICKLINE(X_40,CLOSE,OPEN,1,0),COLORBLUE;
重心:(2*CLOSE+HIGH+LOW)/4,NODRAW;
X_41:=WMA((重心-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,2);
X_42:=WMA(0.618*REF(X_41,1)+0.382*X_41,2);
DRAWTEXT(CROSS(X_41,X_42) AND X_41 30,LOW-0.01,1),COLORE6E8FA;
DRAWTEXT(CROSS(X_42,X_41) AND X_41 70,HIGH+0.01,2),COLORE6E8FA;
趋势1:MA(MA(CLOSE,8),8),COLOR9F9F5F,LINETHICK2;
持股1:IF(CLOSE 趋势1,趋势1,DRAWNULL),COLOR9F9F5F,LINETHICK2;
OMA:MA(CLOSE,5),COLORFF2400;
IF(OMA REF(OMA,1),OMA,DRAWNULL),COLORRED;
IF(OMA REF(OMA,1),OMA,DRAWNULL),COLORGREEN;