Good time of day.
Tell me, please, is it possible to track the signal to open trades from the terminal (sent by the Expert Advisor, i.e., before the actual opening – response from the broker) and send the same signal to another account?
Correct me, I am purely theoretical (I do not have knowledge in the mcl), I imagine it like this:
– On the EURODOLLAR currency pair, there is an Adviser A. In the duplicated window with the EURODOLLAR currency pair, there is an Adviser B.
– Advisor A sends a signal to the Internet via a metatrader to broker A, who now has a login account in MT.
– The adviser In the intercept / notices/knows about this signal, copies/duplicates it through all sorts of protocols (necessary, there, maybe all sorts of other DLL’s are needed) or through the same metatrader on which it stands, but only:
- to Broker B.
- broker A, but to a different account.
- to another terminal (on the same computer, or to the Internet)
Currently, as I understand it, copying transactions is carried out only after they are actually opened. I.e., the copyist receives a signal that there is an open transaction in the Terminal and sends a signal to another terminal, and the other terminal sends a request to open the broker.
To shorten this path, is it possible to duplicate this signal immediately to other accounts at the stage of sending a signal by Expert Advisor A?
Is it possible to build such a scheme?
This is for news, for high-frequency (if you are wondering: “what the hell is this nonsense to him?!”)
And it became curious to change the copying scheme for the better, in which the client can even open a deal earlier than the master
capitalplus
Ok)
komposter
440% on the demo will only turn into -40% on the real world.
I repeat once again-latency arbitration in such a primitive form will not work, even if you unlock the adviser and you run it on the real world (without copying).
capitalplus
Geez. I thought it was possible to somehow track what the Metatrader sends on the port, (like the ArtMani program in games where you could read the executable. exe process)
sergei75
Not a request, but opened a position on the demo…
That is, if the code is closed , there is no question of any interception until the position is opened.
capitalplus
If you are talking about an Expert Advisor that trades, then I have a protected one, you can not change it. Hence, I wonder if it is possible to “intercept” its signal-a request to open a position immediately, before the broker’s response comes, and send the same signal in parallel to another account/Broker/or other terminal.
sergei75
If we talk exclusively about your task (copying from demo to real within the same machine), I solved it this way: in the Expert Advisor that works on the demo, I additionally prescribed essentially the same copier , only there was copied not the opening event of the position, but the signal to open on the demo. Adviser one with the settings “trader” / “investor” – ” trader “was put on the demo,” investor ” on the real. As a result, in most cases, a position on real money was opened faster than on demo (it will depend on the conditions used – account type, ping, etc.).
sergeev
because it’s not a deal copyist
you are asking for a signal messenger here
but a deal and a signal are different things. The signal from the master may not be executed, but it will be executed by its subscribers
And then what to do? lose on the spread by urgently closing an erroneous trade?
capitalplus
So, does it make sense to spend money on freelancing?
I understand that you will not find such a thing in the public domain
alexeyvik
Possible. And even very easily.