The manual trade panel demonstrates the features of the MasterWindows library. The panel code has been automatically generated using the environment for visual design of interface windows MasterWindows for MQL5.
The functionality of the trade panel allows sending requests for the broker to execute trading operations. Market orders are used in this example. You can additionally reduce or increase the volume of a position, close a position, and manage lot size.
Fig. 1. The trade panel
Recommendations:
- The MasterWindows library should be added to the \MQL5\Include\ folder. The library provides adequate operation of the interface windows you create.
- For a better display of created interface windows, use graphical schemes with a black background.