MQL4 and MetaTrader 4 - page 795

Why code advice show two different color. what is meaning of this. Below picture u will see: iBands and iBandsOnArray show in one color and iBarShift and iBars show another color. why?
During the built of the code I use this : at the begginning of a function : if(Fbug==1) {ResetLastError();} then, at its end : if(Fbug==1){F04_Bug("F11A.HrBrokSession");} this function give me the last error message if exist, with the name of the function, so I'm able to track error. I disable...
Hi, the editor in build >600 doesn't like the function StrToTime. Calling it causes the error 4051. What's wrong?? code is here: //+------------------------------------------------------------------+ //| test.mq4 | //+------------------------------------------------------------------+ #property
  Congratulations  (12   1 2)
MT4 is officially unusable. After working all weekend to update my EAs to be compatible with the new build. I reboot terminal.exe and lose chart settings. EAs aren't loading correctly, and several EURUSD H1 charts were opened for no apparent reason. If B600+ was intended to push people to MT5, it...
I compiled a pre 600 mq4; there were no errors, no warnings. When I attached it to a chart, nothing is displayed. It is supposed to draw trendlines; it uses ZigZag.mq4. After some checking , I realized that if the depth in ZigZag is set below 4, it no longer displays the trendline and ZigZag is
[Deleted]
  Encrypt my EA  (4)
Hello, Who know how to encrypt my EA, I am willing to pay. Thanks!
[Deleted]
In this original mq4 line of code (before v600) StringConcatenate (strYear, "." , strMonth, "." , strDay, " " , strHourPad, nHour24, ":" , strMinute); when ran in v600 and up, the single space " " character is not generated like in original mq4. It becomes a NULL character. Only by putting it as 2
  short question  (1)
I'm new to MT4 programming, I guess the answer to my question is simple: in the definition part there is: double A[]; in the program part there is: A[0]=trend[1]; // trend[1] in this case has the value -1 Comment(trend[1]," ",A[0]); now, when looking at the comment window by launching the...
[Deleted]
Been recompiling EA for years now, with minor chages to values. No errors. Tried to change a message within quotes, no big deal, right? and got 107 errors. Cancelled that recompile and compiled with NO CHANGES and got 107 errors, mostlly "expected ;" but they were there. What is happening .......
can anyone help me to solve tis problem.. gi_280 = 2; gi_280 = 1; < Codes removed by Moderator, Do-Not post Decompiled codes > description show that '20' - cannot convert to enum '80' - cannot convert to enum thanks in advance
The Code is in the codebase.
New article Working with GSM Modem from an MQL5 Expert Advisor has been published at mql5.com: There is currently a fair number of means for a comfortable remote monitoring of a trading account: mobile terminals, push notifications, working with ICQ. But it all requires Internet connection. This...
Hello I run a optmization test on Friday (2014-02-14) and recorded results. I then ran the same optimization test today and recorded results and they were different??? Why?? The settings are exactly the same, and by the way - I save/load them from a .set file.The from and to dates are the same and...
New article MQL5 Programming Basics: Lists has been published at mql5.com: The new version of the MQL language has provided developers of automated trading systems with effective tools for the implementation of complex tasks. One cannot deny the fact that the programming functionalities of the...
Good afternoon, in first sorry if the answer already exist, but I didn't found it. I readed there a problem with sendmail function with the build 600, and I have this problem, but it resolded with the build 604. My question is, how can I do to update the build 604 please? And more I hadn't help...
  HELP!!!!  (24   1 2 3)
I cannot possibly read all these questions. I apologize if I am repeating anyone. I paid a developer in the jobs section to write an EA for me. It is mine. Why is it write protected???? Why am I unable to move the file to another computer??? Patricia
My EA performs as it should during Strategy tester (in visual mode), but when used on a demo chart it places martingale trade too early. Strategy: Sell order is placed when conditions are met, then when price goes higher (and trade is negative) the EA is meant to place a martingale trade at the...
I mean when I back test an EA, I will get a graph about all the orders; shall I draw a graph about only some of orders? such as MagicNumber==1 or 2 and so on? if i can, How?
Hey everyone. I´ve done a long search but found nothing. What i want to know. I´m planning a signal service for some of my costumers. What i want is that trades of my account are copied and filled into costumers accounts via expert. Why expert? First thing, it should be free but just for my...
I know some have already ask on how to do that in MQL4, & some better programmers have done it through their own DLL. I'm just wondering why MQ didn't expose that function to load & save expert.set file within MQL4 since it's already accessible through "manual" method. Anyway, I've made a...
[Deleted]
Hello, Please help on this issue. 1. I created a new profile for ver509. 2. How can I use the profile from ver509 on ver600 MT4? 3. I saved a new profile as Testpro, and I copied. 4. Then I pasted it into ver600 Profile directory. 5. I launched MT4 ver600. However, there was no Testpro Profile. 6....
I am attempting to use Multiterminal with 5 digit accounts and am having difficulty getting it to accept orders... Can someone tell me where to look for whatever error there may be in my set up......? All slave accounts are connected..... the master is at the top of the list.... I would like to know...
[Deleted]
Hello Everyone, I try to compare MA15 today and MA15 yesterday; MA15 yesterday vs MA15 the day before yesterday. Then I record that 2 values in 2 buffers. I try two approaches: The first one: compare, assign value, make buffer equal to that value. This needs 2 comparisons. the 2 buffers are:...
Hi, Before build 600 there was a nice search function in MetaEditor in the navigator. This came in handy for searching functions (basically anything) and getting the syntax or information in the bottom window. I do not see this in the new build 600+ metaeditor. Is it still there? Here is the old one...
Hi, I keep putting custom indicators like CCfp, MTF_Forex_Freedom_Bars or what have you in my ...experts\indicators directory. When I start MT4, they don't show up in the navigator. I am using Windows 8. How can I solve that? Many thanks, quasar
  iMAOnArray()  (6)
I'm using iMAOnArray and I seem to be getting a straight line. I'm using it on an indicator but within that same indicator itself, is this the correct way to us iMAOnArray? Could this be why I am getting a constant value along the whole indicator?
Hello. Is someone able to edit the code of this EA so it will attach to a chart in the new build 610 of mt4? I think this is a profitable EA. Will share my thoughts/settings
Hi, the 3rd tab of the backtest-options I find the Optimization - Limitations like Consecutive win (btw is that a minimum- or maximum-limit?). Is there a possibility to define my own function for the selection of the genetic algorithms?
Hi, more annoying than a major problem, but when I try and use the following I get the "truncation of constant value Error" #define INTERNET_FLAG_RELOAD            0x80000000#import "wininet.dll"   int InternetOpenUrlW(int, string, string, int, int, int);#importInternetOpenUrlW(hOpen, sUrl, NULL, 0,...