# blTelegramToMt4
# EA README — Signal Receiver & Executor (Telegram-style messages)

**Purpose:**
This EA reads trade-entry messages in the exact visual/text format shown in your screenshot, parses symbol / side / open / SL / TP, and places trades automatically on the chart symbol you attach the EA to. TP and SL values are taken directly from the signal message. Lot size is provided by the user via the EA input. The EA is designed for brokers like Exness where symbols may have suffixes (e.g. `EURUSD`).

---

## Message format (required — exact structure)

The EA expects messages with the same text block structure as in your image. Example accepted formats:

```
BL Tech pro (Paid) channel
EURUSD   Buy now 📈
⚪ Open: 1.06750
🔻 SL: 1.06650
🔹 TP: 1.06850
Use Small Lot
```

or

```
BL Tech pro (Paid) channel
EURUSD  SELL now 📉
⚪ Open: 1.06750
🔻 SL: 1.06850
🔹 TP: 1.06650
Use Small Lot
```

**Notes:**

* Whitespace and minor emoji differences are tolerated, but the parser looks for the tokens`SL:`, `TP:` and the direction words `Buy`/`SELL` (case-insensitive).
* Symbol must match the broker symbol exactly (e.g., `EURUSD`) with suffix like m, p. The EA provides a symbol-mapping option if the incoming signal uses a different convention (see inputs).

```
=== SIGNAL PARSE ===
Symbol: EURUSDm | Side: BUY
Open: 1.06750 | SL: 1.06650 | TP: 1.06850
Lot: 0.01 | Slippage: 5 | Method: file
=== ORDER ACTION ===
OrderType: MARKET_BUY | Ticket: 123456 | Result: SUCCESS
```

This mirrors your preference for grouped / section header style debugging.

---

## Example signals (ready-to-use)

**Buy example**

```
BL Tech pro (Paid) channel
EURUSDm   Buy now 📈
⚪ Open: 1.06750
🔻 SL: 1.06650
🔹 TP: 1.06850
Use Small Lot
```

**Sell example**

```
BL Tech pro (Paid) channel
EURUSDm   SELL now 📉
⚪ Open: 1.06750
🔻 SL: 1.06850
🔹 TP: 1.06650
Use Small Lot
```

Remember: EA uses `LotSize` input for the actual executed lot.

---
