飞狐量方差+CCI+WR指标公式,飞狐做多做空指标公式
admin888
|飞狐量方差+CCI+WR指标公式,飞狐做多做空指标公式
飞狐量方差+CCI+WR指标公式
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;
kX:=(R+R1)/2;
ZJ1:=AMOUNT/vol/100;
ZJ3:=SUM(AMOUNT,35)/ZJ1/100;
ZJ4:=dma(KX,VOL/ZJ3);
ZJ:=100*(KX-ZJ4)/ZJ4;
上轨:(ma(ZJ,20)+stDP(ZJ,20)),COLORYELLOW;
下轨:(MA(ZJ,20)-STDP(ZJ,20)),COLORGREEN;
强轨:(MA(ZJ,20)+1.7*STDP(ZJ,20)),COLORRED;
弱轨:(MA(ZJ,20)-1.7*STDP(ZJ,20)),COLORCYAN;
FILLRGN(KX,上轨,下轨),COLORBLUE;
FILLRGN(KX,上轨,强轨),COLORBROWN;
FILLRGN(KX,弱轨,下轨),COLORAAAA00;
标准线:ZJ,COLORWHITE,LINETHICK2;
强弱线:(上轨+下轨)/2,LINEDASHDOT,COLORYELLOW;
cci:(R-MA(R,84))/(0.015*AVEDEV(R,84))/20,COLORYELLOW,LINETHICK2;
做多:(3*SMACCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLORMAGENTA,LINETHICK;
PARTLINE(CCI<做多,CCI),COLORFFCCAA,LINETHICK2;
wr1:(100*(HHV(R1,42)-KX)/(HHV(R1,42)-LLV(R,42)))/20*5-10,COLORMAGENTA,LINETHICK2;
做空:(3*SMA(WR1,2,1)+2*SMA(SMA(WR1,2,1),2,1))/5,COLOR00bb00,LINETHICK;
PARTLINE(WR1>做空,wr1),COLOR00bb00,LINETHICK2;
0,COLORYELLOW;5,COLOR6600FF,LINEDOT;
飞狐做多做空指标公式
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;R1:=(2*H+3*均价)/5;kx:=(R+r1)/2;
stICKLINE(C>0,50,50,10,10),COLORWHITE;
cci:(R-ma(R,84))/(0.015*AVEDEV(R,84))/1,COLORYELLOW;
做多:(3*SMA(CCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLOR6600FF;
FILLRGN(CCI<做多,做多,CCI),COLORAAAA00;
FILLRGN(CCI>做多,做多,CCI),COLORBROWN;
wr1:(100*(HHV(R1,84)-KX)/(HHV(R1,84)-LLV(R,84)))*2.5,COLORFFC0FF;
做:(3*SMA(WR1,2,1)+2*SMA(SMA(WR1,2,1),2,1))/5,COLORGRAY;
PARTLINE(WR1>0,wr1),COLORFFCCAA,COLORAAAA00;
FILLRGN(WR1<做空,做空,WR1),COLOR00AA99;
FILLRGN(WR1>做空,做空,WR1),COLORGRAY;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。