MQL4 - automated forex trading   /  

Forum

how to calculate/update my indicator every 5 seconds?

Back to topics list To post a new topic, please log in or register

avatar
6
clearpicks 2006.03.27 22:21 
I am learning programming in MT4. How can I calculate my indicator only
after the lastest bar has been shown on the chart and how can I update
the indicator at least after 5 seconds or at the beginning of a new bar
is generated thereafter? Any help is greatly appreciated.

BTW, my indicator is a modified zigzag indicator and which only
requires updates sporadically.


Multiple Null Bar Re-Count in Some Indicators

Multiple Null Bar Re-Count in Some Indicators

The article is concerned with the problem of re-counting of the indicator value in the MetaTrader 4 Client Terminal when the null bar changes. It outlines general idea of how to add to the indicator code some extra program items that allow to restore program code saved before multiple re-counting.


avatar
Moderator
5198
stringo 2006.03.28 19:35 
Indicator calculated with every incoming tick, with refresh chart data, with change symbol/period
Back to topics list  

To add comments, please log in or register