1. 首页 > 股票投资

通达信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(CLOSEOPEN,AAAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEFQS,ZQS,FQS,1,0),COLOR000080; STICKLINE(C,FX,PHX,1,1),COLORGREEN; STICKLINE(FX>PHX,FX,PHX,1,0),COLOR00FFFF; STICKLINE(FX>PHX AND FPXREF(FPX,1),FX,PHX,1,0),COLORLIRED; DRAWBAND(ZQS,RGB(250,0,0),ZQS,RGB(250,0,0)); DRAWBAND(FQS,RGB(0,250,250),FQS,RGB(0,250,250));

本文来源于网友自行发布,不代表本站立场,转载联系作者并注明出处