%>
A:=12;
B:=26;
CC:=9;
DIF:EMA(CLOSE,A)-EMA(CLOSE,B);
DEA:EMA(DIF,CC);
MACD:(DIF-DEA)*2,COLORSTICK;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
大买单比:SUM(TRANSACTVOL(1,2),0)*240/DYNAINFO(38)/BARSCOUNT(C),LINETHICK0;
大卖单比:SUM(TRANSACTVOL(2,2),0)*240/DYNAINFO(38)/BARSCOUNT(C),LINETHICK0;
STICKLINE(大买单比>大卖单比,-0.10,-0.15,8,0),COLORRED;
STICKLINE(大买单比<大卖单比,-0.10,-0.15,8,0),COLORBLUE;
{股票教程网-http://gwgz.net/承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}