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: Market Simulation: Position View (XI).
The result is shown in the following animation.
Please note that the system is now working flawlessly—exactly as expected. Since the code has undergone some changes—many of which are very minor—there is no need to list them separately. However, dear reader, I would like you to pay special attention to two points in this code. The first one is the constructor. Take a look—it is a little different from the previous version. The second procedure is UpdatePrice. Note that the procedures that created the objects, which were previously in the constructor, are now in this procedure. Since the code is fairly simple, there is no need to go into detail. All that was done was to remove what used to be done in the constructor and move it into the UpdatePrice procedure—nothing particularly impressive.
Author: Daniel Jose