NexusFi: Find Your Edge


Home Menu

 





TOS study for time before candle close?


Discussion in ThinkOrSwim

Updated
    1. trending_up 1,320 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
nothingness99
Houston Texas US
 
Posts: 2 since Apr 2022
Thanks Given: 1
Thanks Received: 0

Hi,
Can anyone create a study/indicator in TOS that can display the time left before a candle closes? In short time frames it can display mm:ss , in the longer time frames it can display hh:mm:ss like in tradingview). Thanks in advanced


Reply With Quote

 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #2 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,174 since Jan 2013
Thanks Given: 57,989
Thanks Received: 26,406


nothingness99 View Post
Hi,
Can anyone create a study/indicator in TOS that can display the time left before a candle closes? In short time frames it can display mm:ss , in the longer time frames it can display hh:mm:ss like in tradingview). Thanks in advanced

Any TOS coders who want to create this study? It sounds like it should be a simple one.

Bob.


When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
  #3 (permalink)
ColoradoCliff
Parker CO/USA
 
Posts: 22 since Jun 2017
Thanks Given: 0
Thanks Received: 5


I hate to say it, but I don't believe it's possible with ThinkScript. The built-in function of GetTime() only returns the start time of the current candle, not what the actual time is. Without access to a real-time clock, there's no way to get a true countdown timer.


nothingness99 View Post
Hi,
Can anyone create a study/indicator in TOS that can display the time left before a candle closes? In short time frames it can display mm:ss , in the longer time frames it can display hh:mm:ss like in tradingview). Thanks in advanced


Reply With Quote




Last Updated on November 21, 2022


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts