Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1175

To post a new topic, please log in or register
Hi, I would like to know if there is any way of storing array data info, that can be accessed in the fututre. I have an EA that stores values in arrays and I want that those values are always accessible, even when I have to re-initialize metatrader. As I understand, and correct me if I'm wrong, MT4...
I learn about ArrayCopySeries() with code below. Attached text file is collection of printed results from a few runs of script. .hst files for various symbol/period deleted before tests. Problem is over the results which can be inconsistent, as if system has problem? Look at attached file please -...
  ArrayResize (2)
Hi What happens to the data in an existing array if you call ArrayResize Thanks Paul
Hi ATC-2008 Moderators, Pls with due respect to your juridiction over up-coming ATC-2008, I want to plead for consideration of some expert advisors that does NOT contain bugs but only slightly extends 5 minutes in EA's Testing time. I am saying this so that the vision of the organisers would be more...
Hi! I'd like to declare a boolean array within 20 elements. This is my wrong code: bool lotsize[0]=false;bool lotsize[1]=false;bool lotsize[2]=false;...bool lotsize[19]=false; How can I do it well? Thanks!
How do I determine the ask and bid of a previous bar? Much thanks in advance, Yarns
We have received a numberof emails that antivirus products AVG AntiVirus Free and AVG Internet Securitygenerate alerts about MetaTrader 4 Client Terminal being virus-infected. This is a false alarm.Unfortunately the above mentioned antivirus programs interpret crack-defensemechanisms of MetaTrader 4...
I have noted that when I apply an indicator to a graph, then I see new rows on the Expert Advisor page (in terminal). Is there the possibility to avoid the creation of these new rows that are not so important? I prefer to see only the rows produced from expert advisors, not from indicators....
Hi everybody I have been written a sample EA to open & close multiple positions as follows: Opening short or long if price crosses moving averages (diMA1, diMA2 & diMA3). That is to say, each time the price crosses any of them a position should be open (any direction). For exit I use one...
hi @ all Zero devide occurs in live trading on all pair but not on gbp/usd, and not on demo on all pairs. has anybody an idea? thanks in advance
When I use the Fibonacci drawing tool in MT4, it draws the ratio numbers backwards, starting with 1.00 (I deleted the higher ratios), then .618, .50, .382 and then 0. I want it to start with 0, then .382, .50, .618 and then 1.0 and so on. I found that if I edit the properties and swap the start...
Could anybody help me what is the problem? I am getting this message in journal when i setup my email in TOOLS-OPTIONS in metatrader: Mail: 'Test message' failed Mail: 501 Invalid email address. I am sure that email addresses are written correctly. Thank you.
I need help about something. When I create an object with the property OBJ_LABEL and want to set it's text with ObjectSetText() function, I can't use '\n' or '\r'. These values only print undefined character on the screen. Is there any way to set new line or is it impossible to do that? Thanks for...
I created a file with extension .mqh. EA have to call for a several times with the #INCLUDE and avoid repeating the same code in different parts of EA. When compiling the warning appears "file already processed" from the second instruction INCLUDE in the function program recognizes only the first...
On the website of the Automated Trading Championship 2008,an article Trends in Automated Trading has been published. Automated trading is developing. Analytics in Expert Advisors becomes more and more complicated, while the results become more profitable. At the same time, the writers of EAs start...
How do you plot (possibly with a candle plot) the difference of two crosses, for example EUR/USD - GBP/EUR ? Thanks
  Elder Impulse System (16   1 2)
Elder's impulse system indicators.
I would like to execute the same trade in multiple accounts is this possible? Ifso, how? Thanks in advance, Ed
My MT log file size has grown to a size of 6 GB. What should I do to bring it down in size, and avoid it growing again in the future?? CKM
Hi, All my charts are not updated, they still stay at the data of Aug 13. Can anyone tell me how to update the charting of my MetaTrader 4? Thanks in advance. helen
Hi, I'm trying to edit a 'Fractal' indicator and was hoping someone could help me out... The current version identifies a high fractal as one that has two lower wicks each side of it, and a low fractal as one that has two higher wicks each side of it -- so, a five candle pattern. Is there any way I...
I have two concepts for Neural Net EA's. I need to speak with an experienced coder to create them. I have tried www.getacoder.com with few results. One concept is a grid trader that consults trend direction and starts grids near fractals. The other concept monitors long candle wicks across 4 majors...
New article Grouped File Operations is published: It is sometimes necessary to perform identical operations with a groupof files. If you have a list of files included into a group, then it isno problem. However, if you need to make this list yourself, then aquestion arises: "How can I do this?" The...
Hello, My Forex Friends, Anyone know Which MT4 Brokers have the Live Feed as same as Forexgen.com? I like the Live Feed of Forexgen.com But Forexgen.com has the bad reputation, So I'd like to find the MT4 Broker that have the same Live Quotes Feed like Forexgen.com? Thank you for your kind...
I created an indicator that calculate Support and Resistant (S/R) everytime new bar created. And this indicator eat my PC resource so much because everytime new tick occurs it calculate the S/R. Actually i do not need the indicator calculate S/R everytime new tick occur. I only need the indicator...
How do I increase the Modelling Quality percentage, from 60% to 90%, using Strategy Tester?
Hi, Some of my optimizations are useless because when I test the selected inputs, I found that the history data for the currency/timeframe was not complete during the optimization. before starting any optimization, I ALLWAYS DOWNLOAD the complete currency just to avoid this problem. But sometimes...
i want to using Trend Alexcut indicators in my EA. Trend AlexCut have A SELL or BUY signals. My EA is Code: int start() { //---- string sonuc=iCustom(Symbol(),0,"Trend Alexcut",1,0); Comment(sonuc); //---- return(0); }
I've been trading for over three years. Getting tired of the early hours etc. (I'm not getting any younger ) Is there a website that rates EA's ? Or can anyone suggest an EA ?
All, In the championship 2008, does our EA get access to all 12 currency pairs history data in all different timeframe, i.e. H1, Weekly, H4, Daily, etc. I am just thinking since we are only allowed to attach the EA into one currency pair in a single timeframe say EURUSD H1.