Codes

Simple Order Panel for MetaTrader 5

Source code of simple order panel

Didi Index (Cleaned/Reversed) for MetaTrader 4

Slow Line of the original Didi Index

Didi Index (Cleaned/Reversed) for MetaTrader 5

Slow Line of the original Didi Index

EVZ Reader for MetaTrader 5

Script to download EVZ data for Euro FX Vix indicator

EVZ Reader for MetaTrader 4

Script to download EVZ data for Euro FX Vix indicator

Cercós Chaos vs Movement for MetaTrader 4

Volatility indicator

Cercós Chaos vs Movement for MetaTrader 5

Volatility indicator

Stable Damiani Volatmeter for MetaTrader 5

Volume/Volatility Indicator

SSL Channel Chart for MetaTrader 5

Trend indicator

NNFX Auto Trader for MetaTrader 4

Manage risk like No Nonsense Forex easily in MT4

Articles

GUI: Tips and Tricks for creating your own Graphic Library in MQL for MetaTrader 5

We'll go through the basics of GUI libraries so that you can understand how they work or even start making your own

Complex indicators made easy using objects for MetaTrader 5

This article provides a method to create complex indicators while also avoiding the problems that arise when dealing with multiple plots, buffers and/or combining data from multiple sources

Forum

Lparam of chart-change events

I noticed that chart events have different lparam values depending on the type of changes done. However, nothing about those values appears in the documentation of chart events. Is it documented anywhere else, or does anyone know what each value means, or what are all possible values? For instance

Metaeditor freezes

Metaeditor seems to have a bug where it freezes with some specific autocomplete suggestions. In my case, whenever I added a function call with one parameter (exactly one parameter, not more) and pressed "t" (or "w" to a lesser extent) that caused metaeditor to freeze indefinitely (at least I had it

TerminalInfoInteger causes abnormal terminations (sometimes)

I have a program where I check TerminalInfoInteger to get keystates of buttons in Timer. However, sometimes when I remove the EA, seems that if I catch them in mid-execution they get stuck and cause abnormal termination. Is it a mt5 bug? Or is there a way to solve it? How should I report it? This is

TranslateKey is completely messed up

I've been doing some tests translating keyboard events to a string (kind of what you would expect any edit field to do, either in metatrader, or your web browser, or anywhere). Nothing too crazy at first, you press 'a', TranslateKey returns 'a' (or 'A' if shift is pressed). But when dealing with

What is the point of ex5 libraries?

I've been messing with libraries, trying to get them to work for some ideas for the market, but I noticed a few things that would make that impossible (aside from them not allowing the export of classes, which can be somewhat solved in very convoluted ways): the functions in them get imported to an

Free product activations

Let's say you get a market product for free, and later on its price changes to some amount (so now it has a limited amount of activations). For the users that got the product for free, what would happen? Would they get X activations when the price is set (having to purchase again if they run out) or

Is it really impossible to avoid beta builds?

I've been trying to manage my mt5 terminals to avoid beta builds, following some instructions from this forum topic (more or less). I uninstalled all terminals first (including personal data, common data folders and even another broker's mt4 terminal) and then reinstalled MT5 from 2 brokers and

Can't access protected functions from derived class

I noticed that from a derived class I can't access protected functions of an object from its base class (a pointer to other object), however from the base class I can access private functions of the other object (of the same type), and more strangely, from the derived class I can access and modify

No logs in non visual tests

I noticed that any non visual test (not an optimization pass) from an EA doesn't log anything I put in print functions , as it used to happen before. Is it a recent bug, or is there any reason for that change (I'm using build 3440)? *Now I have to write any log into a txt file instead, that solves

[SOLVED] Zero division error, but how?

I'm getting some zero-division errors in my code and I don't even know why, or how. I have tried checking the values in every possible way: How could that even be possible? My program is a bit heavy (and probably that is where the cause is), but even then, what could make the value pass the first