NexusFi: Find Your Edge


Home Menu

 





TOS study for time before candle close?


Discussion in ThinkOrSwim

Updated
    1. trending_up 1,493 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?
Thanks Mike. Godspeed.
The Elite Circle
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
BERN ALGOS algo trading journal
1 thanks
Diary of a simple price action trader
1 thanks
Afternoon-close session
1 thanks
Converting NT7 indicators to NT8 for free
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,026
Thanks Received: 26,425


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