TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int ObjectsTotal ( long  chart_id,
int  sub_window = EMPTY,
int  type = EMPTY 
)

Returns the number of objects of the specified type in the specified chart

Parameters
chart_idChart identifier
sub_windowNumber of the chart subwindow. 0 means the main chart window, -1 means all the subwindows of the chart, including the main window
typeType of the object. The value can be one of the following values:
OBJ_VLINEVertical Line
OBJ_HLINEHorizontal Line
OBJ_TRENDTrend Line
OBJ_TRENDBYANGLETrend Line By Angle
OBJ_CYCLESCycle Lines
OBJ_CHANNELEquidistant Channel
OBJ_STDDEVCHANNELStandard Deviation Channel
OBJ_REGRESSIONLinear Regression Channel
OBJ_PITCHFORKAndrewsÂ’ Pitchfork
OBJ_GANNLINEGann Line
OBJ_GANNFAN Gann Fan
OBJ_GANNGRIDGann Grid
OBJ_FIBOFibonacci Retracement
OBJ_FIBOTIMESFibonacci Time Zones
OBJ_FIBOFANFibonacci Fan
OBJ_FIBOARCFibonacci Arcs
OBJ_FIBOCHANNELFibonacci Channel
OBJ_EXPANSIONFibonacci Expansion
OBJ_RECTANGLERectangle
OBJ_TRIANGLETriangle
OBJ_ELLIPSEEllipse
OBJ_ARROW_THUMB_UPThumbs Up
OBJ_ARROW_THUMB_DOWNThumbs Down
OBJ_ARROW_UPArrow Up
OBJ_ARROW_DOWNArrow Down
OBJ_ARROW_STOPStop Sign
OBJ_ARROW_CHECKCheck Sign
OBJ_ARROW_LEFT_PRICELeft Price Label
OBJ_ARROW_RIGHT_PRICERight Price Label
OBJ_ARROW_BUYBuy Sign
OBJ_ARROW_SELLSell Sign
OBJ_ARROWArrow
OBJ_TEXTText
OBJ_LABELLabel
OBJ_BUTTONButton
OBJ_BITMAPBitmap
OBJ_BITMAP_LABELBitmap Label
OBJ_EDITEdit
OBJ_EVENTThe "Event" object corresponding to an event in the economic calendar
OBJ_RECTANGLE_LABEL The "Rectangle label" object for creating and designing the custom graphical interface.
Returns
Number of objects