Join useThinkScript to post your question to a community of 21,000+ developers and traders.
Yes, you add Condition Group>None of the following>Add Filter>Study>Price Performance>Gap_Up...then set your gap to 30%...that should eliminate any items in the 'Scan In' group you've selected that gap up beyond 30%.Hi,
I want to scan stock that doesn't gap up more than 30% in the pre-market.
Is there a built-in filter in the ThinkorSwim screener?
apologies, I should have been clearer.Yes, you add Condition Group>None of the following>Add Filter>Study>Price Performance>Gap_Up...then set your gap to 30%...that should eliminate any items in the 'Scan In' group you've selected that gap up beyond 30%.
Using the Condition Groups can really fine tune your scan results....just takes practice.
that is another builtin TOS filter that you can filter with "has earnings"apologies, I should have been clearer.
For condition 1, to avoid usual gaps BUT I can accept gaps that happen ONLY ± 2 days during earnings period.
For condition 2, any advice please?
Thank you.
this is different - this only filters for stocks that does/doesn't have earnings in the next X days.that is another builtin TOS filter that you can filter with "has earnings"
this is different - this only filters for stocks that does/doesn't have earnings in the next X days.
my condition is - I accept GAP up/down only if it happened during earnings, else no other gaps are accepted.
def isBefore = HasEarnings(EarningTime.BEFORE_MARKET);
def isAfter = HasEarnings(EarningTime.AFTER_MARKET);
plot isDuringOrUnspecified = HasEarnings() and !isBefore and !isAfter;
can be done with TOS built in filters, no need for a special script. Both change from prev day and days before/after earnings can be scanned against with thinkorswims pre-sets.Is there a script where you can scan for a company who had earnings in the past X days then maybe add filter for a gap up after that??
I Posted earnings in the past X days hereIs there a script where you can scan for a company who had earnings in the past X days then maybe add filter for a gap up after that??
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
Scan for highest volume ever In a stock? | Questions | 3 | ||
C | scan for good earnings and a big stock price move | Questions | 0 | |
J | How do I scan for this kind of over extended stock? | Questions | 1 | |
J | need help finishing a code on trending stock scan | Questions | 3 | |
J | scan for stock near vwap intraday | Questions | 1 |
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.