MQL4 and MetaTrader 4 - page 1309

To post a new topic, please log in or register
Sorry guys but there is something here that I don´t see clearly. As we can see, the point 6 indicates that theremust not be any rigid parameters: "Experts can contain limitations to be used outside the Championship, butthey must: work normally and be tested on the whole interval of year 2006 (for...
Can someone tell me why there would be substantial differences in Strategy Testerresults run on the exact same data for the exact same period?  One test wasrun on 09.09; the other was run on 09.11.  Both were run with Build 196 ofversion 4.
how do i tel expert to only trade (look) ak 1 currency. have two experts runningbut conflict on open trades
  last trade (2)
nead help, new to mql4. i do i call the last trade that was excicuted;
Is it possible to make an EA detect Macd divergence?? Both Hisogram and macd line divergence. I would like an EA based on my trading style. This would be complex because i would like both sound alerts and the option to autotrade. Indicator would take signals only from Macd. If anybody is interested...
MetaTrader 4 build 196 has been released: Tester: Added visualization of testing.Tester: At testing the expert template .tpl is applied. If such template is notfound, tester.tpl is used.Tester: Improved drawing of balance at testing.Tester: Added the reopening positions mode.Tester: Now works with...
I am using the following to compute the spread in points for the current chart: string symbol = Symbol(); // Get chart symbol int spread = MarketInfo(symbol,MODE_SPREAD); spread is being set to 0. I have verified that symbol is valid (set to "EURUSD"). What s wrong with the above?
  SHI_SilverTrend Help! (16   1 2)
I like this indicator wich seem no brainer easy to follow. I'm currently trading a live account at oanda so i would need a SendMail alert feature to it, also is there is an EA base on it? I have this blacberry on me all the time! I check mt4 editor but can't figure it out!. TIA. Maybe someone may...
has anyone got any good thoughts for developing a robust and reliable method forauthenticating users and entitling EAs/CIs? i have been thnking about this for a while and I have also been discussing thiswith several architects at my place of work. I have seen the ideas at Coders Guru's page but...
On the website of the Automated Trading Championship 2006, an interview with Andrey Khatimlyanskyy using the nickname of komposter has been published. Andrey has written dozens of useful articles devoted to ExpertAdvisors development and use, and developed a variety of MQL4 programs. Andreysupposes...
if there is luck of data... for example, I have a indicator which calculates correlationbetween two pairs and I open a new timeframe... one of the pair has never openedas chart. So how can I tell to program to download enough data to make those calculations?If I need 1000 bars for EURJPY in 15...
I'm running MT4. I find it locks up if there is to much data in the history. I have aproximately two years of M1 data for each currency pair, the history filesare ~30MB each. If I attempt to open mt4 with two M1 charts open -> no problem.If I attempt to open mt4 with three M1 charts open -> mt4...
or closed? or is there a function that will show if the current candle on a certain time frame,if it is still open or has finished? thanks
is there any way to clear old Comment(); function that appear on the chart? every time i remove this function the comment still stand annoying me any help pls
Hi, I am using the simple moving average EA. What I would like to find out is how tostop the EA from not trading anymore on the current candle once it has closed position.For example, the moving average i am using is 50 ema and I am using the 1 hourtime interval. When I run the EA and the price...
I completed the LiveUpdate from build 195 to build 196 and closed the platform. When I re-opened the platform, I still had build 195 and I had to update again,and again, and again every time I close and open the platform.  Thisproblem seems to happen with InterbankFX, but not with MIG. Doesanyone...
I'm so happy that the XP_EMAs has played a good game in the first week in September contest! In this thread I am going to reply any questions about this EA like how it works and the best settings/pairs to play with! Let's give it first the chance to pass the September contest then discuss it...
If I have several open positions and my equity drops below 80% of the margin. MTcloses out all my positions at once. This is costing me a large loss in money.MT should only close one position at a time until the margin level is alright.Often closing only one or two positions will fill the margin...
Comment(....) ; Comment(....) ; Only last Comment(....) desplay its string on chart. How Add more than one Comment(....) to Chart?
take a look pls .. it did not expand itself when i maximize the page like it usedto ~>_<~
I have a very simple trade strategy. But I do not konow why it can not run in expert mode. But my indicator work well. Is it possible to " trigger Open Trade and Close Trade " from "indicator"? I only need Open and Close order in indicator. only have a little trade signals in a long time, we...
I want to iMAOnArray(.........) in Expert. but not like in indicator, Arrary typeVariable can not used in Expert, Why? and how to ..... code in bellow: double Buf_1[]; double Buf_2[]; int Start(){ for(i=0; i<=Bars; i++) { Buf_1[i] = iMA(....); //if I Print Buf_1[i], it is 0 always...
I use a signal service but the problem I have is i cant be at my computer 24/7.Is there a way i can take my signals sent to me via email, sms, or website andhave MT execute them? Do i need a special program or can it be done through a script? Any info wouldbe very helpful.
Is there a way to access the "lastlow" and "lasthigh" ZigZagindicator values by using iCustom() ? I use iCustom() to access ZigZag from anEA by this Code. But the value changes tick to tick. The "lastlow" and"lasthigh" values are for the end point of the last drawn line and arefixed values until...
  GRIDMacd With trailling (48   1 2 3 4 5)
Ok, I need some help... I need to ask some coder to add a trailling option to GRIDMacd... is this possible? I know that this is very simple to the masters but for me is very dificult... Hope someone helps!
I have a few EA written and wish to put it on different for testing, does MetaTrader allowed to do so? I have tried but not sure the outcome is correct. Can anyone tell me? TQ.
HEY DOES ANYBODY KNOW HOW TO CHANGE THE BACKGROUND IN THE INI FILES SO I WOULD BEABLE TO SET SOME NICE PICTURE INSTEADOF THE BORING SOLID COLOR?
Hello I found the file "DDE-Sample.xls" in directory of my n2Trader program. Could you please refere me to relevant documentation or any article about usingthis program as a client or server application? Please also tell me how is this possible to use this program as a Com client orserver....
Can anyone guide me in using EXPERT ADVISORS on METATRADER 4