X_1:=EMA(CLOSE,3);
X_2:=EMA(CLOSE,7);
X_3:=EMA(CLOSE,9);
X_4:=EMA(CLOSE,20);
X_5:=EMA(CLOSE,28);
X_6:=EMA(CLOSE,64);
A128:EMA(CLOSE,128);
A256:EMA(CLOSE,256);
A512:EMA(CLOSE,512);
X_7:=X_1;
X_8:=X_2;
X_9:=X_3;
X_10:=X_4;
X_11:=X_5;
X_12:=X_6;
X_13:=A128;
X_14:=A256;
X_15:=X_1;
X_16:=X_2;
X_17:=X_3;
X_18:=X_4;
X_19:=X_5;
X_20:=X_6;
X_21:=A128;
X_22:=A256;
X_23:=X_1;
X_24:=X_2;
X_25:=X_3;
X_26:=X_4;
X_27:=X_5;
X_28:=X_6;
X_29:=A128;
X_30:=A256;
LA4:(X_7+7*X_15+31*X_23)/39;
LA7:(X_8+7*X_16+31*X_24)/39;
LA11:(X_9+7*X_17+31*X_25)/39;
LA20:(X_10+7*X_18+31*X_26)/39;
LA28:(X_11+7*X_19+31*X_27)/39;
LA64:(X_12+7*X_20+31*X_28)/39;
LA128:(X_13+7*X_21+31*X_29)/39;
LA256:(X_14+7*X_22+31*X_30)/39;
IF(LA4 LA7,X_2,DRAWNULL),COLORRED,LINETHICK3;
IF(LA4 LA7,X_2,DRAWNULL),COLORYELLOW;
DRAWICON(LA7/REF(LA7,1) =10.59/10.52 AND REF(LA7/REF(LA7,1),1) 10.59/10.52,LA20,25);
X_31:=(HIGH+CLOSE+OPEN)/3*(LA4/LA7);
XMA((HIGH+CLOSE+OPEN)/3*(LA11/LA28),12),COLORRED;
顶:IF(X_31 =LA11,X_31,DRAWNULL),COLORWHITE,LINETHICK3;
X_32:=LOW*(LA7/LA11);{九毛八公式指标网www.9m8.cn}
低:IF(X_31 =LA28,X_32,DRAWNULL),COLORGREEN,LINETHICK3;
低1:IF(X_31 =LA11 OR X_31 =LA28,X_32,DRAWNULL),DOTLINE,COLORWHITE;
DRAWTEXT(X_1 0 AND ISLASTBAR,LA4,1);
DRAWTEXT(X_1 0 AND ISLASTBAR,LA7,2);
DRAWTEXT(X_1 0 AND ISLASTBAR,LA11,3);
DRAWTEXT(X_1 0 AND ISLASTBAR,LA28,4);
DRAWTEXT(X_1 0 AND ISLASTBAR,顶,5);
DRAWTEXT(X_1 0 AND ISLASTBAR,低,6);
DRAWTEXT(X_1 0 AND ISLASTBAR,低1,6);
PC1:REF(CLOSE,1)*1.01,NODRAW;
PC2:REF(CLOSE,1)*1.02,NODRAW;
PC3:REF(CLOSE,1)*1.03,NODRAW;
PC5:REF(CLOSE,1)*1.05,NODRAW;
PC8:REF(CLOSE,1)*1.08,NODRAW;
PC10:REF(CLOSE,1)*1.1,NODRAW;
LC1:REF(CLOSE,1)*0.99,NODRAW;
LC2:REF(CLOSE,1)*0.98,NODRAW;
LC3:REF(CLOSE,1)*0.97,NODRAW;
LC5:REF(CLOSE,1)*0.95,NODRAW;
LC8:REF(CLOSE,1)*0.92,NODRAW;
LC10:REF(CLOSE,1)*0.9,NODRAW;
DRAWTEXT_FIX(CLOSE 0,0.05,0.05,0,7),COLORYELLOW;