Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Select stocks whose last price is within 2% from its high or low in last 10 days
I have recently joined this forum. I am looking for help in creating a thinkscript (ThinkOrSwim Platform) for the following criteria and need help with the same. The objective is to get the list of stocks whose price has been relatively stable in the last 10 days even though there has been considerable (200k +) volume every day. If this is already existing or if anyone can help share this script, kindly do so. My apologies in case I am posting this in the wrong place.
Additional clarity on the Scan Criteria: Want to create a scan wherein I select all stocks whose last price is within the range of 2% from its high and low in the last 10 days. It would help if I can change this 10 days to be any number of days. Also the last price can be the last price for today or yesterday. For e.g. a stock has high of 100$ in the last 1 month and low of 98$ then I want this particular stock to be selected in the scan I write in the TOS platform. Please let me know if you need any additional information.
Can you help answer these questions from other members on NexusFi?
Your scan criteria can be selected in the stock hacker scanner by adding each criteria and using the wizard for finer adjustments. Several videos are on YouTube or Read more about it at the online manual.
Here's what I came up with, but this could use some testing. Please let me know if this is what you were looking for or if you need help setting it up.
Jay
WithinRange Scan Script
RecentRange Chart Study
This is a chart study that draws the recent high and low lines based on the days back input. There's also a label that shows the percent from high and low along with the average volume. If they are within range, then the label is colored green, otherwise red.