hi everybody, I need an indicator to show the remaining time of current candle to close,
if anyone can create it will be so useful for all members. thank you
Synchronization of Expert Advisors, Scripts and Indicators
The article considers the necessity and general principles of developing a bundled program that would contain both an Expert Advisor, a script and an indicator.
the remaining time of current candle to close?
most case: candle time used integer at it period unit, so get time with more precise, the remaining time is their difference.
example: now period in current graph window is 5 min, th time of current candle to close or open will only be 5 and its multiple.
so use the time not multipleof 5 min, you can get their difference.
not the candle time is server time, your computer's time maybe have some error.
An Indicator with this feature is existing:
attached may be of use: simple/configurable <secsUsed>/<secsInBar> indicator.
4got mention - <secsUsed> will only update when indicator gets next data tic. must be more clever stuff - maybe use Win API...
IF any make more clever THEN perhaps they post on this thread, OK?
To add comments, please log in or register
Copyright 2000-2014, MQL5 Ltd.