Libraries: MultiTester - page 51

 

Hello!

I didn't find a method of pressing the Stop button in the tester in the library. Is there any way to stop the tester if necessary?

I tried to add my own method ClickStop() by analogy with the existing ClickStart(). In general, it fulfils its task, but I didn't understand the subtleties.

 
Yuriy Bykov #:

Is there any way to stop the tester if necessary?

Forum on trading, automated trading systems and testing trading strategies

Libraries: MultiTester

fxsaber, 2021.04.21 14:26

There were examples above. I use only four functions myself:

MTTESTER::IsReady - Тестер готов к запуску.
MTTESTER::ClickStart - Нажать на кнопку Старт/Стоп.
MTTESTER::GetSettings - получить полные текушие настройки тестера.
MTTESTER::SetSettings2 - задать любые настройки тестера.
MTTESTER::ClickStart(false);
 

Thank you very much!

I was confused by the name of the first input variable:

static bool ClickStart( const bool Check = true, const int Attempts = 50 )

I thought that this parameter was responsible for an additional check if the push was successful.

 

Fxsaber, I must say I am very impressed by your libraries you write and find several of them extremely useful for tasks I always thought were impossible. Thanks you for that.

I would like to code a walk-forward framework to reside inside of MT5 to avoid all the opening and closing of MT5 that external frameworks might mean. Could you give me a pointer to the easiest way to 

- Start an optimisation (seems MTTester does this)

- Knowing when the opt has finished

- Saving the best X passes into an array (can this be done by using MTTester too or do I need to involve frames?)

- Start a single test, knowing when it has finished and receive the value returned by OnTester()

Thank you

 
Goesta Torsten Hulden #:

Could you please tell me the easiest way

Use the libraries I posted. Here is an example of how they can be used.
 
fxsaber # : Use the libraries you posted. Example possibilities of their use.

appologies if the answer is already in the comments - as I am English speaker, and am not bilingual.

Q... if I download the library via the zip file, which files should I download via individual link to get the library updated? or do I need to download every individual file?

 

Michael Charles Schefe #:

or do I need to download every individual file?

Each file.
 

Forum on trading, automated trading systems and testing trading strategies

Errors, bugs, questions

fxsaber, 2025.10.14 17:04

They don't let me publish something that was running without problems until September 2025.

No longer update MTTester.mqh. If anyone knows how to make the current version git public in read-only mode, let me know.

There's apparently no way to publish in kodobase anymore.

 
@fxsaber #No longer update MTTester.mqh. If anyone knows how to make the current version git public in read-only mode, let me know. There's apparently no way to publish in kodobase anymore.
On AlgoForge, by default the public repositories are read-only. I use my own public repository in conjunction with my CodeBase publications.
 
Fernando Carreiro #:
On AlgoForge, public repositories are read-only by default. I use my own public repository in conjunction with my CodeBase publications.
Thanks. I'm a complete zero in git capabilities. Need instructions on how to put just one mqh file into AlgoForge.