How to obtain EA input parameters ?

 

(Written by deepl translation below so please forgive the strange English)

I am writing a library to store EA test results as csv.

To analyze it in detail by comparing and graphing it.


now, I can save deal records for both single tests and tests under optimization! foo!

So next I need to get the EA parameters for the record.


I've read through the document, and I can only find a way to add a frame in OnTester and use FrameInputs in OnTesterPass to get the parameters.

Using OnTesterPass just to get parameters is complicated and inefficient

And I don't know if this will pass a single test.


So, does anyone know how to get the parameters during the Tester more easily?

Thanks for the adviceヾ( ̄▽ ̄)

 

That seems to be the only method. I don't know of any other method.

FrameInputs

Receives input parameters, on which the frame is formed

Documentation on MQL5: Working with Optimization Results / FrameInputs
Documentation on MQL5: Working with Optimization Results / FrameInputs
  • www.mql5.com
FrameInputs - Working with Optimization Results - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
しゅーれい:

So next I need to get the EA parameters for the record.

https://www.mql5.com/ru/code/26223
TesterCache
TesterCache
  • www.mql5.com
Чтение/Запись opt-файлов оптимизационных кешей MT5-тестера
 
Wow, wow, wow!
After looking at the code for a bit, that may be exactly what I was looking for!

I'll try to implement it later as I translate it and report back how it goes!

For now, just a thank you replyヽ(*´∀`)ノ

 

I read the article.


In your example, it looks like I need to export the cache, can I get it directly from the

Tester > cache folder?

I want to automate the acquisition.

 
しゅーれい #:

In your example, it looks like I need to export the cache, can I get it directly from the

Tester > cache folder?

https://www.mql5.com/ru/forum/318998/page2#comment_13846951

Библиотеки: TesterCache - Что такое 0xCACA?
Библиотеки: TesterCache - Что такое 0xCACA?
  • 2019.08.31
  • www.mql5.com
Да и дальше взаимодействия с Оптимизатором нет никакого. в кеше Оптимизатора по каждому проходу хранятся все стат. Бонусом идет возможность запуска любого прохода из обновленной таблицы стандартными средствами в два щелчка