Votes
Answers
Views
Question
1
1
99
asked 4 years ago by Development & Technology Consultations
Category:
Stock Scanners
Hello Pete, Thank you for your great service, we really appreciate it. I have a question, which I really hope that you can help me answer. So, let's say we have a scanner x that retrieves the close price of the current bar if the conditions were met....
1
1
86
asked 4 years ago by Diamond Wheeler
Category:
Chart Studies
Hello, Currently, I am trying to just have moving averages plot all in one tidy study. However, Im running into an issue where the none of the plots work if a stock does not have the proper days for that avg (IPOs not having 50 trading days). I've tr...
0
1
63
asked 4 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
259
asked 4 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
201
asked 4 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
360
asked 4 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
96
asked 4 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
387
asked 4 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
428
asked 4 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
434
asked 4 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...