Hello I run a optmization test on Friday (2014-02-14) and recorded results. I then ran the same optimization test today and recorded results and they were different??? Why?? The settings are exactly the same, and by the way - I save/load them from a
Hello I would like to start by saying that I did read the MT4 Help page on how the Tester Report values are calculated AND that I did search the forum for "Maximal Drawdown Tester" and I did not find an answer to my problem so here goes
I am looking at the LotsOptimized function in the sample EA "Moving Average.mq4", this is a EA which comes with every installation of MT4 and is obviously intended as a sample/template for people to learn how to write EAs... And I can not
I am sure everyone will agree that it is always a good idea to verify EA sanity in the tester... Is there a way to configure the tester to simulate various broker settings so I can test my EA's in these different environments? In particular the docs
I was trying to verify (in Excel) my understanding of how MT4 computes the values shown in the Terminal window, such as Margin, Free Margin, Margin Level, etc. and I noticed something weird. Here's the summary, details are below with screenshot and
Why is it that downloading the MT4 installer from the MetaQuotes official download location results in software that connects to different servers? I have seen installers that connect to: MetaQuotes Demo Alpari FXCM What is the reason behind this
Is there a way to find server's timezone in MQL? So far I couldn't ifnd a way to do this. I know that if I "tell" my program what my own timezone is (i.e. by means of an input parameter, e.g. extern int MyTimeZone=8 for GMT +8) then I can
Hi Rosh, this is related to the bug I described here: 'A couple questions from BugReport' I read the "Azbuka..." article and your explanations on the russian forum ( 'AccountStopout.. : опубликуйте пожалуста более подробную документацию' )
I want to run optimization of my EA where some parameters vary between Start and Stop value and one parameter does not vary. However, I want this one parameter to be different from the default value specified in the code ("extern ..."). In
Hi The majority of EA's I saw call OrderSend , without worrying about the sever or the context being busy. Its true that most EAs in all the examples detects an error and prints a err. message but shouldn't the function, which tries to open and order
Could someone please explain why there is 2 types of history files: .hst files in the \history folder and .fxt files in the \expert\history folder? Do they contain the same data (same ticks), only different formats? It does not look so, the number
Is there a way to make MT4 to use 8 hr charts? 8 hrs is a pretty standard period, I was actually quite surprised that MT4 didn't have it by default when I saw the platform for the first time... If it is not possible at present - is MQ considering
I noticed something weird - if you extend the From/To period, then sometimes you need to re-run the Expert with "Visual" ON! Otherwise it ignores the fact that the period was extended and only works on the portion of the period which was
Please help me with this problem: It looks like the slippage value I am using for a BUYSTOP trade is missed by 2 pips: BUYSTOP is at 1.9737 SLIPPAGE is 2 pips (see #define SLIPPAGE_ON_ENTER) EXECUTION happens at 1.9734. , which is not Ask+2pips but
not the worst bug in the world but still a bug is a bug :) Consider a function like this, residing in the mq4 file of a library: #property library // #include <CommonLib.mqh> string PeriodToStr ( int iPeriod ) { switch ( iPeriod ) { case
Hey, a question for somebody from MetaQUotes Soft about the bug tracking web page you have: I have reported several bugs there but never gotten a reply, not even an auto reply. There is no bug number that is assigned to your bug report, you can't see
This code (which by the way resides in a library) //+------------------------------------------------------------------+ // will return true when called within iSecondsAllowed seconds of the // beginning of the current candle. In cases when the first
Loading inputs from a saved .set file after recompilation does not work - it shows the inputs as loaded but they are not! This is obvious by observing the work of the EA (my EA anyway - because I can see from the way it operates that it does not use
If you have make an OrderSelect call in a library you can not expect the order to be useable when your program control returns back to you main expert file! In my case executing code like this: bool bHaveSellOrders = SelectFirstSellPosition (