A=(C*3+O+H+L)/6;
操盘线=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
价格乖离率:C/操盘线;
OBV=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/10000;
OBV均线=(20*OBV+19*REF(OBV,1)+18*REF(OBV,2)+17*REF(OBV,3)+16*REF(OBV,4)+15*REF(OBV,5)+14*REF(OBV,6)+13*REF(OBV,7)+12*REF(OBV,8)+11*REF(OBV,9)+10*REF(OBV,10)+9*REF(OBV,11)+8*REF(OBV,12)+7*REF(OBV,13)+6*REF(OBV,14)+5*REF(OBV,15)+4*REF(OBV,16)+3*REF(OBV,17)+2*REF(OBV,18)+REF(OBV,20))/210;
OBV乖离率:OBV/OBV均线;
辅助线:1;
202108202132.jpg
|