# Entry / Exit Conditions

### Entry Conditions

The bot can only evaluate data if at least 1 Technical Indicator is set. Multiple Entry Conditions can be set at a time. You may also configure TradingView as an Entry Condition. This feature is available only to Premium or Professional users.

### Exit Conditions

Similar to Entry Conditions, at least 1 Exit Conditions must be set. Technical Indicators set for Exit Conditions need not be the same as the one used in Entry Conditions. In Exit Conditions there are 2 settings that will be prioritised above all Technical Indicators, Stoploss and Take Profit. This means that if Take Profit condition is met but your exit technical indicator has not triggered, a market sell order will be executed. However, if the technical indicator trigger is met, the bot will also exit (closing the deal) regardless if your Take Profit or Stop Loss condition is met.

| **Stop Loss**                                                                                                             | **Take Profit**                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| When the overall position is below the set percentage, a market order will be put to liquidate all positions the bot has. | When the overall position is above the set percentage, a market order will be put to liquidate all positions the bot has. |
| Used to limit losses, especially for untested strategies or volatile instruments.                                         | Locks in profits to hedge against losses but precludes potential further profits                                          |

ForexHero also offers [Trailing Stoploss](/bot-settings/trailing-stoploss.md) and [Trailing Take Profit](/bot-settings/trailing-take-profit.md) features.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forexhero.ai/bot-settings/entry-exit-conditions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
