TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int ObjectsDeleteAll ( long  chart_id,
string  prefix,
int  window = EMPTY,
int  type = EMPTY 
)

Removes all objects from the specified chart, specified chart subwindow, of the specified type

Parameters
chart_idChart identifier
prefixPrefix in object names. All objects whose names start with this set of characters will be removed from chart
windowNumber of the chart window. Must be greater or equal to -1 (-1 mean all subwindows, 0 means the main chart window) and less than WindowsTotal().
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
Returns the number of deleted objects. To read more about the error call GetLastError()