Download MetaTrader 5
To add comments, please log in or register
Subscribe to signals right in MetaTrader. It is easy!
BB2013
120
BB2013 2013.11.26 17:36 

Hi,

I created a indicator and I put that indicator in a template, so if I apply that template to diferente charts, the indicator runs on all of them.

Then, I created a script but, as far as I can see, I have explicitly to apply the scritp to each chart.

Is there a faster way, if I want that the same script runs 10 charts, for example ?

Thanks

Simon Gniadkowski
Moderator
17998
Simon Gniadkowski 2013.11.26 17:42  
Variopinto:

Hi,

I created a indicator and I put that indicator in a template, so if I apply that template to diferente charts, the indicator runs on all of them.

Then, I created a script but, as far as I can see, I have explicitly to apply the scritp to each chart.

Is there a faster way, if I want that the same script runs 10 charts, for example ?

A script usually runs once and exits . . . if you need something that runs continuously use an Indicator, if it needs to place trade use an EA. If you actually need a script assign it a Hotkey combination, for example, Ctrl + Z, and use that to run the script on each chart one by one.
BB2013
120
BB2013 2013.11.26 18:20  

Yes, assign to a Hotkey would be the BEST !

Can you explain how to do it ?

Thanks

Simon Gniadkowski
Moderator
17998
Simon Gniadkowski 2013.11.26 22:20  
Variopinto:

Yes, assign to a Hotkey would be the BEST !

Can you explain how to do it ?

Thanks

In the Navigator window, right click on the script and select Set hotkey or search the MT4 Terminal help for "hotkey" . . .
BB2013
120
BB2013 2013.11.26 22:27  
RaptorUK:
In the Navigator window, right click on the script and select Set hotkey or search the MT4 Terminal help for "hotkey" . . .

Excelent !
/
To add comments, please log in or register