Forum

POSITION_COMMISSION-property removed!?

I just noticed that MetaQuotes' own Commission () -function no longer works, because its code is... double CPositionInfo::Commission ( void ) const { return ( PositionGetDouble ( POSITION_COMMISSION )); } ...and POSITION_COMMISSION seems to no longer be a member of

Determining netting or hedging mode with MQL5 ?

Hello, according to the MQL5 documentation it should be possible to determine whether an account is under the netting or hedging mode the following way: AccountInfoString ( ACCOUNT_MARGIN_MODE_RETAIL_NETTING ); Unfortunately this only produces a compilation error — any ideas, please

Economic Calendar: delayed, incomplete and wrong!

Dear MetaQuotes, can you please do something about your economic calendar — just have a look and you'll quickly see what's the issue yourself (and it's just one example for many more): Data published on time by other calendars like Investing.com appear as "N/D" in yours. And maybe even worse

MetaEditor: looping through enumerations?

Hi everybody, in MetaEditor, is it possible to loop though enumerations as per the below parameter info (I don't mean switching between overloads 1 and 2, but looping through all possible ENUM_SYMBOL_INFO_DOUBLE values in the below example)... ...or do we have to open and consult the documentation

New Market Watch columns not working

Dear MetaQuotes, it's been a good idea and high time to include additional columns for the Market Watch-window, probably most importantly the daily change- and delta-columns (I hope both in points and percent), but unfortunately they don't work, have a look: Can you please fix this

Economic Calendar: Fatal Error!

MetaQuotes finally implemented its economic calendar functions in MQL5, but it's all useless if their economic calendar figures are all wrong. Please compare MetaQuotes' figures at the bottom (according to them and wrongly positive for EURUSD) with two other economic calendars (correctly negative

Script removing EA?

Hello, is it possible to write an MQL5 script that removes the currently active EA? ExpertRemove () seems to only work when used in the EA itself, not in a script? Many thanks

Storage: revert to later revision not working

Hello, according to the MetaEditor Help it should also be possible to revert to a later revision: However, let's say that — in the above screenshot out of the MetaEditor documentation — I first reverted to the earlier version no. 10 by mistake and wanted to undo my mistake by reverting back to the

Economic calendar-signals dangerously delayed!

Dear MetaQuotes, we customers have been waiting for a long time for your MQL5 economic calendar functions and finally they are there (thanks for that!), but the delay at which data are published is often ridiculously huge! For example take the last US Nonfarm Payrolls (as of 5th July 2019) — they

MQL5: Economic calendar events (data) delayed!

The new MQL5 economic calendar functions https://www.mql5.com/en/docs/calendar are in principle great stuff, but I noticed that many calendar values are delivered with (partially huge) delay, e.g. the last ISM United States Manufacturing Purchasing Managers Index (PMI) as of 1st July 2019 was