Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1238

To post a new topic, please log in or register
On the website of the Automated Trading Championship 2006, the Interview with Harry Brinkhuis (Hendrick) has been published. Harry is a developer from the Netherlands. His Expert Advisor,Phoenix, is quite successful and always in the Top Ten of the Championship. Wegot information that Harry had...
Can you please help me? for my indicator, I need to store some data Items for each bar, But the numberof Items is more than 7. only two of them have to be shown on screen but about9 others are only for back side calculations. Is it possible to use arrays likeindicator buffers with automatic...
I need a real good EA for GBPUSD . HAS some one already good one? Or only way to amke is our own. I feel some one must have already made a good one Also can anyone direct me mql4 programming guide? Thanks trader2007
We are glad to inform that the Chinese section of website MQL4.COM (https://www.mql5.com/go?link=http://www.mql4.cn) has been opened. This section is intended to facilitate the activities of ChineseEA writers. The new section duplicates the website structure. The developers willfind in it: the full...
On the website of the Automated Trading Championship 2006, the "Championship Report: Eleventh Week" has been published. The last but one week of the Automated Trading Championship2006 is over. There are only 5 trading days left to the end of the Championship.The first place is being tightly held by...
  daily profit (3)
Hi, maybe someone can help me. My EA has to stop trading if a certain daily profit amount is reached and startstrading on the next day again. How can I program this? I have problems with "dailyprofit" Thx
  ibandsonarray (1)
I'm attempting to calculate bollinger bands based on a ratio of EURUSD/USDCHF. I have figured out how to make the indicator show the ratio, i'm now trying to make it calculate the bollinger bands on the ratio. The RED LINE with ibandsonarray at the end of this code is supposed to give me the upper...
Quite often my 200 build MT crashes, mostly when I do visual testing? It would be nice to be able to send these crash logs to metaquotes for analysis,just like microsoft does. Otherwise they seem to be quite useless. Just a suggestion for metaquotes team. Igor
OK, I have a project for one or more of you MQL wizards - and I have a great reward for your help. In the past I have written a few E.A.s but the functions I need for this strategy,although relatively simple, are an area I have not worked on before. In a nutshell, the trade group I participate in...
On the website of the Automated Trading Championship 2006, the "Statistical Report #4" has been published. This statistical report gives analytical results for 25 mostprofitable Expert Advisors as of the 7th of December 2006. The following characteristicsof the Experts were analyzed: profit in...
craig
These functions (or at least the help for these functions seems to have been removed). I assume this is now because there is an alternative way of doing the same calculation?
Hi All :) I'd like to change some fixed values in FXT file for backtesting purpouse. I foundthat it could be used the FXTHeader.mqh file 'FXTHeader' but i don't understand how to use it. For example if I want to change the MAXLOTS, is ok to do in this way ?...
I thought I knew about how to apply swap points as it's presented here : http://www.eforex-asia.com/swap_rates.html Now with this new MODE_SWAPTYPE, i'm not so sure... thought it was only one kindof representation for data retrieved with MODE_SWAPLONG and MODE_SWAPSHORT. I'dappreciate to see some...
Where can I get the time filter code? And where, within an EA's code, should I place it? Thanks.
i only want the indicator and expert to run after the candle has closed. i tried this for the indicator if (close[1]== true) { ObjectsRedraw(); } but it doesnt work. doesnt redraw on candle close i tried these for the expert if (Close[0] > SessionHigh) and if (Close[1] > SessionHigh) and...
craig
A. If I prepare a fxt file with 3 years worth of ticks (53 million) up to the 1of Dec this year, the backtester just stops around the 5th month of this year. If I prepare smaller fxt files the tester completes the entre date range, thisseems odd as 53 million is well short of the integer wrap value...
Hellow, I want some one make expert (mq4) for me, and i need ask about price for that servesplease. thank you, Baha +966551794847
On the website of the Automated Trading Championship 2006, the Interview with Rich has been published. Rich has known about Forex trading since 2004. He cannot evenimagine trading without automated systems. The developer tells about his tradingsystem, about the importance of the Championship, and...
I observed a bug when I tried to converse string "0:30" to time. A syntaxStrToTime("0:30") returns time with yesterday's date, not current. I use build200. Milan
Hi all, gives a mq4 Experts Tradingsystem like works with Hull Trend indicator, in 15minUSD/EuR. Somebody now it? Regards gatowman
Hi Friends, I have written a few EAs in the past, but never a script (which I am not even totallyclear on the distinction, except that an EA enters and closes trades, and a scriptusually does a single function (I think)). Anyway, I need a script that will Close all open orders if the total profit...
Is there any way I can actually change the MagicNumber of an order through an EA. I have 2 Magic numbers MagicPrimary and MagicSecondary. Depending on circumstancesthe order will get one or the other MagicNumber. However some circumstance maychange and I need to change the MagicNumber. How can I do...
Evening to all, I'm new to forex and have 2 simple questions :) Q1: When i approached a naysayer Remisier "buddy" (Mr A) and asked himabout hedging eur/chf, he asked his broker colleague who is supposed to be a forexexpert (Mr B), instead of buying 1 lot of eur/usd and 1 lot of usd/chf, he...
Know your risk before you trade.. Thank's for alex.. I have modified a little....... Enjoy it....
On the website of the Automated Trading Championship 2006, the "Championship Report: Tenth Week" has been published. Only 10 trading days are left till the end of the Championship.Leaders are still rotating in the Top Ten. Anyway, Ldamiani and Hendrick and arestill holding top places in the...
mbtrading,com/fx gives 1/10 pip spread on all pairs, hence i wish to trade withthem. but at the same time i love the mt4 platform because of the ease of making thecharts and indicators to choose my needs. how do we integrate the two togather, they do provide all the api functions, howdo we use...
There is an apparent bug with MathMod; the following code (copied from the documentation with the inputs changed) producesand output of 0.1 double x=0.6,y=0.1,z; z=MathMod(x,y); Alert("The remainder of ",x," / ",y," is ",z); Can anyone shed some light on this (I have tried normalizing all the...
On the website of the Automated Trading Championship 2006, the Interview with Michael Bullock (Zonker) has been published. Michael is a professional programmer. He started programmingon ZX81 when he was just 10. With his great experiences, he immediately startedto develop Indicators and Expert...
Hello, I have some basic skills in mql coding, but right now I have a problem/question. I have never seen, but is it possible to have the return function to return 2 values? If the variables were x and y, it would look something like this: return (x,y); The idea is to have a function within an...
I am having a problem with the Strategy Tester showing a loss for a trade that shouldbe a winner. I am running MT 4.0, build 200. I have created a small EA to replicate the problem and have captured a screenshotof the trade results and the data (attached). Any ideas why a trade that clearlyhit the...