跳至内容

IsTradeContextBusy

IsTradeContextBusy

返回有关交易上下文的信息。

bool  IsTradeContextBusy();

返回值

如果用于交易的线程被另一个专家顾问占用,则返回true;否则返回false。

示例:

if(IsTradeContextBusy()) Print("Trade context is busy. Please wait");
最后更新于