• Get $40 off VIP by signing up for a free account! Sign Up

Scan for Intraday High

elijahcraig18

New member
I am looking to make a scanner that scans for stocks that are currently hitting their High of Day with a Relative Volume of >2. I am new to all of this and previously just paid for all these scanners monthly, but I don't want to pay for them any more.
 
I am not sure which scanner you've been using so far, or its update frequency, but be aware that ThinkOrSwim scans only update every few minutes or so. That being said, it is unwise to scan for stocks exactly at their high, as a stock may only be at that price for very brief moments as it fluctuates. It is generally necessary to provide some type of threshold to account for this issue. This, by default, will return stocks where the current price is within the upper ten percent of today's range, with volume being two times the twenty day volume average. You can, of course, adjust it. See how it works, maybe we can modify it. Run it on the Daily aggregation.

Ruby:
input HighThreshold = 10;
input VolumeMultiple = 2;
input AvgLength = 20;
def NearHigh = between(close,high - ((high - low) * (HighThreshold * 0.01)),high);
def RelVolume = volume >= simpleMovingAvg(volume, AvgLength) * VolumeMultiple;
plot Scan = NearHigh and RelVolume;

By the way, may I ask who was the grifter actually charging you money for something like this?
 
Last edited:

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

I am not sure which scanner you've been using so far, or its update frequency, but be aware that ThinkOrSwim scans only update every few minutes or so. That being said, it is unwise to scan for stocks exactly at their high, as a stock may only be at that price for very brief moments as it fluctuates. It is generally necessary to provide some type of threshold to account for this issue. This, by default, will return stocks where the current price is within the upper ten percent of today's range, with volume being two times the twenty day volume average. You can, of course, adjust it. See how it works, maybe we can modify it. Run it on the Daily aggregation.

Ruby:
input HighThreshold = 10;
input VolumeMultiple = 2;
input AvgLength = 20;
def NearHigh = between(close,high - ((high - low) * (HighThreshold * 0.01)),high);
def RelVolume = volume >= simpleMovingAvg(volume, AvgLength) * VolumeMultiple;
plot Scan = NearHigh and RelVolume;

By the way, may I ask who was the grifter actually charging you money for something like this?
Ok. I'm going to run this for a couple days next to my TradeIdeas scanners. Hopefully it matches up pretty close. Is there a way to highlight the background of the symbol or mark price in the watchlist to alert me when its triggering the NearHigh?
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
324 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