Forum

stdlib.mqh / stdlib.ex4

Hi I got a new version of MT4 earlier today, and it has introduced a new error in and existing EA of mine, and that I haven't been able to fix, so I'd like to hear if you can help me. The thing is that I have get error 'Cannot call 'stdlib.ex4::ErrorDescription', 'stdlib.ex4' is not loaded' My

Cannot open an indicator from the Market folder in an EA

Hi First of all, if you have already replied to similar questions, then please accept my apoligies, but then it would be really helpful, if you could send a link to your previous reply, as I've not been able to find any similar questions on your site. I just upgraded to MT4 build 646, where after I

GetRight

Hi I have been trying to use the GetRight program to download a .csv file from the internet via my MQ4 code, but it is giving me some problems (it refuses to save the file). Could you please advice, if I can use some other technique to do this, preferably MQL4 code. Thanks in advance. Best regards G

Stop trading for some time after being stopped out at SL

Hi all I'm trying to find out how I can make my EA stop trading after being stopped out at SL. I found some code on MQL4 that looks usable, but I'm a bit confused about one of the statement, and I'd like to ask you to verify that I understand it correctly. The code can be found in the following

Code error

Hi all I am currently trying to find an error in my code. I've been debugging this part of the program for some time by now, but I've not been able to find the error. It must be a very simple one, as the code is very simple, as you can see below. The problem is that when I try to calculate

Copy data from an indicator into an array

Hi I have three question, but they are all related to the same issue. I have an indicator that creates an array with some data, and I'd like to import all the data to my EA, i.e. not only for one candle, but the whole array, i.e. something like Testing_iCustom = iCustom(NULL, 0, "ABCD", 2, 4, 8, 16

Operators in MQL4

Hi I am reading a source code to an indicator that I'm trying to understand, where there is a strange mix of the && and || operators, i.e. it uses these operators together in one statement without clarifyint it with brackets. I've tried to find information about which operators has higher priority

The expert log

Hi all I know that this is probably a very basic question, but I haven't been able to find the answer, so I try to ask you ... I have a demo account at Alpari UK, where I'm testing a EA that I've build. I can see that there is an error in the EA, and I'm currently investigating it. The Expert

Getting information from indicators inti EA

Hi all I'm trying to find out how I can import information from indicators to my EA. I can see in the examples that comes with the MT4 environment that I've downloaded how I can access data from the standard MACD indicator, but I'm currently looking at two other indicators that I'd like to use. One

Changing the TP price

Hi all I'm quite new in this world, and I have one simple question. Is there a standard variable that I can use to lookup the current TP price? Thanks in advance. Best regards G