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

Automated Trading Language Documentation

Average SpreadAverage Spread Try product
Average Spread
Author: monsterer
Tandem Expert Advisor
Tandem
Author: EvgeTrofi
Interview with Nikolay Kositsin: multicurrency EA are less risky (ATC 2010) Interview with Nikolay Kositsin: multicurrency EA are less... Screenshot
EURUSDm, M5
Real
Subscribe to signal
AAA1361306
53.05%, 14 455.86 USD

Create

Creates new CDialog 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.


Updated: 2012.04.06