How Do Signal Edits Work?
Trading Signal Edits & Reply Processing
How the Edit System Works
TGFX-AI monitors your selected Telegram channels for trading signals. When signal providers send updates or modifications to their original signals, the system needs to know which signal to modify.
Reply-Based Tracking
The copier uses Telegram's reply feature to track edits:
- ✅ Provider sends original signal → system processes and creates trade
- ✅ Provider replies to that message with an update → copier knows which trade to modify
- ❌ Provider sends edit in a new message (not a reply) → copier cannot match it to original trade
This means: All edits MUST be sent as Telegram replies to the original signal. The AI system will look for one of three types of messages: a signal edit, a brand new signal, or chatter/marketing.
The system is built to handle ONE EDIT per reply. If the provider sends two commands, (for example 'move SL to BE and close half') the first edit will be processed and the second will be ignored.
How Matching Works
Telegram assigns a unique Message ID to every message. When a provider replies:
- The system reads Telegram's internal "reply_to_message_id"
- Finds the original signal in the database using this ID
- Applies the edit to that specific trade
Supported Edit Types
The system can process these types of edits (when sent as replies):
Edit Type
What It Does
Example
Move SL
Changes stop loss to new level
"Move SL to 2635"
Breakeven
Moves stop loss to entry price
"Move to breakeven"
Modify TP
Changes take profit level
"Update TP to 2660"
Close
Closes the position
"Close position" or "Cancel"
Single Edit Examples (✅ Supported)
Example 1: Move Stop Loss
Original Signal:
XAUUSD BUY
Entry: 2640
SL: 2630
TP: 2650
**Reply (Edit):**
```
Move SL to 2635
```
✅ **Result:** system updates stop loss from 2630 → 2635 on the active trade.
---
### **Example 2: Breakeven**
**Original Signal:**
```
Gold buy 2640
SL 2630
TP 2650
```
**Reply (Edit):**
```
Move SL to breakeven
```
✅ **Result:** Bot moves stop loss to entry price (2640).
---
### **Example 3: Modify Take Profit**
**Original Signal:**
```
EURUSD SELL
Entry: 1.0850
SL: 1.0870
TP: 1.0800
```
**Reply (Edit):**
```
New TP: 1.0790
```
✅ **Result:** Bot updates take profit from 1.0800 → 1.0790.
---
### **Example 4: Close Position**
**Original Signal:**
```
Gold buy 2640
SL 2630
TP 2650
```
**Reply (Edit):**
```
Close position
```
✅ **Result:** Bot closes the active Gold trade immediately.
---
## **Multiple Edits (❌ NOT Supported)**
The system can only process **ONE edit per reply message**. If a reply contains multiple instructions, only the first one is processed.
### **Example: Multiple Instructions**
**Original Signal:**
```
XAUUSD BUY 2640
SL 2630
TP 2650
```
**Reply (Multiple Edits):**
```
Move SL to breakeven and close 50% of position
```
❌ **Result:** Bot processes "Move SL to breakeven" but **ignores** "close 50%".
### **Solution: Send Separate Replies**
**Reply 1:**
```
Move SL to breakeven
```
**Reply 2 (after first edit completes):**
```
Close 50% of position
```
✅ **Result:** Both edits are processed in sequence.
---
## **Full Signals in Replies**
### **New Feature: Complete Signals as Replies**
Some signal providers send information in two parts:
1. Initial message with partial info
2. Reply with complete trade details
The bot now recognizes **full trading signals sent as replies** and processes them as **NEW trades** (not edits).
---
## **Full Signal Examples**
### **Example 1: Completing Partial Information**
**Original Message:**
```
Gold buy now
```
**Reply:**
```
Entry: 2640
SL: 2630
TP: 2650
```
✅ **Result:** Bot creates a **NEW** Gold BUY trade with the specified levels.
💡 **How:** Inherits "Gold" and "BUY" from original, uses entry/SL/TP from reply.
---
### **Example 2: Setup Announcement → Full Signal**
**Original Message:**
```
Gold setup incoming. Wait for confirmation.
```
**Reply:**
```
Gold buy Entry 2640
SL 2630
TP1 2650
TP2 2660
```
✅ **Result:** Bot creates a NEW Gold BUY trade with multiple TPs.
💡 **How:** Reply contains complete signal information.
---
### **Example 3: Inheriting Symbol Only**
**Original Message:**
```
EURUSD analysis: looking for buy opportunity
```
**Reply:**
```
Buy at 1.0850
SL: 1.0830
TP: 1.0900
```
✅ **Result:** Bot creates a NEW EURUSD BUY trade.
💡 **How:** Inherits "EURUSD" from original, gets "BUY" and levels from reply.
---
### **Example 4: Natural Language**
**Original Message:**
```
XAUUSD setup ready
```
**Reply:**
```
Buy at 2640 with 2630 stop and 2650 target
```
✅ **Result:** Bot creates a NEW Gold BUY trade.
💡 **How:** AI understands natural language and extracts trading parameters.
---
## **What Can Be Inherited?**
When processing reply signals, the bot can inherit:
| Component | Can Inherit? | Example |
|-----------|--------------|---------|
| **Symbol** | ✅ Yes | "Gold" from original → applies to reply |
| **Direction** | ✅ Yes | "BUY" from original → applies to reply |
| **Entry Price** | ❌ No | Must be in reply |
| **Stop Loss** | ❌ No | Must be in reply |
| **Take Profit** | ❌ No | Must be in reply |
---
## **How to Tell: Edit vs. New Signal?**
The bot automatically determines if a reply is an **edit** or a **new signal**:
### **Reply is an EDIT if it contains:**
- Only one parameter change (SL, TP)
- Action words: "move", "update", "change", "close"
- Refers to modifying existing position
### **Reply is a NEW SIGNAL if it contains:**
- Entry price + Stop loss + Take profit
- Complete trading setup
- All required components for a trade
### **Examples:**
| Reply Message | Type | Why |
|---------------|------|-----|
| "Move SL to 2635" | ✅ Edit | Only mentions SL change |
| "Entry 2640, SL 2630, TP 2650" | ✅ New Signal | Has entry + SL + TP |
| "Update TP to 2660" | ✅ Edit | Only mentions TP change |
| "Buy at 2640 with 2630 stop and 2650 target" | ✅ New Signal | Complete trade setup |
| "Close position" | ✅ Edit | Closing existing trade |
---
## **Important Requirements**
### ✅ For Edits to Work:
1. Edit must be sent as a **Telegram reply** to original signal
2. Original signal must be in bot's database (from a selected channel)
3. Reply must contain **only one** instruction
4. Trade must still be **active** (not already closed)
### ✅ For New Signals in Replies to Work:
1. Reply must be sent as a **Telegram reply** (can be to any message)
2. Reply must contain: **Entry + SL + TP**
3. Symbol and direction can be inherited from original OR specified in reply
4. Channel must be **selected** in your dashboard
---
## **Limitations**
### ❌ What Doesn't Work:
**Multiple edits in one message:**
```
Move SL to 2635 and close 50%
```
Only first instruction processes.
**Edits not sent as replies:**
```
[New message, not a reply]
Update Gold SL to 2635
```
Bot cannot match to original signal.
**Partial information without inheritance:**
```
Original: "Setup coming"
Reply: "Entry 2640, SL 2630" (missing TP and direction)
```
Not enough information to create trade.
**Editing closed positions:**
```
Original signal already hit TP
Reply: "Move SL to breakeven"
```
Cannot edit closed trades.
---
## **Troubleshooting**
### **Edit Not Applied?**
Check:
- ✅ Was it sent as a **reply** to the original signal?
- ✅ Is the original trade still **active**?
- ✅ Does the reply contain **only one** instruction?
- ✅ Is the channel **selected** in your dashboard?
### **Reply Signal Not Created?**
Check:
- ✅ Does the reply contain **entry + SL + TP**?
- ✅ Can symbol/direction be inherited from original?
- ✅ Is the channel **selected** in your dashboard?
### **Wrong Edit Applied?**
If multiple instructions exist, only the **first detected** is processed. Send separate replies for multiple actions.
---
## **Best Practices for Signal Providers**
If you're a signal provider, here's how to format messages for best compatibility:
### ✅ **Good: Clear Single Edits**
```
Move SL to breakeven
```
```
Close all positions
```
```
Update TP to 2660
```
### ✅ **Good: Complete Reply Signals**
```
XAUUSD BUY
Entry: 2640
SL: 2630
TP: 2650
```
### ❌ **Avoid: Multiple Instructions**
```
Move SL to 2635 and update TP to 2660
```
*Better: Send two separate replies*
### ❌ **Avoid: Ambiguous Language**
```
Adjust levels
Examples Summary
Edits (Modify Existing Trades)
- "Move SL to 2635" → Updates stop loss
- "Set to breakeven" → Moves SL to entry
- "New TP 2660" → Updates take profit
- "Close position" → Closes trade
New Signals (Create New Trades)
- "Entry 2640, SL 2630, TP 2650" → New trade
- "Buy at 2640 with 2630 stop and 2650 target" → New trade
- Complete signal with all parameters → New trade
Need Help?
Contact support with:
- Screenshot of original message
- Screenshot of reply message
- Your user ID
- Description of expected vs. actual behavior
Updated on: 17/10/2025
Thank you!