飞狐玄黄重心副图指标
源码
a:=1.1*c;
b:=0.9*c;
s :=100*(winner(a)-winner(b));
重心筹码:ma(s,5)/ma(s,34);
if(重心筹码>1,重心筹码,1),colorgreen,,linethick2;
if(重心筹码<1,重心筹码,1),colorred,,linethick2;
s1:=ma(重心筹码,4);
DRAWTEXT(FILTER(cross(s1,重心筹码)and 重心筹码>1,55),重心筹码,'变盘 ???'),colorred;
DRAWTEXT(FILTER(cross(重心筹码,s1)and 重心筹码<1,55),重心筹码,'转向!!!'), coloryellow ;