View Full Version : Seconds Countdown timer??
03-13-2007, 05:25 PM
Is it possible to post or let me know how to construct a seconds countdown timer??
I have looked at the code of the TickCountdown timer but can't figure it out.
Thanks in advance
03-14-2007, 02:04 AM
I can give you some ideas but you will still have to code it.
- You could write an indicator that uses the Timer Class to count down time and then plot the value via the Plot() method, like the TickCounter
- You coud measure the time stamps of bars as they come in to see how much time is left and override the Plot() method
05-16-2007, 05:34 AM
Where do those timestamps come in? MarketData, Bars?
05-16-2007, 07:05 AM
You would have to take the time of the bar (closing time of bar) and the current actual time and do a difference. This is not 100% reliable since if your feed is off (delayed) the bar time vs actual time will be off.