Download MetaTrader 5

MQL4 and MetaTrader 4 - page 726

To post a new topic, please log in or register
I have 6 servers to choose from in my brokers MT4, and somehow the platform switches to the one with the biggest lag every half an hour or so. How do I set a fixed server that will always remain the same?
I want to write a EA that uses moving averages cross Slow being the 5 period Fast being the 3 period the EA will check the if the fast ma is above the slow on the previous price bar close all open orders go long one mini place TSL 50 pips when MA's cross again close all trades and go short I think...
anyone knows of good 3 MA / 4 MA system ??
USA east time? my computer time? could I adjust the setting? Thanks a lot~
need help in ea code ea has to open one order per candle and close the position after candle is closed so need help to close the position as soon as candle closed extern double lotsize = 1;datetime order_time = 0;int init()  {   return(0);  }int deinit()  {   return(0);}int start(){   double...
Newbie. First downloaded META4 then upgraded to META5 and deleted META4. Any problem?
Does anyone know if it is possible to call a managed dll file developed in say c#from mq4 code. I have seen examples on how to call functions from mq4 to that liveinside of unmanged code developed in C++ dll files. Anyway, any examples of howto go about doing this would be great using mq4 and visual...
Dear Developers, Can the MT4 API work 2gather with ASP.NET (VB code) framework 2.0 and above? And will be using MS. Visual Studio 2005? Where and how to get the MT4 API and a reg. demo a/c? Thanks all Regards, Eugene
Hi, I wonder if there is any function or a smart way to clean everything that was retrieved/cached by OrderSelect() or any other function ? Something similar to RefreshRates(), something that will make me sure that next time I call OrderSelect it will return correct data and that in OrderTicket()...
Hi - How do I generate a real-time stream of 1 hour candles (High, Low, Open, Close) on "EUR/USD"? What if I need 4 hour candles instead of 1 hour? What needs to change? Is there an indicator that already does this or do I need to create one myself?
Hello, Is it possible run existing EA from a script/ea ? If so, is it possible to define the ea settings like Pair, Timeframe and parameters ? Thanks in advance, Manu
How do I OverLay tick Chart on another offline tick chart? i.e. GBPUSD on EURUD - Tick Timeframe (Both Offline charts) I want to add the OverLayChart indicator on an offline chart i.e. !TickGBPUSD,M1 offline onto !TickEURUSD,M1 offline. The 2 indicator logtickdata and posttickdata, would create any...
Hi guys, I got tired of having Fibs on MT4 with levels that are not able to be modified individually... so I coded my own Fib which can have separate characteristics for each level... like different colors and thickness here is a pic of the completed indy : the question i have now is :...
hi did anyone have indicator that will draw horizontal line off last candle high and low ?
I want to study call .ex4 file in library folder. but i failed, please help,thank you ! first I create a library file test1.mq4 as below test1.ex4 in library folder...
Hi Staff: I've tried logging in a few times to my live MT4 acct, and I can bring up the Navigator as well as the Terminal, but I can't see the charts and graphs. What must I do to correct this? It's like flying blind. Help please.
Sir, I am using different indicators and calculations to identify levels of good support and resistance. Most of the time i get 5 or 6 differenet values. eg: 1. Daily R2 2. BB upper band level, etc.. How to identify the value close to the current bid. Means the lowest value above the current level...
Hi all, I'm really sorry to bring this up here, as it's completely off topic (and off forums :P). I'm thinking about setting up a MQL4 quick coding service. Cheap, for people here who need a program done quickly and with relative quality. Now eascoder511 beat me to it by days :P, but as I see it...
Hi All, I`m quit new here, and i reading trough the manuals I would like to build an EA. I copied a EA from someone else to make some changes that it fits my one criteria. If I try to backtest this system it does not take any positions. I hope someone can advise how I can make amendments in the...
Does anyone out there know of a program that has been built to evaluate the accuracy of one minute bars to five minute bars to fifteen minute bars, etc.? In other words evaluating whether the highest high over five minute bars ties out with the high recorded on the five minute bar?
Hello. I have a question. I have two robots and I want to make them working together in the same MT4 platform, but one of them work in EUR/GBP and the other one work on EUR/USD. The problem is that the opened trade by one of them, is closing by the other EA, and both robots collide it between them...
  Sending Mail (1)
In Tools/Options/Email 1916XXXXXXX@mobile.att.net Is mobile.att.net correct for AT&T? I tried and it says that message failed. Can anybody help please. Thanks a lot.
Hi, usually im using a lot of scripts with alpari and other broker... for exsample: BUYSTOP Code: OrderSend(Symbol(),OP_BUYSTOP,lots,Ask+distance*Point,0,(Ask+distance*Point)-stoploss*Point,(Ask+distance*Point)+takeprofit*Point,"Pending BUY",123,0,CLR_NONE); Simple BUY withouot SL/TP Code:...
Hello, I need to calculate the difference in pips of two values. e.g. // some price double var1 = 1. 3574 ; // current price double cprice = Close[0]; How to calculate the difference of pips in these variables, considering the decimal places used by different brokers. Thanks in advance.
Good afternoon, My question is: Can I program and run EA for 9 different symbols only on the one chart with started EA in the same time ? I mean about send, modify, close orders for many symbols (for example: EURUSD, EURGBP, EURCHF, AUDUSD, USDCAD, USDJPY, EURJPY etc... ), but EA will run only on...
Hello, i have tested on multidemo MT4 this great EA "Cyclops v 1.2.mq4"..where is yours best setting? and the important question...why open only Buy orders? Thanks and Regards.
I want to program an ea, which automatically changes the contract of the underlying for example Ger30Sep11, Ger30Dec11, Ger30Feb11,.... Is there an possibility to get the actual contract automatically from the MarketWatch. Or how can I program that?? Sometimes, before I can see the new contract, I...
Hello MQL Team, exists a tool, which shows a Chart from Date to Date. For example: I will show a Chart from 01.01.2009 to 31.12.2009 in a D1, H4, H1, 30min timeframe. Is that possible ? Than i will the the actually Chart overlay this Chart from 2009. Exists this tool or it is possible that you...
Hello Can anybody write an ATR indicator for sessions? For example,we have London session, from 9-18 of MT4 time,I want the indicator calculate(High - Low) of London session,and then do it for last 90 days and Sum all ((High - Low)/90) For example, Today (High-Low) of London session is 50 pips...
I installed 2 MT4 platforms in my computer I run EA_1 on platform1 which is a demo account, I also run EA_2 on platform2 which is a live account. Now I want to EA_2 read the orders (signals) from platform1, how shoudl I do ? I have ever seen a post about this issue, but i can not find it now ....