
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
I use different profiles so I can get EURO charts or JPY charts etc in groups. In one set of profiles I have 8 charts, each on a different timescale. This all works well apart from a bug with a custom indicator. When I change profiles the custom indicator in question does not get its init() re-run and therefore seems to have variable data from the old chart. I can manually trigger an init() by changing timeframe down and then back up on the chart in question after changing the profile, but that is boring. I want the indicator fully automatic so it is always correct. I can’t seem to see a way of reading the profile from the terminal, which would be an obvious test ...
if (profile_changed ) then reset_stuff
Any other ideas?
(This is on MT4.00 build 402)