ChartTrader
- Utilità
- Versione: 1.10
- Aggiornato: 21 novembre 2026
- Attivazioni: 10
ChartTrader turns the chart into your order ticket. Preview a full bracket before you send it, drag every level into place, and manage open positions - breakeven, trailing stop, partial exits and a kill time - without leaving the chart.
One window, four tabs: Main for orders and brackets, L&S for pairs, Telegram for notifications and Basket for a portfolio held at target percentages or a list of orders sent together. The interface is in English, Portuguese (Brazil) and Russian.
See it before you send it
- Risk and reward zones drawn on the chart, with the risk, the reward and the R multiple in the window.
- Drag the entry, stop, target, exit and breakeven lines of the preview. Nothing is sent until you press Buy or Sell.
- Stop and target in ticks, percent or price. A level on the wrong side of the entry is flagged and refused.
- Market, limit and stop entries, one-click quantity chips, and up to 8 partial exits in lots or percent.
- Save your brackets as named presets. They are still there after MetaTrader restarts.
- Every new order, Flatten, position close and pair action you click opens a confirmation window first (lot, risk, margin and prices for orders; the position or pair and its result for closes). You can turn it off in the window, separately for orders and for pairs, and turn it back on from the tab. Cancelling a pending order and clearing a stop or target keep the two-click confirmation by default.
Manage from the chart
- Every position and pending order on the chart's symbol is drawn, with its live P&L (positions), stop and target.
- Drag a stop or a target to move it. Click the X to close a position, with a confirmation.
- The "..." menu on a position: Close, Breakeven, Partial exits, Trailing stop, Kill time.
- Breakeven, trailing stop (trigger, distance and step) and exit lines appear on the chart. Drag them to adjust, or click their X to clear one.
- Trailing stop and breakeven are checked on every tick.
- A kill time closes the position at or after the time you set, with a countdown on the broker's clock. If it ran out while MetaTrader was closed, ChartTrader asks you before closing.
- The "?" on a position opens its details: entry, stop, target, result, best and worst.
- Flatten and Cancel + Flatten, each with a confirmation.
Long & short
- The L&S tab monitors a pair: it takes two symbols you type (the first starts as the chart symbol), and shows a z-score chart with bands, the z-score, beta, a cointegration test (ADF) and the half-life in bars. You choose the timeframe, the number of bars and the bands.
- Open and close a pair with one click, confirmed in a window (or by a second click when the window is off). You set the money per leg and the tab sizes both legs. It sends the first leg, then the second in proportion to what filled.
- Live quotes for both symbols and the open P&L of each pair, before swap and commission.
- Pairs survive a restart of MetaTrader: they are saved and picked up again by the chart that owns them, which must be running.
- An optional stop on each leg, sent with the order and held at the broker.
- For dated futures contracts, the statistics read the broker's continuous series when there is one, and the tab says so when it falls back to the contract itself. Orders always go to the contracts you typed.
Basket: a portfolio at target percentages, or a list of orders
- The Basket tab has two modes, Portfolio and Orders. Each keeps its own list of up to 16 symbols, and the symbol field suggests names as you type.
- Portfolio: type an amount of money and give each symbol a target percentage of it. The targets can total 100% at most; the rest is cash. For each symbol the tab shows its target, what it is worth now as a percentage of the amount, the lots held and the order a rebalance would send.
- Rebalance buys and sells the difference, the sells first. It always opens a preview first: one row per order with its lots, price and value, and each symbol that will be skipped, with the reason. Nothing is sent until you press the send button, and if the size of an order changed while the preview was open, the preview opens again and nothing is sent.
- To move a symbol from one percentage to another, change its target and rebalance. A target of 0% sells the symbol out at the next rebalance. Removing a symbol from the list leaves its position open.
- The portfolio reads what the account holds in each symbol, so shares you already own are counted at once, and a trade made by hand shows as a difference to rebalance.
- "Use current" sets the amount to what the holdings are worth now.
- Orders: a plain list of symbols with lots - a positive number buys, a negative one sells. "Send basket" shows the same preview and sends the list as it stands. The list is kept afterwards, to be sent again.
- The amount, the targets and the orders list are saved and come back after MetaTrader restarts. Each order sent is recorded in a CSV file in the terminal's data folder.
Telegram notifications
- The Telegram tab sends a message to your Telegram chat when a position is opened, a stop loss is hit, a take profit is hit, or the stop is moved to breakeven. Each of the four has its own switch.
- A message carries the symbol, the side, the volume and the price; for an open also the stop and the target; for a stop loss or a take profit also the net result and how long the position was held; for a breakeven the new stop. Times are the broker's.
- No DLL: messages go out through MetaTrader's own WebRequest. You allow the address https://api.telegram.org once, in Tools > Options > Expert Advisors. The "?" button in the tab lists every step.
- You use your own bot: create it with @BotFather, paste its token in the tab, write to the bot, press "Find my chat", then "Send test".
- Once saved, the token is shown only by its last four characters. It is never written to the journal or shown in an alert.
How it works
- Breakeven, trailing stop, exits and kill time are saved and reloaded when MetaTrader restarts.
- In one MetaTrader, only one chart manages a position, so two charts do not act on it twice.
- You can set instructions on trades you open by hand as well as on its own.
- Works on hedging and on netting and exchange accounts, B3 futures included. On a netting account an order that only reduces the position is sent without stop or target, so that they do not end up on the wrong side of the position.
- It does not send new orders on its own. It only closes or moves what you set up (a partial exit, breakeven, trailing stop, kill time) or what you confirmed. The one exception is a pair: once you confirm it and its first leg fills, the second leg is sent automatically.
- The Basket tab sends orders only after you press the send button of its preview; it then sends that preview's orders one after the other. It never rebalances on its own.
- It ships armed: clicking on the chart can close positions, cancel orders and remove stops, with a confirmation by default, and dragging the line of a stop, a target or a pending order, or clearing a breakeven, trailing or exit line, takes effect at once, with no confirmation. Switch off "ARM Click To Close And Drag" and clicks, drags and the Order window's buttons send nothing (instructions already set keep running, and a kill time that ran out while MetaTrader was closed still asks you).
Limitations
- The L&S figures describe past prices only. They are not a recommendation and do not predict that a pair will revert to its mean.
- The L&S tab never closes or re-sends a leg on its own. Its only automatic actions are sending the second leg after the first fills, and cancelling what has not filled of a leg's market order: the first leg's a few seconds after it is sent, the second leg's a few seconds after it is sent (the pair then has a loose leg), and, after a restart, any order still resting from a pair that was being opened. With the platform closed, only the optional leg stop at the broker acts (a VPS keeps the tab running).
- The legs are market orders sent one after the other. Each can fill at a worse price than shown (slippage, gaps). The second can be refused or filled in part, which leaves the first open alone as a loose leg, with an Alert. The leg stop also fills at market, and a gap can fill it past its level.
- A stop that fires leaves the other leg open until you act.
- The confirmation window shows the values at the moment it opens. It does not check that an order is wise and does not protect against a loss. With the window turned off, the Main tab's Buy and Sell buttons send on one click; pair actions and the other closes and cancels use a second click by default.
- On a short chart the confirmation window does not open and the order is not sent: enlarge the chart. The L&S tab's lower buttons can be cut off on a short chart.
- The confirmation setting is shared by every chart in the terminal.
- Magic numbers from base+1 to base+999 (the L&S Magic Base input; by default 20261201 to 20262199) are reserved for pairs on the whole account: other programs must not use magic numbers in that range on the same account, or their positions are taken for pairs. Set the same base on every chart.
- On a netting account, a manual trade on a leg's symbol, including one made in the Main tab, merges with that leg, and any stop or management set on that trade then applies to the whole position, leg included.
- If a pair ends up with a loose leg, you decide what to do: complete it or close it. Nothing is re-sent on its own.
- Breakeven, trailing stop, partial exits and kill time run in your MetaTrader, not at the broker: they act only while the terminal is open, connected and the program is on the chart. The order's stop and target sit at the broker. To manage with your computer off, use a VPS.
- Breakeven, trailing stop, partial exits and kill time send nothing while the quote is missing or looks like an auction, while Algo Trading is off in the terminal or in the program, while the account or the symbol cannot trade, or outside the symbol's trading sessions. What is due stays armed and is sent when sending is possible again, possibly at a worse price: a kill time can pass with the position still open.
- Open positions are managed only while the chart shows their symbol: changing the chart's symbol stops the management of the old symbol's positions (the program alerts when positions with instructions are left behind). Their saved instructions resume when the program runs again on a chart of that symbol (with the same Magic Number for its own positions).
- One terminal per account: do not run the program on the same account from two MetaTrader terminals at once (for example a VPS copy and a desktop). Each would manage the same positions, and partial exits or closes could be sent twice.
- If you switch the account in the terminal, the program stops acting and shows an Alert; attach it again.
- When attached, saved instructions take a few seconds to load. Until then nothing is armed or carried out.
- Saved instructions live in a file in the terminal's data folder. If that file cannot be read or understood, it is set aside and the program starts without those instructions. If a change that moved money (a partial exit sent, a kill time under way, a breakeven done) cannot be written, the older copy is set aside so that an instruction already carried out is not repeated, and a restart before a later write succeeds starts without them. In both cases an Alert says so: check your open positions and set their instructions again. If the file cannot be set aside, the Alert says that too, and a restart may reload the older instructions, so check them.
- If the broker does not confirm an order or a close (a timeout, a lost connection), the program reports it and never sends that request again while its outcome is unknown. For a full close it also stops acting on that position until the order or the position shows what happened, which can last as long as MetaTrader is offline or the close order is still pending. While a close is unconfirmed you cannot move its stop or close it again from the panel; act in MetaTrader. On a netting account the Order window also refuses every new order on that symbol while its close is unconfirmed, and any order that would reduce, close or reverse the position while a closing market order is working. An unconfirmed close you clicked is never re-sent by the program; a partial exit or a kill time is sent again only once the program has found that the first did not go, or went only in part. This waiting does not survive a restart of the program or of MetaTrader. Check the Trade tab: you can always act in MetaTrader itself.
- After an update from an earlier version, on a hedging account, the instructions on positions opened by hand are carried over once. If more than one chart has managed the same symbol, any the program cannot be sure of are not carried over: it alerts and names those positions, and you set their instructions again. If the carry-over keeps failing, none are carried over and an alert says to set them again.
- Exits are market orders: with slippage, a gap or a requote they can fill at a worse price than the line.
- Netting accounts: a limit or stop order sent with a stop and target can leave them on the wrong side if the position changes before it fills. Send pending orders that reduce the position without a stop and target.
- On a netting account, if a chart's management pauses briefly while another order reverses the position, a pending partial exit can still fill and open a position on the other side.
- On exchange symbols, while the quote looks like an auction (bid equal to or above ask), market and stop orders and pair legs are refused; limit orders can still be placed. On other symbols this happens only when the bid is above the ask.
- Flatten leaves your resting orders; one that fills later opens a position again. Use Cancel + Flatten to remove them.
- Positions with magic 0 on the symbol are treated as manual trades: the instructions you set on them are carried out by one chart per account and symbol. Do not run another robot that trades without a magic number on the same symbol.
- The Portfolio mode is long only. A symbol with a short position, or on a netting account with a position that belongs to a pair, is blocked: it counts as nothing held and is not rebalanced until that position is gone.
- On a hedging account the Portfolio mode counts and sells the buy positions opened by the basket, by hand and by the Main tab; positions of other programs and pair legs are not seen. On a netting account it counts the symbol's one position, whoever opened it. A portfolio sell closes existing positions, whole or in part; for a position that carries instructions it is the same as closing part of it by hand in MetaTrader.
- Sizes are whole volume steps. A buy is rounded down, so it never passes its target; a sell is rounded to the nearest step and is sent only when it brings the symbol closer to its target. A stock traded in lots of 100 can therefore stay well under its target; its fractional symbol is a different symbol, added as a row of its own. A symbol whose worth is within the tolerance of its target (the input "Basket Rebalance Tolerance Percent Of Amount", 0.5% of the amount by default) sends nothing.
- Rebalance and Send basket send market orders with no stop and no target, one after the other. Each can fill at a worse price than the preview showed (slippage, gaps), be refused or fill in part; an order that has not filled after about 10 seconds has what is left of it cancelled, except one that closes a whole position, which is left working. Nothing is sent a second time: in the Portfolio mode what did not go shows as a difference, and you decide whether to rebalance again. A symbol with no quote, outside its trading session or with an order still working is skipped, and the preview says why.
- If the answer to a basket order proves nothing (a timeout, a lost connection), the tab reports it, sends nothing more on that symbol until the terminal has been connected for a minute, and never repeats the order. Check the Trade tab.
- A run that is under way stops if MetaTrader or the program restarts, or if the chart's timeframe or symbol changes: the orders not sent yet are not sent, and nothing resumes on its own. The Stop button does the same on your click; an order already sent is not recalled.
- In the Orders mode a sell is a plain market sell: on a hedging account it opens a short position, on a netting account it reduces or reverses the symbol's position. The list does not look at what the account holds and tracks nothing after it is sent: sending it twice sends it twice.
- A basket order that the free margin does not cover is not sent. At some brokers the money from the sells cannot be used for buys on the same day.
- The worth of the holdings and the percentages use the last bid, also when the market is closed. The CSV file records the price planned in the preview, not the fill price.
- One basket per account, owned by the first chart where the Basket tab is opened; other charts show it read-only. The basket's own magic number (the input "Basket Magic", 20262400 by default) must not be used by another program, must differ from the Magic Number and must stay outside the pairs' range.
- If the basket's file cannot be understood, it is set aside and the basket starts empty, with an Alert: type the amount and the targets again. Positions are not touched.
- Telegram messages are sent by your MetaTrader, only while it is open, connected and the program is on a chart. They can arrive late or not at all (no internet, Telegram unreachable, the address not allowed); a message that could not be sent is tried again later, and with more than 100 lines waiting the oldest are dropped. Do not rely on them as your only way of following a position.
- Only the four events are reported, and only for the positions the chart manages: the program's own and those opened by hand on the chart's symbol (on a netting account, the symbol's position). A close by hand, by a kill time or by a partial exit sends no message, and neither do other robots' positions or pair legs. A position opened and closed within about half a second, or closed while MetaTrader was shut, is not reported.
- The bot token is stored as plain text in a file in the terminal's data folder (MQL5\Files\GTR_OVERLAY\telegram.txt), shared by every chart of that terminal. Whoever has the token can send messages as your bot: keep that file private and use a bot made only for this.
- "Find my chat" needs a bot whose updates no other program reads. While it sends a message the program waits for Telegram, 3 seconds at most each time; it holds a message back (10 seconds at most) while one of your orders is on its way or while you are using the panel.
- A text that has no translation yet is shown in English. The Experts journal, the names of the inputs in MetaTrader's settings and the broker's own messages stay in English.
- Dated futures contracts (e.g. WINZ26) are not rolled automatically. Before expiry, close or roll the positions and switch the chart to the next contract. Continuous series (WIN$) are rolled by the broker.
Good to know
- ChartTrader is a manual trading tool. In the Strategy Tester it starts and stops cleanly and, by default, draws nothing. To try it, use the free ChartTrader DEMO on a demo account.
- If you change the Magic Number, keep it above 0 (magic 0 is what trades opened by hand carry) and do not use 3111995, which the program refuses.
- One ChartTrader per chart.
- Languages: English, Portuguese (Brazil) and Russian. By default the interface follows MetaTrader's language; the "Language" input sets it. Alerts and Telegram messages use the same language.
Risk disclaimer
Trading futures, stocks, forex and CFDs carries a high risk of loss. ChartTrader is an execution and management tool: it gives no recommendations and guarantees no result. It is provided as is, with no warranty of uninterrupted or error-free operation. Test it with the free DEMO edition before using it on a real account. You are responsible for the orders you send and for monitoring your positions.
