NexusFi: Find Your Edge


Home Menu

 





TOS study for time before candle close?


Discussion in ThinkOrSwim

Updated
    1. trending_up 1,427 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

Can you help answer these questions
from other members on NexusFi?
Second Night of US Strikes Crushes Iran June 15 to 3.6% …
Prediction Markets & Event Contracts
MegaETH Proves the Crowd Right: Prediction Markets Calle …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
1 thanks
Darmok and Jalad at Tanagra
1 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,175 since Jan 2013
Thanks Given: 58,011
Thanks Received: 26,424


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