Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.04.14 10:27
Panel-joke or a game system

Panel-joke or a game system - expert for MetaTrader 5

| English 日本語 Deutsch Русский 中文

Views:
2682
Rating:
votes: 17
panel-joke.mq5 (13.21 KB)view

The game panel for 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.

Description:

By analyzing the price databases of the ENUM_APPLIED_PRICE type, 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. 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 enable autopilot.

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

Input data:

input ENUM_TIMEFRAMES   tf=PERIOD_M5;// Chart period for signal calculation

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

Image:

Fig. 1. The game trade panel.

Fig. 1. The game 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.
  • 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 Software Corp.
Original code: https://www.mql5.com/ru/code/15241

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Modify All TP SL Modify All TP SL

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

iFractals 4all TF iFractals 4all TF

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.