叠加主图用(大智慧)
<p>a:=hhvall(h)-llvall(l);</p><p>v1:=HHVALL(HHV(BARPOS,COUNT(C,0)));<br />
v2:=llvALL(HHV(BARPOS,COUNT(C,0)));<br />
b:=hhv(v,v1-v2);<br />
d:=b/a*2;<br />
e:=llvall(l)-a/2;<br />
vx:=v/d+e;<br />
MA1:MA(vx,5),PRECIS0,coloryellow;<br />
MA2:MA(vx,10),PRECIS0,colorcyan;<br />
stickline((c>o or c>ref(c,1)),e,vx,6,0),COLORRED;<br />
stickline(c<o or c<=ref(c,1),e,vx,6,0),COLORgreen;</p>
<p></p>
<p> </p>
页:
[1]