TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
DateTime ObjectGetTimeByValue ( string  object_name,
double  value,
int  line_id = 0 
)

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

Parameters
nameObject name
valuePrice value
line_idLine identifier
Returns
Time value for the specified price value of the specified object

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