Hi DavidS777,
If it is really script (not EA) so as far as I know - then script is executed once after attaching it to the chart, or based on some special condition. I mean: you will need to attach it every time you will need something from this script.
Yes, only 1 EA per chart. But you can have many same charts with many same EAs on it - just change magic number of your EA to any "unique number per chart" - and attach your EA to many charts with different magic number.
And there are some Eas which are working for all (pre-selected) the pairs (or for whole the account) if you attach it to any one chart for example.
Hello,
I made a simple MQL5 script. No problem to attach it to a chart, it runs properly.
But if I'm changing the Timeframe of the chart (for example from M1 to M5): the script is automatically removed from the chart.
Any help appreciated,Thanks
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I made a simple MQL5 script. No problem to attach it to a chart, it runs properly.
But if I'm changing the Timeframe of the chart (for example from M1 to M5): the script is automatically removed from the chart.
Any help appreciated,Thanks