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
Check out the new article: Developing a Replay System (Part 45): Chart Trade Project (IV).
The main purpose of this article is to introduce and explain the C_ChartFloatingRAD class. We have a Chart Trade indicator that works in a rather interesting way. As you may have noticed, we still have a fairly small number of objects on the chart, and yet we get the expected functionality. The values present in the indicator can be edited. The question is, how is this possible? This article will start to make things clearer.
In the previous article Developing a Replay System (Part 44): Chart Trade Project (III), I showed how you can add some interactivity to the Chart Trade window so that it behaves as if there were objects in it. Even though the only real object represented on the chart was OBJ_CHART.
But despite the existing interaction, which is quite pleasant, it cannot be called ideal. There are still some details that will finally be resolved in this article. What we end up with is some pretty interesting code, which will do what you can see in video 01 below:
Video 01. Demonstration of the capabilities of this version
This video demonstrates exactly what we will be able to do at this stage of development. Despite everything, we still won't have an order system. Not yet, because we still have a lot of things to create before the Chart Trade indicator can actually send orders or close positions.
Author: Daniel Jose