Asynchronous and multi-threaded programming in MQL - page 31
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
On a standard chart, all events are present. On OBJ_CHART only OnChartEvent where the main EA sends OnTick and OnTimer if necessary.
So, OBJ_CHART draws the gui and handles the events of OnChartEvent and that is it?
The main driver of all events in OBJ_CHART is OnChartEvent(), so the events OnTick and OnTimer need to be sent through the EventChartCustom because the resources won't work? Or rather, they will work if they are read with command from OnChartEvent?
So, OBJ_CHART draws gui and handles OnChartEvent events and that's it?
The main driver of all events in OBJ_CHART is OnChartEvent() and OnTick and OnTimer events must be sent through EventChartCustom because the resources will not work? Or rather, will they work if they are read from OnChartEvent?
The GUI works in the main EA. It will also drop all the necessary events on the agents via OnChartEvent.
The GUI works in the main EA. It will also drop all the necessary events on the agents via OnChartEvent.
And what does agent(OBJ_CHART) do? Calculations?
And the agent(OBJ_CHART) does what? Calculations?
The calculations, the trading logic. Everything that is delegated to it (them). Ideally, everything that is not a GUI.
As long as they don't ban the use of templates in the Market. They could easily do so for security reasons.
As long as they don't ban the use of templates in the Market. They could easily do so for security reasons.
Have you started trading?
As long as they don't ban the use of templates in the Market. They could easily do so for security reasons.
We'll deal with problems as they arise :)
The calculations, the trading logic. Everything that is delegated to it (them). Ideally, everything that is not GUI.
And how do you get the results of the calculations back?
In principle, it can write them to a resource, right?
And if you need to pass an array of data for calculations? Give it a command through OnChartEvent() to access the resource, it will read the data, make the calculation, and then write the result to the resource?
But, in any case, the command can be given only through the EventChartCustom()?
And if we loop it after the first call, so that it would constantly access and read the resource and execute commands from it?
Sorry for the large number of questions. ))
Have you started trading?
No, I was making a blog entry.