bool IsTradeAllowed( )
Returns TRUE if the expert is allowed to trade and a thread for trading
is not occupied, otherwise returns FALSE.
エキスパートがトレードを許可されて、トレードのスレッドが占有されていない場合は、TRUE を返し、そうでない場合は、FALSE を返します。
参照 IsDllsAllowed()、IsLibrariesAllowed()、IsTradeContextBusy()
English
日本語
Sample:
サンプル:
if(IsTradeAllowed()) Print("Trade allowed");
|