原帖由 logoslogos 于 2014-2-18 11:26 发表 ( o' V+ u$ X7 H
Y 兄,非常感谢,,现在的公式可以显示底部的数值。再麻烦改一下公式,同样也把头部的数值显示出来 % o @: Z6 s, \/ {0 w* L
3 j q: b! L0 r7 l$ o6 }; {
aax:=barslast(hd);3 s" p) t9 t, O% X
bbx:=barslast(ld);
% k2 V# S( d; L4 uaaxh:=ref(h,barslast(hd));7 y/ k) J' e# j# O i; ^5 g) t- u
bbxL:=ref(L,barslast(ld));
6 p$ i7 @* i+ I$ w1 g6 txxL:=sqrt(sum(Vol,barslast(hd)))*abs(aaxh-L);
, h! t2 O5 c7 N7 u/ oxxh:=sqrt(sum(Vol,barslast(ld)))*abs(h-bbxL);) }) K# d* A- |. B
drawnumber(Ld,L*0.99,xxL,2),color0000ff,shift3;
# s6 n: t$ B0 T' Q% ldrawnumber(hd,h*1.01,xxh,2),colorff00ff,shift3; |