New article Developing graphical interfaces based on .Net Framework and C# (part 2):
Additional graphical elements has been published:
The article is a follow-up of the previous publication "Developing graphical interfaces for Expert Advisors and indicators based
on .Net Framework and C#". It introduces new graphical elements for creating graphical interfaces.
Starting with the second version, the controller supports message boxes. This is a standard user information element. It also offers users
several options and receives a response in the form of a selected option.
To launch demonstration of message windows, select the 'Buttons and MessageBox' option in the Windows Form Element Type parameter
when launching the EA. After launching the EA, a form appears prompting to choose one of the options:
Fig. 3. Sample form calling message boxes
This form, as well as all subsequent ones, is a demonstration one, therefore it is not equipped with trade logic. However, after pressing
any of the buttons, the EA sends a warning message requesting confirmation of selected actions. For example, the following message
window is displayed when clicking SELL:
Fig. 4. Trading EA requests confirmation to open a new short position
Author: Vasiliy Sokolov