Additional functionality in the thinkscript language will lead to better scripts that provide cutting edge analytical tools.
This change to the ThinkScript language is long overdue. When I "reference" a symbol from within a thinkscript I need to be able to specify the specific charting timeframe. So if I want "$TICK" data while I'm in a 233 chart I can get "$TICK" in a 1 minute format.
There are multiple ways to do this. One way might be to create a setter function the opposite of getAggregationPeriod().
setAggregationPeriod(_whatever_timeframe)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicWjxvzP6sWGRoFFfOCWiJjx2UEa7txN9sZeYWNS4HEqXPdvWyBLttXFBSi4ZgRMFzH_QmudM_k0ZscgkYcp41o85NpP6MscS-sIvYMOQz9n6kfwEmu9N2snJiVrxwHJDFFRfi44dGy5aF/s400/aRequest.jpg)
Let's band together in a constructive fashion and ask TOS for some additional functions in the thinkscript language.
Click here for ThinkOrSwim Live chat with Tech Support. Copy/Paste this this URL and paste it into your chat session as a reference. http://freethinkscript.blogspot.com/2009/05/request-from-freethinkscript-to-you.html
Or send an email to 'tpreston@thinkorswim' and request this additional feature.
Thanks in advance,
FreeThinkScript