Download MetaTrader 5

MQL4 and MetaTrader 4 - page 203

To post a new topic, please log in or register
Is there a COM object or such which allows access to public methods events and properties of mt4?
Hi, I am using different strategy for for different pairs. currently i coded EA for different EA's for different pairs. Shall i combine all EA's together? which is better idea or keep as current method? which is best option? share your ideas...
I have seen threads like this before but I am honestly seeing different results even though everything was identical to the last test?  Does anyone know why this is? Data is precisely the same, the terminal is offline, the spread is fixed, the date range is exactly the same...!?
I want to know to use my brokers stock symbols in the normal MT4 software not their MT4 version. How do I do this?
Hello everyone; I've searched everywhere and I haven't found this exactly. I have found this script, but once you move the line, it's value does not change or move with the line. This is what I would like this for MT4 please: To be able to draw a Horizontal Line of any length, anywhere on the chart...
How do I delete my orders any of the closed orders ???
Hi! On chart, I have TREND and HORIZONTAL lines; 'Description' fields are filled with 'orders'; 'orders' are recognized by crossedLine() function - if price crosses the line (trend or horizontal), do something...; 'orders' are {"buy", "sell"...}; if line has 'order' "delete_trading_lines", I want to...
int init()  {//---- indicators   IndicatorBuffers(1);   SetIndexStyle(0,DRAW_LINE);   SetIndexBuffer(0,zscore);//----   return(0);  }//+------------------------------------------------------------------+//| Custom indicator deinitialization function...
Anyone know how to use this functionality?
  Ask..?? (2)
i have been ad my EA to my platform trading, but it's doesn't work. it says "uninit reason 0" what doesn't it mean ?? and how to fix it ?? 
Please give detail description on viewing & trading. Using terminal 1 data and trade in terminal 2 . please give example script to do this in "MQL4" .   
I want use whole indicator main chart window without any graphic,  and try to disable candle chart, even it is better to not have income data from server. How can do it?
I tried downloading EURAUD data from the history center download button, and I somehow messed up my charts.  I am not sure how to fix it, or how to reset the data back to the normal amount of data provided by default by the broker.  Attached is a picture of my chart as well as the data.  Every few...
string s="\n"+"Bye"+"\n"+"Bye"+"\n";Alert (StringFind(s,"\n",0)," ",StringReplace(s,"\n"," ") ); return: StringFind() --> -1            StringReplace() --> 3
Hello! I created a news database in excel with all the news listed in FF Calendar since 2007. I need it becouse I need an EA to access date and time of the news, to study the past reaction of prices to some news. The problem is matching times: I buit my database in GMT, sounded like the best option...
Hello MT4 Community, i started using MT4 about a week ago, and i transfered 10000 units on my demo account, i started doing pretty well until (market with black box) the program closed the deals without being asked my approval. Can i somehow disable the automated thing or what? I didn't put any SL...
Hi there, I just installed MT4 on win 8 and it appears as below! As you can see the buttons and text are TINY! Can anyone please assist!? LOL. Thanks, Brad.
the if:    if (cnt == total -1 && lotti_tot != 0 && total > 1)       {Print("lotti sbilanciati ", lotti_tot);} result: lotti sbilanciati 0 what happens?
  freezing (15   1 2)
hi there!  I have been having a problem with freezing - not the computer - just MT4.   I am a mac guy not a PC guy, but i purchased a pc for just trading. I know there are some settings internally that can be tweeked.  I just today swithced to 830 build. I did not know about it. But i have not been...
Does anyone use MQL4 to trade with Interactive Brokers?
Hello I am new to MT4 an I am having a difficult time. I downloaded a demo account from FXCM and MT4 comes with indicators and EA's preloaded so I have tried to load an EA (MACD Sample) on a chart and I drag the thing over there-it opens a window-I cant click ok/cancel or reset! I have unistalled...
Hi there  This question might sound foolish - my apologies!  I have 3 types of params in my EA: int, bool and double. I'm backing everything up during runtime in a csv file, using an array of type double.  This is how  I'm doing the backing up: saving all the params in the array and then storing the...
Hello, i want to calculate the high and low of the previous day between 6.00 in the morning and 20.00 in the evening. I wrote a script to do that. But when i´m running the script for the 1st time, the alert shows the low of preday by 11434. That´s a false result. When i run the same script 2...
I searched on web and found histdata.com.  However, I can not download the data successfully since some un-known issue although I can open the web pages. Do you have the same experience and how to download successfully? Or is there any other source for free history M1 data in good quality?...
I have been developing an EA but after a few backtest runs it now goes really slowly. It runs fast on my other computer with the same broker like it used to do where it runs slow now. It has nothing to do with my EA code and I have cleared all the log files, caches or any other files related to the...
Hi,  I just start learning mql4 . I am here trying to code a simple EA that start with: 1- Check if no orders opened, i open 3 orders ( 2 buys and one sell). Each order has a specific magic number so i could select them easily. 2- Check if opened orders < 3 orders then i check which ones are...
Hello is there an easy way to get an Array[27][4] on a chart for real-time monitoring? I was well under way with Comment() but ran into a maximum. The idea is to show these variables and also to have some headers. Ideally negative values in red etc. but definitely in the category 'nice to have'....
hey,   how to get metatrade 's tick value,can i get previous history tick ' data or recommend any third part tick provider    
Hi. At the moment I can view my account history in MT4 and see all the winning and losing trades with the final total at the bottom of the list. What I would like to do is to be able to export a statement which has each trade listed and then next to the trade it has the "running balance". It seems...
Hello All, What functionality does mql when it comes to multiplication of Arrays?  Can I try 10*a, where a[x][1]?   Cheers! Cryptex