
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 75): New Chart Trade (II).
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