VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30);
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW)*2;
买2:=QJ0*(JJ-MIN(CLOSE,OPEN))*2;
卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ)*2;
卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE))*2;
DT:=((买1+买2)-(卖1+卖2))/10000*6;
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIF,9);
N:=3;
ACB1:=(C-EMA(C,6))/EMA(C,6)*100;
ACB2:=(C-MA(C,24))/MA(C,24)*100;
ACB3:=(C-MA(C,32))/MA(C,32)*100;
ACB4:=(ACB1+ACB2+ACB3)/3;
量价结合:=MEMA(ACB4,N),COLORWHITE,LINETHICK2;
XG:DT>0 AND crOSS(DIF,DEA) AND OBV>REF(OBV,1) AND OBV>MAOBV AND 量价结合>REF(量价结合,1);