Download MetaTrader 5

MQL4 and MetaTrader 4 - page 242

To post a new topic, please log in or register
  DAX 30 m1 data needed (13   1 2)
Hi, I'm hoping that someone will be able to help me. I need dax30 m1 data for back testing purposes. Is there anybody that has been trading with a mt4 IG index platform for longer than 12 months who could supply me this historical data. New accounts only have a couple of months. I may be willing to...
Hello, I have tick data in .csv format and I'd like to write a converter to mt4 format. Data contains of 4 columns: currency; date; buy price; sell price, e.g.   As far as I know mt4 data format looks like <TICKER>,<DTYYYYMMDD>,<TIME>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>.  So it's rather easy to...
Hi All, Hopefully someone can assist... I am doing an instructional video showing how to import historical 1-minute data into MT4 and get 90% quality back-test results. I use a GMT Broker (trading week starts Sunday 2200) and the third party data I am importing is also GMT - so a straight import -...
I am having problem to login to trade account for both live and demo account using Metatrader4 Fxunited Client terminal. The problem started last Monday, 09 March 2015 when i took off my laptop battery. Thereafter, I could not login using my old account number and password. Need your help, please....
Hi team, I am testing robot called Ilan1.6Dynamic1.mq4 when i tried to test it i found that this EA execute short orders only but not buy orders at all, Can you please help me and make it excute buy orders as well. I have attached the file to my topic. Regards, Shehab 
Hello guys,hope you are having a good day.I am trying co compare Previous OrderTotal with current Open OrderTotal in a EA.I decleared them as global int variable and set as zero.but when i am trying to print them i am getting SIX DIGIT number which is not possible.can anyone has explanation for that...
i made some important analysis for my charts and i saved it in the csv format for my bad luck . i want to know how to open this files with metatrader and it didn't open this format what i can do to open this saved charts again ? any help .. ? 
I have a script with two iMa (previous and actual (for example) into double var     double ima1 = iMA(Symbol(),useTimeFrame,MovingPeriod,MovingShift,MODE_SMA,PRICE_CLOSE,1);    double ima2 = iMA(Symbol(),useTimeFrame,MovingPeriod,MovingShift,MODE_SMA,PRICE_CLOSE,0);     both are equal values:  1...
  BUG IN MT4 (3)
Indicator are inside the folder and the editor, but don't show up in the terminal the folder : In the editor : In the terminal :
  Code for risk per trade? (23   1 2 3)
Hello, I have coded my first EA and I am looking for the code that will open lot sizes at a percentage of my account. Can anyone help please?
Before considering any MQL4 code, does the terminal store the max equity? I am baffled how Myfxbook manages to populate my draw-down in a matter of seconds on historical trades relatively precisely when I never had the myfxbook EA attached on the chart at the time of trading?   Cheers. 
Does anyone know of any good accounting software to keep track of your multiple MT4 Accounts? I want a service just like myfxbook provides but I don't want to use them. Its for internal only. Your help would be greatly appreciated.
Hello,   I want to program an object (horizontal line) that I can move. It will be like a takeprofit, but instead of closing the trade, the trailing stop will start. I am able to program this part.   The problem is, I want the actual takeprofit generated automatically by the system on the chart(The...
I have some custom indis on my metatrader 4.  The characters are not appearing correctly.  I have been told that the wingding that should be 158 is appearing as something else.  This is the case with another character as well.  Any ideas how to correct this?  There are many others on the forum I...
Hi everybody! Recently I was developing a simple custom indicator that detects divergences based on Stochastic Oscillator. I wanted to test one divergence condition. The indicator inserted the first arrow, but the second one (given that there was a clearly VISIBLE divergence) doesn't get drawn.  If...
Is there a simpler way to reset a string array than to loop through each individual reference? If I define that array i can write: static string sC[] = {"","","","","","","","","",""}; If I try to 'repeat' this later in the code:   ...  sC[] = {"","","","","","","","","",""}; I'll get an error and...
I think I know the answer to this already but am looking for confirmation: What happens on an incoming tick (in regards to code); will the stop execute first on the trade and then the code is executed, or the other way around?  Any links to "what happens on an incoming tick" will be very helpful....
any1 face problem tat mt4 not taking profit even when your trade had reach the take profit point? and hit set lost afterward  
Hello, I rewrote a pivot point indicator in OOP. At the time of the removal of the indicator I got error messages, how to avoid them? It seems that if I place the buffers out of the class, I have no more error messages. I wish I linked buffers and class without error messages, a solution? If...
Hi,   Could I change color of a customer indicator without use extra buffer? And how? I mean one indicator 4 colors.
I need to load values of previous bars of several symbols and timeframes. So I load the quotes and wait some time after the request. My question is simply: is it enough to request just time and open like (simplified code): int earliestBar = 500;string sym[10] = {"EURUSD",...};int tf[9] = {1,5,..}for...
MT4 is showing some crazy numbers in the JPY pairs on micro lots. Anyone have an answer as to why?
hello, big problems, Can anyone tell me where is the trouble with my code, since yesterday my plateforme going down. thanks ;) (ps : I tried to put code between code tags but It's not work, i tried to add a files too but I can see them ???? sorry)   #property indicator_chart_window #property...
Hi,   Does anyone know when in 2014 that Metaquotes added the spread selector box? What was the first MT4 build that included the spread selector box? This is an awesome feature!!!    
Yesterday morning, I was working on a EA, when all of a sudden, the trade that was opened, had a TP, when one wasn't entered.  I thought that maybe I had accidently entered one when I was working on the EA.  So I deleted it.  Later, in the afternoon,  I was working on a modified version of the EA...
Hi All MQL experts, I have been trying to code an Martingale EA based on past history P&L, however, my programming skills is just not up to mark, I am lacking an auto computation algorithm for the past few days, on a daily basis. It's difficult to segregate/differentiate orders and then calculate...
I use my EA for 3 different accounts on same system? from my laptop i installed mt4 for 3 different folders and run same EA i applied on all mt4 accounts. problom is EA doesn't place orders for all accounts. which places order in one account only? other accounts no trade? what could be the issue?...
I was checking to see if there is a mql4 function that can be used to rescan servers and/or login to a trading account?   I want to be able to automate this process of being able to a) rescan/ping broker server at certain interval. b) switch an account with the same or possibly different broker...
Hello, i want to predict/backtest Patterns. The Pattern are the last 1-5 Candles in the Chart. I want to have this price data in my backtest, but i dont get these data with iBarShift(date), because i just can get the data of the past in the backtest which have been tested. How i can get them...
Dear members: I have a client that I have sent an EA, but he is using WineBottler for Windows compability, and he is having difficulties to run the .ex4 Anyone knows how he can put the .ex4 file into the experts folder? Thank you! Luis