[B]Hi, Toka[/B]
I’m glad that you realize that this would be suicidal.
Here is the answer to your question.
Let’s say that:
[ul]
[li]your account balance is [B]5,000 GBP[/B]
[/li]
[li]you trade [B]mini-lots[/B] (10,000 units of base currency)
[/li]
[li]for this particular trade, you will trade the [B]GBP/USD with a 40-pip stop-loss[/B]
[/li]
[li]pip-value, based on the current ASK price of the GBP/USD, is [B]0.625 GBP per pip per mini-lot[/B]
[/li]
[li]your broker’s margin is [B]100 GBP per mini-lot[/B] (this corresponds to leverage = 100:1)
[/li][/ul]
Here are the variables you need to solve this problem:
[ul]
[li]Account Balance = 5,000
[/li][li]Margin = 100
[/li][li]SL = 40
[/li][li]Pip-value = 0.625
[/li][/ul]
Skipping the algebraic derivation, here is the formula for the maximum number of mini-lots which can be traded, based on the assumptions given above:
[B]Position Size < [Account Balance] / [(Margin) + (SL) x (pip-value)][/B]
Substituting numerical values into the formula,
Position Size < [5,000] / [(100) + (40) x (0.625)]
that is,
Position Size < 5000 / 125
Position Size < 40 mini-lots (position size must be less than 40 mini-lots)
Therefore, 39 is the maximum number of mini-lots you can trade, in order for your SL to be hit before you receive a margin-call.
One question: since you know that this is a formula for suicide, just exactly what do you plan on doing with this information?
Clint