VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,7);
VAR3:=EMA(CLOSE,9);
VAR4:=EMA(CLOSE,20);
VAR5:=EMA(CLOSE,28);
VAR6:=EMA(CLOSE,64);
A128:EMA(CLOSE,128);
A256:EMA(CLOSE,256);
A512:EMA(CLOSE,512);
VAR7:=VAR1;
VAR8:=VAR2;
VAR9:=VAR3;
VAR10:=VAR4;
VAR11:=VAR5;
VAR12:=VAR6;
VAR13:=A128;
VAR14:=A256;
VAR15:=VAR1;
VAR16:=VAR2;
VAR17:=VAR3;
VAR18:=VAR4;
VAR19:=VAR5;
VAR20:=VAR6;
VAR21:=A128;
VAR22:=A256;
VAR23:=VAR1;
VAR24:=VAR2;
VAR25:=VAR3;
VAR26:=VAR4;
VAR27:=VAR5;
VAR28:=VAR6;
VAR29:=A128;
VAR30:=A256;
LA4:(VAR7+7*VAR15+31*VAR23)/39;
LA7:(VAR8+7*VAR16+31*VAR24)/39;
LA11:(VAR9+7*VAR17+31*VAR25)/39;
LA20:(VAR10+7*VAR18+31*VAR26)/39;
LA28:(VAR11+7*VAR19+31*VAR27)/39;
LA64:(VAR12+7*VAR20+31*VAR28)/39;
LA128:(VAR13+7*VAR21+31*VAR29)/39;
LA256:(VAR14+7*VAR22+31*VAR30)/39;
IF(LA4>LA7,VAR2,DRAWNULL),COLORRED,LINETHICK3;
IF(LA4>LA7,VAR2,DRAWNULL),COLORYELLOW;
DRAWICON(LA7/REF(LA7,1)>=10.59/10.52 AND REF(LA7/REF(LA7,1),1)<10.59/10.52,LA20,25);
VAR31:=(HIGH+CLOSE+OPEN)/3*(LA4/LA7);
XMA((HIGH+CLOSE+OPEN)/3*(LA11/LA28),12),COLORRED;
顶:IF(VAR31>=LA11,VAR31,DRAWNULL),COLORWHITE,LINETHICK3;
VAR32:=LOW*(LA7/LA11);{公式指标网 整理}
低:IF(VAR31<=LA28,VAR32,DRAWNULL),COLORGREEN,LINETHICK3;
低1:IF(VAR31<=LA11 OR VAR31>=LA28,VAR32,DRAWNULL),DOTLINE,COLORWHITE;
DRAWTEXT(VAR1>0 AND ISLASTBAR,LA4,1);
DRAWTEXT(VAR1>0 AND ISLASTBAR,LA7,2);
DRAWTEXT(VAR1>0 AND ISLASTBAR,LA11,3);
DRAWTEXT(VAR1>0 AND ISLASTBAR,LA28,4);
DRAWTEXT(VAR1>0 AND ISLASTBAR,顶,5);
DRAWTEXT(VAR1>0 AND ISLASTBAR,低,6);
DRAWTEXT(VAR1>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;