# Magic Number

Every trade placed by this EA will be tagged with this number, allowing it to recognize and manage only the trades it has opened.

{% hint style="success" %}

#### **Why Use It?**

* To **separate trades** from different EAs or manual trades on the same account.
* To **run multiple instances** of the EA on different charts or symbols without conflict.
* To **track individual strategy instances** even on the same symbol.
  {% endhint %}

{% hint style="info" %}

#### **Example Usage**

* Chart 1 (Support/Resistance): `MagicNumber = 1001`
* Chart 2 (Trend Reversal): `MagicNumber = 1002`
* Chart 3 (Manual trades or another EA): Use different or no Magic Number (0)
  {% endhint %}

{% hint style="warning" %}

#### **Important Notes**

* **Each chart must have a unique Magic Number.** Using the same number on multiple charts will confuse the EA and cause trade management issues.
* Make sure your broker allows the use of Magic Numbers (almost all do).
  {% endhint %}

{% hint style="info" %}

#### 💡 **Best Practice**

* Use **4–6 digit numbers** to keep things simple and organized.
* Keep a list of your Magic Numbers if you’re running multiple EAs or strategies.
* If copying setups across charts, **always change the MagicNumber** to avoid interference.
  {% endhint %}

🔐 *Think of the Magic Number as a personal signature — it keeps your EA's trades separate, safe, and under full control.*


---

# 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/general-and-utility/magic-number.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.
