ihzx 发表于 2021-8-21 12:50:28

飞狐绝好的量指标公式

<p>『财富』:AMOUNT/100000000,linethick0,colorred;<br />
量能:=『财富』/ma(『财富』,5);<br />
『换手』:VOL/CAPITAL*100,colorgreen,linethick0;<br />
//DRAWGBKLAST(c&gt;0, STRIP(RGB(150,200,200),RGB(0,120,120),0));<br />
var2:=if(c&gt;=ref(c,1),『财富』,REVERSE(『财富』));<br />
var3:=(c-ref(c,1))/ref(c,1)*100;         <br />
var4:=var3*36;               <br />
var5:=var4-var2;         <br />
曲股量:=EMA(SUM(var5,5),5);<br />
ma1:=ema(曲股量,5);<br />
ma2:=ema(ma1,5);<br />
VAR6:= 量能&gt;2 AND REF(量能&gt;1 ,1 ) AND 『换手』&gt;4 OR 『换手』&gt;5 ;<br />
VAR7:=曲股量&gt;0 AND 曲股量&gt;ma1;<br />
VAR8:=曲股量&gt;0 AND 曲股量&lt;ma1;<br />
VAR9:=CROSS(MA1,曲股量 );<br />
VARA:=曲股量&lt;0 AND MA2&gt;0;<br />
VARB:=曲股量&lt;0 AND MA2&lt;0;<br />
VARC:=量能&gt;1;<br />
VARD:=量能&gt;2;<br />
VARE:=量能&gt;3;<br />
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));<br />
主动买盘:=IF(CLOSE&gt;OPEN,AA*(HIGH-LOW),IF(CLOSE&lt;OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));<br />
主动卖盘:=IF(CLOSE&gt;OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE&lt;OPEN,AA*(HIGH-LOW),VOL/2));<br />
『买盘比重』:主动买盘/(主动卖盘+主动买盘),linethick0,color3399FF;<br />
『五日均额』:MA(『财富』,5),color3333ff;<br />
『十日均额』:MA(『财富』,10),coloryellow;<br />
STICKLINE(『买盘比重』&gt;=0.5,0,-hhv(『财富』,0)*0.02,5 ,0),COLOR00ffff;<br />
STICKLINE(c,0,『财富』,5 ,1),COLORblack,linethick2;{背景};<br />
『强势:STICKLINE(VAR7 ,0 ,『财富』,5 ,0),color0000DD;<br />
出货:STICKLINE(VAR8 or vara ,0 ,『财富』,5 ,0 ),COLORFF9900;<br />
减仓:STICKLINE(VAR9 ,0 ,『财富』,5 ,0 ),COLORWHITE;<br />
持币』:STICKLINE(VARB ,0 ,『财富』,5 ,0 ),COLOR00CC00;<br />
{股旁网-股票公式网站 www.gupang.com}<br />
STICKLINE(VAR7,『财富』* 『买盘比重』 ,0,5,0),color000055;<br />
STICKLINE(VAR7,『财富』*『买盘比重』,0,3,0),color000077;<br />
STICKLINE(VAR7,『财富』*『买盘比重』,0,0,0),color000099;<br />
STICKLINE(VAR8 or vara,『财富』*『买盘比重』,0,5,0),COLOR440000;<br />
STICKLINE(VAR8 or vara,『财富』*『买盘比重』,0,3,0),COLOR660000;<br />
STICKLINE(VAR8 or vara,『财富』*『买盘比重』,0,0,0),COLORF90000;<br />
STICKLINE(VARB,『财富』*『买盘比重』,0,5,0),COLOR001100;<br />
STICKLINE(VARB,『财富』*『买盘比重』,0,3,0),COLOR003300;<br />
STICKLINE(VARB,『财富』*『买盘比重』,0,0,0),COLOR006600;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 飞狐绝好的量指标公式