トレード許可のチェック【IsTradeAllowed】
bool IsTradeAllowed( ) Returns TRUE if the expert is allowed to trade and a thread for trading is not o…
bool IsTradeAllowed( ) Returns TRUE if the expert is allowed to trade and a thread for trading is not o…
bool IsTesting( ) Returns TRUE if expert runs in the testing mode, otherwise returns FALSE. エキスパートがテストモ…
bool IsStopped( ) Returns TRUE if the program (an expert or a script) has been commanded to stop its op…
bool IsOptimization( ) Returns TRUE if expert runs in the strategy tester optimization mode, otherwise …
bool IsLibrariesAllowed( ) Returns TRUE if the expert can call library function, otherwise returns FALS…
bool IsExpertEnabled( ) Returns TRUE if expert advisors are enabled for running, otherwise returns FALS…
bool IsDllsAllowed( ) Returns TRUE if the function DLL call is allowed for the expert, otherwise return…
bool IsDemo( ) Returns TRUE if the expert runs on a demo account, otherwise returns FALSE. エキスパートがデモ口座で…
bool IsConnected( ) The function returns the status of the main connection between client terminal and …
int GetLastError( ) The function returns the last occurred error, then the value of special last_error …