均价:=(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;