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.


article

How to Make the Detection and Recovery of Errors in an Expert Advisor Code Easier

In Export Advisors development, the questions of code errors detection and recovery are very important. The peculiarity is that a not detected in time error may ruin a precious idea of a trading system already on the stage of its first testings. That is why any sensible EA developer takes into account such problems from the very beginning. This article dwells on some approaches, helping in this difficult matter.


avatar
Moderator
5089
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