My approach. The core is the engine. - page 71

 
Igor Makanu:

I keep forgetting to ask@Peter Konow if your development works in the strategy tester?

On Sharp, the window works fine in the tester, nothing slows down because the window runs in a separate thread

I'm working on a solution right now. Here is the concept:

  1. When test mode is activated (the special button is pressed), the engine disconnects from the EA and starts searching for the same EA in the Strategy Tester chart.
  2. The search for the tester chart is made by searching the chart and looking for special "link object", which creates the Expert Advisor during initialization in the tester.
  3. Next, set the number of communication objects to be created for free message transfer.
  4. Communication objects are created and the exchange of messages between the engine on a regular chart and the Expert Advisor in the tester begins.
  5. The communication is done by reading/setting the description of the communication objects.
The "communication" system has already been thought out. Everything will work quickly and smoothly.

 
Don't forget there is visualization and optimization mode. In the second case, everything should work faster than just fast...
How does your engine handle large tables (lists)? For example, two tables with trades for two strategies in an EA. How is the performance here?
 
Aliaksandr Hryshyn:
Don't forget, there is a visualization and optimization mode. In the second case, everything should work faster than just fast...
How does your engine handle large tables (lists)? For example, two tables with trades for two strategies in an EA. How is the performance here?

Yes, I think so. I will take it into account. In optimization mode, the user simply will not press the "connect to EA in tester" button on the engine.

Therefore, the engine will not search for Expert Advisor in the tester and will not connect.

Yes, it works with tables. Everything is fast enough (the human eye does not notice any lags). But, there are no dynamic tables yet. Will do.

 
Реter Konow:

I am currently working on a solution. The concept is as follows:

  1. When the test mode is activated (by pressing the special button), the engine disconnects from the EA and starts searching for the same EA on the tester chart.
  2. The search for the tester chart is made by searching the chart and looking for special "link object", which creates the Expert Advisor during initialization in the Tester.
  3. Next, set the number of communication objects to be created for free message transfer.
  4. Communication objects are created and the exchange of messages between the engine on a regular chart and the Expert Advisor in the tester begins.
  5. The communication is done by reading/setting the description of the communication objects.
The "communication" system has already been thought out. Everything will work quickly and smoothly.

And this is the kind of communication that non-programmer users of your engine are offered to establish?

 
Vasiliy Sokolov:

Is this the kind of communication that non-programmer users of your engine are asked to make?

No. This connection will be implemented by me.

Users simply throw the EA in the tester and click the"connect with the EA in the tester" button in the engine on the source chart.

The users do not need to do anything else. The connection will work.

 
Vasiliy Sokolov:

And this is the kind of communication that non-programmer users of your engine are asked to establish?

I remember the army and the brigade commander who used to end his speech with the phrase: Except for the sexual connection, there is no connection at all.

.... imho, even on the subject, users without support, and with support, it is unlikely, in runent, well not to lie, about 80% of users can not even test something in the tester correctly, they see only a balance chart ..., the remaining 20 = 10% confident users, but in principle do not open the MetaEditor, the remaining 10%, yes this potential

imho, only Market can put everything in its place:

- Either Peter sells his own creations

- Or he publishes the source code and the manual and Market sellers will use his creation (during the last holiday some schoolchildren wanted to sell their Expert Advisor generated by Master MQL5 in the Market, but something went wrong )))))

 

Why look for an expert in any particular way? In MT4 you can put the indicator on the visual testing chart.

But in MT5, dry your oars, you can search there or not.

 
Dmitry Fedoseev:

Why look for an expert in any particular way? In MT4 you can put the indicator on the visual testing chart.

But in MT5, you need to dry your oars.

The interaction of the engine and the Expert Advisor in the tester.

The events of the engine (pressing, moving the slider) will go to the EA under test and all data of the tables and elements will go to the engine.

In short, we want to be able to control the EA during visual testing. And to see all of the output data.

 
Igor Makanu:

.... imho, even to the point, the users without support, and with support, unlikely, in runent, well not to lie, about 80% of users are not even able to test something in the tester correctly, see only the balance chart ..., the remaining 20 = 10% confident users, but in principle do not open MetaEditor, the remaining 10%, yes this potential

That's right, I've been saying that for a long time.

The idea itself - quite sensible, if there was a target audience - that is, people who know programming, but prefer to trade mostly "hands on". For these people - yes, they may want to make beautiful buttons, handy controls, reports directly on the chart...

But how many people like that?

And the fact that Peter does not recognize OOP, and loves global access to everything he can reach with his hands - so with his memory it is not surprising. And if the target audience has people with the same memory - the Peters approach - will be very convenient for them.

Peter, however, claims that he "sort of educates the right people".

Well, well...

I'm even ready to agree with that, if Peter (or someone else) shows " semi-automatic trading class". But I have my doubts. And without it - no chance of "bringing up the right people".

 
Georgiy Merts:

That's right, I've been saying that for a long time.

The idea itself is quite sensible, if there were a target audience - that is, people who know programming, but prefer to trade mainly "by hand". For these people - yes, they may want to make beautiful buttons, handy controls, reports directly on the chart...

But how many people like that?

And the fact that Peter does not recognize OOP, and loves global access to everything he can reach with his hands - so with his memory it is not surprising. And if the target audience has people with the same memory - they will find Peter's approach very convenient.

Peter, however, claims that he "sort of educates the right people".

Well, well...

I'm even ready to agree with it, if Peter (or someone else) shows the " semi-automatic trading class". But I have my doubts. And without it - no chance of "bringing up the right people".

George, I don't get it - what does my approach have to do with it? I'm providing a GUI connection interface, which is created with a lightweight markup language. Who and why would want to learn my approach?

Everything I suggest is much simpler than the simplest MQL.