MQL4 and MetaTrader 4 - page 294

To post a new topic, please log in or register
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 
After the LiveUpdate updated my terminal to the build 830, the client crashes every time I run it. Anyone knows what causes it? This is the log file on the day when it still worked: 0    08:18:02.795    MetaTrader 4 at FOREX.com build 765 started (GAIN Capital - Forex.com UK Ltd.) 0    08:18:02...
Does anyone know other OpenSource trading system which can connect to brokers for trading and have similar EA system? I know few private companies have simpler EA and inductor system, such as: //The code draw three MA lines in your indicators (almost no limitation for drawing lines)Short :=MA(Close...
If your programmers could speak in English, What would they say this error message meant?
MT4 for my Samsung Tablet is missing buttons  I downloaded the latest version for Google Play today.  There is no TRADE BUTTON on my MT4 on my Verizon Samsung Tablet - at least I don't see it and can't find it. Where is it? 
Hi How can I modify this code so that it draws painted candles instead of only colouring OHCL?  I have read about drawing histograms but I could really do with some help please.  This is the TTM Trend indicator, I really like it but I really would like it to use and colour the CandlesSticks....
hi all   Attached robot is not working on real account , could you please any of one help me to activate this robot on real.this robot is high earning robot, on demo in one day o.o1 lot with 8 pairs he gave me 750 usd only from deposit of 100 usd Regards Uzman 
Here's a problem that I've been struggling with for 3 days now: I have 2 separate MT4 platforms: one on my VPS and another on my laptop, and both have become unresponsive in an odd way:  -certain currency pairs (USDJPY, USDCAD along with SPX500 and US30) will not auto refresh the charts, and the...
How to explicitly release memory, pointed by a variable, or delete the variable itself?
  Question? (2)
Is the UK forex market opposite from the US forex market ? For example if the UK sells NZD/USD does that mean the US buys NZD/USD?
While using "or" for say 5 statements, if the first or second return true will MQL4 still check all 5? Thank you. 
  data mining (10)
hi every body i want to try data mining and have some questions: - is data mining do-able with mql4? or i have to try other softwares -is there any sample of data mining codes? - is there any reference to help me with important points which i should consider? and i thank your kindness for your...
Hi, I am a new in this forum and I am very happy to join it 1st, I have been opened a forex account with a company called (tradect ltd) they are in England and they have that site(www tradect com)  They have the metatrader4 MY QUETION: IS THAT COMPANY A REAL COMPANY OR A FRAUD? NOTES: ALL IP...
Hello, Can anyone help me with the following? I'm currently learning the MQL4, but so far I've never seen anyone talk about how to set a take profit once the candle closes in profit.  for example: EA opens a buy order at a certain price, after a few candles we are finally in profit and I'd like to...