What does the optimization cache file name imply?

 

Hi

Sometimes I save optimization cache files for further investigation. They are saved in a specific format name. For example something like this:

myEa.US30.M10.20240501.20250123.40.ACCAA534B30928EDC6465EBA51FB7A69.opt

myEa = expert advisor name,  M10 = time frame,  20240501.20250123 = test date range

I want to know what does  40.ACCAA534B30928EDC6465EBA51FB7A69 stands for?

 

This is a hash of the optimization input parameter values. For each set of input parameters, this string is different. This allows you to optimize with different input values. And previous caches will not be deleted.


This is just the file name. If you rename it, the caches will work fully.


PS. I use hashes here for the same purpose.

CheckInputs - нахождение аварийных проходов при Оптимизации советника
CheckInputs - нахождение аварийных проходов при Оптимизации советника
  • 2025.02.22
  • www.mql5.com
Во время Оптимизации советника некоторые проходы могут завершаться аварийно. Форум по трейдингу, автоматическим торговым системам и тестированию торговых стратегий Новая версия платформы MetaTrader 5
 
fxsaber #:

This is a hash of the optimization input parameter values. For each set of input parameters, this string is different. This allows you to optimize with different input values. And previous caches will not be deleted.


This is just the file name. If you rename it, the caches will work fully.


PS. I use hashes here for the same purpose.

Thank you for your information. Is it possible to covert these hashes to input parameter values?

I save optimization cache files. Hence, it is useful for me to know it.

PS. Sorry I don't know Russian and I couldn't understand your article by google translate.

 
Alex trader #:

Thank you for your information. Is it possible to covert these hashes to input parameter values?

In general, it is not possible. However, all this information is available from the contents of the opt-file.

PS. Sorry I don't know Russian and I couldn't understand your article by google translate.

One example of using opt-file data.

The human brain is pretty good at processing visual images. You can watch changing pictures with great frequency and subconsciously notice something that will catch your attention. The animation below demonstrates this quite well.

For each optimization table, a certain number (say, 20) of the best passes are taken and their equity/balance graphs are combined into one picture (each still frame in the animation above).

TesterCache
TesterCache
  • www.mql5.com
Чтение/Запись opt-файлов оптимизационных кешей MT5-тестера
 
fxsaber #:

In general, it is not possible. However, all this information is available from the contents of the opt-file.

One example of using opt-file data.

Thank you very much for your help.