Bar open/close timer??


0
0
 Is there a study or indicator that would display a timer that counts down the bar period.  For instance on a one minute chart, at the open of the first candle a timer begins to count down in secs  60-0.  Then repeats with the open of the next bar.
Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on November 30, 2017 10:17 pm
3541 views
0
Private answer

Here is the page from Thinkscript language reference that shows everything they provide in regards to date/time functions.

http://toslc.thinkorswim.com/center/reference/thinkScript/Functions/Date—Time.html

There is a function called SecondsTillTime(). However this function requires a time as input. In any other platform, we have functions which return the start and/or end time of any given bar on the chart. However such bar date/time functions are absent in Thinkorswim. This leads me to believe there is no way at present to configure a countdown timer for a time based aggregation period in Thinkorswim.

I would love to hear from anyone who has managed to figure this out despite the lack of the required bar data/time functions.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on December 1, 2017 10:33 am
0
Private answer

If you can’t figure it out…no one can. ?

Thanks for looking into this.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on December 1, 2017 12:04 pm
0

I don’t ever look at it that way. I have plenty of cases where I go back to a previous road block and find a way through. I am always learning how to conquer things I previously thought was impossible. That is just the nature of this business. Whether trading or writing code. Just keep at it until it works.

( at December 1, 2017 12:49 pm)