MQL4 and MetaTrader 4 - page 438

To post a new topic, please log in or register
Hi, On MT4 build 600, 604 or 610 if I start to debug an indicator and press OK on the indicator's properties window (start window) the MT4 quites from the debugged program same as if I had pressed the stop button on the editor screen. MT4 does it only if the "Input data" tab is in foreground on the...
Would any one know a way, how to read in the path to the data directory - using the legacy build 509 code + winapi?
vrumchev
hi .. i've upgraded from an old MetaTrader I was using in 2011 to the new one (because the old one kept asking me to load liveupdate), however I have a tonne of analysis saved on charts in the previous version and would appreciate any sugestions on how to copy it over thankS!
Hello everyone, I am trying to understand how the EventSetTimer() works. Hopefully, some one could address it for me. If I attached the EA at 12:40PM and set EventSetTimer(900) (which is 15 minutes), would it mean the OnTimer() will run at 12:55PM, 1:10PM, 1:25PM ...? How do you code to set the...
Hi companions in misfortune, Why do you think about an indic that wouldn't run anymore when you re-start the plaform until you recompile it ? This indic built under MT4 use simple init(), deinit(), start) & some includes . All of these files are correctly placed in the new rooming V610 Folder....
Hi, I using for development QtCreator and newwest MinGw. For Build 600 I didnt get any problem. After that build I got SEGFAULT when I try call any function. I using def file; Example: extern "C" { int dll_test( MqlStr * str); } int dll_test( MqlStr * str){ info("test"); return 0;};DllMain...
Hi, I wrote my TimeShift-include-file. It is saved in ...\MQL4\Include\.. I compiled it with no errors and no warnings, an can use it by #include <TimeShifts.mqh> But if I want to use it in an imported way: #import "TimeShifts.ex4"void checkTime(datetime gmt);datetime getBrokerTimeShift(); //...
Hi, I recently got an EA coded, however due to the recent update, it's not working. I was wondering if there was someone out there who could sort this out for me? I know there is some changes to the language and it is a matter of working through the errors, but I'm not the best coder :/ Really...
Hello, With this script: //+------------------------------------------------------------------+//|                                                   spDateTime.mq4 |//|                        Copyright 2014, MetaQuotes Software Corp. |//|                                              https://www.mql5...
//+------------------------------------------------------------------+//| Expert initialization function                                   |//+------------------------------------------------------------------+void OnInit() { ChartSetInteger(0,CHART_EVENT_MOUSE_MOVE,0,true);...
I have just installed the new build and spent quite some time making changes that will be acceptable. Looks very good! My EA writes log data to a series of files - information to help find errors, MIN & MAX data and also a log of when contracts are liquidated These files have moved across to the...
New MetaTrader 4 client terminal build 507 has been released The build adds new features to MetaTrader 4 client terminal: Fast registration of trading signals Updated signals window Ability to set the spread when testingAttention! From August 1, 2013 desktop client terminals older than build 500...
Hello, Can anyone provide me a download link for old MT4 Build 509 ?
What is the difference between these two indicators and where can I download the delta version?
Hi, 2 days ago I got my installation automatically upgraded to 600 (broker: Alpari) and after fixing many compile errors and warnings reported by the new compiler, I could launch back-testing again. I see that new tester performances are now really worst than those of last version: this is a well...
hi friends . i have a problem with new MQL4.... in this version my expert dont work properly... this Error appear : array is out of range...and 4051 error...i have a array in this EA and it worked very good in old MQL4... what can i do ????
I had four MT4 platforms on my computer using an earlier version. All of these platforms were updated to 610 without warning. Unfortunately, my broker, MBTrading doesn't support any platform greater than 509. I need to know how I can go back to version 509. I deleted everything and re-installed...
Hello, Which version of Visual Studio C++ to download for : 1 - Learn the syntax of C++ and try to use my new knowledge in MetaEditor. 2 - Maybe develop C++ code in Visual Studio and then use it in MetaTrader 4. Regards,
This option of the MetaEditor / debugger (build 604 or >) is very interesting. I cannot find any documentation. How can I get results?
Dear All I always fail to compile MQL4 Code in Windows 8. The error message: "can not create the interface of MQL compiler" Is there some one can help me? Thank you
Hi all, after the update of my MT4 platform, I have this error when I try to compile my experts. Where is the problem? Thank you!
<Ads Removed By Moderator>
Edition of 600 built after glad debug function has been enhanced, but a fatal bug exists for the Japanese programmer. If you use the comments like the two-byte Kanji characters such as Japanese, it is not possible at the end of the string until you move the cursor. This is because it is counted as...
  Trade Viewer (2)
Hi guys, i'm new to the forum and world of trading Was just wondering if there's any way to view the trades being placed by others on mt4 on whatever pairs and time frames? Something like subscribing to signals without actually having someone else trade on your behalf, and just being able to see...
please help me for new mql4 array. Error :'[' - invalid index value PricesmsAlert.mq4 17 18 // addParam(string key,string val,string &array[])string params [0][1];ArrayResize( params, 0);int status[1];addParam("xml","<?xml version=\"1.0\" encoding=\"utf-8\"...
I just notice that global variables declared in a EA keep their value when you stop the EA, and are restored even if you close terminal and reboot your machine. So these datas are certainly saved on the hard disk but where and what is the format ? And... while I'm here,... ;) are these datas saved...
I downloaded the files from this post (post1) because I wanted to start working with it. I set up a new demo account with my old broker so the MT4 is untouched and clean. I put the EX4 files in experts and reloaded the platform. But they won't show up on the platform. Is there suppose to be a delay?...
I'm affraid I already know the answer to this one, but I thought I asked just in case. Is there any way to influence where files for history, experts, etc. are placed? In the past they were located on my D disk which is a RAID 1 set up. Now they end up in a user directory on my C disk which is a...
Tradeing
Hello, when ii try to change the value of a setting "input Takeprofit" then i get the compiler error message "constant cannot be modified" but why? It was always possible in the mql4 language to change the value of such a extern setting parameter. Is there a solution? I am thinking to write again...
I have all indicator MQL4 files present in expert/indicators directory. I restarted  MT4 and looking for attaching one indicator from custom Indicator tab in navigator but I can not see the indicator in navigator.  I can see <some number> more.... and there are no rest of the indicators.  I am...