Download MetaTrader 5

How to discover how many assets are opened?

To add comments, please log in or register
Wemerson Guimaraes
575
Wemerson Guimaraes  

Hello everybody!

There are any way to discover how many graphics are opened on the Metatrader 4 ?

Keith Watford
Moderator
9641
Keith Watford  

You can find out how many objects are on a chart with Ctrl B

You could count all the objects on all the charts in a profile with code. 

qjol
3243
qjol  

i think the OP meant to ask how many charts are open, and not graphical objects (but i might be wrong, as always)

if so, there is an example here 

Keith Watford
Moderator
9641
Keith Watford  
qjol:

i think the OP meant to ask how many charts are open, and not graphical objects (but i might be wrong, as always)

if so, there is an example here 

I think that you are probably right,  still I won't delete my reply.
Wemerson Guimaraes
575
Wemerson Guimaraes  

Hi, all.. Yes, i need to know how man asset windows (charts) are opened... sorry for my poor english... graphic or chart translating to portuguese are the same thing but i cannnot know the difference... now i know.


Yes, ChartNext and ChartFirst is what i need... tx.. 

 

Thanks guys.

Vasyl Nosal
18651
Vasyl Nosal  
WindowsTotal()
Keith Watford
Moderator
9641
Keith Watford  
eevviill:
WindowsTotal()
That returns the total of the main chart + indicator sub-windows on a single chart, but as it is not clear what the OP is asking, it could be what he is looking for.
Wemerson Guimaraes
575
Wemerson Guimaraes  
GumRai:
That returns the total of the main chart + indicator sub-windows on a single chart, but as it is not clear what the OP is asking, it could be what he is looking for.

No i do not want the subwindows... only the count of charts opened... the solution presented qjol  is working fine! 

To add comments, please log in or register