How to Set Stop Loss and Take Profit Correctly in Trading

How to Set Stop Loss and Take Profit Correctly in Trading

4 November 2026, 09:25
Vladimir Pastushak
0
49

Hello, friends! Today I want to discuss one of the most important aspects of trading: setting Stop Loss and Take Profit levels correctly. These tools may appear simple, but their effectiveness depends on much more than entering two prices into a trading terminal.

A Stop Loss placed too close to the market may close a position during an ordinary correction. A Stop Loss placed too far away can expose the account to excessive losses. An unrealistic Take Profit may look attractive on paper but remain difficult to reach under actual market conditions.

In my previous article, How to Build a Profitable Trading Strategy: A Step-by-Step Guide for Beginners, I explained how to develop a complete trading system. Today we will focus on its essential risk-management component: controlling losses and defining realistic profit targets.

We will explore practical calculations, market structure, ATR, position sizing, trailing stops, break-even rules, and the specific considerations involved in MetaTrader 4 and MetaTrader 5.


What Are Stop Loss and Take Profit?

Stop Loss (SL) is a protective order intended to close an open position when the market moves against the trader and reaches a predefined level.

Take Profit (TP) is an order intended to close a position when the market reaches a specified profit target.

Suppose a trader buys EURUSD at 1.10000 and sets the following levels:

  • Entry price: 1.10000.
  • Stop Loss: 1.09500.
  • Take Profit: 1.11000.
  • Planned risk: 50 pips.
  • Potential reward: 100 pips.
  • Risk-to-reward ratio: 1:2.

For a five-digit EURUSD quotation, one MetaTrader point equals 0.00001, while one conventional pip equals 0.00010. Therefore, 50 pips correspond to 500 terminal points.

This distinction is particularly important when developing Expert Advisors. Confusing points and pips can result in protective levels being placed ten times closer or farther than intended.

Another important consideration is execution. A Stop Loss does not guarantee closure at the exact requested price. Market gaps, slippage, and reduced liquidity may cause the actual execution price to differ.

Why Trading Without a Stop Loss Is Dangerous

Imagine two traders with identical $5,000 accounts. The first limits planned risk to 1% per trade. The second does not use a Stop Loss and relies on manual decisions.

The first trader has a predefined risk budget of approximately $50 per position, although execution conditions may cause the actual loss to differ. The second trader has no clear loss boundary.

If the market moves strongly against the position, the second trader may experience losses far beyond the original expectations.

The situation becomes especially dangerous when traders increase their position sizes while waiting for the market to reverse. Additional positions increase total exposure, and a prolonged trend can produce substantial drawdowns.

The purpose of a Stop Loss is not to predict the exact reversal point. Its primary purpose is to define when the original trading idea is no longer acceptable and to control potential losses.

How to Choose the Right Stop Loss Level

One of the most common beginner mistakes is selecting a random Stop Loss distance. Some traders always use 20 pips, others choose 50 or 100 pips regardless of market conditions.

However, appropriate placement depends on the instrument, timeframe, market structure, volatility, and trading strategy.

A better approach is to identify the price level at which the original trading hypothesis becomes invalid.

Stop Loss Based on Support and Resistance

Support and resistance levels provide useful reference points for protective orders.

For a BUY position, the Stop Loss may be placed below a relevant support zone. For a SELL position, it may be placed above resistance.

For example, suppose EURUSD is trading near 1.10000 and an important support area is located around 1.09800. A trader may choose a Stop Loss at 1.09700, allowing an additional buffer below support.

The buffer matters because support and resistance are rarely precise prices. Markets frequently test these zones, briefly cross them, and then return to the previous trading range.

However, increasing the Stop Loss distance also increases potential monetary losses for a fixed position size. Therefore, trading volume must be adjusted to preserve the intended risk budget.

Stop Loss Based on Swing Highs and Lows

Another popular method uses significant market extremes.

For long positions, the protective level may be placed below a meaningful swing low. For short positions, it may be placed above a meaningful swing high.

This approach is particularly relevant for trend-following systems.

During an uptrend, prices often form higher highs and higher lows. A break below an important swing low may indicate that the original bullish structure has weakened.

I discussed market direction and price structure in my article The Trend Is Your Friend! A Beginner's Guide to Trend Trading. Understanding these principles can help traders choose more meaningful protective levels.

Nevertheless, not every small price fluctuation represents an important structural level. The selected swing should be relevant to the strategy and timeframe.

Stop Loss Based on ATR

Average True Range, or ATR, measures the average true range of price movements over a selected period.

ATR does not predict market direction. Instead, it provides information about typical volatility.

Suppose ATR on EURUSD H1 equals 0.00150, corresponding to 15 pips.

If a strategy uses an ATR multiplier of 2, the calculated Stop Loss distance becomes 30 pips.

Stop Loss distance = ATR × multiplier.

As volatility increases, ATR-based distances generally become wider. During quieter conditions, they may become smaller.

This adaptability can be useful, but no multiplier is universally optimal. Parameters such as 1.5, 2, or 3 must be evaluated through testing.

Fixed vs. Dynamic Stop Loss

Method How It Works Main Consideration
Fixed Stop Loss Uses a constant distance from entry Simple but less adaptive
Market Structure Uses support, resistance, or swing points Connected to the trading hypothesis
ATR-Based Adjusts distance according to volatility Requires parameter testing
Trailing Stop Moves the protective level after favorable price movement May protect accumulated profits

Different markets require different approaches. A fixed 30-pip Stop Loss may behave reasonably under one set of EURUSD conditions but be unsuitable for a highly volatile gold market.

The method should match the trading strategy rather than being selected only because it is easy to configure.

How to Calculate Take Profit

Take Profit defines the intended exit price for a profitable position.

One straightforward approach uses the planned risk-to-reward ratio.

Suppose a trader opens a BUY position on EURUSD at 1.10000 with a Stop Loss at 1.09700.

The initial risk is 30 pips. With a risk-to-reward ratio of 1:2, the profit target is 60 pips above the entry price.

Therefore, Take Profit is placed at 1.10600.

However, the market does not have to reach a price simply because it produces an attractive mathematical ratio.

If significant resistance exists before the target, the probability of reaching Take Profit may be lower than expected.

For this reason, I recommend combining risk-to-reward calculations with technical levels, historical price behavior, and strategy statistics.

Understanding Risk-to-Reward Ratios

The risk-to-reward ratio compares the planned loss with the potential profit.

Ratio Planned Risk Potential Profit Break-Even Win Rate Before Costs
1:1 $100 $100 50%
1:1.5 $100 $150 40%
1:2 $100 $200 33.33%
1:3 $100 $300 25%

Consider ten trades with a planned ratio of 1:2.

Four trades produce $200 each, while six trades lose $100 each.

Total profits: 4 × $200 = $800.

Total losses: 6 × $100 = $600.

The result is a $200 profit before trading costs.

This example demonstrates why a strategy can potentially be profitable even when fewer than half of its trades are winners.

However, a large reward target often reduces the probability of a successful exit. A strategy targeting 1:3 is not automatically better than one targeting 1:1.5.

Mathematical Expectancy

Mathematical expectancy helps estimate the average result per trade.

E = Pwin × AvgWin − Ploss × AvgLoss.

Here, Pwin represents the probability of a winning trade, AvgWin is the average winning amount, Ploss is the probability of a losing trade, and AvgLoss is the average loss.

Suppose a strategy has a 45% win rate, an average winning trade of $150, and an average losing trade of $100.

E = 0.45 × 150 − 0.55 × 100 = $12.50.

The estimated expectancy is positive before trading costs.

However, positive historical expectancy does not guarantee future profitability. Market conditions change, and even statistically promising systems can experience prolonged losing periods.

Commissions, spreads, swaps, and slippage must also be included when evaluating actual performance.

How to Calculate Position Size Using Stop Loss

One of the most important principles of risk management is determining position size after calculating the appropriate Stop Loss distance.

Consider an account with the following characteristics:

  • Account balance: $5,000.
  • Risk per trade: 1%.
  • Monetary risk: $50.
  • Stop Loss distance: 50 pips.
  • Approximate EURUSD pip value per standard lot in a USD account: $10.

The calculation is:

Position size = Monetary risk / (Stop Loss in pips × Pip value per lot).

Position size = 50 / (50 × 10) = 0.10 lots.

This example applies to the stated assumptions. Different instruments and account currencies may have different contract specifications and tick values.

In MetaTrader 5, symbol properties and the OrderCalcProfit function can help developers estimate potential profit or loss for a given price movement and volume.

It is also important to account for broker volume steps, minimum lot sizes, and trading expenses.

Why Widening Stop Loss Can Be Dangerous

Imagine a trader opens a position with a planned risk of $50.

As the market approaches Stop Loss, the trader moves the protective level farther away. The potential loss increases to $100, then $150, and eventually becomes much larger than originally planned.

The trader may justify this decision by expecting a reversal. Unfortunately, markets are not obligated to return to the entry price.

Unless widening the Stop Loss is part of a predefined and tested strategy, such adjustments undermine the original risk-management process.

Trading discipline means following the rules even when the market behaves differently from our expectations.

Moving Stop Loss to Break Even

Moving a Stop Loss to break even means adjusting the protective level toward the entry price after the market moves favorably.

For example:

  • BUY entry: 1.10000.
  • Initial Stop Loss: 1.09700.
  • Current price: 1.10400.
  • New Stop Loss: 1.10000.

If the market reverses, the position may close near the entry price.

However, a break-even Stop Loss does not guarantee a zero financial result. Commissions, swaps, spreads, and slippage may still produce a small loss.

Another problem is premature activation.

Markets often experience temporary pullbacks before continuing in the original direction. Moving the Stop Loss too early may close a position that would otherwise have reached its intended target.

Break-even rules should therefore be tested statistically. For example, traders can compare moving the Stop Loss after price advances by 1R, 1.5R, or 2R, where R represents the initial risk.

Trailing Stop: How to Protect Profits

A trailing stop adjusts the protective level as the market moves favorably.

Suppose a trader buys EURUSD at 1.10000 and places the initial Stop Loss at 1.09700.

After the price rises to 1.10500, the trading algorithm moves the Stop Loss to 1.10200.

If the market continues rising, the protective level may move higher. If the market reverses, the position may close when the Stop Loss is reached, subject to execution conditions.

Common trailing methods include:

  • Fixed-distance trailing.
  • Step-based trailing.
  • ATR-based trailing.
  • Trailing behind swing highs and lows.
  • Percentage-based trailing.

A tight trailing stop may protect profits quickly but can also close trades during normal corrections.

A wider trailing stop allows more room for price fluctuations but may surrender a larger portion of accumulated profits.

In MetaTrader, the standard terminal-based trailing-stop mechanism generally requires the client terminal to remain operational because the trailing logic is executed locally. An already placed server-side Stop Loss continues to exist independently of the terminal.

Stop Loss and Take Profit in MetaTrader 4 and MetaTrader 5

Both MetaTrader 4 and MetaTrader 5 allow traders to configure protective levels when opening positions or modify them afterward.

However, each instrument may have specific restrictions imposed by the broker or trading server.

In MetaTrader 5, several symbol properties are particularly important:

  • SYMBOL_POINT — the size of one terminal point.
  • SYMBOL_TRADE_TICK_SIZE — the minimum price increment.
  • SYMBOL_TRADE_STOPS_LEVEL — the minimum permitted protective-level distance.
  • SYMBOL_TRADE_FREEZE_LEVEL — restrictions on modifying orders or positions near current prices.
  • SYMBOL_VOLUME_MIN — the minimum trading volume.
  • SYMBOL_VOLUME_STEP — the permitted volume increment.

Expert Advisors should check these values before submitting or modifying trading requests.

It is also important to understand the difference between netting and hedging accounts in MetaTrader 5.

Netting accounts maintain one aggregate position per symbol. Hedging accounts can maintain multiple separate positions for the same symbol.

This distinction affects how automated systems manage protective levels, partial exits, and multiple positions.

Why Can Stop Loss Trigger Before the Chart Reaches the Level?

One common explanation is the difference between Bid and Ask prices.

BUY positions are generally opened at Ask and closed at Bid. SELL positions are opened at Bid and closed at Ask.

Many standard Forex charts primarily display Bid prices.

As a result, a Stop Loss on a SELL position may trigger even when the displayed Bid chart appears not to have reached the protective level.

Spread widening, market news, limited liquidity, and slippage can also affect execution.

Before assuming that a protective order was executed incorrectly, traders should examine Bid/Ask history, order parameters, and the broker's execution conditions.

Practical BUY Example

Consider a EURUSD BUY position with a volume of 0.10 standard lots in a USD-denominated account.

  • Entry: 1.10000.
  • Stop Loss: 1.09700.
  • Take Profit: 1.10600.
  • Stop Loss distance: 30 pips.
  • Take Profit distance: 60 pips.

At approximately $1 per pip for 0.10 lots, the planned loss is about $30 and the potential profit is about $60 before costs.

The planned risk-to-reward ratio is 1:2.

Practical SELL Example

Now consider a short EURUSD position.

  • Entry: 1.10000.
  • Stop Loss: 1.10350.
  • Take Profit: 1.09300.
  • Volume: 0.10 lots.

The Stop Loss distance is 35 pips, while the Take Profit distance is 70 pips.

Using an approximate pip value of $1, the planned loss is $35 and the potential profit is $70 before trading costs.

Both examples have a 1:2 risk-to-reward ratio, but neither example establishes the probability of reaching Take Profit. That requires historical testing and sufficient trade statistics.

Ten Common Stop Loss and Take Profit Mistakes

  1. Trading without a protective Stop Loss.
  2. Choosing arbitrary stop distances.
  3. Using excessive position sizes.
  4. Ignoring spreads and commissions.
  5. Widening Stop Loss after entering a trade.
  6. Moving to break even too early.
  7. Placing Take Profit without considering market structure.
  8. Using identical parameters across different instruments.
  9. Optimizing settings based on a few successful trades.
  10. Failing to maintain a trading journal.

Several mistakes can become particularly dangerous when combined. For example, excessive position size together with an unusually wide Stop Loss can create a large loss even after a long sequence of profitable trades.

How to Evaluate Protective-Level Performance

When testing a trading strategy, I recommend evaluating more than total profit.

Record the initial monetary risk, the final result expressed in R multiples, Maximum Favorable Excursion (MFE), and Maximum Adverse Excursion (MAE).

If the initial risk is $50 and a trade earns $100, the result is +2R. If the trade loses $50, the result is −1R.

Comparing these values across many trades can help reveal whether Stop Loss and Take Profit distances are appropriate for the strategy.

It is also important to test different market periods, evaluate drawdowns, and observe execution on a demo account.

A single profitable month does not demonstrate long-term strategy robustness.

Automating Stop Loss and Take Profit Management

One advantage of algorithmic trading is the ability to execute predefined risk-management rules consistently.

An Expert Advisor can calculate position sizes, validate Stop Loss distances, place Take Profit levels, apply trailing logic, move positions to break even, and monitor aggregate exposure.

However, automation does not eliminate market risk.

Incorrect tick-value calculations, poorly handled trading requests, or flawed position-management logic can cause substantial losses.

That is why automated systems should be tested on historical data, evaluated on demo accounts, and monitored carefully during operation.

Recommendations

The most important principle I recommend is to identify the point that invalidates your trading idea before calculating position size.

Determine the appropriate Stop Loss level, calculate the acceptable monetary risk, and then select the trading volume.

Take Profit should reflect realistic market structure and the statistical characteristics of your strategy.

Do not assume that a 1:5 risk-to-reward ratio is automatically superior to 1:2. What matters is the combination of potential reward and the probability of reaching the target.

Treat Stop Loss, break-even rules, and trailing stops as components of one complete trading system. Test each rule separately and avoid emotional adjustments.

If you are interested in trading strategies, risk management, MetaTrader, and automated trading, join my Trading-Go Telegram channel. I share educational materials, practical trading ideas, and discussions about algorithmic trading.

Remember that successful risk management is not about avoiding every losing trade. It is about controlling exposure, preserving capital, and executing a tested trading process consistently.

Tags: Stop Loss, Take Profit, Risk Management, Forex Trading, Trading for Beginners, MetaTrader 4, MetaTrader 5, Trading Strategies, Trailing Stop, Break Even, Position Sizing, Algorithmic Trading.