TYP:=(C);
var1:= REF(TYP,1);
var2:=SMA(MAX(TYP-var1,0),14,1);
var3:=SMA(ABS(TYP-var1),14,1);
价线:MA(var2/var3*100,5),coloryellow, linethick1;
底线:30,colorgreen,linethick1;
涨线:40,colorred,linethick1,DOTLINE;
支压1:50,colorgray,linethick1,DOTLINE;
支压2:60,colorgray,linethick1,DOTLINE;
支压3:70,colorgray,linethick1,DOTLINE;
顶线:80,colorgreen,linethick1,DOTLINE;
STICKLINE(底线>价线,底线,价线,1,0,0), colorred;
STICKLINE(价线>顶线,价线,顶线,1,0,0), colorgreen;