limited open trades.

 
Is there a way to find out how many open trades i am allowed on my brokers account without having to contact them?
 
A simple EA on a demo account and count until you get an error from the server? - of course limits can be overall or per symbol, open, pending etc.
 
Michael Charles Schefe:
Is there a way to find out how many open trades i am allowed on my brokers account without having to contact them?

First, check the FAQ section of your broker-dealer's website. If you don't see it there, carefully read through your trading agreement and any MT5-specific addendum that you may have signed.

Some broker-dealers are open about their max cap on open positions, while others are not. Just keep in mind that all broker-dealers reserve the right to close an account for any reason whatsoever, and traders have no recourse. If all else fails, it's best to contact your broker-dealer.

 
ceejay1962 #:
A simple EA on a demo account and count until you get an error from the server? - of course limits can be overall or per symbol, open, pending etc.
As potential caveat, there is no guarantee that a given broker-dealer's demo account features will exactly mimic all of their live account restrictions. It's certainly conceivable that a broker-dealer's live trade server would be guarded more heavily than a demo trade server.
 
Ryan L Johnson #:

First, check the FAQ section of your broker-dealer's website. If you don't see it there, carefully read through your trading agreement and any MT5-specific addendum that you may have signed.

Some broker-dealers are open about their max cap on open positions, while others are not. Just keep in mind that all broker-dealers reserve the right to close an account for any reason whatsoever, and traders have no recourse. If all else fails, it's best to contact your broker-dealer.

i was hoping there was a programatic method of getting max trades. But i cant find it in the online docs. i just thought i remembered getting it on mt4 in the past. maybe i am dreaming.
 
Michael Charles Schefe #:
i was hoping there was a programatic method of getting max trades. But i cant find it in the online docs. i just thought i remembered getting it on mt4 in the past. maybe i am dreaming.
If you Message me the name of your broker-dealer, I'll try to do some research on it.
 

@Michael Charles Schefe, I received your Message, and here are the relevant sections of your trading agreement (redacted for Forum compliance purposes). Although there is no direct reference to a max cap on open positions, the language is rather aggressive. I would definitely reach out prior to trading excessively.

"5 Fair Usage Principles

5.1 [broker-dealer] is committed to providing the best possible service to all our clients, and to reserving the integrity and quality of our Trading Platform. 5.2 If, in our reasonable opinion, we consider it necessary, we may manage your use of, or access to the Trading Platform as we see fit in the circumstances.

5.3 [broker-dealer] may apply limits to your usage of the services we provide, for various reasons. This includes but is not limited to, if your use of the Trading Platform is not considered by us as appropriate or fair, if it affects (or may affect) other clients’ use of the Trading Platform, or if it is significantly different from the usage that Terms and Conditions [broker-dealer] Pty Ltd (MU) License No. [redacted]. Company No.[redacted] Terms and Conditions Version: Sep 2025 9 we would expect from a client.

5.4 If the circumstances occur under which [broker-dealer] could impose a limit on your access to the Trading Platform, we may at our sole discretion, suspend or terminate your ability to access the Trading Platform. We will not do so without giving you prior notice (except in extreme circumstances) and will only do so if it is reasonable in all circumstances or as a last resort.

5.5 In order to encourage a responsible attitude towards the use of [broker-dealer] system resources, and to ensure that you are using the Trading Platform in a manner that is consistent with [broker-dealer's] fair usage principles, [broker-dealer] will monitor the order-to-trade ratios of clients. Each order, cancellation, or modification message entered by a client is counted as an ‘order’ for the purposes of calculating this ratio.

5.6 Ratios will be monitored by the [broker-dealer] Trading Team. Actions that will be taken as a result of excessive system usage are not taken automatically.

5.7 In the event of transaction ratios being exceeded, [broker-dealer] will investigate the causes on an individual, case by case basis and contact the clients directly before taking any action except in exceptional circumstances (such as extreme adverse market conditions).

5.8 If there are reasonable grounds to believe that it is necessary, we may pass on some or all of the funding fees covered by [broker-dealer] during account funding.

5.9 [broker-dealer] may pass on these charges if, after investigation, we have reasonable grounds to believe that a deposit or withdrawal of funds is not considered by us to be appropriate or fair, because it’s motive is not expressly for the purpose of funding an account. For example it is motivated by a desire to generate loyalty scheme points. 5.10 Actions that will be taken as a result of excessive funding usage are not taken automatically. In the event preserved funding abuse, [broker-dealer] will investigate the causes on an individual, case-by case basis and contact the clients directly before taking any action except in exceptional circumstances.

6 Market Abuse

6.1 When you execute a Trade with us, we may buy or sell units or financial instruments related to the Underlying Instrument from or to other financial institutions. The result is that when you place Trades with us, your Trades can have an impact on the external market for that Underlying Instrument in addition to the impact it might have on our Price. This creates a possibility of market abuse, and the purpose of this clause is to prevent such abuse.

6.2 You represent and warrant to us at the time you enter into the Agreement and every time you enter into a Trade or give us any other instruction that: 6.2.1 you will not place and have not placed a Trade with us if to do so would result in you, or others with whom you are acting in concert having an interest in the price of the Underlying Instrument which is equal to or exceeds the amount of a Declarable Interest in the Underlying Instrument; 6.2.2 you will not place and have not placed a Trade in connection with: a) a placing, issue, distribution or other similar event; b) an offer, takeover, merger or other similar event; or c) any corporate finance activity. 6.2.3 You will not manipulate our prices, our execution processes or the Platform, including using any electronic device, software, algorithm, trading strategy or arbitrage practice (including but not limited to latency abuse, price manipulation or time manipulation) or carry out any activity with the intent to take unfair advantage of the way that we construct, provide or convey our bid or ask prices or to commit any form of market abuse; and 6.2.4 You will act in accordance with all applicable laws and regulations. Terms and Conditions [broker-dealer] Pty Ltd (MU) License No. [redacted]. Company No.[redacted] Terms and Conditions Version: Sep 2025 10

6.3 In the event that you place any Trade in breach of the representations and warranties given in this clause 6 or any other clause of this Agreement or we have reasonable grounds for believing that you have done so, we may: 6.3.1 at our absolute discretion and without being under any obligation to inform you of our reason for doing so, close that Transaction and any other Transactions that you may have open at the time; 6.3.2 treat all your Trades as void if they are Trades which result in us owing money to you, unless and until you produce conclusive evidence within 5 days of our request that you have not in fact committed any breach of warranty, misrepresentation or undertaking under this Agreement; 6.3.3 reserve the right to not grant you Negative Balance Protection in cases where we reasonably consider, in our sole discretion, that your negative Account balance has been caused by misconduct or market abuse. Where this is the case, we will let you know why we haven’t applied Negative Balance Protection to your Account. 6.4 You acknowledge that it would be improper for you to deal in the Underlying Instrument if the sole purpose of such a transaction was to manipulate our Price, and you agree not to conduct any such transactions."

 
Michael Charles Schefe #:
i was hoping there was a programatic method of getting max trades. But i cant find it in the online docs. i just thought i remembered getting it on mt4 in the past. maybe i am dreaming.

I suspect that you were thinking of ACCOUNT_LIMIT_ORDERS which only applies to pending orders:

Documentation on MQL5: Account Properties / Constants, Enumerations and Structures
Documentation on MQL5: Account Properties / Constants, Enumerations and Structures
  • www.mql5.com
To obtain information about the current account there are several functions: AccountInfoInteger() , AccountInfoDouble() and AccountInfoString() ...