New article Expert Advisor featuring GUI: Adding functionality (part II)
has been published:
This is the second part of the article showing the development of a multi-symbol signal Expert Advisor for manual trading. We have
already created the graphical interface. It is now time to connect it with the program's functionality.
The gif image below displays the following. The table features the list of forex symbols containing USD. Then, we quickly form the list of
symbols containing EUR. To do this, enter "EUR" in the
Symbols filter input field and click Request. If you want to see all symbols with USD and EUR
available on the server, they should be comma-separated: "USD,EUR".
Fig. 3. Forming the list of Forex symbols
Forming the list of forex symbols and getting the indicator handles is performed on the period specified in the Timeframes
combo box. If we select another timeframe in the drop-down list, we should receive the new handles and update the table values. To achieve this,
we need the
CProgram::ChangePeriod() method. If the combo box ID has arrived, first update the timeframe in the object chart. Then, get the
handles and indicator data for all table symbols. After that, the table is updated to display the implemented changes.
Author: Anatoli Kazharski