MQL4 and MetaTrader 4 - page 811

hi i want to make this simple EA which will simply do reverse trade of the movement in the daily candle, so suppose the daily candle has moved 100 pips then it will do revrese for 10 pip TP the following code i tried to make, it is not working...can you help? extern int MagicNumber = 33333;double...
//+------------------------------------------------------------------+//|                               EA_Testing(Buy kýsmý tamamdýr).mq4 |//|                                 Copyright 2014, Baris Yalcinkaya |//|                                              https://www.mql4.com...
Is anyone else having this problem? The EA's have been upgraded because of the new build but they won't import into the MT4 platform. Have tried re installing everything, any suggestions
Hello forum, I am trying to write this simple "code" to link lot size to Account Balance, for example, if balance is between 1500 - 2499 = lotzise 0.2, 2500 - 3499 = lotzise 0.3, etc So far I got this (see below) - within Start ( ), with the straightforward logic of simply "rounding" the proportion,...
[Deleted]
Hello, I am developing a program that invents trading algorithms, implements and tests them. I already found out, that all my ideas could be realized with JForex. But JForex has the disadvantage that almost no broker supports it. Therefore, I would like to ask you if the following is also possible...
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?
[Deleted]
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!
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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
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?
[Deleted]
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\"...
[Deleted]
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...