|
CChartObject
CChartObject is a base class for the classes of chart graphical objects of the Standard MQL5 library.
Description
CChartObject class provides the simplified access to MQL5 API functions for all of its descendants.
Declaration
class CChartObject : public CObject |
Title
#include <ChartObjects\ChartObject.mqh> |
Inheritance hierarchy CChartObject Direct descendants CChartObjectArrow, CChartObjectBitmap, CChartObjectBmpLabel, CChartObjectCycles, CChartObjectElliottWave3, CChartObjectEllipse, CChartObjectFiboArc, CChartObjectFiboFan, CChartObjectFiboTimes, CChartObjectHLine, CChartObjectRectangle, CChartObjectSubChart, CChartObjectText, CChartObjectTrend, CChartObjectTriangle, CChartObjectVLine |
Class Methods by Groups
Attributes |
|
---|---|
Gets the ID of the chart a graphical object belongs to |
|
Gets the number of a chart window where a graphical object is located |
|
Gets/sets the name of a graphical object |
|
Gets the number of anchor points |
|
Assign |
|
Binds a chart graphical object |
|
Sets the anchor point parameters |
|
Delete |
|
Deletes a chart graphical object |
|
Detaches a chart graphical object |
|
Shift |
|
The relative object shift |
|
The relative object point shift |
|
Object properties |
|
Gets/sets the time coordinates of an object point |
|
Gets/sets the price coordinate of an object point |
|
Gets/sets the color of the object |
|
Gets/sets the object line style |
|
Gets/sets the object line width |
|
Gets/sets the flag of drawing an object in the background |
|
Gets/sets the "selected" flag of a graphical object |
|
Gets/sets the selectable object flag |
|
Gets/sets the text of the object |
|
Gets/sets the tooltip of the object |
|
Gets/sets the mask of the object visibility flags |
|
Gets/sets the graphical object priority for receiving an event of mouse clicking on a chart |
|
Gets the time of the object creation |
|
Object level properties |
|
Gets/sets the number of object levels |
|
Gets/sets the level line color |
|
Gets/sets the level line style |
|
Gets/sets the level line width |
|
Gets/sets the level |
|
Gets/sets the level text |
|
Access to API MQL5 functions |
|
Gets the value of the object property |
|
Sets the value of the object property |
|
Gets the value of the object property |
|
Sets the value of the object property |
|
Gets the value of the object property |
|
Sets the value of the object property |
|
Input/Output |
|
virtual Save |
Virtual method of writing to a file |
virtual Load |
Virtual method of reading from a file |
virtual Type |
Virtual method of identification |
Methods inherited from class CObject Prev, Prev, Next, Next, Compare |