0
151
Telegram Copier EA — Input Parameters Guide Telegram Copier EA — Input Parameters Guide
This article explains all input parameters for configuring the Telegram Copier EA in MetaTrader 4. Each section helps you understand how to correctly set the copier according to your signal provider and trading preferences.
Copied Channel / Chat
- Chat ID — The unique ID of the Telegram chat or channel where trading signals are received. This must match the chat you connected via your Telegram bot.
- Magic Number — Used to identify trades opened by this copier. Keep it unique to avoid conflicts with other EAs.
- Trade Comment — Any text comment that will appear on all trades in the terminal, useful for recognizing copied trades.
- Channel Trading Pair — If a signal doesn’t include the trading pair name, this symbol will be used by default.
- TPToCopy — Choose which Take Profit levels to copy (e.g., 1,3). Leave empty to copy all TPs from the signal.
Peculiarities of Copied Signals
- Exception Keywords — If a message contains any of these words (e.g., “result”, “report”), it will be ignored to prevent false entries.
- Lot Mode — Defines how the EA calculates lot size:
- fixed — Always uses the same lot (set in FixedLotValue).
- risk — Calculates lot based on a risk percentage of account balance.
- symbol_lots — Uses individual lot size for each symbol.
- symbol_risk — Uses risk percentage per symbol.
- lots_per_tp — Assigns different lot sizes to each Take Profit target.
- Stop Mode — Choose whether Stop Loss and Take Profit come from the signal or custom fixed values.
- SL/TP Unit — Defines how stop and target distances are measured: Price , Pips or Points .
- AllTPInOneLine — Enable this if all Take Profit levels are written on one line in the signal message.
- SLMerged / TPMerged — Turn on if the Stop Loss or Take Profit appear merged directly with entry price text.
- NumberToCopy — Limits how many TPs to copy. Example: set 1 to copy only the first TP.
Signal Interpretation
- Entry Point Keywords — The EA looks for these words to detect the entry price (e.g., “buy @”, “entry”, “price at”).
- Signal Includes SL/TP — If disabled, the EA will not look for Stop Loss or Take Profit in the signal text.
- StopLossKeywords / NewStopLossKeywords — Phrases used to find SL or updates (e.g., “SL -> 1900”).
- TakeProfitKeywords / NewTakeProfitKeywords — Words that mark Take Profit or TP updates.
Order Type and Slippage
- Buy/Sell Keywords — Words like “buy”, “sell”, “long”, “short” determine the trade direction.
- Limit/Stop Keywords — Used to recognize pending order types like Buy Limit, Sell Stop, etc.
- Slippage Action — When the market moves too far from the signal price:
- Pending — Place a pending order at signal price.
- Ignore — Skip the trade.
- Max Slippage — Maximum allowed distance between current price and signal entry (in points).
- EntryRangeMode — Choose how to interpret multiple prices in a signal (First, Average, or Second).
- EntriesInZoneOnly — If true, trades will open only if the market is currently inside the entry zone range.
Order Processing and Commands
- EnableOrderProcessingCommands — Lets EA recognize commands such as “Close”, “Modify”, “Cancel” in the signal.
- AcceptModificationsWithoutDirectReply — Allows SL/TP updates even if the message doesn’t reply to the original signal.
- Close / Modify / Cancel Keywords — Define phrases that trigger trade management actions.
- Breakeven / Partial Close / Close Half Keywords — Words used to automatically move SL to entry or close part of a position.
Symbol Settings
- ExcludedSymbols — List of symbols the copier should ignore (e.g., BTCUSD if you only trade forex).
- BrokerPrefix / BrokerSuffix — Add these if your broker uses custom symbol names (e.g., “EURUSD.m”).
- CustomSymbolMatches — Manual mapping for custom names, e.g., GOLD = XAUUSD.
Entry & Risk
- FixedLotValue — The exact lot used when in fixed mode.
- RiskPercent — Risk per trade in percent of balance when in risk mode.
- LotsToTP — Define lot distribution for multiple TP targets (e.g., 0.5, 0.3, 0.2).
- DivideLotByTPCount — If true, total lot size will be divided evenly among all Take Profits.
Stop Loss and Take Profit
- RejectOrdersWithoutSL / TP — Prevents trades without protective stops or targets.
- CustomSL / CustomTP — Distance for SL and TP when using custom mode (in points).
- NumOfTradesWhenNoSLTP — Maximum number of trades allowed if a signal lacks SL/TP.
Order Execution
- ForceMarketExecution — Forces trades to execute at current market price even if signal price differs.
- MaxRetriesOrderSend — Number of attempts to send order if broker rejects it (useful on high latency).
- RetryWaitTimeSeconds — Delay between retries.
- PendingOrderExpiration — Expiration time for pending orders, in minutes.
- PartialClosePercent — The portion (in %) of the position closed during a partial close command.
- BreakevenToSignalEntryPrice — If enabled, breakeven will move SL to the original signal’s entry price, not order open price.
Trade Management
- ActivateBreakeven — Turns on automatic breakeven feature.
- BreakevenAfterPoints — Number of points in profit before SL moves to breakeven.
- ActivateTrailingStop — Enables automatic trailing stop system.
- SLTrailingMode — Choose between dynamic (follows price) or per-TP (moves after hitting TP).
- TrailingStartPoints / Step / Distance — Configure when and how far trailing stop follows the price.
Risk Management
- MaxTradesPerDay / MaxLossesPerDay — Limits how many trades or losses the copier can make in one day.
- AccountCalculationSource — Defines whether risk is calculated using account Balance or Equity.
- LossControlMode — Controls losses in percentage or fixed currency.
- MaxDailyLoss / Weekly / Monthly — Stop trading when total losses exceed these limits.
- LossExceedAction — Choose to stop copying new signals or also close all current trades when loss limits are reached.
- DailyResetTime — Time when daily limits reset, formatted as HH:MM.
Time Filter
- UseTimeFilter — Enable to restrict trading to specific hours or days.
- StartTime / EndTime — Define allowed trading session, e.g., 07:00 to 18:00.
- AllowedTradingDays — List of allowed days (1 = Monday, 7 = Sunday).
Summary: These inputs allow flexible control over how the copier reads, interprets, and executes Telegram signals. Adjust parameters carefully according to your signal provider format and personal trading strategy.


