Questions (2372)

Votes
Answers
Views
Question
0
votes
1
answer
108
views
asked 6 years ago by
Category: Chart Studies
Hi, When I plot the value closedLow I count about 16 entries manually. I want a script to count this My code is below and it seems to only count from YTD ie. all the bars from beginning of the year why is that? def closedLow = (high >= close[1] * ...
0
votes
1
answer
98
views
asked 6 years ago by
Category: Chart Studies
I need help with some code logic. suppose x is the high and y is the low of an indicator. how do I make a variable true if "close crosses above x" and false when "close crosses below y"? The problem if I use "close crosses above x" is that it will on...
0
votes
0
answers
99
views
Be first to answer!
asked 6 years ago by
Category: Stock Scanners
Hi Pete, I'm trying to create a custom scan which uses a custom study but is filtered to strike prices of a given stock that are near the underlying price.  I'd like it to scan strikes and return results that are +/- 2 in either direction from the un...
0
votes
1
answer
270
views
asked 6 years ago by
Category: Chart Studies
Hi Pete, Ive had a good look through previous postings and although some people have mentioned it, i havnt been able to find a script to work with, hope you can help! Im looking for a study that compares one days intraday volume on say a 5 min chart,...
0
votes
1
answer
227
views
asked 6 years ago by
Category: Stock Scanners
Hello sir - i am trying to make a 52 week low scan, i tried to replicate the following below and reverse/revise it for 52 week low but nothing is coming up. Any assistance is appreciated, thanks again for all your help! https://www.hahn-tech.com/ans/...
0
votes
1
answer
216
views
asked 6 years ago by
Category: Stock Scanners
I see TOS now has a Donchian Channel strategy.  How would that be converted to a stock scanner using the entry length, exit length, ATR length, ATR factor and ATR stop factor parameters?
0
votes
1
answer
959
views
asked 6 years ago by
Category: Stock Scanners
Hi Pete, Is it possible to scan for the slop of the TTM LRC indicator? Bullish scan = slope of lines is positive; Bearish scan = slope of lines is negative. Thanks Justin
0
votes
1
answer
163
views
asked 6 years ago by
Hello Pete,  I'm slowly learning thinkscript etc. and have put together a script for a column in watchlists.  It's intensive I know but it works Mostly!  :)  It monitors 5 minutes of volume compared to avgvol.  The part that doesn't work is the alert...
0
votes
1
answer
2791
views
asked 6 years ago by
Category: Watch Lists
i simply want to get rid of decimals in a column for watchlist or scan for volume avg.  I've been told there is no way to convert the following code to an integer other than to use an addlabel which would prevent it from sorting on that column.  Is t...
0
votes
1
answer
165
views
asked 6 years ago by
Category: Chart Studies
Hi Pete, How do you add codes for line 50 to WilliamsPercentR (see attached screenshot)? Thanks. # # TD Ameritrade IP Company, Inc. (c) 2007-2019 # declare lower; input length = 10; input overBought = -20; input overSold = -80; def hh = Highest(high,...