Hi coders, I'm a coding newbie, just started to learn coding a few days ago. I intend to call out the information of an account's ACCOUNT_LIMIT_ORDERS, after compiled, it indicates a "possible loss of date due to type of conversion" warning message.
Could you please advise how to solve it ? Thank you.
Could you please advise how to solve it ? Thank you.
Inserted Code
#property copyright "Script Testing" #property link "[email protected]" #property version "1.00" #property strict void OnStart() { int accountMaxOrder = AccountInfoInteger(ACCOUNT_LIMIT_ORDERS); MessageBox("Account MaxOpenOrders (Open + Pending) : "+IntegerToString(accountMaxOrder)); }