原帖由 logoslogos 于 2014-2-18 11:26 发表 ) f# Z" l4 e2 L) V/ |0 A8 e
Y 兄,非常感谢,,现在的公式可以显示底部的数值。再麻烦改一下公式,同样也把头部的数值显示出来
# t' \- O2 Q/ T: f. F S6 j' `
5 s6 z& v- p9 u! y* t/ E; Iaax:=barslast(hd);$ t3 h) `1 S2 L) Q$ q* q& p
bbx:=barslast(ld);5 Y! Y6 l9 H. M% U: x
aaxh:=ref(h,barslast(hd)); S* d9 t0 O3 e" f
bbxL:=ref(L,barslast(ld));
5 L. Q% M) a6 z6 O1 o" JxxL:=sqrt(sum(Vol,barslast(hd)))*abs(aaxh-L);3 f- \$ u0 a9 l- t
xxh:=sqrt(sum(Vol,barslast(ld)))*abs(h-bbxL);7 z6 i7 A/ I) N
drawnumber(Ld,L*0.99,xxL,2),color0000ff,shift3;
6 A8 }9 s0 q( r! Y8 ]+ jdrawnumber(hd,h*1.01,xxh,2),colorff00ff,shift3; |