大智慧牛熊转变指标公式

var1:=sum(close*vol*100,6)/sum(VOL*100,6);

持股线: intpart(var1*100.17)/100,Coloryellow,LINETHICK3;

var2:=sum(close*vol*100,10)/sum(vol*100,10);

var3:=sum(close*vol*100,30)/sum(vol*100,30);

var4:=ref(low,1)/low;

var5:=ema(var4,13)/var4*close;

var6:=ema(var5,21)*1.17;

var7:=ema(var5,21)*0.955;

var8:=ema(high,21)/high*(close/2+low/2);

var9:=var8*1.0861;

var10:=var9*1.0935;

var11:=var9*0.89207;

疯牛: ema(var10,21)*1.0877,colorwhite;

牛市: ema(var9,21)*1.0935,colormagenta;

空翻多: ema(var9,21)*1,colorcyan;

熊市: ema(var9,21)*0.89207,colorblue;

疯熊: ema(var11,21)*0.92476,colorgreen;