飞狐OBV+CCI指标公式

[复制链接]
查看125 | 回复0 | 2021-8-21 12:41:46 | 显示全部楼层 |阅读模式

均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;kx:=(R+r1)/2;
CCI:(R-MA(R,84))/(0.015*AVEDEV(R,84))/200,COLORYELLOW;
做多:(3*SMA(CCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLOR6600FF;
FILLRGN(CCI<做多,做多,CCI),COLORAAAA00;
FILLRGN(CCI>做多,做多,CCI),COLORBROWN;
{www.gupang.com 股旁网_飞狐股票指标公式}
OBV:=SUM(IF(kx>REF(kx,1),VOL,IF(kx<REF(kx,1),-VOL,0)),0);
OBV13:=(MA(OBV,1)-MA(OBV,13))/MA(OBV,13)*100;
OBV52:=(MA(OBV,1)-MA(OBV,52))/MA(OBV,52)*100;
ob:(3*OBV13+2*OBV52)/5,COLORWHITE;
趋势:eMA(ob,13/2),COLORGREEN;
地:=llV(MA(ob,1),26),COLOR00AA99;
天:=HHV(MA(ob,1),26*2/3),COLORRED;
PARTLINE(OB=天,OB),COLORRED;
-1.0,COLORGREEN,LINEDOT;-0.5,COLORAAAA00;0,COLORWHITE;0.5,COLOR6600FF;1.0,COLORMAGENTA,LINEDOT;

202108211203.jpg

202108211203.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则