原帖由 logoslogos 于 2014-2-18 11:26 发表 6 M2 O ^, A4 \' e4 D, m
Y 兄,非常感谢,,现在的公式可以显示底部的数值。再麻烦改一下公式,同样也把头部的数值显示出来 " `! X& V5 m5 o2 C) L' `3 L* S
/ }1 g0 E/ _- l0 g
aax:=barslast(hd);, d" I' ^6 p F, i7 ^5 [
bbx:=barslast(ld);' G0 c" G6 X7 e
aaxh:=ref(h,barslast(hd));! A: x J9 q8 T7 S4 F) D
bbxL:=ref(L,barslast(ld));8 @4 P* M; X! ?3 M' X7 N# i' ]
xxL:=sqrt(sum(Vol,barslast(hd)))*abs(aaxh-L);/ _. A8 _6 i* S; y
xxh:=sqrt(sum(Vol,barslast(ld)))*abs(h-bbxL);/ L& k5 g8 X' w- g" h
drawnumber(Ld,L*0.99,xxL,2),color0000ff,shift3;
+ h0 Y! i* f! o; ~9 S' Vdrawnumber(hd,h*1.01,xxh,2),colorff00ff,shift3; |