Forum

MQL4: Calls from EA to Currency Strength Ind return wrong values

I have [written] a quite simple currency strength indicator (for CAD), it just uses the average of the close price of all seven CAD crosses. Then, since that line is quite jagged, I added a moving average to smooth it out. When I call it from an EA with iCustom, it get 'similar' values, but not the

Trades do not appear until re-login [with investor password]

I'm logged into an account with the investor password. New trades do not show up in the Trade tab, nor the Account History, until I login again (either re-log in to the same account or restart the platform). 1) Does the broker have the ability to hide trades? They are not just delayed, because they

What happens if OnTimer triggers while OnTick is running, or vice versa?

In OnTick documentation, it says a new tick is ignored if OnTick is still running. Is OnTimer ignored too? And vice versa, what happens to OnTick if OnTimer is already running

How to fill space between Histogram objects

I'm trying to fill the area between histograms. I have already seen this article: https://www.mql5.com/en/forum/138945 And this: https://www.mql5.com/en/forum/119974 Neither of which have a good answer. Using the Ichimoku Kinko Hyo indicator as a sample, it would appear that their built-in operates

Way to find signal in MT4 platform?

Recently started looking at various signal providers here on MQL5 site. Noticed that one cannot search within the platform, by name, for a signal. This seems ridiculous. So am wondering, is there a way, on this site when logged in and looking at a signal, to "favorite" it so when in the platform, it

Problems with DRAW_ZIGZAG in MT4?

I have written an indicator which looks much like a zigzag, using the newer DRAW_ZIGZAG type instead of the older DRAW_HISTOGRAM. It works fine for a time, and then the buffers "bug out". Here is a pic of what it looks like after it changes

Load History from Server Programmatically

Searching over previous posts, I found an old one related to this called: "Load Server History - script for MetaTrader 4". But I am wondering if there is a way to do this from within a script (or EA, ind) now since Build 600 (or 7xx...)? Does anyone know of a way to get all the history from the

How to programmatically get the value of an indicator which is applied to the value of another indicator

I have never found a way to do this; does anyone know if there is a method. For example, calling one can put an RSI on a chart, then an moving average of that RSI. In code, how do I get the value of that MA on the RSI

MQL4 Debugger (Since Build 600)

Hello, Have never used MT5, but now having been forced into build 600+, was trying to take a look at the debugger. Has anyone used this (successfully)? Is there any documentation about it? I placed a couple breakpoints and tried to start (F5); it opened a chart, choosing H1 AUDCAD, which would not

Where do EAs log post-600?

Since the changeover to 600+ I have noticed odd logging behaviour, namely, that Print statements in my running EAs do not seem to output to the experts tab anymore. Is this another thing that changed? Where are my log statements going? I'm using /portable mode, but that should not matter(?)