# Max trade delay

* I**f set to `0`:** The delay is **disabled**, and trades will be executed immediately when conditions are met.
* **If set to a positive value (e.g., `0.5 or 2`):** The EA will introduce a **random delay** between **0.01 seconds** and the specified maximum delay value before executing the trade.. For example, if set to `5`, it will wait any number of milliseconds between 0.01 and 5 seconds before executing a trade after the conditions are met.

{% hint style="success" %}

#### **Why Use It**

* **For Proprietary Accounts:** Many **proprietary accounts** or brokers restrict trades from being executed at the exact same millisecond. This parameter helps avoid those issues by **randomizing the trade execution time**. By setting a maximum delay, you can ensure that trades are spaced out without triggering the same timestamp.
* **Staggered Entries:** The randomized delay can help make your trading appear more **natural** and **less robotic**, reducing the likelihood of algorithmic trading detection from brokers or other market participants.
  {% endhint %}

{% hint style="danger" %}

#### **Why You Might Avoid It**

* **Why You Might Avoid It**\
  **Slower Execution: Introducing a delay, especially a randomized one, can cause trades to be executed later than expected, which might affect your strategy’s performance, especially in fast-moving markets.**
* **Missed Opportunities: A larger delay range may result in missing optimal entry points or reducing trade frequency, especially if the strategy relies on rapid execution.**
* **Potential Impact on Strategy Performance:** If the delay is too long, it could negatively affect the performance of strategies that rely on **precise timing**, especially when trading fast instruments or small timeframes.
  {% endhint %}

{% hint style="info" %}

* **Use for Proprietary Accounts:** If you're using a proprietary account that restricts the execution of For Proprietary Accounts or Restrictions: If you're trading with a proprietary account or broker that has restrictions on simultaneous trade timestamps, using a small random delay (e.g., 0.1 to 1.5 seconds) can help avoid errors. It introduces a random variation that ensures no two trades are executed at the same exact time.
* Leave Disabled for Regular Accounts: For standard accounts that don't have such restrictions, you can leave this setting at 0 to ensure that trades are executed immediately without any delay, which can maximize performance in normal trading conditions.
  {% endhint %}

This parameter ensures smoother execution, particularly on accounts with specific **timing restrictions** while still preserving flexibility for different trading environments.


---

# 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://smartchoise.gitbook.io/smartchoise-manual/options/trade-management/max-trade-delay.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.
