How to Displaying broker max allowed open order ?

 

Dear all,

 can someone help me how to code or what is the code for displaying max allowed total order of broker ?

 

regards 

 
int orderlimits = AccountInfoInteger(ACCOUNT_LIMIT_ORDERS);

If the result would be zero, usually means unlimited total orders else it is their limits.

Use Comment() to show on chart.

 
thanks for your help, i will try
Reason: