Skip to main content

Take profit / Stop loss - Distances and Validation

Overview

Take Profit (TP) and Stop Loss (SL) can be set when:

  • opening a new order

  • modifying an existing order

When TP or SL is enabled, the platform:

  1. Automatically fills default values

  2. Validates minimum distance from the reference price

  3. Clears the value if the option is disabled

The rules depend on the symbol group.

Symbol groupDistance type
CryptoPercentage
Other instruments (Forex, indices, commodities, etc.)Pips / points

Symbol Groups

The system determines the rule set based on the symbol group.

GroupBehavior
CryptoPercentage-based TP/SL
Other groupsPip / point-based TP/SL

Default TP / SL Values

When a user enables Take Profit or Stop Loss, the system automatically inserts a default value.

Asset classSideDefault Take ProfitDefault Stop Loss
CryptoBUYAsk + 1%Ask − 1%
CryptoSELLBid − 1%Bid + 1%
Other instrumentsBUYAsk + 100 pipsAsk − 100 pips
Other instrumentsSELLBid − 100 pipsBid + 100 pips

Important

  • Defaults are intentionally larger than the minimum allowed distance.

  • This ensures automatically generated TP/SL values are always valid.


Minimum Distance

TP and SL must be placed at least a minimum distance away from the reference price.

Asset classMinimum distance
Crypto0.1% of reference price
Other instruments1 pip

The system prevents users from placing TP or SL inside this restricted zone.


Validation Rules

BUY Orders

Rule
Take Profit must be above the reference price
Stop Loss must be below the reference price

Additionally:

  • TP must be at least minimum distance above

  • SL must be at least minimum distance below


SELL Orders

Rule
Take Profit must be below the reference price
Stop Loss must be above the reference price

Additionally:

  • TP must be at least minimum distance below

  • SL must be at least minimum distance above


Reference Price

The reference price used for TP/SL calculation depends on context.

ContextOrder typeReference price
New orderMARKETCurrent Ask for BUY, Bid for SELL
New orderLIMITLimit price entered in the form
Modify orderMARKETOrder execution price
Modify orderLIMITUpdated limit price (if edited), otherwise existing order price

Example Calculations

Crypto Example

Reference price:

BTC = 50,000
ValueResult
Default TP50,500
Default SL49,500
Minimum distance50

EUR/USD Example

Reference price:

Ask = 1.0850
ValueResult
Default TP1.0950
Default SL1.0750
Minimum distance0.0001

USD/JPY Example

Reference price:

Ask = 150.25
ValueResult
Default TP151.25
Default SL149.25
Minimum distance0.01

Where These Rules Apply

Order Form (New Orders)

When creating a new order:

  • Default TP/SL values are inserted when enabled

  • Validation ensures minimum distance rules are respected

  • TP/SL values are cleared when disabled


Modify Order

When editing an existing order:

  • Default TP/SL values follow the same rules

  • Reference price is based on the order price

  • Validation rules remain identical


Key Principles

The system follows three main principles:

  1. Automatic defaults
    When TP/SL is enabled, reasonable default levels are provided.

  2. Minimum distance protection
    TP/SL cannot be placed too close to the reference price.

  3. Consistency across workflows
    The same rules apply when creating and modifying orders.


Summary

FeatureCryptoOther Instruments
Default TP±1%±100 pips
Default SL∓1%∓100 pips
Minimum distance0.1%1 pip
Reference priceAsk / BidAsk / Bid

Defaults are intentionally larger than the minimum allowed distance, ensuring automatically generated TP/SL values always pass validation.