Discussion of article "Visual evaluation of optimization results" - page 2

 
Radik Nurmukhametov #:
I can't draw lines. Can you tell me what could be the reason?

I can only guess.

After a decent amount of time after publication, I found a possible division by zero in several places of the code.

For people who were interested, I modified the code to suit their needs, at the same time fixing bugs that I found.

But here I didn't change anything.

Although, when dividing by zero, charts should not be drawn at all.

Shit, I don't even know what could be the reason.

 
Renat Akhtyamov #:

For some reason, in the tester the balance growth total is smaller, and yours is larger.

Why is that?

Hmm. Strange, I've never noticed that before.

Do you have the same balance gain in the tester if you make a single run in visual mode and with visualisation disabled?

 
Aleksandr Slavskii #:

I can only assume.

After a decent amount of time after publication, I found a possible division by zero in several places of the code.

For people who were interested, I tweaked the code to suit their needs, while fixing bugs that I found.

And here I didn't change anything.

Although, when dividing by zero, graphs should not be drawn at all.

Shit, I don't even know what could be the reason.

I'm sorry, it's my own fault. I missed "1. In the OnTick() function insert --> IsOnTick();". Now there is a chart.
 
Radik Nurmukhametov #:
Sorry, my fault. I missed "1. In the OnTick() function insert --> IsOnTick();". Now there is a chart.

Here is the new version. Some bugs have been fixed

Now you don't need to reload the terminal after optimisation. I wrote a check of division by nal everywhere where I found it.

Small correction in drawing forward, there was a shift by one point to the wrong place.

Added ability to show not one best chart in each criterion, but several best charts.



Added profit/loss charts by time of entries with gradation of half an hour.


Added some more custom criteria, I added what I was asked for).


For some reason I wrote the code of the includnik into the script code, apparently it was asked for.

This is not convenient, because if you need to fix something in the includnik, you need to fix it in the script.

Even now the code does not match, but it works).

Files:
SSOpt.mq5  73 kb
 
Aleksandr Slavskii #:

Hmm. That's odd, I've never noticed that before.

Do you have the same balance gain in the tester if you make a single run in visual mode and with visualisation disabled?

right in the article

 
Renat Akhtyamov #:

right in the article

The script can draw two variants of charts, one as in the tester, back separately forward separately, both starting from the starting balance.

And the second variant forward is a continuation of the back chart, forward does not start from the starting balance, but from the balance price of the back pass.

Approximately like this


 
Aleksandr Slavskii #:

The script can draw two versions of charts, one as in the tester, back separately forward separately, both starting from the starting balance.

And the second variant forward is a continuation of the back chart, forward does not start from the starting balance, but from the balance price of the back pass.

Approximately like this


photoshop?

You wrote: "And for comparison this graph from the strategy tester".

and the chart turned out to be different ;)

that's why I say it can't be compared, because now it's not clear what to believe: either the tester or the script ;))))

correct it, in general.

 
Renat Akhtyamov #:

photoshop?

Well, that's it.

You can see the hand of the master.)

And if there, something does not coincide, so I'm an artist, I see so))))))

 
Aleksandr Slavskii #:

Here is the new version. Fixed some bugs

Added possibility to show in each criterion not one best chart, but several best charts.

Can you tell me how to select only non-repeating (unique) best charts within a criterion in several best charts?

Because I get half of the same charts, with completely matching values.

 
Mikola_2 #:

Can you tell me how to select only non-repeating (unique) best charts within a criterion in multiple best charts?

I get half of the same graphs with completely matching values.

Only if you write your own, some other criteria, which will differ in their logic from those that are there.

My imagination is not good, so some of the criteria are very similar to each other, differing not by big nuances.