If i use 100 eur, profit is 0.50, if i use 1000 eur, profit is also 0.50 - why??

 

Hello Guys,

I'm developing some EA for myself and realize one detail:

Example:

When I run my EA with 100 EUR, some profit trade gives me 0.50 cents, ok!

When I run again my EA, but with 1000 EUR, the same profit trade give me the same 0.50 cents.

I want to know what should I do in the programing to allow UNLOCK what I see like some limitation of money use, and, another thing is that EX:

If I put 1000 EUR and gain in one trade 50 EUR, next time the Money used for the next trade will be the 1050EUR, to give me, for example, 55 EUR same operation.

I don't know If I was clear.


There are some CAP EA's that has the option "XBalance" when I use this option, every new trade will take in consideration the total money available, not only a limited portion of it.


Regards!

 

Hi Joao,

To be honest I did not understand your problem. I'm thinking about your desciption "run an EA with 100 EUR" and "run it with 1000 EUR". Are these prices your account balance?

To me it seems you aren't familiar with terms like volumes, leverages and margins, are you?

Maybe it gonna help to read some articles about it. For instance something like this:

https://www.metatrader5.com/en/terminal/help/trading_advanced/margin_forex

Margin Calculation: Retail Forex, Futures - For Advanced Users - MetaTrader 5 Help
Margin Calculation: Retail Forex, Futures - For Advanced Users - MetaTrader 5 Help
  • www.metatrader5.com
The trading platform provides different risk management models, which define the type of pre-trade control. At the moment, the following models are used: If the account has an open position, and an order of any type with the volume being less or equal to the current position is placed in the opposite direction, the total margin is equal to the...
 

It seems that now you use same lot size. Ex: your trades will always be 0.10 lot size.

To have a progresive profits as you mentioned, you need to trade / risk X% from balance/equity. Yo risk 0.5% and expect to win 1%.

Ex: You risk 0.5% from 10.000euro. You win 1%. Now you have 10.100euro. Next trade you risk 0.5% from 10.100. You win 1%. Now you have 10.201euro., etc.