%>
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLORRED,LINETHICK1;
MAOBV:MA(OBV,30);
零点:=(CONST(LLV(OBV,90))+CONST(HHV(OBV,90)))/2;
DI:=EMA(CLOSE,12)-EMA(CLOSE,26);
F分:=CONST(LLV(DI,90)); F百:=CONST(HHV(DI,90))-F分;
点:=CONST(LLV(OBV,90)); 基:=CONST(HHV(OBV,90))-点;
F比:=(DI-F分)/F百; XFX:=F比*基+点;
DIF:XFX,LINETHICK1;
DEA:EMA(DIF,9),LINETHICK1;
MACC:(DIF-DEA)*2+零点;
STICKLINE(MACC>零点,零点,MACC,0,0),COLORRED;
STICKLINE(MACC<零点,零点,MACC,0,0),COLORCYAN;
{股票教程网-http://bkqg.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}