Building a Multi-Symbol Forex Trading Panel with Stochastic Signals
Summary
This article explains how to connect an existing MQL5 expert advisor interface to data and trading functions. It describes filtering the server’s symbols, selecting forex markets for Market Watch, creating Stochastic indicator handles for a chosen timeframe, and retrying indicator-data requests. The interface table is rebuilt from the collected values, with low readings marked as potential buy signals and high readings as potential sell signals.
The article also covers updating position tables when trading history changes, including detecting a new deal and refreshing the display. Its evidence is implementation guidance and code excerpts rather than trading-performance results. The described indicator thresholds are not fully specified here, and the article provides no backtest or evidence that the displayed signals are profitable. Its main value is as an example of wiring symbol selection, indicator readings, and trade events into a multi-symbol GUI.
Key ideas
- The symbol list can be filtered by name and restricted to forex instruments before display.
- Indicator handles are created for each selected symbol using the timeframe chosen in the interface.
- The program retries requests for indicator values and updates a progress bar while processing symbols.
- Stochastic readings are displayed with colors to distinguish potential buy and sell signals.
- A detected change in deal history triggers a rebuild of the position table.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.