Building a Chart Collection for Searching and Tracking Terminal Charts
Summary
This article develops a chart-object collection for a trading terminal library. The collection is intended to provide access to open charts and their windows, indicators, and properties, making it possible to search, sort, and inspect one or several charts through a common structure. It builds on earlier chart and window objects and adds collection identifiers, messages, and timer settings.
The design uses periodic checks to detect changes in the number of open charts or chart windows, then updates the collection when a difference is found. The author argues that a timer is sufficient for these structural changes because chart handling is generally semi-automatic; other chart events could be handled through callbacks or extended object classes. A test procedure adds and removes charts and observes collection counts and chart details in comments. The material focuses on terminal-library engineering and object discovery, not on signal generation or trading results, and the supplied excerpt does not give quantitative measurements of resource use or responsiveness.
Key ideas
- A chart collection can unify access to open charts, their windows, and attached indicators.
- Periodic checks can detect changes in chart and window counts and refresh the collection when needed.
- A timer-based approach is presented as adequate for the described semi-automatic chart workflow.
- The article demonstrates collection updates by adding and removing charts and observing reported details.
- The framework supports terminal object management rather than evaluating a trading strategy.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.