均价:=(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;
{ _飞狐股票指标公式}
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;