MQL4 and MetaTrader 4 - page 535

To post a new topic, please log in or register
Hi, does MetaQuotes offers demo-accounts for b600+ for tests and automated updates? Where can I found them as my broker hasn't updated yet. Gooly
Last night my metatrader crashed and would not stop showing the "not responding message", so I uninstalled it and reinstalled it, only to find that my experts and indicators were missing, this didn't worry me too greatly because as a rule I always save me EAs in another file, what bothers me is...
Hi, my 'first' compilation' creates this warning: arrays passed by reference only myIncl.mqh      663     29 the code looks like this: void setPairs(string arr[][]) { ... Does this mean mt4 600+ makes no difference between string arr[][] and string& arr[][] Gooly
Hi, My disk c: is almost full. I just add a new disk. How can I have installed all my Mt4 build 600 terminals in F:\Users\Alain\AppData\Roaming\MetaQuotes\Terminal\ or any other F:directory ?
Hi My EA can not work on forward test ! My MT4 build 600 back tests is ok and good . Why ?
Hi, My broker does not return a value for MarketInfo(Symbol(), MODE_STOPLEVEL). So, I use a hard coded specific value for stoplevel. (Currently testing only one market). Most of the time, this value works, but failed sometimes. Is there any way to try modification again after the error 130? I...
"while the language itself has been brought closer to MQL5 to the maximum possible extent. This means that MQL4 trading robot developers can now also enjoy all the advantages of OOP: classes and structures, inheritance, Standard Library, resources and much more" Above is what the help...
Hi, is there a chance to tell mt4 b600(+) not to use ...\AppData\Roaming\... for indis, scripts,...? I want to eliminate the use of this: C:\Users\cas\AppData\Roaming\MetaQuotes\Terminal\A906EB93F9C6A030A98883A99CCDB83A\MQL4 and to have only the inst.-folder which is of course not a sub-folder of...
Hello On my VPS I always had nine MT4 terminals running. Each has its own installation (different folder). All terminals are started with the scheduler progressively (every minute or two). Since build 600, it doesn't work anymore. Terminals are hanging, not responding. CPU is 100%. Of course it...
Hi guys, After two days works finding what was wrong.... 1) in MT4 509 I've used : if(atd_FixTime[u]!=iTime(0,ati_TmFram[u],0)) in V600 : that make as result : 0 !!! the good way for V600 is now: if(atd_FixTime[u]!=iTime(Null,ati_TmFram[u],0)) if help.., perhaps a bug..?? D edit for SRC...
Hi, I searching in web and cant understand how it works... I have EA that at the end should write collected info in file (txt or csv) NOT BIN I'm collecting data in array struct dati  {   int            Tiki; //   int            Trend;  //   int            Sk;  //   double...
MT4 Build 509 I have been struggling to get a handle on a problem with an EA. The problem presents as intermittent stalls in the running of the EA. Software Overview: I have an EA running in MT4 and a C# program running as an independent process. The EA sends short messages (~60 bytes) via Windows...
Hello, I'm struggling to get my head around the following: #property indicator_buffers 5double Buff1[];// ---int init()SetIndexBuffer(4, Buff1);// ---int start()CVF()// ---void CVF()double Var1 = 1.33;Buff1[i] = Var1;Print("Debug " + Var1 + " - " + Buff[i] + " - " + i); This will return something...
Hello, I want to create variable up_0 and up_1 where up_1 is lag 1 period of up_0. I can do it like that if ( High[i] > High[i+1] ) {up_0[i]=1;}if ( High[i+1] > High[i+2] ) {up_1[i]=1;} But I really want to apply the below approach. up_1(i)=up_0(i+1) Could you please tell me how to do that? Thank...
could someone please help me?..my indicators are in the folder but they are not showing on the list custom indicators list when i open MT4
One of the great feature of the previous version was its ability to place tiled windows exactly where you want them. The order was determined by the order of the window tabs at the bottom of the screen. This is a fabulous feature which made it very easy to get my windows in order whenever I want....
I have csv file like this: 1392249600;EUR;CHF;USD;JPY;GBP1392163200;GBP;JPY;USD;CHF;EUR1392076800;GBP;CHF;EUR;JPY;USD1391990400;JPY;USD;EUR;CHF;GBP1391904000;GBP;EUR;CHF;USD;JPY1391731200;GBP;EUR;CHF;JPY;USD1391644800;EUR;CHF;USD;JPY;GBP1391558400;JPY;USD;EUR;CHF;GBP There can be over 15 000 rows in...
When i do backtests with M1 data for a couple of years, of course the log file gets massive. As the backtest goes on I see a definite slowing of progress (slowing of simulation time covered per unit of real time). And I think this is related to the log file getting too big. Because as we know - a...
I have noticed that the result of calculations with normalized double values return insanely lengthy answers since build 574. An example is: Print("profit/loss=",result); // result gives -16.0000000000049 I know that DoubleToStr can be used to shorten it up, but I wondered if better(shorter)...
Hello! I have found this strange bug in MetaEditor 5.0 Build 883: Using //text, or /*text */ tags gave the same result.
Have any of you tried to do the backtest with the new version 604 and WallStreet FOREX Robot or Volatility Factor EA? To me the platform shuts down unexpectedly after reading the M1 data and when try to open the first trade. Thank you ...
  file path of experts (11   1 2)
Hi ! im developing a installer for my Eas and indicators to put directly on mt4 folder, is there anyway to recognize if i have to put that files on C:/Program Files/metatrader4/mql4/experts o in the user folder? Asi you told me depends of the terminal if its opened in portable version or not but is...
Hi, I very new in forex hoping somebody can help me in instatrader MT4 minilots currency chart. 1) I using other company MT4 have minilot chart i paste below.. 2) Instatrader i cannot found even i using mouse right click to 'show all' option also cannot found, any idea and how to resolve this? Thank...
Hello, MetaTrader 4 Build 600 If I execute this script on a weekly graph : //+------------------------------------------------------------------+//|                                                       Test01.mq4 |//|                        Copyright 2014, MetaQuotes Software Corp....
Pipeclient.mq4 load but the error is 0. same code PipeClientPure.mq4 without CFilePipe class run well. I test modify MQL4\INCLUDE\File\ FilePipe.mqh but Modification to no avail. I even deleted FilePipe.mqh files.The program is still running. What's wrong ?Forgive me for using...
Hi Question: Where can I find these subjects below defined in more detail ? I understand MODE_LOWER and MODE UPPER the best at least mostly. Backround of the question: I'm trying to learn more about: mode - Indicator line index. It can be any of the Indicators line...
Somebody know if MT4 has some function to change time range in all price windows at once? Thank you trader201
I had an EA that worked in MT4 up until Build 604. Now the EA does not work as it had. In reading the information about the recent updates, I have been unable to determine areas to investigate for making the appropriate changes. However, in the article, https://forum.mql4.com/60555 In item # 6...
Every since the MQL4 update a few days ago, the Rectangle tool does not work, it draws out but disappears after a few seconds Anyone else experiencing this ??
Hello, i've encountered a very strage situation while investigating the behavior of pending orders ( slippage, respond time, etc... ). Sometimes, there is a pending order (with a valid ticket) which cannot be deleted by OrderDelete() nor closed by OrderClosed() It seems like the order become a...