Download MetaTrader 5

MarksToAxisAdd

Add a scale mark (ticks) to the specified chart axis.

bool  MarksToAxisAdd(
   const double        &marks[],        // tick coordinates
   const int           mark_size,       // tick size
   ENUM_MARK_POSITION  position,        // tick location
   const int           dimension=0      // dimension
   )

Parameters

&marks[]

[in]  Tick coordinates

mark_size

[in]  Tick size

position

[in]  Tick location

dimension=0

[in]  0 – adding to X axis,

     1 – adding to Y axis

Return Value

true - successful, otherwise - false.


Updated: 2016.11.30