Discussing the article: "Market Simulation: Unity Is Strength (III)"

 

Check out the new article: Market Simulation: Unity Is Strength (III).

In this article, I will present our system for simulating market operations. Although everything is practically finished, there are still a few things to implement and a few changes to make. However, I have to admit that, after everything we've already developed, I'm tired of still being stuck on implementing this system.

In the previous article “Market Simulation: Unity Is Strength (II)”, I showed how we can modify our applications to simulate interaction with a trading server. In that article, we implemented a new class: C_InServer. Its purpose is precisely to simplify the simulation of our applications by making it completely unnoticeable who is responding to our requests: a real trading server or a simulated server. I realize that for many of you, all of this may seem quite complicated, while for others it will be just another step in what we are implementing.

The point is that, by using the C_InServer class, we can very easily adapt applications and achieve the desired result. As you've probably already guessed, we won't have to implement anything new in either the Expert Advisor or the position indicator. At least at this initial stage, the code will only need very subtle changes. So, without further ado, let's get to the point.


Author: Daniel Jose