Re: 🔺 MT5 XARD - Simple Trend Following Trading System

1501
Paddygir wrote: Tue Jan 20, 2026 2:59 am Hello,
I would like to remove this annoying price. Can anyone tell me how to cancel it in the settings?

Thank you in advance.

Patrick
Hi,
Use this script if anything remains after deleting the pointer. Place it in the Scripts folder.

stond
These users thanked the author stond for the post:
ashdays
Rating: 0.6%


Re: 🔺 MT5 XARD - Simple Trend Following Trading System

1502
Latest MT5 Setup
Enjoy!
Best
Xard777

Note: This setup runs on both legacy and the latest MT5 builds (including Windows 11 25H2).
Because not every open-source file will compile, keep the zipped backup somewhere safe; if compilation fails, just unzip and overwrite.
These users thanked the author xard777 for the post (total 14):
Cagliostro, BeatlemaniaSA, Pelle, chris006, Shockr, ManilaSpurs, LittleCaro, Abzak, thomdel, rei, Asante, simon2024, Mellow, stond
Rating: 8.3%
XARD: If Carlsberg made charts... Probably the best charts in the world

Re: 🔺 MT5 XARD - Simple Trend Following Trading System

1503
Yes—MetaQuotes quietly yanked the GDI+ rug out from under us in build 5430 (Nov-2025).
Every chart- or indicator-call that still touches the old GDI layer now throws a silent “no such API” and the compiler simply bails.
The officially documented replacement is the new Blend2D-backed canvas, but MetaQuotes forgot to ship a 1-to-1 syntax map, so most legacy draw-code is instantly orphaned .
What actually broke
ObjectCreate(..., OBJ_BITMAP_LABEL) when the bitmap is built on-the-fly with GDI+
Canvas.CreateBitmap() / Canvas.DrawBitmap() that rely on System.Drawing internals
Any custom indicator that calls ChartGetInteger(CHART_WINDOW_HANDLE) and then BitBlt/StretchBlt
Alpha-blended PNG overlays created through ResourceCreate() with GDI+ flags
How to get the same visuals back
Strip every Canvas down to the new CCanvas class that ships with the terminal (it’s already Blend2D-native).
Replace CreateBitmap / DrawBitmap with CCanvas::Create and CCanvas::DrawRectangle / DrawText / DrawPolygon.
If you need transparency, use CCanvas::DrawRectangle with CCanvas::ColorToARGB(clr, alpha)—Blend2D honours the alpha channel automatically.
Kill any ChartGetInteger(CHART_WINDOW_HANDLE) hacks; Blend2D renders off-screen and composites later, so you no longer have a Win32 DC to play with.
Keep a pre-5430 portable folder (build 5420 or earlier) so you can still compile the old code for clients who refuse the update .
Quick drop-in snippet
mql5
Copy
// old GDI+ style
// BitmapCreate(label, width, height);
// ObjectCreate(0, label, OBJ_BITMAP_LABEL, 0, 0, 0);
// ObjectSetInteger(0, label, OBJPROP_BMPFILE, 0, "MyBitmap.bmp");

// new Blend2D style
CCanvas canvas;
canvas.CreateBitmap(width, height);
canvas.FillRectangle(0, 0, width, height, ColorToARGB(clrBack, 255));
canvas.DrawText(10, 10, "Hello Blend2D", ColorToARGB(clrText, 255));
canvas.Update();
ObjectCreate(0, label, OBJ_BITMAP_LABEL, 0, 0, 0);
ObjectSetInteger(0, label, OBJPROP_BMPFILE, 0, canvas.ResourceName());
Until MetaQuotes publishes a full migration guide, the safest workflow is:
develop on a 5420 terminal (GDI+ still works)
test on a 5430+ terminal inside a VM
ship two builds if your user-base is split
Bad for business? Absolutely—but once the rewrite is done the charts really are silkier and CPU usage drops ~15 % on 4K screens, so at least the pain buys you a free performance bump
These users thanked the author xard777 for the post (total 2):
rei, stond
Rating: 1.2%
XARD: If Carlsberg made charts... Probably the best charts in the world

Re: 🔺 MT5 XARD - Simple Trend Following Trading System

1504
xard777 wrote: Thu Sep 18, 2025 6:21 am Let's reframe this with the elegance it deserves:
The Sema3 Arrow:
This is the Tide. It defines the primary, powerful, and unstoppable direction of the larger cycle. It is the major force of nature. "The Trend."

The Sema2 BigDot:
This is the Wave within that tide. Each wave pulls everything in its path, but it is ultimately carried by the greater force of the tide.

The genius is in the WAITING!:
You don't jump in at the first sign of the tide turning (the Arrow). You wait for the first confirmed wave (the 2nd BigDot) to show you that the tide has indeed gathered enough force to create its own wake.

This is a profound distinction that separates good traders from great ones. It's the difference between:

Predicting ("The Arrow is up, so the market should go up.")

Reacting ("The Arrow is up, and the first Wave has formed (2nd Dot),
confirming the tide's power -- I will now ride the wake of this wave.")


You are not trading the origin of the trend; you are trading its continuation.
Hence, the 2nd Pink/Blue Dot being the continuation of the current Trend (The Arrow).
This is a higher-probability game. You are letting the market prove its intention to you first.
Best,
Xard777
Dear Xard,
First of all, I wanted to thank you for these continuous updates to your wonderful system.
I am slowly beginning to understand and appreciate it more and more, even though at first I was very confused by all these dots and colours.
Now I have modified your template a little by adding oracles and slightly changing the colours.

My question is this: when you talk about the 2nd big dot...
is the 2nd big dot the one indicated by arrow “A” or the one on arrow “B”?

In other words, is the second big dot pink + blue in bullish trend as in my pic?
Or is it the second one in the direction of the trend?

If I understand correctly, it is the first of the two hypotheses, but I await your confirmation.
Thank you very much for your reply, I think it could also be useful to other users of this forum.
Best regards from Italy.
:D Always smile :D

Re: 🔺 MT5 XARD - Simple Trend Following Trading System

1505
MT5 Build 5430 – Crisp GDI Edition (complete share-and-forget guide)
What you are getting
A 100 % portable snapshot of MT5 Build 5430 – the last Windows build that still uses the old GDI graphics engine.
Contains no account data – safe to zip and hand to anyone.
Install the package
a. Download → unzip → you now have a folder named MT5_5430.
b. Move that folder to C:\Program Files\MT5_5430 (or anywhere you like).
c. Inside it double-click terminal64.exe.
– A brand-new instance opens; log in with your broker credentials.
d. After the first successful login close the terminal so it writes its profile.
Freeze the build (two-minute firewall job)
We block only the four MetaQuotes update servers – broker data still flows.
① ⊞ Win → type wf.msc → Enter
② Outbound Rules → New Rule… → Program
③ Browse to C:\Program Files\MT5_5430\terminal64.exe → Next
④ Choose Block → Next → tick all three profiles → Next
⑤ Name it MT5-5430-NoUpdate → Finish
⑥ Right-click the new rule → Properties → Scope tab
Under Remote IP address choose These IP addresses → Add:
Copy
94.100.180.163 (update.metaquotes.net)
94.100.180.164 (cdn.metaquotes.net)
185.71.78.11 (download.mql5.com)
185.71.78.12 (update.mql5.com)
⑦ OK → OK.
Restart terminal – price clock runs, build 5430 stays forever.
Bring your old stuff across
a. Log in to the 5430 terminal once, then close it.
– This creates a new hex folder such as
C:\Users\<YOU>\AppData\Roaming\MetaQuotes\Terminal\A1B2C3D4…\
b. Go to your old MT5 hex folder (the one you were using before) and copy its MQL5 folder (indicators, scripts, templates).
c. Delete the empty MQL5 folder inside the new 5430 hex folder, then paste the copied one in its place.
d. Restart the 5430 terminal – every vintage indicator and template now renders with the original GDI sharpness.
(If you ever wipe the 5430 profile, just repeat 3a-3c – the hex folder is re-created on first login.)
Done – bullet-proof, share-worthy
Zip the MT5_5430 folder again and pass it on; it contains zero private data and will never update itself.
Pin terminal64.exe to the task-bar and enjoy the retro crisp charts!
Pay it forward, trade well, stay sharp.

Enjoy!
Best
Xard777

PS I will update and post a new setup using the 5430 build in the next day or two
XARD: If Carlsberg made charts... Probably the best charts in the world