strategy center 1000 candles only!

 

Hi guys,

wondering what's going on with my MT4 strategy center

i remember whatever i had in F2 history center when i ran EA on strategy center build .fxt of that pair with historical data that were recorded in history center

but now it only contains last 1000 candles only

and if i for example go 1001 candles it give me UNIX epoch like this!

1970-01-01 00:00:00,0.00000,0.00000,0.00000,0.00000,0
1970-01-01 00:00:00,0.00000,0.00000,0.00000,0.00000,0
2025-06-27 12:00:00,0.65510,0.65513,0.65462,0.65462,218
2025-06-27 12:05:00,0.65461,0.65494,0.65457,0.65482,191

i thought .fxt might corrupted  since unlike hundreds of megabytes of .hst file it always fixed 5mb .fxt! so i renamed it to .fxt.old redownloaded .hst from metaquotes archive.

reloaded the MT4 and ran strategy center again 5MB .fxt created for pair and like before it can only go back 1000 candles!

and before you ask yes in Tools>Options>Charts both filled with 999999999

whats going on and how can i fix .fxt to have my historical data loaded notjust 1000 candles

tnx for help in advance

 
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Amirfakhredin Ghanbaribut now it only contains last 1000 candles only ... whats going on and how can i fix .fxt to have my historical data loaded notjust 1000 candles

It has always been like that. At the beginning of the test there is usually only approximately 1000 past bars available.

However, it seems you may have used 3rd party tools like TickStory or Tick Data Suite in the past to generate your ".fxt" files, which allows offering a lot more bars than just 1000.

This is probably the reason why you think that something is wrong.

 
Fernando Carreiro #:

It has always been like that. At the beginning of the test there is usually only approximately 1000 past bars available.

However, it seems you may have used 3rd party tools like TickStory or Tick Data Suite in the past to generate your ".fxt" files, which allows offering a lot more bars than just 1000.

This is probably the reason why you think that something is wrong.

tnx, i were using fibogroup in older time and i just checking that folder that one fxt is 10 times of size of this new mt4! while both .hst size is about the same!
i even wrote python script to create .fxt out of exported pair history ohlc.csv and replaced it with 5mb one but as soon as i ran strategy center it will rewrite it with 1000 candles .fxt!

 
Amirfakhredin Ghanbari #: ... but as soon as i ran strategy center it will rewrite it with 1000 candles .fxt!

That is why the 3rd party tools make the FXT files "read-only", so that the Strategy Tester does not overwrite the generated files.

 
Fernando Carreiro #:

That is why the 3rd party tools make the FXT files "read-only", so that the Strategy Tester does not overwrite the generated files.

Smart and easy tnX Fernando