飞狐攻击盘副图指标
源码
ljj:=AMOUNT/(VOL*100);
qd:=if(h-l=0 and c/ref(c,1)<0.95,1,(ljj-l)/(h-l));
qd2:=qd-1;
c1:=if(ref(qd,1)=0,0.01,ref(qd,1));
c2:=if(ref(qd2,1)=0,0.01,ref(qd2,1));
sx:=(qd/c1)/((qd/c1+qd2/c2)/100)/100;
买方量:sx*v;STICKLINE(1,0,买方量,4,0),colorred;
卖方量:(sx-1)*v;STICKLINE(1,0,卖方量,4,0);
成交量:=v;STICKLINE(1,买方量,成交量,4,1);
sxma:ma(买方量+卖方量,20);
流通: CAPITAL/1000000, POINTDOT;
换手率: VOL/CAPITAL*100, POINTDOT;
业绩: FINANCE(33), POINTDOT;