Download MetaTrader 5

MQL4 and MetaTrader 4

To post a new topic, please log in or register
New MetaTrader 4 Platform build 1065 The MetaTrader 4 Platform build 1065 will be released on 23 March, 2017. In the new version, an error has been fixed connected with the restart of Expert Advisors on charts after switching timeframes. Now, Expert Advisors do not stop, and are correctly...
Hey there, I have a simple coding question: I know it is possible to link orders with an external EA using Magic Number (for example an EA can update the SL of an order if it has a certain Magic Number). Is it also possible to do the same using the Comment of a order? Thanks for letting me know!
Hi guys, I was hoping someone could help me out. Coding is not a strong point for me but I am trying! I'm experimenting with basket trading and would like to try something out but I'm not sue how to do it. Assuming I have multiple sell orders spaced by x amount. When I reach a certain number of...
Hi, Firstly, I Have never  write new topic this forum, the format may be incorrect, sorry. I would like to develop my first EA. I tried to convert Custom Indicator to EA, but failed. This codes was correctly compiled as Indicators and succeed sending mailalert. Therefore, I thought that the convert...
Greetings, Firstly, Im new to this forum, so hopefully this is the right section to post. Secondly, I am new to coding and MQL4. I have read the book as well as the reference from MetaEditor and I do get the concepts. I tried to write a very basic EA, of a Moving Average Crossover, for now only...
Hello, I'm backtesting my EA with tick retrieved by Tickstory Lite 1.5.3 8, I have IG MT4 platform build 1065. Timeframe M15 , symbol is Gold Why my modelling quality is n/a? Thanks Giovanni
Hi all, When i create a pending order on MT4, I am able to set the expiry date and time too which is excellent. My question is, which time will MT4 take reference to for the time that I input for expiry? My local time or the MT4 time? Thank you
Tradeing Trader
Hello, i have compile my EA in the new MT4 editor and i get from him a error message for this lines:      static string Cy[0];     static string Newv[0];     static int Tf[0]; The error message that i get is '[' - invalid index value Have there somethink change complite in the new MT4 Ediotr or...
Hi everyone, I am sorry if this question doesn't belong to this forum, but frankly I can't find where else to post it. I've been trying to download Metatrader 4. I click the "Download Metatrader 4 for PC" button at https://www.metatrader4.com/en/download, and install the binary. Somehow, I end up...
I have contacted the service desk about this issue. This is what I sent them.... Hello, Please either remove the option to download MT4 from your website or fix it so that it does actually download MT4 and not MT5. We are getting sick and tired of answering the same question over and over again....
(Just started learning couple days ago,apologies for the sloppy coding) Just wrote an EA which long when  (FastMA2<=SlowMA2&&FastMA1>SlowMA1) and short when (FastMA2>=SlowMA2&&FastMA1<SlowMA1). Only one position at a time. I tried using OrderModify to close the trade just to get used to the...
Good day all, I would like to encourage you if you could please kindly read entire post as I also put effort to describe my problem in best possible way. Inquiry regarding the Swap value - referring to the actual Swap column located below in MT platform where the list of currently opened trading...
Hi guys, how can I code that my EA should enable "ALLOW LIVE TRADING BUTTON"? Thank you in advance.
Hello everybody greetings I have a question that I can not solve Imagine that we draw an ellipse, for that I use 3 values. Price1 + time1, price2 + time2 and scale. How do I know what price is marking the curvature of that ellipse at any time ?, or rather, how to know if the price exceeds or does...
is it possible somebody to make this Blank.mq4 able to recieve drawings and objects? thanks
I'm using iCustom ichimoku  double tenKansen =iIchimoku(NULL,0,9,26,52,MODE_TENKANSEN,1);double kinjusen =iIchimoku(NULL,0,9,26,52,MODE_KIJUNSEN,1); I want to tell the programme to buy when the lines cross. I've tried to use something like  buy when  tenkansen = Kinjunsen but this doesn't seem to...
  mt4 build 1066 (13   1 2)
Ive been trying to send an EA for automatic validation but keep getting Please recompile your product with new compiler the moderator tells me I need the latest version build 1066 (21 Apr 2017). But I cant see where I download it from? Can someone please help.
Hi, My problem is the following code snip below: if ( (ReferencePrice - 10*Point) < Bid < (ReferencePrice - 10*Point)) ;   OrderSend (...............) My order executes at any point above (ReferencePrice - 10*Point) and vice versa. Is there any way of creating a range, so that when the Bid is...
Hy guys, I have created a lot of objects on my chart. I want to be able to move from one object to another by pressing the tab (forward movement) and shift+tab(backward movement). How can I code that please. Thank you in advance.
Hallo fellow community members, I initially wrote this message in a genera section and was advised  to write it here. I also gave my code in sections that could not compile. So here my message again.  I am trying to put up my very first EA but am kind of stuck with a certain part of the code. I want...
Hello world :) EDIT: I added the complete loop (should have done that right away, apologies) I have a few MT4-coding miles on my counter but I bumped into an error that I simply cannot seem to correct. I have an EA that opens orders with a loop bool SendSingleTrade(string symbol, int type, string...
I have this type of error (Array out range error) when I backtesting this EA. How can I identify the point of issue? Thanks Giovanni // Variabili globalibool check = true;extern string ParametriValori = "Inserimento volume degli ordini";extern double volume =   1;extern string ParametriCandele =...
  Elite indicators :) (14934   1 2 3 4 5 ... 1493 1494)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert?
Hi, is it possible to draw the line of a buffer over the spark plug 0? I tried it like this but it does not work! for(int I=-10;I<N;I++){      if(Linee==true){ExtMapBuffer1[I] = Up;ExtMapBuffer2[I] = Dw;}}
Since upgrading to MetaTrader 4.00 Build 1031 (17 Dec 2016) I face connectivity issues on my virtual server. I have 4 clients running on a virtual server (Windows Server 2012 R2). It now happened two times, that after about a week one of the terminals showed "No connection" in the status bar. I...
Dear all, where can I find a complete historical data to test my EA? I need as much data is possible....to have a quality model test close to 99.99% Thanks francesco
how to change this indicator to EA any help? this is trend line break indicator. when candle cross trend line or horizontal line it will send alert. thanks in advance.     #property copyright "" #property link      "http://" #property version   "1.00" #property description "Audible alert when...
I've been searching for a solution for a couple of days now, but still not 100% sure if at all this is possible... what I want is broken up in 2 pieces: 1. Say I want EURUSD "chart" -> this will open without showing a chart, but only info - i.e. window that spans across the screen, but is only x...
Hello, is it possible to make a EA work same way in a live chart like he do in the backtest with control points mode? How are the candelsticks calculated in control points mode, is it possible to calculate them before the candel is finish or does this only work when the candel is already finished?
  Usefull links/threads/tools (35   1 2 3 4)
The thread about threads: what's going around the forum everywhere  ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread  After Requests & Ideas (MQL5 only!) - the thread ============ General rules and best pratices of the Forum thread ============ Traders joking...
12345678...1225