MT5 build 4755 broke my tick chart script, anyone else?

MarketPulse

Market Analyst
Messages
187
Reaction score
51
Location
Dubai, UAE

Updated to the latest MT5 build yesterday (4755) and now my custom tick chart indicator draws maybe 60% of the ticks it used to. Same source file, same settings, nothing changed on my end. I've been running this script for two years without a hiccup and now it's dropping ticks like it's on a dial-up connection.

First thing I did was roll back to 4620 and everything works fine again. So it's definitely the build, not my code. Filed a support ticket but we all know how that goes, probably get a generic "please update your terminal" reply in 4-6 business days.

What's annoying is I can't stay on 4620 forever. Broker's going to force the update eventually, they always do. And I'm mid-way through a project where tick accuracy actually matters, not just for entries but for reconstructing the volume profile on a couple of exotics I'm tracking.

Anyone else running custom tick-based stuff on 4755? Curious if it's just me or if this is a wider thing. Also if someone found a workaround that doesn't involve rewriting half the script, I'm all ears. I'm decent with MQL5 but I'm not rebuilding this thing from scratch on a hunch.

RiskManagerRon

Risk Management Expert
Messages
188
Reaction score
55
Location
Chicago, USA

Not just you. I run a tick-based volume profile tool on a couple of exotics (USDRUB and USDTRY, mostly) and I saw the same drop after 4755. Busy session went from roughly 1800 ticks a minute down to under a thousand on the same instrument, same source. Rolled back to 4620 and it's fine again. So your experience lines up with mine.

That said, I'd push back a little on calling it a straight bug. What I found when I dug in is that 4755 seems to have changed how the terminal dedupes ticks before it hands them to CopyTicks/CopyTicksRange. If your broker's feed sends millisecond timestamps with repeated prices, the new build collapses some of those into one where the old one kept them separate. My indicator used OnTick and CopyTicksRange side by side, and the OnTick side was actually fine. It was the CopyTicksRange pull that came up short. Worth logging raw counts from both to see which path your script is actually losing ticks from.

Workaround that kept me moving without a rewrite: I switched my tick buffer to CopyTicksRange with the COPY_TICKS_ALL flag and a manual dedupe on (time_msc, price) instead of leaning on the terminal's own filtering. Took maybe an hour. Still not perfect, I think the underlying feed handling is genuinely worse on 4755, but it got my profile within a couple percent of what 4620 produces. Not a fix, just a bridge until they patch it or your broker forces you forward.

What feed version is your broker on? Mine's on the newer LMAX bridge and I keep wondering if that's part of why I'm seeing it this badly.

PipHunter

Senior Trader
Messages
209
Reaction score
45
Location
London, UK

Wait, this is the first I'm hearing the dedupe thing and honestly it's kind of freaking me out, because my whole volume profile is built off raw tick chunks, not bars. If the terminal is silently collapsing ticks before I even see them then everything downstream is cooked and I wouldn't even know.

Ron, if you're deduping on (time_msc, price), aren't you deleting volume though? Two separate trades hitting the same price inside the same millisecond are still two trades. That's real size. Now they look like one. So your tick count looks healthier but your profile comes out thinner than it should be, no? That's the part I can't get my head around. Unless I'm misreading what you're collapsing.

I'm on 4755 as well and mine drops maybe 30 to 40% depending on the pair, way worse on the exotics than on EURUSD. Havent rolled back yet, mostly out of stubbornness. One thing I noticed is the Symbols dialog tick history and what CopyTicksRange hands back don't agree, which is what made me lean API layer and not the broker feed. Did you check that side by side?

Also your post cut off at "Still not perfect, I" haha. What was the rest of that sentence? Cause if the manual dedupe breaks on fast sessions then I'd rather just stay on 4620 and eat the nag screen.

You must log in or register to reply here.