Questions (2351)

Votes
Answers
Views
Question
0
votes
0
answers
92
views
Be first to answer!
asked 5 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
79
views
asked 5 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
1
answer
98
views
asked 5 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
120
views
asked 5 years ago by
Category: Stock Scanners
First, thanks a ton for this forum. I'm already successfully using some custom scripts you've provided in other posts within my scans. What I can't seem to figure out is the following for a TOS scan: How can I tell my scan to find stocks if they meet...
0
votes
1
answer
156
views
asked 5 years ago by
Category: Stock Scanners
First I like to say I'm so GLAD I found this site. It's amazing how Pete is a master with TOS scripts. It appears that no one has asked about a Seasonality scan. Is it possible for a scan to rank stocks for each month? Can this be done for options to...
0
votes
1
answer
3055
views
asked 5 years ago by
Category: Chart Studies
I’m working on adding multiple labels (with or w/o plots) but I want the label itself to say Stacked and turn green if the moving averages are stacked or red if they are not stacked. I’m using 10EMA, 21EMA, 50SMA, 200 SMA. By stacked, I mean the pric...
0
votes
1
answer
599
views
asked 5 years ago by
Category: Stock Scanners
I have the following scan set up that's not giving me any results at this time but I would like Pete or someone to make sure I do have this set-up properly. Here's the rules: Find a stock price that crosses above the 10 day EMA The stock price must b...
0
votes
1
answer
73
views
asked 5 years ago by
Category: Chart Studies
I would like to add lines on the PercentChg study on ToS.  I use it to determine change in price on a percentage basis.  I use daily and weekly changes.  I use it on only a few indexes and individual stocks.  What I want to do is add lines to the thi...
0
votes
1
answer
150
views
asked 5 years ago by
Category: Stock Scanners
Hi Pete; You could help me with 2 Scan for TOS, with the crossing of the zero line of the WilliamsAD in the last 4 candles and another Scan crossing the zero line of the PriceandVolumeTrend indicator in the last 4 candles. I have tested them by the s...
0
votes
1
answer
1322
views
asked 5 years ago by
Category: Chart Studies
Hi, I understand that IDataHolder / array is perhaps the most common data type used in thinkScript. Also I am reading that recursion is a commonly used technique. I know there is support for building functions and loops (fold). With all these, I thou...