I have a neatly working scrip which exports the data when I attach to a single chart.
Can this script be run by a macro which will progressively attach it to
all of the open charts - automatically? just run through all open
the scrip is here
You can build a loop with:
and before that a loop though all Symbols and open a chart with them with:
You find them all in the MQL5 reference (some with examples)
thanks a lot Carl!!
can you show me an example of such loop?
or - beteer yet - BEIGN A MDOERATOR - maybe - you have a seen a script which just exports all open charts in CSV format? without the needt to attach and loop through all open charts???
It depends on what symbols you need. This is a snippet to get the symbols which are active in the market watch window.
for(int i=SymbolsTotal(true)-1; i>=0; --i)