Download MetaTrader 5

looking for a function / class to access the names of all objects on a chart

To add comments, please log in or register
All activity at MQL5.community is clearly visible. Have a look at the Wall!
Eliy Arlev
23
Eliy Arlev 2015.06.28 15:53 
also, can i iterate through objects on chart using CObject Prev and Next methods?
Vladimir Karputov
Moderator
45785
Vladimir Karputov 2015.06.28 16:03  
Eliy Arlev :
also, can i iterate through objects on chart using CObject Prev and Next methods?
Maybe better to use this: ObjectsTotal
Alain Verleyen
Moderator
30734
Alain Verleyen 2015.06.28 16:08  

looking for a function / class to access the names of all objects on a chart 

ObjectsTotal and ObjectName

Eliy Arlev:
also, can i iterate through objects on chart using CObject Prev and Next methods?

CObject is a class from Standard Library, it has nothing to do with objects on chart.

Eliy Arlev
23
Eliy Arlev 2015.06.29 01:39  

Thank you very much ObjectName is exactly what i was looking for, unfortunately i missed it in the reference.

CChartObject derived from CObject 

class CChartObject : public CObject

and indeed it has prev and next methods in it's member list

To add comments, please log in or register