Questions (2386)

Votes
Answers
Views
Question
0
votes
1
answer
228
views
asked 5 years ago by
Category: Chart Studies
Is there a way to easily add the aggregation period input to any indicator? I tried adding input period to the Rate of Change indicator, but it still only calculates based on the selected chart period.   declare lower; input length = 14; input c...
0
votes
2
answers
238
views
asked 5 years ago by
Category: Stock Scanners
Hi Pete Hope all is well Can you please help me set up a scan. I created a simple moving average (SMA ) crossover arrows. if 10 SMA crossed above the 20 SMA then Yellow arrow, and if the 10 SMA crossed below the 20 SMA then Purple arrow. what I am a ...
0
votes
2
answers
197
views
asked 5 years ago by
Category: Chart Studies
Hi Pete, I made this indicator https://tos.mx/3H7wbFH and was wondering if it works as intended. I want it to show the % of uptrending blue candles to red candles and I want it to show the average number of bars that the trend will last for. Thank yo...
0
votes
1
answer
120
views
asked 5 years ago by
Category: Strategy Guide
Howdy, I am just learning how to code in thinkscript (no previous experience in coding). But after tinkering with other people's sample scripts coupled with few of my own, I was able to come up with some useful, albeit basic, strategies. So far, I ha...
1
vote
1
answer
278
views
asked 5 years ago by
Category: Strategy Guide
Hey Pete!  As always, I very much appreciate your insight.  I have created a conditional order based on a study. For some reason on two occasions so far it did not buy when it should have.  It works on most stocks and orders but today I found another...
0
votes
1
answer
1646
views
asked 5 years ago by
Category: Stock Scanners
Is there a way to add a condition to a scan that will eliminate any stock that is HTB or NTB on a desired short purchase in thinkorswim? To put another way, is there a way to add a condition to a scan that will only show stocks that are ETB on a desi...
0
votes
1
answer
561
views
asked 5 years ago by
Category: Stock Scanners
Hahn, First of all thank you so much for your help for this community. I need your help creaing a scan with alert using below script. It is working 100% fine on study chart, but not working for Scan. I am getting "Exactly one plot expected" error.  S...
0
votes
1
answer
145
views
asked 5 years ago by
Category: Watch Lists
Hi Pete, I'd like to track the performance of a stock/option after I add it to a watchlist. I'm thinking the best way is to track it from the date it was added? Is it possible for TOS to know the close on a specific date? Ex: Input startdate = 201911...
0
votes
1
answer
537
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
146
views
asked 5 years ago by
Category: Stock Scanners
Hi Pete, I would like to be able to perform a mobile average scan which indicates that an exponential average of 52 periods is not more than 2% distanced from another exponential average of 79 periods. Thanks Pete