Chart Studies (7)

Votes
Answers
Views
Question
0
votes
1
answer
136
views
asked 3 years ago by
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
votes
1
answer
492
views
asked 5 years ago by
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
votes
1
answer
1372
views
asked 6 years ago by
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
votes
1
answer
117
views
asked 6 years ago by
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
votes
1
answer
292
views
asked 6 years ago by
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
votes
1
answer
212
views
asked 7 years ago by
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
votes
1
answer
1109
views
asked 8 years ago by
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...