buy不发单
bool newbar_tradecon = BarStatus == 2; newbar_tradecon = TimeDiff(CurrentTime,EndTime) <= 59 && newbar_tradecon; newbar_tradecon = CurrentTime < EndTime && newbar_tradecon; If(newbar_tradecon) { If(longPositionflg == 0) { Buy(lots,Close); //开多仓 A_SendOrder(Enum_Buy,Enum_Entry,lots,Q_Last); SetTBProfileString(GetWorkspaceName()+\"_\"+FormulaName+\"_LONGLOTSNUM\",Symbol,Text(lots)); longPositionflg = 1; } } Else { Buy(1,Close,Enum_Signal_NotSend) ; //开多仓 }收盘前最后一分钟交易,buy不发单,而写入块信息没问题。是系统判定出现信号闪烁还是别的原因?