kchandek:
What's the maximum allowed by your broker on the tested symbol ?
I am testing my ea on 14 year time frame. Lot size is calculated on the % of account free margin. But after some time lot size stops increasing and it is constant at 500.
What is wrong here.
This is because you have reached the maximum lot size for the symbol. You can see the max allowed volume for given symbol from Market Watch. Right click symbol -> Specification...
To get the information programmatically use SymbolInfoDouble()
kchandek:
Please do not double post: https://www.mql5.com/en/forum/148444
I am testing my ea on 14 year time frame. Lot size is calculated on the % of account free margin. But after some time lot size stops increasing and it is constant at 500.
What is wrong here.
lotsize stop increasing after reaching 500 - MQL4 forum
- www.mql5.com
lotsize stop increasing after reaching 500 - MQL4 forum
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am testing my ea on 14 year time frame. Lot size is calculated on the % of account free margin. But after some time lot size stops increasing and it is constant at 500.
What is wrong here.