TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
double ObjectGetValueByTime ( long  chart_id,
string  object_name,
DateTime  time,
int  line_id = 0 
)

Returns the price value for the specified time value of the specified object

Parameters
chart_idChart identifier
nameObject name
timeTime value
line_idLine identifier
Returns
An object can have several values in one price coordinate, therefore it is necessary to specify the line number. This function applies only to the following objects:
  • Trendline (OBJ_TREND)
  • Trendline by angle (OBJ_TRENDBYANGLE)
  • Gann line (OBJ_GANNLINE)
  • Equidistant channel (OBJ_CHANNEL) - 2 lines
  • Linear regression channel (OBJ_REGRESSION) - 3 lines
  • Standard deviation channel (OBJ_STDDEVCHANNEL) - 3 lines