Skip to main content

Exit Conditions

Users can close any position on a profit or loss using specific crossing conditions obtained from external sources. Exits conditions can be enabled in the EXIT CONDITIONS settings section.

info

Oscillators are intended to be used as external source when it comes to TP/SL conditions, but users can directly create scripts returning scaled outputs from overlay indicators.

Exit Take Profit​

Long/Short take profits exits conditions will exit a long or short position when a set condition is met such that the position exit on a profit.

Take profits conditions are triggered if they are toggled on for a specific order (Long/Short) and if the selected external source is either Crossing, Crossing Up, or Crossing Down, Greater Than, Lower Than, or Equal to the numerical value specified by the user.

Exit Stop Losses​

Long/Short stop losses exits conditions will exit a long or short order when a set condition is met such that the position exit on a loss.

Stop losses conditions are triggered if they are toggled on for a specific order (Long/Short) and if the selected external source is either Crossing, Crossing Up, or Crossing Down, Greater Than, Lower Than, or Equal to the numerical value specified by the user.

Placeholders​

Exit Long Take Profit when closing price cross the upper Bollinger band extremity
Exit Long Take Profit when closing price cross the upper Bollinger band extremity

Users who do not wish to use a numerical value to evaluate a condition with an external source may use a placeholder instead, which allows using prices. The following placeholders are supported:

  • open : Opening price
  • high : High price
  • low : Low price
  • close : Closing price
  • hl2 : Median price
  • ohlc4 : Average price (open+high+low+close)/4(open + high + low + close) / 4
  • hlc3 : Typical price (high+low+close)/3(high + low + close) / 3
  • hlcc4 : (high+low+close×2)/4(high + low + close \times 2) / 4