Backtesting/Optimization - page 57

 
mrtools:
The include files called for in the Ea did not match the files in the zip so changed the Ea to match, Ea should work now, but not sure my testers all full, please test!

What wasn't matching?

I just copied it off my folders and zip'd it.

Everything should be alright.

As for crushing/crashing your MT4. What broker/OS are you running?

 

It's okay, thank you Georges.

Really interesting EA, with an acceptable Drawdown and a nice profit factor.

Can you post your last optimized setting?

Also, if i want to use it with a 5 digits broker, may I only change evry setting about it and add a 0? Or a change in the code is necessary?

 
What wasn't matching?

I just copied it off my folders and zip'd it.

Everything should be alright.

As for crushing/crashing your MT4. What broker/OS are you running?

Hi George,

Don't know what happened but here's the code

//extern double lots = 5;

int mn;

extern int mnx1 = 772012055;

extern int mny1 = 772012155;

extern int mnX1 = 772012011;

extern int mnY1 = 772012111;

static int prvtm = 0;

static double sl = 10;

static double tp = 10;

#include

#include

#include

Your include files don't have system_v2\ in front of them, so removed the system_v2\ and the Ea compiled, also one of the include files was calling a file with system_v2\ in front of it and removed that.BTW thanks for sharing the Ea.By any chance do you have the include files with system_v2\.

 

The files that are supposed to be in the system_v2:

filter_v1.0.5.mqh

lots_v1.0.2.mqh

registry_v1.0.0.mqh

timefilter_v1.0.4.mqh

Those should all be included in my ZIP

 

First position this morning (GMT +1), and I have a question:

Open price: 1.3616, Ok

SL: 1.3733, OK

TP: 0.0393, Why?

Have you an idea? (I use the setting give by Georges in the first post).

Also, I try to make change in code to can use it with a 5 digits brokers, but it's not ok, I make this: (I'm not programer! : ) )

int init(){

MMH1 = Hour( );LFB = iTime(Symbol(), 0, 0);

lots_init();

gdPointFactor = 1;

if (MarketInfo(Symbol(), MODE_DIGITS) == 2 || MarketInfo(Symbol(), MODE_DIGITS) == 4){

gdPointFactor = 10;

if (MarketInfo(Symbol(), MODE_DIGITS) == 5)

{

gdPointFactor = 100;

}

}

Is it stupid?

Thank you

 

i test the ea,but i've got a different result,why?

load the set,and on EURUSD,M5 tf

but,i got -640.33 pip from 08.11.14 to 09.05.20 just the same with Georgel.

why?

 

Make sure your GMT settings are correct. In my case it is 0 for IBFX.

My trade currently:

EUR USD LONG @ 1.3564 is now up ~190+pips in profit.

As for the TP. It's just there. Does'nt mean it will hit it. The EA does a STEP trailing stop

UPDATE: EA has just locked in 79 pips of profit by moving SL to 1.3643

 

GMT offset

Can you please clarify the GMT offsets in the inputs.

What is a client and what is a server?

Which one is for the broker?

I know, this is probably a stupid question...

Thanks for posting this EA.

Cheers

 

Does't work

I do not know why but the ea it is not making trades at all.

 

The client offset I do not understand which is why I left it at 0 as 0 for IBFX.

I'm GMT-08:00 but, my EA shows 0.

IBFX runs at GMT 0

The EA works fine. It just takes its time before it opens a trade.

Backtest the EA before you guys put it on a demo and say it doesnt trade.

Reason: