Hi! I was also having some trouble understanding margin and leverage and I’ve answered this before here and ive got a very good in depth response from Clint thought it might be helpful to you and there you go!
Hello, rookie
Let me answer your last question first. Yes, it’s greatly to your advantage to have leverage available in your account. In fact, the more leverage available to you, the better — because high available leverage corresponds to low required margin.
The leverage available to you from your broker is often called maximum allowable leverage, or broker leverage, or simply account leverage. And I’m guessing that this is the “type” of leverage you are referrring to, when you say that you are “trading with 20:1 leverage”.
If your account allows you to use up to 20:1 leverage, then your trading platform is automatically setting aside 5% of the notional value of each trade as margin (because 1 ÷ 20 = 0.05 = 5%).
Here’s how that works: Let’s say that your account is denominated in USD, and you enter a 100-unit trade in GBP/JPY. The notional value of your trade will be the USD-value of 100 GBP. Suppose the price of GBP/USD is 1.6760 at the time your trade is entered. This means that £1 = $1.676 (note that I’m showing this price using a decimal point where you would use a comma). If £1 = $1.676, then £100 (which is the notional value of your trade) = $167.60. And the required 5% margin would be $8.38.
Caution: Check with your broker to find out exactly how he calculates margins. Many brokers establish “price bands”, such that the margin required for a particular size position, in a particular pair, will be constant as long as the price of that pair stays between certain upper and lower limits. If your broker does that, then the actual margin required on a particular trade will be approximately 5% of the notional value of the trade.
Let’s assume that the margin in the case of the GBP/JPY trade in the example above is exactly 5%, equal to $8.38. As soon as your 100-unit trade is entered, your platform will automatically designate $8.38 as margin, and this sum will be unavailable to you for covering losses, or for withdrawal.
Some, or all, of the remaining $71.52 in your account ($79.90 - $8.38) will be at risk for the duration of your trade, depending on where you place your stop-loss.
Let’s say that you place a stop-loss 30 pips away from your entry price. (Note that the 30 pips you are risking includes the spread on your GBP/JPY trade.) And let’s say that 1 pip is worth $0.01 (1 cent). If your stop-loss is hit, then you will suffer a loss of 30 pips, which equates to a monetary loss of $0.30. This amount is quite a bit less than 1% of your account balance. So, let’s find out how large your GBP/JPY position should be, such that your 30-pip stop-loss puts 1% of your account at risk.
You could calculate your position size by hand, but it’s much easier to use a Position Size Calculator, such as this one.
For the GBP/JPY trade in the example above, you would use the drop-down menus to select USD for your account currency, and GBP/JPY for your pair; and you would enter 79.90 for the account balance, 1 for the risk percentage, and 30 for the stop-loss. Note that the Calculator then asks you for the current price of the USD/JPY (because your account is denominated in USD, and your pair is priced in JPY).
I entered these numbers into the Calculator (using a price of 101.80 for the USD/JPY), and got the result:
Your position size in this trade should be 271 units, in order to make the 30-pip stop-loss assumed in the example correspond to a 1% account risk.
Play around with the Position Size Calculator, using different pairs, and various stop-loss figures, to see how it works and to get comfortable with it. It’s a handy tool.