I keep getting these errors and that terminate the cloud service when optimising 2012.12.20 13:49:33 Tester rejected tasks limit reached, cloud connections will be closed 2012.12.20 13:49:32 MQL5 Cloud Europe 2 genetic pass (0, 33) tested with error "endless loop detected in OnInit...
Within my reasearches about expert advisors and all the public accessible ones the idea of creating one by myself came to my mind. For creating the desired EA, I have to following ideas: 6 Steps of processing: 1.) Generating an optimal signal 2.) Search in a defined base of indicators for the...
I wonder why this function exist and how it can be used for an useful task ? There is often confusion among programmers between this function and ArrayGetAsSeries, even in some good articles . Maybe there is historical reason or I miss something.
Hello everyone! I am new to mql5 programmig and after some reading and tutorials i took this article as basis for simple EA. Nothing fancy. I just used price bars to entry. After some ECN and Mqltraderequest related problems i got it work in demo and strategy tester. Now another problem encountered...
Hello, any idea what to do if the signal provider is using a broker with 100.000 lot size and my broker is using 10.000 lot size? The trade volumes copied should be multiplied by 10 in this case to keep the pip value !?? Any solution? Thx
Hello, i would like to draw an indicator when my experts starts. Is this possible? int OnInit ()
{
MAHandle = iMA ( _Symbol , _Period , MovingPeriod, 0 , MODE_SMA , PRICE_CLOSE );
if (MAHandle == INVALID_HANDLE )
{
printf ( "Error creating MA indicator" );
return (...
Hello, i have a laptop on which i develop my EAs and a pc with good cpu on. I have added my pc as an remote agent to my MT5 on my laptop...and there is on every CPU "ready" and "connected". When i do an optimizing test on my laptop than the agents are only "connecting" but dont do any test passes.....
Hello I need EA to use it as automated trading for SL and TP but I need it to make pending order in the place of SL and this option I could control it . and one have any idea please contact me on my email xxxxxxxxxxxxx , I will buy the cheaper one and I will pay after trying it , I find many...
Dear All, I have been testing my Expert Advisor using 1min OHLC and was working on it since whole year, finally its completed and backtesting is as what i needed. Now, 'Every Tick' backtesting is showing different results !! I am really strapped now. I want to ask that if 1min OHLC is wrong or...
Hi, my second question connected with the same problem... When I start the tester from, let's say 01/01/2009, the history is synched starting from 01/01/08. But I would very much prefer to use all available data, as I try to add some "auto-learning" and for that, of course, each data-point is...
i am runing EA on mt4 platform where i am runing my EA but i am
receiving a msg in journal that prevents EA from trading "signal-failed
connect to server login.mql5.com"
Hi everybody, am I the blindest guy on earth? I cannot seem to find a way to use the start and end date, that the user picked in the strategy tester, from within the code, specifically the OnTester() function. Anyone know a simple way? Of course I can, for example, write to a file in OnInit()... but...
Hello I m using the MetaQuotes Demo server. This code: int symb_order_mode=( int ) SymbolInfoInteger (Symb, SYMBOL_ORDER_MODE );
//--- check for market orders (Market Execution)
if (( SYMBOL_ORDER_MARKET &symb_order_mode)== SYMBOL_ORDER_MARKET )
Print (Symb+ ": Market orders...
Dear friend i am little confused how to coppy buffer of stochastic ? //--- Copy the new values of our indicators to buffers (arrays) using the handle
if ( CopyBuffer (Stoch, 0 , 2 ,Main)< 0 || CopyBuffer (Stoch, 1 , 2 ,Signal)< 0 )
{
Alert ( "Error copying Stochastic...
Hi, I have written an EA which I have been running in the optimiser. My EA has various inputs, one of which is a boolean whether the EA should use a trailing stop or not, and another is the value of the trailing stop. What I would like to know is, is it possible to set up the tester, either with...
Hi please help ive read a few articles relating to orders ect. but what i need is to know how many bars (timeframes) away was the last order i need to do this so that i can identify what the bar index is of the last order placed and is still open. Thgis is so i can loop through the bars since the...
I do not understand how the debugger works. I am using the 'comment' command to display variable values in the top left corner of strategy tester, but sometimes I cannot tell what section of my code is changing those variables. I have tried using the debugger but I do not know how to advance the...
Hello i post code, i have used simple movingaverage expert example and i just added iCustom indicator call to hodrick filter.
Call to custom indicator seems ok but when i run robot tester i get this: -custom indicator is not viewed in graph
-if i manually add indicator on graph of finished...
void OnChartEvent When I used strategy tester void OnChartEvent isn't work. How to fix this. So I try to create buttons on strategy tester but they doesn't shows.
Hello, I have multiple indicators and various periods that I take into account to enter and exit a trade. What are the steps to put them together in an EA so that when conditions are right I enter or exit a trade? Can I use an existing library or template where I point to my various indicators and...
Hello, I have my indicators and decide manually when to enter a trade. However, instead of using a trailing stop I prefer to take profit based on my indicator. I have not seen an EA that would do so though. Is there an example ? Thank you.
Hi all, I am a newcomer to Forex and Metatrader but I do know that past performance is not a guarantee of future performance. However, with a Demo EA there is not even past performance, only the results from a Strategy Tester. I could word the subject title differently: Does the Strategy Tester...