use ChartRedraw()
Documentation on MQL5: Chart Operations / ChartRedraw
- www.mql5.com
Chart Operations / ChartRedraw - Documentation on MQL5
Thanx! it worked
seen the link above but i have a question:
what about chart_id=0 if the indicator is used: elsewhere (not on chart 0) or applied on an other indicator ?

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
Hello all, i develop a custom indicator, the buffer populates within a timer function "OnTimer" every 3 seconds, but the graphic doesnt refresh automatically, i have to drag the mouse manually in order to refresh the indicator, how can i tell the graph to refresh everytime the timer updates the buffer ???
Thanks a lot.