# Scan for stocks that trade near high with 10 cents or closer

#### DORAZI

##### New member
I try to find a scan that searches for stocks that trade with difference between High and Last trade is less or equal to 0.15 cents ( i set that number)

I moved from StreetSmart edge with Schwab to TOS and i cannot find this scan option in thinkorswim which Edge had.

Any help is appreciated.

thanks

can someone tell me how to set up a scan for stocks that trade intraday high or close to high with option to set for example 5 cents away from high , on street smart edge i set it as follows
last trade is greater than 2\$
and high is difference between high and last rade is less than equal to 5 cents
and volume is greater than 100k

any help is appreciatedoin how to set up the scan in TOS

thanks

#### Attachments

• SCAN.PNG
43.1 KB · Views: 74
• SCAN.PNG
43.1 KB · Views: 72
Solution
here are two options you have. one option is using the built in scan as shown in the screenshot attached which scans for 200,000 volume minimum and trading near 1% of current day high .

option#2 is you can use the thinkscript code below to scan for 200,000 volume minimum and trading near within 15 cents of the current day high . (MAKE SURE YOU SET THE AGGREGATION PERIOD TO "D" for DAY):

Code:
``````def vol = Volume>200000;
def high_dif = high-close;
plot scan = high_dif<=.15;``````
here are two options you have. one option is using the built in scan as shown in the screenshot attached which scans for 200,000 volume minimum and trading near 1% of current day high .

option#2 is you can use the thinkscript code below to scan for 200,000 volume minimum and trading near within 15 cents of the current day high . (MAKE SURE YOU SET THE AGGREGATION PERIOD TO "D" for DAY):

Code:
``````def vol = Volume>200000;
def high_dif = high-close;
plot scan = high_dif<=.15;``````

#### Attachments

• Screenshot.png
31.5 KB · Views: 46
here are two options you have. one option is using the built in scan as shown in the screenshot attached which scans for 200,000 volume minimum and trading near 1% of current day high .

option#2 is you can use the thinkscript code below to scan for 200,000 volume minimum and trading near within 15 cents of the current day high . (MAKE SURE YOU SET THE AGGREGATION PERIOD TO "D" for DAY):

Code:
``````def vol = Volume>200000;
def high_dif = high-close;
plot scan = high_dif<=.15;``````
OMG just saw your post, I will try it out, thank you so much i really appreciate it. I will let you know if i got it to work.

OMG just saw your post, I will try it out, thank you so much i really appreciate it. I will let you know if i got it to work.

just as a friendly tip, you might also want to check out the stock (built in) "high low graph" column which might help you as well, especially if you sort by it. i have a feeling you may like it if you utilize it properly.

87k+ Posts
395 Online

## The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
• Exclusive indicators
• Proven strategies & setups
• Private Discord community
• Exclusive members-only content
• 1 full year of unlimited support

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?