N:=13;M:=5;
DY1:=(2*CLOSE+HIGH+LOW)/4;
DY2:=LLV(LOW,34);
DY3:=HHV(HIGH,34);
DYA:EMA((DY1-DY2)/(DY3-DY2),30),COLORWHITE;
stickline(DYA>=REF(DYA,1),DYA,ref(dya,1),5,0),COLORRED;
DYB:MA(DYA,N),COLORf0f000;
stickline(DYB>=REF(DYB,1),DYB,ref(DYB,1),5,0),COLORf00ff0;
Var1:=WINNER((CLOSE+HIGH+LOW+OPEN)/4);
a1:=MA(Var1,M);
STICKLINE(a1<0.05,0,a1,6,0),COLORFFFFFF;
STICKLINE(a1>0.05 and a1<=0.10,0.05,a1,6,0),COLORFF33CC;
STICKLINE(a1>0.10 and a1<=0.20,0.10,a1,6,0),COLORFF9900;
STICKLINE(a1>0.20 and a1<=0.30,0.20,a1,6,0),COLOR00FF00;
STICKLINE(a1>0.30 and a1<=0.40,0.30,a1,6,0),COLOR3366FF;
STICKLINE(a1>0.40 and a1<=0.50,0.40,a1,6,0),COLORFFFF00;
STICKLINE(a1>0.50 and a1<=0.60,0.50,a1,6,0),COLORFF00FF;
STICKLINE(a1>0.60 and a1<=0.70,0.60,a1,6,0),COLOR00FFFF;
STICKLINE(a1>0.70 and a1<=0.80,0.70,a1,6,0),COLORFF9900;
STICKLINE(a1>0.80 and a1<=0.90,0.80,a1,6,0),COLOR00FF00;
STICKLINE(a1>0.90 and a1<=0.95,0.90,a1,6,0),COLOR0000FF;
顶部:STICKLINE(a1>0.95,0.95,a1,4,0),COLORFF33FF;
STICKLINE(a1<=0.02,0,a1,4,0),COLOR6633FF;
底部:STICKLINE(a1<=0.005,0,a1,4,0),COLOR66FF99;
STICKLINE(CLOSE
大底:STICKLINE(a1<=0.005,-0.05,-0.03,8,0),COLORYELLOW;