Scan not working right..help?

I've created a scanner that will pop tickers that a candlestick dropped 3.5% from previous price point...I've tried different "time/day" settings or within "bars ago" and it's not working as I thought it would. In reality, there are tons of those drops and I'm not getting alerted....what am I or did wrong??? I understand TOS does it's scanning like within 2-4 minutes but I'm not getting anything as I should or expect?

It's extremely simple scan:

Stock = last min $2.50 to $25
Volume = min 750K to max
price change ..open....is at least 3.5% less than 2 bars ago .....within "D"

I don't believe it requires a custom script for this? Any words of wisdom would be very appreciated.....
 
Last edited:
Solution
Hard volume numbers are never a good idea if you're just trying to assess things from a liquidity standpoint. In this case, its actually best to use an average volume, and use the previous day's average value, to avoid the drag down of the current incomplete bar, at least in live markets. I also personally wouldn't use the opening prices in this way, but that seems to be what you're going for. Try something like this in the scan editor;

Close > 2.50 and
Close < 25 and
Average(Volume,50)[1] > 750000 and
Open < Open[1] - (Open[1] * 0.035)

B1ZLGre.png
Yes, it should be simple. The main issue would be the update frequency of the scanner. It's not really going to catch these on a one minute or two minute time frame. I would suggest adding within 8 bars on the one minute, and maybe within 4 on the two minute, at minimum. You could actually make those numbers much higher to prevent the results from being deleted from the list too quickly.

I modified the scan to search within every bar for the most recent day, and I coded a matching upper chart study to visually display when the scanner would generate a hit. Here is a stock from the scan results with the study applied to the chart as well.

LaCnt8l.png


It yields results which look promising on the surface - but, again, the delay of the scanner is a major hindrance with time frames as small as one minute or two minute, and there is really no getting around that. I don't really know much else about your strategy, or how much time you would have to react versus the delay. It works in theory, but perhaps not in application.
Any news?? Hopefully?
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

For an actual large bar, from the prior bar, it would be:
(open - close >= close[1] * 0.035) within 100 bars

For just a large bar by itself, it would be:
(open - close >= open * 0.035) within 100 bars

For a large drop of any kind, which may include gaps, etc., it would be:
(close[1] - close >= close[1] * 0.035) within 100 bars

You can change the 100 bars to what ever you want, just don't go lower than about 10 minutes worth of bars; so within 5 bars minimum on a 2 minute chart, 10 bars on a one minute chart, and so on - or else scanner's update frequency might skip over it. As for volume and min/max price you can set that up yourself using normal scan filters. Turn off extended hours probably.
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
443 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

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.

How do I get started?

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.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top