Questions (2372)

Votes
Answers
Views
Question
0
votes
1
answer
173
views
asked 4 years ago by
Category: Chart Studies
Hi Pete! You previously helped me to write some code to track the intraday high until a moving average crosses VWAP. I would like to plot individual horizontal lines of support whenever there is a breakout candle that closes above the previous high t...
1
vote
1
answer
46
views
asked 4 years ago by
Category: Chart Studies
Hi Pete, the within reserved word only functions with an integer or length. Do you think it would be possible to write an expression that would achieve the same results as the within function while using a variable in place of an integer or length? T...
0
votes
1
answer
131
views
asked 4 years ago by
Thank you!
0
votes
1
answer
198
views
asked 4 years ago by
Category: Watch Lists
I'm having an issue where it seems like AssignBackgroundColor isn't checking the current value of a plot. The line above it uses AssignColorValue, and works as expected. The goal is to have the column be colored orange if the criteria of the if state...
0
votes
1
answer
166
views
asked 4 years ago by
Category: Strategy Guide
Hello Pete, I am backtesting a strategy using ThinkorSwim. The strategy is such that when a condition is satisfied at the open of the current bar (period), a buy order is placed at the same time. When the strategy is inspected visually, the graph sho...
0
votes
1
answer
58
views
asked 4 years ago by
Category: Chart Studies
Hello, I wanted to know if you could help me create a study that highlights rows in scanner/watchlist IF: the %change on the day is greater THEN: 30% highlight row to yellow
0
votes
1
answer
89
views
asked 4 years ago by
Category: Stock Scanners
How can I setup the following scan A=[Last Price] - [Low of day] B=[high price of day] > A*2 EG Last price [25] -[20]= 5 B= [high price of day] > 5*2=$35 So If stock last price is $25.00 and the low of the day is $20.00 The Scanner  will show m...
0
votes
1
answer
2735
views
asked 4 years ago by
Category: Chart Studies
Hello again.   I have made a cool chart study that uses the Assign color Feature and am practicing setting up sound alerts as well as chart bubbles.     Ive assigned color to wicking candles that cross SMA and VWAP.   Thing is theres so many bubbles!...
1
vote
1
answer
99
views
asked 4 years ago by
Category: Stock Scanners
Re-posted as requested and without formatting. Trying to implement the following in a Scan: price action has to have moved 20%, up or down, within the past year Formula in TC2000 is: (MAXH252 – MINL252) / C > 0.20 I’m new to ThinkOrSwim and after ...
0
votes
1
answer
317
views
asked 4 years ago by
Category: Strategy Guide
Is it possible to create an order entry or close to trigger when a bar/candle "closes"above a certain price on that time-frame? Not if it hits a certain price but actually closes above/below the set price....Thanks