Can we send signs from an EA of one MetaTrader to the another EA of another MetaTrader platform? - page 2
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
Thank you n8937g and Roger!
I will check them out...
I was writing basically the same points.
The COM messaging is actually quite easy, and in a way a bit better than the file system item. The one problem you'll still have is one of events. In MetaTrader, there's no way I've seen to externally trigger an event. As an example, say you want to have broker A's pricing trigger a trade on broker A and a hedge on broker B. A price update comes in on A and B (B first for some reason). On A you trigger the trade, and write to your file (or send your message). Now, if this were a news event, broker B might not get another price update until 5 seconds and 150 pips later. At that point it will see that the file has updated and will process the instructions in the file. Your hedge is now 150 pips off from where it should be.
That's not much of a concern most of the time, but it could be an issue.
Do you have a resource you can link to where I can learn how to do this "COM messaging"? I'm not familiar with this, and a google search just yields results about IM software. I think i can implement the other solution with windows mklink symlink, but i'm intrigued about the other option.
I have a master account that tests my EA on a variety of instruments, and a production account that only runs on profitable instruments at profitable settings. The problem is that the EA is incredibly resource-hungry (it's a monte carlo EA), and it would be much easier to just copy a subset of results from the search account into the production account. I have an idea on how to do this, just not sure on the communication protocol between EAs.
Can we send signs from an EA of one MetaTrader to the another EA of another MetaTrader platform?