ihzx 发表于 2021-8-21 14:05:20

叠加主图用(大智慧)

<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&gt;o or c&gt;ref(c,1)),e,vx,6,0),COLORRED;<br />
stickline(c&lt;o or c&lt;=ref(c,1),e,vx,6,0),COLORgreen;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 叠加主图用(大智慧)