Download MetaTrader 5
To add comments, please log in or register
Deposit to your account in any convenient way. There are 4 of them here!
aleloa 2011.01.23 21:19 

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. 

Step on New Rails: Custom Indicators in MQL5
  • 2009.11.23
  • Андрей
I will not list all of the new possibilities and features of the new terminal and language. They are numerous, and some novelties are worth the discussion in a separate article. Also there is no code here, written with object-oriented programming, it is a too serous topic to be simply mentioned in a context as additional advantages for developers. In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.
Alexander Piechotta
Alexander Piechotta 2011.01.23 22:17  
Documentation on MQL5: Chart Operations / ChartRedraw
Chart Operations / ChartRedraw - Documentation on MQL5
aleloa 2011.01.24 01:04  
Thanx! it worked
muller 2011.01.24 13:42  

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 ?

To add comments, please log in or register