Download MetaTrader 5

MQL4 and MetaTrader 4 - page 278

To post a new topic, please log in or register
Hi, I got a EA made which seems to work when I set it when the market is open. But if I set it on say sunday for a Monday open it will not open a order. I need this as I cant be in front of computer when the market opens Monday my time. What would be the reason for this? hally2710
Hi, traders    I build EA with OrderSend like this My condition, when complete current bar : If close() > MA(11) then Ticket = OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, StopLossLevel, TakeProfitLevel,.... Ticket = OrderSend(Symbol(), OP_Sell, Lots, Bid, Slippage, StopLossLevel,...
Tooltip object disappear if  i Restarting Terminal. Is that normal..? it will be better if tooltip still exist.
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...
I have data offline EURUSD1, EURUSD5, EURUSD15, EURUSD30, EURUSD60, EURUSD240, EURUSD1440 but when opening them in offline chart, I can not other timeframes   People can help me! Thanks 
Is there a way to get the previous order modified time corresponding to that order ??
MQL5 YOU SONS OF CHEAP 5 DOLLAR BITCHEZ
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...
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...
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...
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...
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...
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...
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...
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...