MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Buy financial books in MetaTrader Market and trade with confidence

timer

Back to topics list To post a new topic, please log in or register
avatar
24
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

 
An Interview with Paul Rotter – I was always the guy who traded a lot, sometimes up to a 100 trades a day

An Interview with Paul Rotter – I was always the guy who traded a lot, sometimes up to a 100 trades a day

Paul Rotter is something of a legend among scalp traders with a penchant for the German government bond market. At the height of his scalping career he would sometimes trade as many as 1 million contracts a day with a more normal turnover of a still very significant 100,000-200,000 daily contracts. Though he isn't a forex trader, apart from dabbling to hedge his positions in other markets, he has nonetheless caught the interest of forex traders, particularly the scalping fraternity.

avatar
1739
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.

 
avatar
19
quintessa 2009.02.04 08:48 #
 

An Indicator with this feature is existing:

Regards


Attached files:
  demarkilines.mq4  (17.81 KB)
avatar
856
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