通达信OBV趋势图指标公式
{M 1 100 13 N 1 100 5}
DRAWGBK(C>0,RGB(0,120,0),RGB(0,70,0),0,' ',0);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MA130:=MA(OBV,13);
DRAWBAND(MA130,RGB(0,0,80),OBV1,RGB(160,0,000));
A1:=REF(OBV1,5)=HHV(OBV1,2*5+1);
B1:=FILTER(A1,5);
C1:=BACKSET(B1,5+1);
D1:=FILTER(C1,5);
T线:=REF(OBV,BARSLAST(D1)),COLORFFFF00,NODRAW;
{STICKLINE(C>0,T线,T线,6,0),COLORFFFF00;
DRAWICON(CROSS(OBV,T线),T线*0.99,1);}
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLOR00FFFF;
MOBV:MA(OBV,13),COLORFF00FF;
AAAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AAAA*(HIGH-LOW),IF(CLOSE
本文来源于网友自行发布,不代表本站立场,转载联系作者并注明出处