tester stopped because OnInit failed - page 2

 
Vladimir Karputov:

I checked your example on

- launched a single test -> no errors

- I started testing on the history -> there are no errors.


I wonder what you are doing and on which hardware? How do you get the error? Describe your actions step by step.



Added: in case of any errors, I strongly recommend reading everything that is written in the "Journal" tab.

Thank you for getting back to me Vladimir. 

Sorry for coming forth as dumb but I only discovered MQL over the weekend, so this is all brand new to me.

I found this line "2019.11.07 11:26:20.071 Core 1 2019.11.01 00:00:00   CExpert::ValidationSettings: error money parameters" before the error. Even though I did not set any parameters w.r.t. money.

Wait I did. There was no symbol so I chose "BTCUSD". Sorry about that...

 
Martin Botha :

Thank you for getting back to me Vladimir. 

Sorry for coming forth as dumb but I only discovered MQL over the weekend, so this is all brand new to me.

I found this line " 2019.11.07 11:26:20.071 Core 1 2019.11.01 00:00:00   CExpert::ValidationSettings: error money parameters " before the error. Even though I did not set any parameters w.r.t. money.

This means that you ALWAYS changed the parameters - in the end, you transferred the curved parameters to the adviser.

Correct the parameters to normal.

 
Vladimir Karputov:

This means that you ALWAYS changed the parameters - in the end, you transferred the curved parameters to the adviser.

Correct the parameters to normal.

I just did and it does not want to run without selecting a symbol.
 
Vladimir Karputov:

This means that you ALWAYS changed the parameters - in the end, you transferred the curved parameters to the adviser.

Correct the parameters to normal.

Got it!!! It is a daft mistake!

The "Balance" is 4 995 USD!

Thanks SO much for pushing me in the right direction Vladimir!

But I do have to ask - Is my conclusion correct?
 
Martin Botha:

Got it!!! It is a daft mistake!

The "Balance" is 4 995 USD!

Thanks SO much for pushing me in the right direction Vladimir!

But I do have to ask - Is my conclusion correct?

"... Is my conclusion correct? "


The answer is in the wind...

 

AM DOING A INSTALATION OF ROBOT BUT HE SEND ME THIS MESSAGE OF ERROR tester stopped because oninit returns non-zero code 1

PLEASE HELP ME

 
Aures Houngbo #:

AM DOING A INSTALATION OF ROBOT BUT HE SEND ME THIS MESSAGE OF ERROR tester stopped because oninit returns non-zero code 1

PLEASE HELP ME

create your own thread; or your msg will go ignored. But this is a technical forum, so you need to provided more information. Add your journal log and your terminal details such as mt5 version and first 3 lines of mt5 journal that include your OS system details.

There can be many reasons for your error, so this is only guess... you might be missing history details, this can cause it, but this is just a guess based on no information that you did not show.

 
Aures Houngbo #:

AM DOING A INSTALATION OF ROBOT BUT HE SEND ME THIS MESSAGE OF ERROR tester stopped because oninit returns non-zero code 1

PLEASE HELP ME

If you provide code here we can check it out issues