Appearance
Are you an LLM? You can read better optimized documentation at /core-concepts/signal-processing.md for this page in Markdown format
Signal Processing
TTMT eliminates the need for rigid "syntax" or strict formats using advanced AI (LLMs) to understand trading signals just like a human would.
How Parsing Works
When a message arrives in a connected Telegram channel, it goes through a multi-step pipeline:
- Filtering: Is this message a trade signal? If it's just "Good morning guys" or an advertisement, it is ignored immediately.
- Extraction: If it is a trade, the AI extracts key data points:
- Action: BUY, SELL, BUY LIMIT, SELL LIMIT, etc.
- Symbol: EURUSD, GOLD, BTCUSD.
- Entry Price: Specific price or "NOW" (Market execution).
- Stop Loss (SL): The invalidation point.
- Take Profits (TP): One or multiple targets (TP1, TP2, TP3...).
- Standardization: The extracted data is converted into a standardized JSON format that our trading engine understands.
Signal Capabilities
The parser is extremely robust and can handle:
- ✅ Text Signals: Standard typed messages.
- ✅ Replies: "Close half now" sent as a reply to the original signal.
- ✅ Edits: If a channel edits a message to fix a typo or change a TP, TTMT updates it in real-time.
- ✅ Trade Modifications: "Move SL to Entry", "Take Partial Profits", or "Close All".
Trade Modifications
TTMT goes beyond just entry signals. It continuously monitors the channel for updates related to your open positions.
1. Stop Loss & Take Profit Updates
When a channel sends an update like "Update SL to 2050" or "New TP 1.1200", TTMT automatically:
- Identifies the active trade for that symbol.
- Modifies the modification on your MetaTrader account.
- Safety Check: It validates that the new SL is not on the wrong side of the market price to prevent immediate unwanted closures.
2. Set Breakeven
Common commands like "Move SL to Entry", "Set BE", or "Breakeven now" are parsed instantly. The system calculates your precise entry price (including a small buffer if configured) and updates your Stop Loss to secure the trade.
3. Close Signals (Partial & Full)
- Full Close: "Close GOLD now" or "Close All" will immediately close the entire position.
- Partial Close: "Close half", "Close 50%", or "Take partials" will calculate the specific volume to close and execute a partial close on your broker, leaving the runner running.
Two-Phase Signals
Some channels use a "Pending" workflow:
- Phase 1 (Prepare): "Prepare for BUY GOLD".
- System Action: TTMT parses this but does not execute. It waits.
- Phase 2 (Execute): "BUY GOLD NOW" or "Execute".
- System Action: TTMT correlates this with the previous "Prepare" message and executes the trade immediately.
Correlation Window:
The system typically looks back 15-30 minutes for a "Prepare" message. If the "Execute" comes hours later, it might be treated as a new standalone trade.
Handling Invalid Signals
Sometimes, a signal is missing crucial info.
- Missing Stop Loss:
- If you have a Default SL set in settings (e.g., 50 pips), the trade will execute using that default.
- If no default is set, the trade is Rejected for safety.
- Missing Entry Price:
- Assumed to be Market Execution at current price.
- Ambiguous Symbol:
- If the parser cannot identify a valid symbol (e.g., "Buy the dip"), the signal is rejected and logged for review.
Auto-Execution & Manual Review
When a signal is successfully parsed and validated:
- Auto-Execute Enabled: The trade is placed automatically on your connected MetaTrader account(s).
- Auto-Execute Disabled: The signal is logged but not executed, allowing you to review and manually place trades.
You can toggle auto-execution on a per-channel basis in your channel settings.
You can view the raw message, parsed data, and processing status in the Signals Log for every single message processed.