Help on script to Open multiple charts and load same indicator on each

To add comments, please log in or register
Francesco Piantedosi
276
Francesco Piantedosi  

Hi all,

I'm quite new to mql, I would write a script that opens multiple charts (several pairs shown at same time) and on each chart an indicator should be automatically loaded. Can someone address me to the correct way to open them and load indicator? i.e. I would open AUDUSD, EURUSD, USDJPY, USDCAD etc. (my target is 29 pairs) with daily timeframe, and load on each chart an indicator.

 

Thank you

Francesco

Carl Schreiber
Moderator
10116
Carl Schreiber  
Well just start with writing ChartOpen() in your script, put the cursor on that word and press F1.

On the index tab left of the help to that you'll find a lot other function you may need as well - and some do have examples!
William Roeder
22318
William Roeder  
That would be a lot of work. Why bother? Open one chart, add your indicator(s), and save a template as default. Then open your other charts, done.
To add comments, please log in or register