ABCA:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
ABCB:=SMA(ABCA,13,1);
ACB1:=EMA(ABCA,3);
ACB2:=EMA(ABCA,5);
ACB3:=EMA(ABCA,7);
DIF:=EMA(CLOSE,9)-EMA(CLOSE,12);
DEA:=EMA(DIF,3);
macd:=(DIF-DEA)*2;
多多:=MACD>0;
ACC1:=ACB2>ACB3&& ACB1< REF(ACB1,1);
ACC2:=ACB2< ACB3 && ACB1>REF(ACB1,1);
开始做多:=BARSLASTCOUNT(ACB1>ACB2)=1;
钱袋:开始做多 AND 多多;