Appearance
Are you an LLM? You can read better optimized documentation at /advanced-usage/advanced-settings.md for this page in Markdown format
Advanced Settings
These settings change the core behavior of the trading engine. Use with caution.
Manual Override Strategies
What happens if you intervene manually on MetaTrader?
Detection
TTMT checks your open positions on every tick. If it notices a trade has appeared, disappeared, or changed parameters (SL/TP) without the bot initiating it, it triggers an Override Event.
Behavior Options
You can configure how TTMT reacts to your interference:
- Surrender (Default): "User knows best." TTMT stops managing that specific trade. It will not move SL to Breakeven or Redistribute TPs. It becomes a manual trade.
- Force Restore: "User made a mistake." TTMT detects you moved the SL and moves it back to the AI-calculated level immediately. (Strict enforcement).
- Collaborate: TTMT accepts the new SL/TP but continues to apply Breakeven logic if the new levels are hit.
Orphan Order Cleanup
Scenario: Broker disconnects or crashes right after a "Close All" signal was sent. The market order closed, but the Pending Limit Orders (Layers 2-4) are still sitting there.
- Setting:
Auto-Cancel Orphan Orders - Action: If enabled, TTMT scans for "orphan" limit orders (orders that belong to a trade ID that no longer has an active main position) and deletes them automatically.
- Recommendation: Always keep this ON.
Custom Redistribution Scenarios
(JSON Configuration - Beta) For developers, we allow defining custom logic for TP Redistribution.
json
{
"scenario": "layer_2_fill",
"action": {
"layer_1": "set_tp_1",
"layer_2": "keep_original"
}
}- Warning: Incorrect JSON configuration can cause trade management to fail. Only use this if you understand the underlying engine.