MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Screenshot
GBPUSDm, D1
Demo
How to Copy Trading from MetaTrader 5 to MetaTrader 4 How to Copy Trading from MetaTrader 5 to MetaTrader 4 Trading signals module based on ColorJFatl indicator Library
Trading signals module based on ColorJFatl indicator
Author: GODZILLA
Subscribe to signal
Samba Strategy WRY10
7 511.61%, 761 160.76 USD
VirtualTradePad One Click Trading PanelVirtualTradePad One Click Trading Panel Try product
VirtualTradePad One Click Trading Panel
Author: Vladon

Create

Creates a control.

virtual bool  Create(
   const long    chart,      // chart ID
   const string  name,       // name
   const int     subwin,     // chart subwindow
   const int     x1,         // x1 coordinate
   const int     y1,         // y1 coordinate
   const int     x2,         // x2 coordinate
   const int     y2          // y2 coordinate
   )

Parameters

chart

[in]  chart ID.

name

[in]  Unique name of the control.

subwin

[in]  Chart subwindow.

x1

[in]  X coordinate of the upper-left corner.

y1

[in]  Y coordinate of the upper-left corner.

x2

[in]  X coordinate of the lower-right corner.

y2

[in]  Y coordinate of the lower-right corner.

Returned value

true if successful, otherwise false.

Note

Base class method only saves the parameters and always return true.


Updated: 2012.04.06