Short answer: The MetaQuotes sources checked for this article document two deletion conditions for a custom symbol: changing any of six specification properties deletes its stored minute and tick history, and a name collision with a broker symbol deletes the custom symbol itself. If your history vanished and neither of the conditions documented in the sources checked here explains it, its cause is not identified by those sources — and none of them describes an undo. In a reported case on the MQL5 forum, the user states they made no custom entries and only worked on reading ticks — and still lost the entire history more than once, with CopyTicks returning zero without an error; the .tkc file that had held several million ticks was about 1 KB when they reported it. From that report alone it cannot be determined whether one of the documented conditions was the cause: whether a property change (including an indirect, linked one) or a name collision was in fact involved is not established by the report. First action if this happens to you: copy what is left before you re-import over the symbol or keep working in that terminal — then work through the triage below. Keeping a copy of the data outside the terminal’s storage is a general precaution to consider; its effectiveness against this failure — and whether such a copy would be complete or restorable — is unverified (section 4).
1. The documented deletion conditions — what the checked sources say. MetaQuotes’ documentation of custom symbol properties states it in one sentence: “the minute and tick history of a custom symbol is completely deleted if any of the following properties are changed in the symbol specification” — SYMBOL_CHART_MODE (the price type used to build bars), SYMBOL_DIGITS, SYMBOL_POINT, SYMBOL_TRADE_TICK_SIZE, SYMBOL_TRADE_TICK_VALUE (including its profit and loss variants), and SYMBOL_FORMULA. Two properties of this list matter for triage. First, “changed” includes changes made by programs: the same documentation covers setting properties through the CustomSymbolSet functions, so an EA, script or service that writes symbol properties is inside this route. Second, the properties are linked: the documentation warns that “setting some properties leads to automatic changes in others” — after setting SYMBOL_DIGITS, SYMBOL_POINT changes as well. A tool that adjusts a seemingly harmless setting can therefore trip a history-deleting property without ever naming it. The second documented route is removal of the symbol itself: MetaQuotes’ announcement of the custom-symbol feature states that a custom symbol’s name “must not be equal to the names of symbols provided by the brokers. If you connect to the server, on which a symbol with the same name exists, the custom symbol will be deleted.” Note the difference in what the two conditions describe: the first is stated as deleting the history; the second is stated as deleting the symbol itself — the announcement does not separately describe what happens to stored history in that case.
2. The reported case with no identified cause. In the forum thread, the user fxsaber reports (the thread’s machine-translated title renders “custom symbols” as “custom characters”): “A very unpleasant bug with custom characters. The tick history of the custom characters can completely disappear.” And the detail at the centre of the report: “I’ve encountered this a few times already. Not doing any custom entries. Only working on reading ticks. And at a certain moment, all of a sudden, the entire history disappears. CopyTicks returns zeros without errors. Using GUI tools, the same thing. tkc becomes 1 Kb, while it used to be several million ticks.” Their conclusion is about trust, not about a fix: “I can’t trust MT5 to store my ticks, because it may delete them during one of my reads.” The context is tick collection — using the terminal as the store for ticks being read and accumulated — not a one-off import. In the portion of the thread reviewed for this article, no cause was identified and no fix was recorded. On the reporter’s account the use was read-only — but the report does not establish that every property, including ones changed indirectly through the linked-property effect, stayed untouched, or that no name collision existed, so the documented conditions can neither be confirmed nor excluded as the cause from the report alone. Treat the symptom signature as the case’s usable content, as one user’s unverified report: sudden, total loss; a silent zero from CopyTicks rather than an error; the same emptiness in the GUI tools; and a .tkc file of about 1 KB where several million ticks had been stored.
3. Triage: check the documented conditions first. Check in this order, because the first two are documented conditions you can check for — and, where one of them was involved, avoid repeating; checking them does not restore history that is already lost. (1) Did anything write properties? Audit every program that runs against the symbol — EAs, scripts, services, “symbol synchronisation” utilities — for CustomSymbolSet calls, scheduled or not, and remember the linked-property effect: a change aimed at SYMBOL_DIGITS drags SYMBOL_POINT with it, and both are on the deletion list. A property change made while the history was being built deletes it just as completely as a manual edit in the symbol settings. (2) Is there a name collision? If the custom symbol’s name matches a symbol the connected server provides, the documented outcome is deletion of the custom symbol on connection — rename the custom symbol so it cannot collide. (3) Did anything change the formula? SYMBOL_FORMULA is on the deletion list, so a formula edit is a property change like any other: treat any formula edit as a history deletion, whether the symbol was edited by hand or by a program. If all three answers are genuinely no — no writes, no collision, no formula change — your case is not explained by the documented conditions you have checked. That does not prove its cause is the same as the reported case, and it does not rule out an explanation in the terminal’s settings or logs; it means none of the documented conditions checked for this article explains it, and the remaining evidence is the journal and the file record.
4. Preservation: keep a copy the terminal cannot rewrite. In the reported case the disappearance was silent (no error, a normal-looking zero result). One general precaution to consider — a recommendation, not a documented guarantee — is a copy the terminal cannot rewrite. The practices in this section are general data-keeping measures, not procedures MetaQuotes documents for this failure, and their effectiveness against this failure, their completeness, and whether a copy kept this way can be restored are not verified here. In general terms, the precautions to consider are these: keeping the source data — the original tick or bar files you imported or collected — in folders of your own outside the terminal; exporting accumulated ticks out of the terminal if you collect them there; and keeping a backup of the terminal’s data folder. None of these is a procedure MetaQuotes documents for this failure, and whether any of them would be complete, effective against this failure, or restorable is unverified. After a loss, re-importing from files held outside the terminal, or re-collecting, are options to consider: the documentation checked for this article contains no description of a restore inside the terminal, and whether a given loss can in fact be recovered is not confirmed here.
Where it goes if it recurs. If the triage in section 3 is clean and it happens again, the practical route is to report it where this case was reported — the MQL5 forum — with the terminal journal from the time of the loss and the before-and-after .tkc sizes. What you can hand over is a dated record that none of the documented triggers you checked was present. On recovery, the documentation checked here describes no in-terminal restore for a deleted custom-symbol history; re-import from an external copy, or re-collection, are the options to consider, and whether they succeed in a given case is unconfirmed.
In plain words: The sources checked here document the terminal deleting a custom symbol’s history when any of the six specified properties changes, and deleting the symbol itself on a name collision. The reported read-only disappearance comes with no identified cause — the report alone cannot show whether a documented condition was behind it — and in that report CopyTicks returned zero without an error. So do not rely on the terminal as the only store of your tick history: keeping source files and copies outside it is a general precaution to consider, though its effectiveness against this failure is unverified.
Sources: the reported case and all quotations from it are from the MQL5 forum thread “Issues with custom characters in MT4/5 include disappearing tick history and incorrect values” (page 2144); the six history-deleting properties and the linked-property warning are from MetaQuotes’ documentation, “Custom symbol properties” in the MQL5 Book; the name-collision deletion rule is from MetaQuotes’ announcement “MetaTrader 5 Platform Beta Build 1625: Custom financial instruments”. All checked 5 December 2026. Related on this site: our verification log.
Last updated: 5 December 2026

Leave a Reply