Download MetaTrader 5

How to discover how many assets are opened?

To add comments, please log in or register
Publish programs in Code Base. Improve your rating!
Wemerson Guimaraes
560
Wemerson Guimaraes 2015.11.29 22:15 

Hello everybody!

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

Keith Watford
Moderator
9619
Keith Watford 2015.11.29 22:30  

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 2015.11.30 00:55  

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
9619
Keith Watford 2015.11.30 03:46  
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
560
Wemerson Guimaraes 2015.11.30 12:08  

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
18539
Vasyl Nosal 2015.11.30 22:35  
WindowsTotal()
Keith Watford
Moderator
9619
Keith Watford 2015.11.30 23:17  
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
560
Wemerson Guimaraes 2015.12.09 00:56  
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