if(bool1){用Q_BidPrice下买单,并且信号不闪烁,有办法不?}
前面加上一个if(barstatus!=2 and bool1) {buy(0,open);}if(barstatus==2 and bool1){buy(0,Q_BidPrice);}但这样写好像会导致信号一直闪?