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
I took a closer look at the code.
So far it looks like a security hole. But cool. Respect.
Subscribe to the Signal.
These are the items on WebRequest. The same list can be made for the Market. I don't see them as holes.
These are the items on WebRequest. The same list can be made for the Marketplace. I don't see them as holes.
I realise with the corner of my eye that a script is called here. From the indicator. With an increase in authority.
The only thing that's a little confusing is EXPERT::Run.
here.https://www.mql5.com/ru/forum/288985#comment_9291731
I realise out of the corner of my eye that this is a script call. From the indicator. With increased authority.
the only thing that's a little confusing is EXPERT::Run.
here.https://www.mql5.com/ru/forum/288985#comment_9291731
Didn't catch the idea.
One main question remains for the proposed approach - in which thread are the chart objects (and what is nested in them) executed?
In its own thread. They are charts, but in the form of objects.
In its flow. These are charts, but as objects.
Then an additional question: is it possible to make a chart object of size 0x0 or 1x1?
In general, the idea, as I understand it, is this - without a manager and pool, we just create a chart object as needed, run a worker-script in it, send a web-request and get the result (we still create resources for data transfer everywhere), and delete the object in the end.
Then an additional question: is it possible to make a chart object with size 0x0 or 1x1?
To make it invisible, it can be moved to negative coordinates. Here is an example
Forum on trading, automated trading systems and testing trading strategies
Features of the mql5 language, subtleties and tricks of the trade
fxsaber, 2017.10.31 08:11
Application
ZY A converter of BMP->GIF/PNG files is also implemented.
In general, the idea, as I understand it, is this - without a manager and pool, we just create a chart object as needed, run a worker-script in it, send a web-request and get the result (we still spawn resources for data transfer everywhere), and delete the object in the end.
Yes, that's the idea. But it will work only in MT5.
The article is interesting, but from the very beginning there was a question: why do we need several charts with EAs and manager, if we can place the WebRequest() function in a parallel indicator and communicate with the EA via EventChartCustom()?
The Expert Advisor will send a command to the indicator, and the indicator will do WebRequest() and return the result to the Expert Advisor. All asynchronously.
The article is interesting, but from the very beginning there was a question: why do you need several charts with experts and manager, if you can put the WebRequest() function into a parallel indicator and communicate with an expert via EventChartCustom()?
The Expert Advisor will send a command to the indicator, and the indicator will do WebRequest() and return the result to the Expert Advisor. Everything is asynchronous.
WebRequest does not work in indicators (and this library allows you to bypass this limitation). A separate thread in MT is allocated only to Expert Advisors and scripts, but scripts do not work with events.