Download MetaTrader 5

LineHorizontal

Draws a segment of a horizontal line.

void  LineHorizontal(
   int         x1,      // X coordinate
   int         x2,      // X coordinate
   int         y,       // Y coordinate
   const uint  clr      // color
   );

Parameters

x1

[in]  Segment's X coordinate.

x2

[in]  X coordinate of the segment's first point.

y

[in]  Y coordinate of the segment's second point.

clr

[in]  Color in ARGB format.


Updated: 2015.12.03