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

大智慧普通板的DDX指标公式

<p>BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))/10000;<br />
主动买:=IF(CLOSE&gt;OPEN,BB*(HIGH-LOW),IF(CLOSE&lt;OPEN,BB*((HIGH-OPEN)+ (CLOSE-LOW)),0));<br />
主买:=主动买,COLORRED;<br />
主动卖:=IF(CLOSE&gt;OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE&lt;OPEN,0- BB*(HIGH-LOW),0));<br />
主卖:=-主动卖,COLORGREEN;<br />
净买:=(主动买+主动卖);<br />
单日净买率:净买/VOL*1000000,POINTDOT,COLORFFFF00;<br />
单日净买量:VOL*单日净买率/100,POINTDOT,COLORRED;<br />
三日净买率:SUM(单日净买率,3),POINTDOT,COLORFFFF00;<br />
三日净买量:SUM(单日净买量,3),POINTDOT,COLORRED;<br />
十日飘红:COUNT(三日净买量&gt;0,10),COLORWHITE;{DDX飘红}<br />
标量过百:三日净买量/EMA(三日净买量,500)*100,POINTDOT,COLORYELLOW;<br />
持股:STICKLINE(三日净买量&gt;0,0,三日净买量,3.5,0),COLORRED;<br />
持币:STICKLINE(三日净买量&lt;0,0,三日净买量,3.5,0),COLORFFFF00;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 大智慧普通板的DDX指标公式