Questions (2060)

Votes
Answers
Views
Question
1
vote
1
answer
7
views
asked 3 days ago by
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
votes
1
answer
4
views
asked 4 days ago by
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
vote
1
answer
14
views
asked 1 week ago by
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
votes
1
answer
16
views
asked 1 week ago by
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
votes
1
answer
17
views
asked 1 week ago by
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
votes
1
answer
17
views
asked 1 week ago by
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
vote
2
answers
12
views
asked 1 week ago by
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
votes
1
answer
38
views
asked 2 weeks ago by
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
votes
1
answer
11
views
asked 2 weeks ago by
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
votes
1
answer
13
views
asked 2 weeks ago by
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...
1 2 3 206