Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Multicurrency trading panel or a game system - expert for MetaTrader 5

Views:
8445
Rating:
(20)
Published:
2016.06.30 12:46
Updated:
2016.11.22 07:32
mult_panel.mq5 (25.83 KB) view
\MQL5\Include\
ClassUnit.mqh (15.4 KB) view
ClassRow.mqh (22.18 KB) view
ClassWin.mqh (8.13 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The game panel for multicurrency manual and automated trading demonstrates the possibilities of the MasterWindows library. The panel code has been automatically generated using the environment for visual design of interface windows MasterWindows for MQL5.


By analyzing the price databases of the ENUM_APPLIED_PRICE type of three symbols (EURUSD, USDJPY and GBPUSD), you can make an assumption about the future price movement. The probability of such movement is shown as a scale and in terms of percentage on the buttons. 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, set a lot volume for each of the symbols, close a position and enable AutoTrader.


AutoTrader means automated trading based on the signals of the panel. The mode can be activated by pressing the appropriate button.

The panel consists of three blocks for each of the symbols allowing you to perform "manual" trading.

The lower line of the panel contains three buttons: managing autotrader; resetting a lot size for each symbol (ClrLot) and the button for closing all positions (CLOSE ALL).


Input data:

input ENUM_TIMEFRAMES   tf1=PERIOD_M5;// EURUSD chart period for signal calculation
input ENUM_TIMEFRAMES   tf2=PERIOD_M5;// USDJPY chart period for signal calculation
input ENUM_TIMEFRAMES   tf3=PERIOD_M5;// GBPUSD chart period for signal calculation

You can set the required chart period, from which the program will copy price data for calculation, for each of the symbols.


Fig. 1. The multicurrency game trade panel

Fig. 1. The multicurrency game trade panel.

Tips:

  • 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.
  • This is a demo panel (a joke program) and is not intended for live accounts. However, you can modify or replace the BUYorSELL() signal generation function in accordance with your trading system, add position support function , and try to use it on a live account.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/15412

XDPO_HTF_Signal XDPO_HTF_Signal

XDPO_HTF_Signal shows a trend direction or a signal for performing a deal generated by XDPO_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment

AroonHorn_HTF_Signal AroonHorn_HTF_Signal

AroonHorn_HTF_Signal shows a trend direction or a signal for performing a deal generated by AroonHorn_Oscillator_Sign indicator at the chosen bar as a graphic object with colored trend indication or deal direction and sends alerts or audio signals in case of a market entry moment

Volume Profile + Range v6.0 Volume Profile + Range v6.0

Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram.

XTRIX XTRIX

TRIX indicator provides the ability to change the averaging algorithm