同花顺阻力副图指标
源码
qhl:=(C-REF(C,1))-(VOL-REF(VOL,1))*(REF(H,1)-REF(L,1))/REF(VOL,1);
A:=SUM(IF(qhl 0,qhl,0),5);
e:=SUM(IF(qhl 0,qhl,0),10);
b:=ABS(SUM(IF(qhl 0,qhl,0),5));
f:=ABS(SUM(IF(qhl 0,qhl,0),10));
d:=A/(A+b);
g:=e/(e+f);
qhl5: IF(SUM(IF(qhl 0,1,0),5)=5,1,IF(SUM(IF(qhl 0,1,0),5)=5,0,d)) ;
qhl10:g;