Let’s imagine we have a EURUSD robot configured with a 10% variable on an account with €1,000 in equity.
A lot of EURUSD is worth €100,000 in the market. If we have a leverage of 1:500, the broker will require us to provide guarantees of €200 per lot (100,000/500 (leverage)).
So far we have:
- €1,000 equity in account
- Margin of €200 per lot
If we allow the robot to open 10% of the equity, it would be 10% of the €1,000 (this 10% is what we will allocate to collateral per order).
Since a EURUSD lot is €200 per lot and we only allow €100 to be allocated to collateral, the robot will open 0.5 lots.
In summary, variable volume will work as follows depending on the settings:
- Order: It will apply unitarily for each order.
- For all orders: It will apply when all orders individually lose or win at least the specified amount.
- All orders: Will apply when all orders win or lose at least the specified amount.