MQL4 - automated forex trading   /  


Login | Register | Language: ru cn en
How to Use MQL5 Constructions? Check the Documentation!


Back to topics list To post a new topic, please log in or register
victor1967 2009.02.04 02:19

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

Five questions you’ll need to know the answer to if you want to pass the Series 7
If you want to score a high-paying job selling or trading securities in the U.S., you’ll need more than just a good resume. You’ll also need to pass a six-hour, 270-question exam commonly known as the Series 7, or the General Securities Representative Exam (GSRE). The test covers everything you’ll need to know to be a broker, from fairly simple procedural concepts to complex rules surrounding compliance and risk. Passing the Series 7 is particularly critical because you’ll already need to be employed by a FINRA member firm, and you can’t do your job without a license. Failing is an easy way to get fired before ever really getting started. While each exam has different questions, all cover the same general principles. Below are five questions you may see in some iteration, along with the correct answers and an explanation from Brian Marks, managing director at Knopman Financial Training, a New York-based FINRA licensing exam preparation firm. How would you do?
DxdCn 2009.02.04 06:01 #

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.

quintessa 2009.02.04 08:48 #

An Indicator with this feature is existing:


Attached files:
  demarkilines.mq4  (17.81 KB)
fbj 2009.02.04 14:14 #

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?


Attached files:
  secsused_secsinbar_timer.mq4  (1.73 KB)
Back to topics list  

To add comments, please log in or register