ADX Squeeze For ThinkOrSwim

antwerks

Active member
VIP
I love the ADX indicators of all kinds but sometimes due to my physical computer set up I have "alot going on" so I needed something more simplistic in a visual. This is where this indicator comes from, https://tos.mx/!unAvUQX4. (this can be used on all timeframes) This indicator gives a visual with labels of stocks where:
  • ADX, DI+, and DI- are all below a threshold (default 25)
  • And they stay under that threshold for a defined number of consecutive days (default 5)
This is a volatility compression setup — often referred to as a "squeeze" — which can precede breakouts or reversals. The assumption is Low directional movement (low ADX and both DI lines compressed) is an area of potential buildup before expansion.

Pros:
  1. Simple but Effective Squeeze Logic: The use of ADX + DI+ and DI- being under a shared threshold is a good proxy for sideways, low-momentum markets.
  2. Customizable Settings: Threshold and duration (requiredDays) are inputs, allowing flexibility to test across various tickers and timeframes.
  3. Efficient Scan Condition: The logic is optimized and clean, avoiding redundant calculations.
  4. Useful Visual Labels: Helpful for manual review of ADX/DI+/- values at the point of scan.
Labelling Meaning:
  • Color Key​


    ColorMeaning
    🟩 GreenBullish breakout (ADX expanding, DI+ > DI−, volume confirms)
    🟥 RedBearish breakout (ADX expanding, DI− > DI+, volume confirms)
    🟨 YellowSqueeze in progress (volatility compression)
    ⬛ GrayNo setup (no squeeze, no breakout)

Phase Label Breakdown:

Label TextMeaningColor
PHASE: Bullish BreakoutSqueeze resolved upward; DI+ > DI−; ADX rising; vol confirms🟢 Green
PHASE: Bearish BreakoutSqueeze resolved downward; DI− > DI+; ADX rising; vol confirms🔴 Red
PHASE: Squeeze CompressionCompression in play; waiting for breakout🟡 Yellow
PHASE: Neutral / No SetupNo squeeze; no valid signal yet⚪ Light Gray

1750300176843.png
 
Last edited:

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

I love the ADX indicators of all kinds but sometimes due to my physical computer set up I have "alot going on" so I needed something more simplistic in a visual. This is where this indicator comes from, https://tos.mx/!T7R02R04. (this can be used on all timeframes) This indicator gives a visual with labels of stocks where:
  • ADX, DI+, and DI- are all below a threshold (default 25)
  • And they stay under that threshold for a defined number of consecutive days (default 5)
This is a volatility compression setup — often referred to as a "squeeze" — which can precede breakouts or reversals. The assumption is Low directional movement (low ADX and both DI lines compressed) is an area of potential buildup before expansion.

Pros:
  1. Simple but Effective Squeeze Logic: The use of ADX + DI+ and DI- being under a shared threshold is a good proxy for sideways, low-momentum markets.
  2. Customizable Settings: Threshold and duration (requiredDays) are inputs, allowing flexibility to test across various tickers and timeframes.
  3. Efficient Scan Condition: The logic is optimized and clean, avoiding redundant calculations.
  4. Useful Visual Labels: Helpful for manual review of ADX/DI+/- values at the point of scan.
Labelling Meaning:
  • Color Key​


    ColorMeaning
    🟩 GreenBullish breakout (ADX expanding, DI+ > DI−, volume confirms)
    🟥 RedBearish breakout (ADX expanding, DI− > DI+, volume confirms)
    🟨 YellowSqueeze in progress (volatility compression)
    ⬛ GrayNo setup (no squeeze, no breakout)

Phase Label Breakdown:

Label TextMeaningColor
PHASE: Bullish BreakoutSqueeze resolved upward; DI+ > DI−; ADX rising; vol confirms🟢 Green
PHASE: Bearish BreakoutSqueeze resolved downward; DI− > DI+; ADX rising; vol confirms🔴 Red
PHASE: Squeeze CompressionCompression in play; waiting for breakout🟡 Yellow
PHASE: Neutral / No SetupNo squeeze; no valid signal yet⚪ Light Gray

View attachment 24986
Ant, this looks amazing. I tried importing the link above but it defaulted into the upper price area and only gave me labels ? I'm not seeing the lower indicator.

Thanks
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

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