X_1:=HIGH-REF(HIGH,1);
X_2:=REF(LOW,1)-LOW;
X_3:=EMA(IF(X_1 0 AND X_1 X_2,X_1,0),28);
X_4:=EMA(IF(X_2 0 AND X_2 X_1,X_2,0),28);
X_5:=EMA(X_3/TR,28);
X_6:=EMA(X_4/TR,28);
X_7:=EMA((CLOSE+HIGH+LOW)/3,2);
X_8:=MAX(DYNAINFO(3),EMA(DYNAINFO(5),5));
X_9:=MIN(DYNAINFO(3),EMA(DYNAINFO(6),5));
X_10:=(COST(95)+DYNAINFO(11))/2;
X_11:=(COST(5)+DYNAINFO(11))/2;
X_12:=CONST((X_8+X_10)/2);
X_13:=CONST((X_9+X_11)/2);
X_14:=(X_12+X_13)/2;
X_15:=X_13+X_14-X_12;
X_16:=(X_13+X_15)/2;
X_17:=(X_15+X_16)/2;
X_18:=(EMA(CLOSE,24)-EMA(CLOSE,52))*4+X_14;
X_19:=EMA(X_18,18);{www.9m8.cn 九毛八公式指标网}
MCD:(X_18-X_19)*2+X_14,NODRAW,COLORYELLOW;
X_20:=3*SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54)),3,1)-2*SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54)),3,1),3,1);
X_21:=MEMA(X_20,10);
X_22:=EMA(X_21,10);
X_23:=IF(EXIST(CROSS(X_12,X_7),5) AND EXIST(CLOSE X_12,10) AND X_21 HHV(X_21,10) AND X_22 REF(X_22,1),1,0);
X_24:=IF(EXIST(CROSS(X_7,X_13),5) AND EXIST(CLOSE X_13,10) AND X_21 LLV(X_21,10) AND X_22 REF(X_22,1),1,0);
X_25:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
顶:X_12,POINTDOT,COLORMAGENTA;
底:X_13,POINTDOT,COLORGREEN;
X_26:=IF(X_5 X_6,X_16,X_15);
DRAWBAND(MCD,RGB(150,30,30),X_14,RGB(0,110,30));
DRAWBAND(X_26,RGB(150,100,50),X_17,RGB(10,100,100));
DRAWTEXT(X_23=1 AND REF(X_23,1)=0,X_12,2),COLORGREEN;
DRAWTEXT(X_24=1 AND REF(X_24,1)=0,X_13,3),COLORRED;
XC:X_7,COLORYELLOW;