It can't work. The chart will not change until the script exits. An EA will stay loaded during the de-init/init cycle.
and dont exist a mode for change time frame on the fly when i attach a EA or script , because when i attach it set me always
H1
Please write correct English as much as possible. Uppercase and punctuation are not optional.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi guys itry to set the time frame when i attach a script
with this code but not work
anyone can help me ? thankz