A函数不发单是什么问题

if ((CurrentBar%2 == 1 and GetGlobalVar2(\"xrz_1_kg_Entry_1\") == 0) or (CurrentBar%2 == 0 and GetGlobalVar2(\"xrz_0_kg_Entry_1\") == 0) ) { //A函数发单 A_SendOrderEx(strDataSymbol,Enum_Buy,Enum_Entry,lots,Data1.Q_AskPrice,Ids,strDataSymbol + \"买开\",\"\",A_AccountIndex(ccc.userCode)); SetGlobalVar2(\"xrz_1_kg_Entry_1\",1); SetGlobalVar2(\"xrz_0_kg_Entry_1\",1); }

你启动自动交易了吗

回复:启动了,所有的都没有问题就是不发单

回复:那就是条件不满足debug一下你的变量

回复:好的,感谢找到原因了