Countdown to bar close in ThinkorSwim?

anycolour

Member
Hey guys. I've been using tick charts and I like that it tells you how many ticks have passed in the formation of a new 1k tick candle (you can count how many are left until a new candle forms). In the attached screenshot, it says 960, that means 960 trades/ticks have been made in that candle (meaning 40 remain to fully form that candle, and then a new candle will be formed with another 1k ticks/trades).

I want to do that with the 5m chart (time chart, not tick).
Is there an indicator that could tell me the remaining minutes and seconds until the formation of a new 5m candle? A countdown for the formation of 5 minute candles. Thank you!

bUTSDS9.jpg
 
Last edited by a moderator:

BenTen

Administrative
Staff member
Staff
VIP
I don't think there is a timer for when the current bar is closing. However, you can use the clock at the top left-hand corner. That's what I've been using to check for the remaining time before the next candle starts forming.

c6ZJaF1.png
 

rmmorgan

New member
My screen is normally very full, and having something like this with the seconds would really help me out as a day trader. I know that you can see the time on the top left corner of the screen in TOS, but I don't use that window as I need to have other tabs or programs open. This script would be of immense help if possible!
 

rad14733

Well-known member
VIP
@rmmorgan Just a thought but have you considered a simple independent timer App that you could float anywhere on your screen... Might be easier and more accurate than code... TOS doesn't have any actual timer functions and due to that you would not get an accurate candle countdown timer painted onscreen... With an independent timer you could, for example, set it to cycle candle times... Once you see a new candle you'd click Start and then it would cycle every x minutes... Your time would probably be better served searching for such a timer than trying to code an accurate timer in Thinkscript... Timers for different timeframes might be somewhat problematic, however...

Just my two cents...
 

rmmorgan

New member
@rmmorgan Just a thought but have you considered a simple independent timer App that you could float anywhere on your screen... Might be easier and more accurate than code... TOS doesn't have any actual timer functions and due to that you would not get an accurate candle countdown timer painted onscreen... With an independent timer you could, for example, set it to cycle candle times... Once you see a new candle you'd click Start and then it would cycle every x minutes... Your time would probably be better served searching for such a timer than trying to code an accurate timer in Thinkscript... Timers for different timeframes might be somewhat problematic, however...

Just my two cents...
yeah of course I would use something like that, but I can't find any timer that doesn't get minimized if I click at the program behind it unfortunately
 

FreefallJM03

Member
VIP
Hey guys. I've been using tick charts and I like that it tells you how many ticks have passed in the formation of a new 1k tick candle (you can count how many are left until a new candle forms). In the attached screenshot, it says 960, that means 960 trades/ticks have been made in that candle (meaning 40 remain to fully form that candle, and then a new candle will be formed with another 1k ticks/trades).

I want to do that with the 5m chart (time chart, not tick).
Is there an indicator that could tell me the remaining minutes and seconds until the formation of a new 5m candle? A countdown for the formation of 5 minute candles. Thank you!

bUTSDS9.jpg
I just added seconds to the taskbar clock so it shows when the clock is about to strike the next full minute. As soon as the clock is about seconds out I get ready to enter the trade on the confirmation bar right before the closing bar closes or the confirmation bar opens. If the confirmation bar opens lower, you can choose to exit or stay in the trade. Works pretty good because I keep my task bar present on all screens. This keeps me from having to keep the main ToS window on screen if I want to keep a different chart or something up in its place. This link provides step by step instructions on how to change the settings on the Windows taskbar clock to include seconds: https://www.howtogeek.com/325096/how-to-make-windows-10s-taskbar-clock-display-seconds/
 

Similar threads

Top