FOREX.com by StoneX logo

Intermediate

CFD trading

7 minute read

CFD trading examples

CFD example one: Going long on the Wall Street index

To illustrate how CFD trading works, let’s look at an example on Wall Street, FOREX.com’s equivalent price for the Dow Jones.

The Wall Street index is currently trading at 34,790 /34,792. The first figure is the sell price and the second is the buy price.

You think that US blue-chip stocks are in for a bull market, which would cause the Wall Street market to rise. So, you decide to open a long position by buying 5 Wall Street CFDs at 34,792.

Table showing a long CFD trade on the Wall Street index with buy price of $34,792, five CFDs bought, position value of $173,960, and margin requirement at five percent.

Margin

To open your Wall Street position, you’ll need to have enough margin in your account. In this example, let’s say that Wall Street requires you to keep 5% of your position’s total value in your account as margin.

Your position is worth (34,792*5) $173,960, so you’ll need 5% of 173,960 to make the trade – $8,698.

The higher the value of your trade, the more money you’ll need to deposit. Alternatively, you could reduce your margin outlay by reducing the size of your position. If you only buy one CFD, you would only need $1739.6 as margin.

Remember, though, that you’ll also need enough free equity in your account to sustain any losses and cover any costs. Otherwise, you risk of a margin closeout.

Notice that your margin is calculated in USD. That’s because with CFD trading, your margin requirement, financing and any unrealised profit or loss will be in the base currency of the selected market. In this case, US dollars.

The FOREX.com platform will automatically convert your margin, financing and P/L into your account’s base currency, though, so you don’t need to do it manually.

Opening Trade Graphic

Risk management

When you open a CFD position, it’s a good idea to ensure that you have a risk management strategy in place. Most traders will choose a profit target and maximum loss for any opportunity, then use stop losses and take profits to automatically close their position once either level is reached.

For this trade, you decide to target 75 points of profit, with a maximum loss of 25 points. You set a take profit at 34,867 and a stop at 34,767.

Winning on a long CFD trade

Let’s take a look at what would happen if your trade was a success.

The Wall Street index rises as you predicted, climbing 57 points to a new price of 34,847/34,849. That’s still a little off your target, but due to changing market conditions you decide to close the position.

You bought 5 CFDs at the outset, so you sell 5 CFDs at 34,847 now to exit the trade.

34,847-34,792 is 55 points. Your 5 CFDs earn you $5 for every upward point of movement, giving you a total profit of (55*5) $275.

If you had kept the position open over more than one day, your profit would be lower due to overnight financing.

Graph illustrating a winning long trade with buy point at 34,792, sell point after price rises by 55 points, and profit of 275 dollars.Table showing closing a CFD trade with sell price of 34,847, five CFDs sold, opening value of 173,960 dollars, closing value of 174,235 dollars, and profit of 275 dollars.

Losing Wall Street trade

But what would have happened if the Wall Street Index had fallen instead?

Supposing the Wall Street index falls to 34,767/34,769, which triggers your stop loss and closes the position.

Your stop will automatically sell 5 CFDs at the new sell price of 34,767. This represents a 25-point loss in your trade which, when multiplied by the 5 CFDs, leaves you with a $125 loss.

A line chart showing a losing long trade with a buy point at 34,792 and a sell point at 34,767, resulting in a $125 loss.Table showing details of closing a CFD trade with a loss including sell price CFDs sold opening value closing value and loss amount.

Again, financing will be automatically debited from your account every night for the period that you hold your position.

CFD example two: Shorting Apple

You believe that Apple shares will fall over the coming weeks as the company is set to report a disappointing set of earnings. You decide to short 50 CFDs.

FOREX.com quotes an Apple price of 200.05/200.06. To open a short position, you trade at the sell price – so you sell 50 CFDs at 200.05, with a stop loss at 206.05.

Margin and commission

Apple has a margin requirement of 10%, so you’ll need to deposit 10% of your position’s full value ($1,000.25) to make the trade. And because Apple is an equity, you’ll pay commission to open the position.

Commission on US stocks is 1.5 cents per share, or a minimum of $8. You’re below the minimum commission, so you pay $8. In order words, trading 533 or less US shares is US$8 per trade.

Table showing details of opening a CFD trade on Apple with a sell price of $200.05, fifty CFDs sold, position value of $10,002.50, commission of $8, and margin requirement of $1,000.25 at 10 percent.

Profiting from your short CFD trade

You were right and Apple’s share price falls to 190.04/190.05 over the next three days. At this point, you decide to lock in your profits and close the trade. To do so, you’d need to buy 50 Apple CFDs at 190.05.

The price difference of 200.05 - 190.05 is 10.00. Your 50 CFDs earn you $50 for each downward point of movement, so you’ve made $500.00 gross profit.

However, you have paid $8 (opening) + $8 (closing) commission on your position, which would reduce your overall profit to $484.00.

Keeping the position open for three days also means it will be subject to overnight financing. Financing on short positions is usually credited to your account, unless SOFR is below 2.5%. In these circumstances, it would be debited from you.

Table showing details of closing a CFD trade with a profit on Apple, including buy price of $190.05, fifty CFDs bought, position value of $9,502.50, commission of $8, and profit calculation showing $500 profit and $484 overall profit after commission.

Losing CFD trade

Now let’s see what would have happened if Apple had risen instead.

Some hours after placing your trade you see that Apple has rallied. Thankfully, you had your stop loss in place which cut your losses at 206.05.

In this instance, your trade has lost 6 points, or $300. After taking commission into account, your overall loss is $316 – adding in $8 + $8 from opening and closing the trade.

Table showing details of closing a CFD trade with a loss on Apple, including buy price of $206.05, fifty CFDs bought, position value of $10,302.50, commission of $8, and loss calculation showing $300 loss and $316 overall loss after commission.

Financing will be automatically debited or credited from your account every night for the period that you hold your position.

Put your knowledge into practice

Ready to put what you’ve learned to the test? Sign up for a demo account to hone your strategies in a virtual environment with no risk to your capital.

It's your world. Trade it.