MQL4 and MetaTrader 4 - page 666

Server time is an invention made by forex brokers to sabotage development of profitable automated trading. Nothing more nothing less. There is no other purpose. It is well known fact that charts and technical analysis made using timeframe smaller than 4 hours is not very reliable and profitable...
Hello, I am using MT4 with an Alpari account however there is a few problems. The first problem is that the equity is shown in a currency called USC and i am in the UK so how do i change it to show my equity in £s? The second problem is that the time shown on the charts is wrong for example it is...
Is there a way to get the previous order modified time corresponding to that order ??
[Deleted]
I'm seeking help,need a coder for the Indicator RSI Improvedto give me a signal when it crosses Thanks
I configured email alerts in tools options. I then sent test which said successful Journal also says it sent text.   But text never gets to my iPhone It was working for a bit but then last nite and since i'm not able to get message alerts. Not sure what happened...no changes made. I rebooted VPS...
[Deleted]
Hello, I'm running a EA on a 4 hours chart, for example, but want to get the value of a moving average on daily timeframe but in the time that the daily candle closed. The same applies for a 5 minutes chart, for example. If I'm running the EA on a 5 Minutes chart and want to get the moving average
[Deleted]
Hello, im pretty new in creating signals. I have to backtesting strategies for multiple commodities.. First i wanted to start with simple MA crossover but problem is that MT4 is creating me multiple trades insead of one i want at cross of MAs. can you please fix this for me. I just want one trade...
Hi,   I found this code in some article around here. input double    Lots = 0.1;//+------------------------------------------------------------------+// Connect the DLL adapter, using which we are going to use the DLL neuronet created in NeuroSolutions#import "NeuroSolutionsAdapter.dll"int...
This is an ea to open orders based to time data supplied in a comma separated values in .csv file. It works brilliantly in a script but in an ea it simply unable to open file supplied. #property copyright "Copyright 2015, MetaQuotes Software Corp."#property link      "https://www.mql5.com"#property...
[Deleted]
Hi, I've been back-testing my EA over longer periods (1-4 years) in order to find a 'good' set of parameters. I'm trying to avoid curve fitting by doing so, with the assumption that curve fitting can be minimized over longer time frames (I'm using a 15 min chart). Curve fitting has been a problem...
[Deleted]
  Abnormal program termination  (13   1 2)
Hi, I have coded a DLL which works fine most of the time, but if I leave it running for 10-20 hours, an "abnormal program termination" occurs (I run it on 2 charts and it seems to occur on both of them at once). I have absolutely no clue what could cause it. Can somebody please answer these
My EA opens order 15-20 pips lately? why this happens? is this market volatile or server low speed? I used TextContextBusy() before placed order!, bcoz i use couple of my EA's. meantime mostly all EA used to place order on different time. your suggetion is appreciated.
Dear Colleagues, I just started learning mql4 and searching for a help. How to put "open/close trade" function to this example ? I would like to open a BUY trade once stochastic red line(signal) crossing stochastic (main) green line upwards. And close if stochastic green (main) line crossing signal...
[Deleted]
My pending order line disappeared. I have reinstalled twice and the issue persists. Any idea?
  uninit reason 1  (13   1 2)
Hi, I am loading a custom indicator with my EA and turn on auto trading... From time to time I get "uninit reason 1" in the log file (experts tab) for this indicator. I have checked the forum and also the code base on mql4.com and read the relevant documentation. It appears that this is not an...
I have two machines running Windows 10 Build 10041. The first machine upgraded automatically overnight. The next morning, out of curiosity, I launched MT4 and it worked.  With a great deal of excitement, I then used an ISO to upgrade my second machine, optimistic of achieving the same results.  No...
[Deleted]
Hello, I'm trying to make a break between each position. I want the EA to open position exactly after 10 minutes of the previous position closing . This can be easily  accomplished through Sleep() function but the problem is it doesn't work in strategy tester so i can never test this strategy...
What is better for the META TRADER 4 transaction server AMD or INTEL processor? What MEMORY MODULES are better for META TRADER 4 DDR3 or DDR2 ? Please for the answers for above 3 questions.
I have just switched from the XP to Windows 7 and am trying to install MT4 as I am use to for last several years. However, it will not give me a choice of loading directory and instead it loads directly into C: \Program Files and the User area. What am I missing? How can I select loading directory...
Hi, I have a MA EA which should only place a single buy/sell order on a cross over. Any way to stop it from placing 2, sometimes 3, on a single crossover? void OrderEntry(int direction)   {   if((Hour()>=StartTimeMA && Hour()<=FinishTimeMA))  //Preferred trading...
I'm searching for a way to change, at run time, the MessageBox font to unispace eg "Courier New". The reason being that I desire to output columns of numbers, which I want to right justify.   
Anybody knows where MT4 stores profiles? The file path, please ~ 
hi,   I would like to know if it is possible (and easy)  to get a report from your live(or demo) account history that looks the same as the report from the strategy tester. This to test how an EA did foreward testing compared to backtesting.    thank you in advance!  
Hi Guys! I just coded a "Buy button" in my EA using the feature "OBJ_BUTTON" ObjectCreate(0,aux_Button_name,OBJ_BUTTON,0,xposition,yposition); and put it into the "OnChartEvent"  for when I click on it, the EA issues an order.. It works on Demo/Live ,  however when I run it over the Strategy Tester...
[Deleted]
My Order Line does not appear on my charts anymore. Here are some facts: *The volumes colour is different to the colour of my background. *I have tried placing an order on a fresh chart with no indicators whatsoever and the order line still does not appear. *The trade levels are ticked in options....
Hello, I want to insert a few arrows "Stop Sign" in the Chart and afterwards I want to get the X-Position from the arrows back with the command ObjectGetValueByShift("arrow_Name",i) while i is the arrow (Shift) Position in the Chart. But that doesn't work...the value is always zero.... can you help...
I've just started learning myself mql4 and so far it's going better than a week ago. I'd like to know how can I use a Comment that is posted on the Chart by a seperate indicatot to be called in an EA for use there? Basically what I'd like to do is using a comment that is posted of the HTF indi...
I am studying the great article by Andrew on using NeuroPro with MT5 recently posted on the MT5 forum. Neural Networks Cheap and Cheerful - Link NeuroPro with MetaTrader 5 www.mql5.com/en/articles/830 I understand most of what's happening but I do not speak/read Russian and I don't have a Cyrillic
Please refer to the codes below. Is there any potential issue if I calculate order profit before closing the order? How should I improve the codes? Thanks for help!      for(int i=ArrOrderSize-1; i>=0; i--)     {      Chk=OrderSelect(ArrOrderIDs[i],SELECT_BY_TICKET);      if(Chk>0 &&...
Let's say there are many loops of orders, each loop follows previous loop. In every loop, there are a series of orders and a whole loop means the series of orders are all closed based on a condition. In order to recover the tracking once EA/terminal/PC is restarted while a loop is still ongoing,...