Hey guys,
When i customize the timeframes (visualization) on my Pattern Indicator (MT4) and switch between timeframes on my chart the arrows of all timeframes get mixed up and floating all over the screen.
Refreshing doesn't work and tried different indicators but same problem. When i check the box of "all timeframes" it works fine.
any ideas?
Thanks in advance.
Hi, my 2 cents, not sure if you have the source code, but when you switch timeframes, there is a reason code 3 detected in the "on deInit" section. You may use it to catch the timeframe switch (if you have the source code). To the extend, if you recompile your program or switch account, you would notice memory resets, but when you switch timeframe, it does not, however the "on Init" section is still invoked, and in that section there might be code that is not helping to properly manage timeframe switching :-)
See https://docs.mql4.com/constants/namedconstants/uninit
Hope that helps
![Uninitialization Reason Codes - Named Constants - Constants, Enumerations and Structures - MQL4 Reference Uninitialization Reason Codes - Named Constants - Constants, Enumerations and Structures - MQL4 Reference](https://c.mql5.com/36/40/uninitialization-reason-codes-named.png)
- docs.mql4.com
![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
Hey guys,
When i customize the timeframes (visualization) on my Pattern Indicator (MT4) and switch between timeframes on my chart the arrows of all timeframes get mixed up and floating all over the screen.
Refreshing doesn't work and tried different indicators but same problem. When i check the box of "all timeframes" it works fine.
any ideas?
Thanks in advance.