Objects
This section provides documentation for working with chart objects in Forex Tester Online. Chart objects include various graphical elements that can be added to charts, such as trend lines, text labels, Fibonacci tools, and more.
Available Methods
Object Creation and Management
CreateChartObject: Creates a new chart objectRemoveChartObject: Removes a specific chart objectRemoveAllObjects: Removes all objects from the chartRemoveAllObjectsByPrefix: Removes all objects whose names start with a prefixDoesChartObjectExist: Checks if a chart object existsGetObjectCount: Gets the total number of objects on the chartFindObject: Finds an object by its name
Object Properties
GetObjectProperty: Gets a generic object propertySetObjectProperty: Sets a generic object propertyGetObjectEnumProperty: Gets an enumeration object propertySetObjectEnumProperty: Sets an enumeration object property
Object Information
GetObjectName: Gets the name of an objectGetCurrentWindowIndex: Returns the index of the current chart windowGetObjectType: Gets the type of an object (see TObjectType)GetObjectDescription: Gets the description of an object
Text and Fibonacci Objects
GetObjectText: Gets the text content of a text objectSetObjectText: Sets the text content of a text objectGetFibonacciDescription: Gets the description of a Fibonacci levelSetFibonacciDescription: Sets the description of a Fibonacci levelGetTextDimensions: Gets the dimensions of a text object
Object Manipulation
MoveObject: Moves an object to a new position
Last updated