- Questions
- Chart Studies
Votes
Answers
Views
Question
0
1
136
asked 3 years ago by Eric Hughes
Category:
Chart Studies
Hello, Im trying to turn these conditions for buying and selling volume into a two line plot study that adds upon itself (recursion) that starts over each market open. im sure I can figure out the recursion part but dont know how to start the study a...
0
1
492
asked 5 years ago by Rick Hiett
Category:
Chart Studies
I want to be able to attach a chart bubble or arrow to a specific bar. For example, I want to attach a bubble to the highest high in the last 21 bars. I use recursion to find the highest high which gives me the bar count back. I try to drop that ...
0
1
1372
asked 6 years ago by Bernard Bernard
Category:
Chart Studies
Hi, I understand that IDataHolder / array is perhaps the most common data type used in thinkScript. Also I am reading that recursion is a commonly used technique. I know there is support for building functions and loops (fold). With all these, I thou...
0
1
117
asked 6 years ago by Finatec Inc
Category:
Chart Studies
Hi, When I plot the value closedLow I count about 16 entries manually. I want a script to count this My code is below and it seems to only count from YTD ie. all the bars from beginning of the year why is that? def closedLow = (high >= close[1] * ...
0
1
292
asked 6 years ago by Scott Smith
Category:
Chart Studies
I've been trying to find a reliable way to track (and use) my current trade position (long or short, as I do forex trading) as a factor for a conditional trade for "almost" auto-trading ability of ThinkorSwim. What does not work: Recursive reference ...
0
1
212
asked 7 years ago by Arun NY
Category:
Chart Studies
I thought plot x after def x=x[1]+1 will return as serial numbers starting from 1 . To my surprise, I get 3 as the starting number. (Please see attached screenshot. What am I missing or doing wrong? Thanks Arun
0
1
1109
asked 8 years ago by Scott Smith
Category:
Chart Studies
Since conditional order entry based on a study cannot have recursion used within it, is there a way of getting around this using one or more of (a) additional variables, (b) the GetValue() function, and/or (c) the Fold (looping) feature, or other th...