This project is read-only.

Read data outside of Init or Start context

Sep 17, 2013 at 4:13 PM
Edited Sep 17, 2013 at 4:19 PM
TradePlatform let us access all data on each quote events and open or close orders, but:

I am wanting to detect new orders events when the order has been opened by another process

the only way to do it so far, is to wait for a next tick on any symbol, and check Orders list
It seems not possible to access all data outside of Quote events (https://tradeplatform.codeplex.com/wikipage?title=Integrate%20MetaTrader%20with%20custom%20application&referringTitle=Documentation) or of an ExpertAdvisor Start function which is also called on new quotes

So a solution like polling each 100ms OrderTotal() seems not possible

any idea?