TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
bool ChartNavigate ( long  chart_id,
int  position,
int  shift = 0 
)

Performs shift of the specified chart by the specified number of bars relative to the specified position in the chart

Parameters
chart_idChart ID. 0 means the current chart
positionChart position to perform a shift. Can be one of the following values:
CHART_BEGINChart beginning (the oldest prices)
CHART_CURRENT_POSCurrent position
CHART_ENDChart end (the latest prices)
shiftNumber of bars to shift the chart. Positive value means the right shift (to the end of chart), negative value means
the left shift (to the beginning of chart). The zero shift can be used to navigate to the beginning or end of chart.
Returns
Returns true if successful, otherwise returns false