Discussing the article: "Developing a Replay System (Part 75): New Chart Trade (II)"

 

Check out the new article: Developing a Replay System (Part 75): New Chart Trade (II).

In this article, we will talk about the C_ChartFloatingRAD class. This is what makes Chart Trade work. However, the explanation does not end there. We will complete it in the next article, as the content of this article is quite extensive and requires deep understanding. The content presented here is intended solely for educational purposes. Under no circumstances should the application be viewed for any purpose other than to learn and master the concepts presented.

In the previous article Developing a Replay System (Part 74): New Chart Trade (I), I focused primarily on explaining the code for the Chart Trade indicator. We discussed why you might choose one approach over another when programming the Chart Trade. We also covered several aspects of the code. However, I left out a key part: the core code itself.

One of the reasons I didn't include the main code earlier is that over 100 lines were removed from it. So I had to think of a simple way to demonstrate what changed in the code. The best approach I found is the one I'm presenting in this article.

Here, we'll take a closer look at the main code for the Chart Trade. Keep in mind that, if you wish, you can embed this code directly into an Expert Advisor. Obviously, with some minor changes. They will be covered in this article. Don't forget the reasons discussed in the previous article about why the code is placed in an indicator instead of an Expert Advisor. Still, you are free to use the code in whatever way best suits your needs.


Author: Daniel Jose