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

Automated Trading Language Documentation

CountDown LimitedCountDown Limited Try product
CountDown Limited
Author: song_song
MQL5 Cookbook: Position Properties on the Custom Info Panel MQL5 Cookbook: Position Properties on the Custom Info Panel Screenshot
EURJPY, H1
Demo
Subscribe to signal
My silver
305.56%, 34 232.63 USD
The asymmetry indicator Indicator
The asymmetry indicator
Author: GODZILLA

Alignment

Sets alignment parameters of the control.

void  Alignment(
   const int  flags,      // alignment flags
   const int  left,       // offset from the left border
   const int  top,        // offset from the top border
   const int  right,      // offset from the right border
   const int  bottom      // offset from the bottom border
   )

Parameters

flags

[in]  Alignment flags.

left

[in]  Fixed offset from the left border.

top

[in]  Fixed offset from the top border.

right

[in]  Fixed offset from the right border.

bottom

[in]  Fixed offset from the bottom border.

Returned value

None.

Note

Alignement flags:

enum WND_ALIGN_FLAGS
{
   WND_ALIGN_NONE=0,                                  // no align
   WND_ALIGN_LEFT=1,                                  // align left
   WND_ALIGN_TOP=2,                                   // align top
   WND_ALIGN_RIGHT=4,                                 // align right
   WND_ALIGN_BOTTOM=8,                                // align bottom
   WND_ALIGN_WIDTH = WND_ALIGN_LEFT|WND_ALIGN_RIGHT,  // align width
   WND_ALIGN_HEIGHT=WND_ALIGN_TOP|WND_ALIGN_BOTTOM,   // align height
   WND_ALIGN_CLIENT=WND_ALIGN_WIDTH|WND_ALIGN_HEIGHT// align height and width
   }


Updated: 2012.04.06