通达信短线起涨点指标公式源码
VA:=IF(CLOSE REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)/10000,coloryellow,LINETHICK2;
MAOBV:MA(OBV,25),LINETHICK0;
做多:IF(OBV =MAOBV,OBV,MAOBV),LINETHICK3,colorred;
做空:IF(MAOBV-OBV,MAOBV,OBV),LINETHICK2,COLOR00ff00;
波段趋势 :MA(OBV,72),LINETHICK2,COLORff00ff;
DRAWTEXT(CROSS(OBV,MAOBV)AND MAOBV =REF( MAOBV,1),做多,'★-----------'),colorwhite ;
公式说明:
1.强势股在波段粉色线上运行,弱势股在粉色线下运行.
2.在波段中判定大方向红色持股、黄色持币.
3.白色指示-----横 线代表短线买卖点.