Margin

http://www.forexfactory.com/showthread.php?p=2285285

Contract sizes

1 lot = 100,000 units of the currency bought or sold

1 minilot = 10,000 units bought/sold = 0.1 lots

1 microlot = 1,000 units bought/sold = 0.01 lots

1 nanolot = 100 units bought/sold = 0.001 lots

How many dollars won/lost per pip moved, and why?

The first listed currency in a pair is the base currency, and the second is the quoted currency, e.g. in GBPUSD, GBP is the base currency, and USD the quoted currency.

The rate quoted is how many units of the quoted currency can be bought with one unit of the base currency, e.g. if GBPUSD = 1.9029, then USD 1.9029 can be bought with 1 GBP.

Hence, when you enter a long position (perform a buy transaction), you are buying the base currency by selling the quoted currency. A short position (sell transaction) is the reverse.

You buy at the ASK price, and SELL at the BID price (see the "Risk and spread" section below for more info).

xxxUSD pairs

1 lot = USD100,000 contract for any xxxUSD pair. 1 pip = 0.0001 dollars (i.e. 0.01 cents) movement. Hence each pip moved results in a gain or a loss of 100,000 x 0.0001 = USD 10.00

USDxxx pairs

For a USDxxx pair, e.g. USDCHF. 1 lot = CHF100,000 contract size, so each pip moved results in a gain or a loss of 100,000 x 0.0001 = CHF 10.00

But if your account is denominated in USD, and the current rate for USDCHF = 1.1335, then each pip moved results in a gain or a loss of 10.00 / 1.1335 = 

~ USD 8.22

JPY-based pairs

The exceptions are JPY pairs, where 1 pip = 0.01

So for USDJPY, 1 lot = JPY 100,000 contract size, so each pip moved results in a gain or a loss of 100,000 x 0.01 = JPY 1,000

But if your account is denominated in USD, and the current rate for USDJPY = 100.56, then each pip moved results in a gain or a loss of 1,000 / 100.56 = 

~ USD 9.94

Non-USD pairs, i.e. xxxyyy (where neither xxx nor yyy is USD)

1 lot = 100,000 yyy. So if each pip is 0.0001, then it results in a gain/loss of 100,000 x 0.0001 = 10 yyy.

If your account is denominated in USD, and the exchange rate for USDyyy is currently 1.2000, then 10 yyy = 10 / 1.2000 = ~ USD 8.33

Think through the above step-by-step, until you understand it. It's logically consistent. 

Then we can move on to RISK.

How much risk per trade?

There are two factors that determine RISK:

(1) How many pips your stoploss is away from the entry point

(2) How many lots you buy/sell

Let's say that you have $10,000 trading capital.

The experts say that you should risk only 1%-2% of it in each trade.

So 2% of $10,000 = 0.02 x $10,000 = $200.

Now let's say I want to buy GBPUSD (1 lot = $10 per pip, see section above)

The question is: how many lots can I buy, to keep my risk at $200, and if I want to set my stoploss just outside a swing point, which happens to be 40 pips away from entry?

Answer: if I trade 1 lot, then 40 pips x $10 per pip = $400 risk.

So to keep the risk at $200, I must trade half of this, i.e. 0.5 lots.

Now, 0.5 lots = 5 minilots = 50 microlots = 500 nanolots, you can work on whatever basis you like.

So the formula is: number of lots = [trading capital] x [percent to risk]/100 / [pips between entry and stoploss] / [dollars per pip]

Let's do another example using the formula:

-- Trading capital = $500

-- Percent to risk per trade = 2% (= $10)

-- This time you want to place your stoploss is 100 pips from entry

-- We're trading EURUSD, which is $10 per pip (per lot traded)

So the answer is: 500 x 2/100 / 100 / 10 = 0.01 lots (or 1 microlot)

Working backwards to check: at 0.01 lots, the movement is 10 cents per pip. So if we lose 100 pips (from entry to stoploss), the loss is 100 pips x 10 cents = $10, which is 2% of our $500 account.

Here are two very important points:

1. Leverage (explained in the next section) and risk are unrelated, except that leverage determines the maximum amount of risk you can take. But by keeping your risk at 1%-2%, you should never come near to using up your available 'margin'.

2. In the examples above, it doesn't matter whether your broker is offering (for example) 50:1, 100:1 or 200:1 leverage. Your risk is still $200 in the first example, and $10 in the second example. The leverage is irrelevant.

So the key is: focus on keeping the risk low, and you don't have to worry about leverage, it will take care of itself.

Leverage and margin

The margin requirement reflects how much 'spare' money you need to have in your trading account, in order to make a trade. By spare money, I mean money that's not 'tied up' in other currently open trades.

Leverage and margin work inversely with each other, thus:

-- If the broker offers 10:1 leverage, then the margin requirement is 10% (or, alternatively, it means that you can trade a USD 100,000 contract for every USD 10,000 in your account)

-- If the broker offers 50:1 leverage, then the margin requirement is 2% (or trade a USD 100,000 contract for every USD 2,000)

-- If the broker offers 100:1 leverage, then the margin requirement is 1% (or trade a USD 100,000 contract for every USD 1,000)

-- If the broker offers 200:1 leverage, then the margin requirement is 0.5% (or trade a USD 100,000 contract for every USD 500)

-- If the broker offers 400:1 leverage, then the margin requirement is 0.25% (or trade a USD 100,000 contract for every USD 250)

and so on.

So the formula is: margin = 100 / leverage

Example - for xxxUSD pair

Let's suppose that: 

-- you want to buy or sell GBPUSD, which is currently priced at $1.90

-- you currently have $10,000 in your trading account

-- your allowable risk per trade = 2% (= $200)

-- your stoploss is 40 pips away from entry

-- your broker is offering you 100:1 leverage

Calculate your risk, as explained in the previous section:

Position size = 10,000 x 2/100 / 40 / 10 = 0.5 lots

The margin requirement for xxxUSD is given by the formula = [#lots] x 100,000 / [leverage] x [exchange rate]

Then the margin you need is 0.5 lots x $100,000 per lot / 100 leverage x 1.90 = $950, which is 9.5% of your $10,000. 

That leaves 100 – 9.5 = 90.5% of your account, i.e. $9,050, available for use in other trades.

If the leverage was only 50:1, then the amount required would be 0.5 x 100,000 / 50 x 1.90 = $1,900, or 19%, i.e. at 50:1 you need twice the margin, compared to 100:1, and so on. 

So at 50:1 you are "tying up" 19% of your account balance, leaving the remaining 81% free ("unused or available margin") to place on other trades.

As you can see, trading at 2% risk leaves plenty of money (available margin) in the account, so leverage isn't really a major consideration. And note that the risk is always $200, no matter what the leverage is. If the trade hits the stoploss, you will lose $200, no more, no less.

Example - for USDxxx pair

Let's suppose that: 

-- you want to buy or sell USDJPY, which is currently priced at 115.18

-- you currently have $20,000 in your trading account

-- your allowable risk per trade = 2% (= $400)

-- your stoploss is 25 pips away from entry

-- your broker is offering you 100:1 leverage, and smallest denomination allowable is a microlot

Calculate the dollars per pip, for each lot:

= 100,000 x 0.01 / 115.18 = ~ $8.68

Calculate your risk, as explained in the previous section:

Position size = 20,000 x 2/100 / 25 / 8.68 = 1.8433 lots

But broker allows only microlots, so round down to 1.84 lots

The margin requirement for USDxxx is given by the formula = [#lots] x 100,000 / [leverage]

In this case = 1.84 x 100,000 / 100 = USD 1,840.00, or 9.2% of the $20,000 account. Hence unused margin = $18,160.00 or 90.8%

Risk and spread

Let's re-visit risk, so that we can factor spread into the equation. Spread is the difference between the BID and the ASK price. So if, for example, GBPUSD is currently 1.8500 / 1.8504, the BID is 1.8500, the ASK is 1.8504, and the spread is 4 pips. 

You must buy at the ASK price, and SELL at the bid price. That effectively means that, in the example, you lose 4 pips (or $40 per lot) every time you trade GBPUSD roundtrip. The spread gets pocketed by your broker.

When you close a trade (or when your profit target or stoploss is reached), you perform the opposite operation. So if you originally bought GBPUSD, then you must sell it to close the trade. And vice versa.

The price shown on a chart is generally the BID price (although MT4 allows you to optionally display the AK price as a second horizontal line).

You need to factor the spread into your risk calculations. For example, if your stoploss is 40 pips away from entry, and the spread is 4 pips, then your real risk is 40+4 = 44 pips. That's the number that you should use in the [pips between entry and stoploss] in the Risk formula above.

Order types

Market orders are placed immediately, at the currently quoted prices.

Pending orders will trigger automatically when the price you specify is reached. There are 4 types of pending order: buystop, buylimit, sellstop, selllimit.

-- A xxxstop order anticipates that price will break out, or continue in the current direction, when the price you specify is reached.

-- A xxxlimit order anticpates that price will reverse, or bounce back, when the price you specify is reached.

-- buyxxx orders are triggered when the ASK price reaches your specified value (because you must always buy at the ASK price).

-- sellxxx orders are triggered when the BID price reaches your specified value (because you must always sell at the BID price).

All order types can have a profit target ("take profit"), and/or stoploss, which will automatically close the position, immediately the specified price is reached. Otherwise the position must be closed manually.

See the attached diagram, copied from MT4's on-line help, for more info.

Swap

Swap (aka 'Rollover', 'Carry', 'Interest') is a debit paid, or credit earned, as a reflection of the difference between the interest rates applicable to the countries in the currency pair being traded. Depending on whether you are long or short, and which country has higher interest rates, you may be charged or credited interest. 

Swap rates are calculated daily at 1659 EST (4:59pm New York time). Trades that have been opened before 1659 EST and held open past this time will be subject to swap rates. 

Swap rates are tripled on Wednesday at 1659 EST. This is because, when placing a trade in the spot Forex market, the actual value date is two days forward. A deal done on Thursday is for value Monday, a deal done on Friday is for value Tuesday, and so on. On Wednesday the amount of swap is tripled in order to compensate for the following weekend (during which time swap is not charged because trading is stopped).

If you buy the currency with the higher interest rate (aka the 'carry trade'), the interest gets credited to your account (psoitive); if you sell it, the interest is debited (negative). The basic daily swap rate should be the difference between the annual cash rates (available from the FF calendar, or here), divided by 365. However, brokers tend to credit interest at a lower rate, and debit interest at a higher rate (to make money for themselves).

To find out your broker's swap rates (assuming you're using MT4), press Ctrl-M to obtain the Market Watch window, right-click and select Symbols. Then from the 'Forex' tree, select the desired currency and click the 'Properties' button. The values 'Swap long' and 'Swap short' show the interest being credited (positive value), or debited (negative value), in USD, per lot being traded.