Custom indicator on timer refresh
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 ?
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.