Smooth Volatility Stock Finder - Early Stages/Discussions

MURFMURF

New member
VIP
I've been working on new trading strategy over the last month.

My working title "Smooth Volatility Stock Finder".

It's currently in my head. This is an effort to start conveying to a group discussions for refinement for different helpful points of view. Maybe something like this exist already and I just don't know it.

At this point of the effort is a discussion stage, not ready for programming yet.

It's worked well for me over the last month adding 13% to my portfolio in very good safe manor without a tremendous amount of work. Thanks to this site and all the great people here. I've taken the indicators this site has proved thus far. This is rather looking to expand on those tools.

Step 1: See if anyone wants to talk about this, lol.

In simple terms to start, how to scan to find more stocks that have similar price action to COP, yet remove tickers like UNG.

Step 2: Convey the concept of Good, Ok and Bad.

Step 3: Start sorting out the nuances of the differences in discussion group.

I'll add comments later today about the balloons.

GOOD

OK

BAD
 
Last edited:
All variables adjustable at this point.
Balloon 1: A stock that has gapped no more than ~14 times in 12 month period
Balloon 2: Of the 14 reversal over 12 month period. 80% of the reversals took place over 3 days in term of smooth price action.
Balloon 1B: When the stock gapped, it does not gap more that X amount by % over 12 month time frame.
Balloon 2B: The stock did not have any candles this long over 12 months. Looking for more stable price movements.
Balloon 1C & 2C: Additional examples of too large a gap to consider as stable price movement in stock
 
Here is my first version of the script at sort of works.

# --- User Inputs ---
input priceMovementPercent = 30; # Price movement percentage (e.g., 30%)
input lookbackPeriod = 252; # Number of bars in a year (typically 252 trading days)
input maxGaps = 5; # Maximum number of gaps allowed in the given time frame
input maxGapPercent = 5; # Maximum allowable gap size percentage (e.g., 5%)

# --- Price Movement Calculation ---
def priceChange = (close - close[lookbackPeriod]) / close[lookbackPeriod] * 100;

# --- Gap Detection ---
def gapUp = (open > close[1]) and ((open - close[1]) / close[1]) >= 0.01; # Gap up of at least 1%
def gapDown = (open < close[1]) and ((close[1] - open) / close[1]) >= 0.01; # Gap down of at least 1%

# Calculate gap size percentage
def gapUpSize = (open - close[1]) / close[1] * 100;
def gapDownSize = (close[1] - open) / close[1] * 100;

# Count the number of gaps (up and down) in the given time frame
def gapCount = Sum(gapUp or gapDown, lookbackPeriod);

# --- Scan Condition: Price Movement + Gap Count + Max Gap Size Filter ---
plot scanCondition = (priceChange >= -priceMovementPercent and priceChange <= priceMovementPercent) and
(gapCount <= maxGaps) and
(gapUpSize <= maxGapPercent and gapDownSize <= maxGapPercent);
 

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

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

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