Download MetaTrader 5

MQL4 and MetaTrader 4 - page 286

To post a new topic, please log in or register
Hi, hope this is the forum for MT4 android related issues. Please let me know in case it's not. The issue is the following: I've installed mt4 for android, configured the metaquotes id in the PC version, and tested in my Demo account. It worked perfectly. Notifications are received in the android...
  Oil price! (5)
Please help! why does MT4 oil price different than correct prices? because of that I'm getting wrong signal from my custom indicator..
Hi guys, i need small pices of code , since the software which i have did not allow  me to open more than one buy or sell positions.  if i opened position for buy Eur/Usd at 1.3340 (after I added some condition ) then I need to open an other buy Eur/Usd position! Is there any way to do that one ?
Hi dears: i know the MACbook support running MT4 EA,Does the ipad support too? thanks.
Hi, Is there a way to send an order there n EA from one account to a different account, using its Login, Pass and server?  Thanks, Eyal. 
Hello, I have a problem with MT4 platform : I use Samsung 4k monitor resolution 3840x2160 and all the letters, symbols and numbers are too small. So I have to double lower the resolution in order to get bigger fonts. There is no resolution settings in MT4 options. The MT4 platform also doesn't...
Hello everyone, I download mt4 app on my iPhone, and I programmed my custom indicator so It will send push notification to my account.  Is there some kind of fee for push notification? 
Hello everyone!  I've made a library in C++ that is responsible for everything I need to use Named Pipes. I want to integrate MT4 with Java application, from where I'm also calling functions from DLL. There is a problem : since I read messages pending on pipes from MetaTrader EA everything works,...
Hi, It seems that MT4 initiates a hard hang when started on a system with kernel debugging enabled.  Furthermore, once it detects that kernel debugging has been enabled subsequent attempts to install mt4 fail. I very recently tried to install mt4 on my win7 laptop where I had enabled kernel...
Hello there,  Will you propose to use personal timeframes? I would like to work on 2 minuts timeframe and it's not possible on MT4...     Best regards. 
When buying/selling, i always add a "print" message to explain which open/close method was used. It is displayed in the "Experts" tab, but not in the txt log file that has a date as name. If that is intented, it would be NICE to have print message added to log file! THanks :) 
Hi all, does anyone know how to add Google ,Apple and other stocks live charts on the MT4 platform ?
  order Modify (3)
Hello to all, hope some can help me i got alwas Error 130 on order modify   extern int    TP = 200;extern int    Spread =  10;extern int    magic = 123456;// function start------------------------------------------------------------------------------------void OnTick()  {//---- //Setup comment...
Hi, I am working on an indicator which I just had run in the debugger. As this (due to a loop of loops of..) runs tooooo long I killed both the terminal and the editor. Now after some changes I want to start the debugger again but the button to start the debugger is grey and disabled ?? I restarted...
I am currently investigating the best approach to minimize/eliminateterminal ‘freeze-ups’ during periods of high volatility. My assumption is thatduring these periods my MT4 instance is reacting to new ticks before it hasfinished recalculating Indicators, hence the ‘freeze-ups’, which can last...
I would like to change my EA to use for Binary Options strategy testing. The idea seemed simple - Open a trade on a new candle and close on a new candle - thisway you could test the ea for 1 minute, 5 minute, 30 minute and even on 1 hour timeframes. I tried different things but a trade just opens...
Hi there,   I'm using an EA on MT4 build 670. I have a question regarding the Sleep() function: if I use the function and let the EA "sleep" for 10 seconds,  will if freeze completely even if there are new pips? or will new pips cause the "start" section run all over for every new pip again and then...
APeng
I got a question about when a order is filled during a backtest: 1) OP_BUYSTOP at  1.3400 Current Ask at     1.3399 Next tick Ask at    1.3402 The limit order is filled at 1.3400, right? 2) OP_BUY if Ask    >= 1.3400 Current Ask at         1.3399 Next tick Ask at        1.3402 The market order is...
hello everybody,  I want to programm an EA, that opens at a certain time (which the user can define) pending orders and I have problems with this date and time functions like TimeCurrent(). Until now I have this:  extern datetime time = D'2014.08.15 11:10:00';  and now I want to compare this time...
Hello, I was experimenting with an EA but I got stuck when I tried to make it close all orders when 20% drawdown is reached. The code is extremely simple, in fact it is randomly opening orders, I just wanted to see if I have basic coding skills. So, up to the question - I tried to limit the maximum...
  HTTP Post (2)
Hello, can anybody show me, simple example for HTTP POST methode with WebRequest function. thanks 
Good morning. I am Luis Eduardo Piedrahita, I work in the Engineering School Antioquia, we are a academic institution. The question is, the software MetaTrader 4 can use in the academy ?  ¿The license is free?  Thanks.       
Yesterday, MT4 popped up saying Build 625 update is done that I didn't aware that all mq4 files were overwritten. Then I backup image (whole hard drive) last night. Until this morning I open one of the mq4 files through MetaEditor - I am surprised that all my recent code is gone. The last code was...
Hallo,  Im looking for a function in MQL4 that allows trading volume to  be set at 0.01 lotz if balance drops 10%   Can anybody help me please?   Kind Regards 
APeng
ObjectCreate() is not working in backtest optimization, right? (I am using build 401 ;) )
Hello, On many of the EA's I have there is a function that will prevent buying or selling at a certain distance from the top or bottom of the market. It is user set in the variables i.e Points_Bars, Points_Restrict, Points_Period etc. Is it possible to code it so the user has the option of entering...
I was wondering if there was a way to watch past candlesticks form. Is there an indicator or way i can do this?   I would like to watch them form instead of just popping up to the current live candle. This would help me a great deal. Especially if I was able to watch them form with indicators that I...
Hi all, I am new here, hope to get support from you. I just downloaded MT 4 platform (482kb) file, then I run this.exe file getting a message that mt4setup.exe has encountered a problem andneeds to close And if click on more details> error signature appname:mt4setup.exe appver:5.0.0966 modname...
hi all friends  i found an automatic ea for putting SL & TP , could any body help me adding a trailing stop to this expert? . i ll appreciate any help or advice
Good afternoon, I hope you are fine. I was wandering of someone could please explain the difference between these two values... MODE_MARGININIT     => Initial margin requirements for 1 lotMODE_MARGINREQUIRED => Free margin required to open 1 lot for buying I can see their values are different. If...