最新更新 - 网站地图 -
您的当前位置:首页 > 股票指标 > OBV指标 > 飞狐OBV能量图指标公式

飞狐OBV能量图指标公式

来源:网络 点击: 时间:2022-12-16 18:59:20

obv:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv1:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv2:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv3:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv4:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv5:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv6:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv7:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv8:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv9:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv10:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv11:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv12:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv13:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv14:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv15:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv16:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv17:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv18:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv19:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobv20:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSEobvzh1:=(obv1*20+obv2*19+obv3*18+obv4*17+obv5*16+obv6*15+obv7*14+obv8*13+obv9*12+obv10*11+obv10*11+obv12*9+obv13*8+obv14*7+obv15*6+obv16*5+obv17*4+obv18*3+obv19*2+obv20*1)/210;
{obvzh:=EMA(((SLOPE(obv,21) * 20) + obv),42);
obvm:=ema(obv,3);}
obvj:=sma(obvzh1,2,1);
obvj2:sma(obvj,2,1);
obvj3:sma(obvj2,5,1);
obvj4:ma(obvj3,3);
{stickline(obvj>=ref(obvj,1),obvj,ref(obvj,1),8,1),colorred,;
stickline(obvjopent:=ref(obvj,1);
closet:=ref(obvj,0);
B0:=REF(CLOSEt-OPENT,2);
B1:=REF(CLOSET,1);
B2:=REF(CLOSET,2);
B3:=REF(CLOSET,3);
B4:=REF(CLOSET,4);
CMAX:=MAX(MAX(MAX(CLOSET,B1),B2),B3);
CMIN:=MIN(MIN(MIN(CLOSET,B1),B2),B3);
STICKLINE(CLOSET=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSET>=B2 OR B2=CMAX AND B3=CMIN AND CLOSET>=B1 OR B3=CMAX AND CLOSET>=B1 AND CLOSET>=B2,B1,CLOSET,5,1),colorred;
STICKLINE(CLOSET=CMAX AND B1=CMIN,B2,CLOSET,5,1),colorred;
STICKLINE(CLOSET=CMIN AND (B1STICKLINE(B1=CMAX AND CLOSET=CMIN,B2,CLOSET,5,0),colorgreen;
STICKLINE(B1=CMIN AND CLOSET>=B2 OR (B2=CMIN AND B1<=B3 OR B3=CMIN AND B1<=B2) AND B2=B1,B1,B2,5,0),colorgreen;
STICKLINE(B1=CMAX AND CLOSETB3 OR B3=CMAX AND B1>B2) AND B2>=B4 AND CLOSET

飞狐OBV能量图指标公式

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top