Basic Question from a beginner - More results in journal then expected

 
I have M1 for USD EUR loaded in a single MT4 offline test installation :

My Code code at Start =

double Hilfsvariable2= (Close[0]);
Print("Aktueller Close ",+ Hilfsvariable2);


I expected the get one close for each 1 minute candle in the mt4 journal:


These are the lines in the history center:

2013.01.01,23:41,1.3195,1.3196,1.3195,1.3196,26
2013.01.01,23:42,1.3196,1.3197,1.3195,1.3195,40
2013.01.01,23:43,1.3195,1.3197,1.3195,1.3196,56
2013.01.01,23:44,1.3195,1.3197,1.3195,1.3195,25
2013.01.01,23:45,1.3195,1.3198,1.3195,1.3197,30


This is the result: I get many results for each minute? I can't explain why?

17:08:59 2013.01.01 23:41 TEST EURUSD,M1: Aktueller Close 1.3195
17:08:59 2013.01.01 23:41 TEST EURUSD,M1: Aktueller Close 1.3196
17:08:59 2013.01.01 23:42 TEST EURUSD,M1: Aktueller Close 1.3196
17:08:59 2013.01.01 23:42 TEST EURUSD,M1: Aktueller Close 1.3197
17:08:59 2013.01.01 23:42 TEST EURUSD,M1: Aktueller Close 1.3196
17:08:59 2013.01.01 23:42 TEST EURUSD,M1: Aktueller Close 1.3195
17:08:59 2013.01.01 23:43 TEST EURUSD,M1: Aktueller Close 1.3195
17:08:59 2013.01.01 23:43 TEST EURUSD,M1: Aktueller Close 1.3196
17:08:59 2013.01.01 23:43 TEST EURUSD,M1: Aktueller Close 1.3197
17:08:59 2013.01.01 23:43 TEST EURUSD,M1: Aktueller Close 1.3196
17:08:59 2013.01.01 23:44 TEST EURUSD,M1: Aktueller Close 1.3195
17:08:59 2013.01.01 23:44 TEST EURUSD,M1: Aktueller Close 1.3196
17:08:59 2013.01.01 23:44 TEST EURUSD,M1: Aktueller Close 1.3197
17:08:59 2013.01.01 23:44 TEST EURUSD,M1: Aktueller Close 1.3196

17:08:59 2013.01.01 23:44 TEST EURUSD,M1: Aktueller Close 1.3195

 
AiGelb:

I have M1 for USD EUR loaded in a single MT4 offline test installation :

My Code code at Start =

double Hilfsvariable2= (Close[0]);
Print("Aktueller Close ",+ Hilfsvariable2);


I expected the get one close for each 1 minute candle in the mt4 journal:

Read this thread: https://www.mql5.com/en/forum/146589

And, Close[0] is the same as Bid
 
AiGelb:

This is the result: I get many results for each minute? I can't explain why?

What is the "modeling" setting? Every tick, control points, open prices?

 

@ RaptorUK,

i know the start runs for every tick but i haven't loaded tick data - only minute data:

Even if i would say one candle (open, high, low close) are 4 ticks it doesn't match...

Because at one other minute i get 5 or 8 results in one minute.

@szgy74,

it's control points, every tick gives me a message 2013.09.01 13:19:04 TestGenerator: internal error because the file not opened

I think it's because i have no tick data loaded

 
AiGelb:

@ RaptorUK,

i know the start runs for every tick but i haven't loaded tick data - only minute data:

Even if i would say one candle (open, high, low close) are 4 ticks it doesn't match...

Because at one other minute i get 5 or 8 results in one minute.

@szgy74,

it's control points, every tick gives me a message 2013.09.01 13:19:04 TestGenerator: internal error because the file not opened

I think it's because i have no tick data loaded


You don't need to load tick data . . . the Strategy Tester creates synthetic ticks based on your chosen time frame and model. Do you have a read only fxt file ?
 

Synthetic ticks would explain the result

I dont know how to open the fxt...?

 
AiGelb:

Synthetic ticks would explain the result

I dont know how to open the fxt...?

You don't open it, but if it is read only the Strategy Tester cannot create a new one when needed and you will get errors.

https://www.mql5.com/en/forum/141510

 

Ok i've delete the files and now i can go on with the tick modelling modus...

Well!

Big Thanks

Reason: