Discussing the article: "Market Simulation (Part 02): Cross Orders (II)"

 

Check out the new article: Market Simulation (Part 02): Cross Orders (II).

Unlike what was done in the previous article, here we will test the selection option using an Expert Advisor. Although this is not a final solution yet, it will be enough for now. With the help of this article, you will be able to understand how to implement one of the possible solutions.

In the previous article, Market Simulation (Part 01): Cross Order (I), I demonstrated and explained an alternative solution to a rather common problem, especially for those who trade futures contracts in some way. Although I did not present the final solution - since the entire article focused solely on the Chart Trade indicator - the content covered there is of utmost importance. It gives us the possibility for the C_Terminal class to provide a proper name for trading these futures contracts.

However, the problem persists. Not because of the Chart Trade or the Expert Advisor, but because of the pending orders system. Although we have not yet started discussing it in these articles, we must prepare for it in some way. Part of the information used by this system comes from the Chart Trade, and all communication with the server occurs through the Expert Advisor. In other words, we have a triangle, where each vertex represents one of the applications to be developed. The edge that communicates with the server originates from the Expert Advisor vertex.


Author: Daniel Jose