lotsize stop increasing after reaching 500

 

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

 
What is your broker's MAXLOT?
 
kcfve123:

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

Don't double post: https://www.mql5.com/en/forum/16364