Votes
Answers
Views
Question
0
1
60
asked 3 years ago by Grama GunnaSwamy
Category:
Stock Scanners
Can you please provide guidance for thinkorswim platform on how to write a stock scanner... which are within positive or negative 5% of the 20 day median value of the stock in the last 20 days? Thank you. Example.. Median of stock - 100. Stock is osc...
1
1
242
asked 3 years ago by Izet Dautovic
Category:
Watch Lists
Hi Pete, how're you? Hope you and your family are all well and sound. I was hopping you can help me out or give me some feedback. I found your bar count function from: https://www.hahn-tech.com/ans/display-bars-since-cross-above-hma/ Tried to adapt t...
0
1
193
asked 3 years ago by Kevin Jablonski
Category:
Strategy Guide
I am attempting to create a strategy similar to one I saw on youtube (open source). It plots the most recent HH (resets after x bars (say 10) to most recent HH and a possible Entry Price (= L (of the candle w/HH) - 2 * ATR20). I also want to add an U...
0
1
329
asked 3 years ago by John Norris
Category:
Chart Studies
I'm having a hard time trying to get my indicator to show red > 5 % else green, here is my code I hope you can help! def len = 1; def dayHigh = DailyHighLow(AggregationPeriod.DAY, len, 0, no).DailyHigh; def dayLow = DailyHighLow(Aggr...
0
1
89
asked 3 years ago by mulcher93
Category:
Chart Studies
I was interested in overlaying the daily Hull MA and daily Adaptive MA over a lower time frame chart, ideally the 1 minute chart. Is this possible ?
1
2
360
asked 3 years ago by Michael Chokrach
Category:
Watch Lists
Hello Pete, Hope your doing well. Do you know if it's possible to properly sort a watchlist using the AsPercent() function (in a custom column)? I have some code (shown below) that is used to calculate the relative daily volume of an instrument; howe...
0
1
397
asked 3 years ago by R N
Category:
Stock Scanners
Hi Pete, I looked in the Q&A section but couldn't find what I'm trying to do. I'm trying to scan my watchlist of stocks to pull up any stocks when the stock price is 1.5 times their respective ATR or higher. Just wondering if the below would wo...
0
1
393
asked 3 years ago by Erik Linter
Category:
Watch Lists
right now, the count returns the number of valid conditions out of the past 10 periods, with the color changing based on that condition and one other. i'd prefer how many periods it's been since the last instance of a valid condition, again with th...
0
1
81
asked 3 years ago by Craig Habermehl
Category:
Chart Studies
Pete Hope you can help turn my chart label into lower study.....If label would be green..make a green dot on the row...same for red/grey labels... input length = 14; input averageType = AverageType.WILDERS; DefineGlobalColor("DI+", color.green...
0
1
98
asked 3 years ago by Byronfern S
Category:
Watch Lists
Hi Pete, it possible to have a watchlist column that shows the total number of trades for premarket session? Thanks for your time.