ihzx 发表于 2021-8-21 14:00:01

大智慧主力同步指标公式

<p>注:<br />
黄色:主力出货区<br />
蓝色:主力介入区<br />
绿色:主力开始出货(此时建议出货)<br />
红色:主力开始控盘(此时建议介入)</p>
<p>n1:=38; n2:=8; n3:=7;<br />
x1:=100*(hhv(high,n1)-close)/(hhv(high,n1)-llv(low,n1));<br />
var1:=100*(hhv(high,n2)-close)/(hhv(high,n2)-llv(low,n2));<br />
var2:=100*(hhv(high,n3)-close)/(hhv(high,n3)-llv(low,n3));<br />
var3:=var1-x1;<br />
var4:=x1-var1;<br />
stickline(x1&gt;=0,0,var2,8,0),colorgreen;<br />
主力介入区: stickline(var3&lt;0,0,var4,8,0),color0000aa;<br />
stickline(var3&lt;0,0,var4,6,0),color0000bb;<br />
stickline(var3&lt;0,0,var4,4,0),color0000cc;<br />
stickline(var3&lt;0,0,var4,2,0),color0000ee;<br />
stickline(var3&lt;0,0,var4,0,0),color0000ff;<br />
stickline(x1&gt;=0,0,var1,8,1),colorblue;<br />
主力出货区: stickline(var4&lt;0,0,var3,8,1),coloryellow;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 大智慧主力同步指标公式