XP: Bull Flag detected on 21 Jul 2026

All prices, scores, and news on this page reflect data available before market open on .

Browse all Bull Flag detections →

On 21 Jul 2026, our scan flagged XP as a bull flag setup scoring 75 out of 98 (Good tier), with a 73% win probability based on our historical pattern database and a 1.9 to 1 reward to risk ratio. This is a swing trade setup: win probability reflects a 10 trading day hold, not an intraday move. At $16.80, the conservative target is $17.35 with a stop at $15.88.

Overall Score
75 of 98
Good
Win Probability
73%
High
Reward / Risk
1.9 : 1
$0.27 reward $-0.14 risk
Swing Trading Plan
Entry
$16.80
Target
$17.35
Stop Loss
$15.88
Holding Period
Up to 10 trading days
Win Probability
73%
Current Setup
XP is forming a bull flag after the stock recovered from weakness, with structure quality scoring 15.0 reflecting strong price consolidation. At $16.80, the stock sits between key support at $16.26 and resistance at $17.16, a tightly compressed range typical of flag continuation patterns. Breakout score of 10.3 and volume ratio of 0.64 indicate below-average volume confirmation during the consolidation—volume has been 64% of 20-day average—suggesting the setup requires volume expansion to trigger a valid breakout above $17.16.
Stock Context
XP Inc released Q1 2026 earnings on May 18, 2026, with net revenue of R$4.7 billion up 8% year-over-year and adjusted diluted EPS of R$2.49 up 9% YoY. The company announced a CFO transition with Gustavo Alejo Viviani becoming CFO on August 3, 2026, following the departure of Victor Andreu Mansur Farinassi on May 31, 2026. A new share buyback authorization permits repurchases of up to R$1.0 billion from May 19, 2026 to May 20, 2027. According to 13 analysts, the average rating for XP stock is 'Buy' with a 12-month target of $23.62, representing 52.98% upside from current levels. The Finance sector itself is in bullish regime (0.86 score), supporting tactical strength despite the broader market trading in bearish conditions.
What to Expect
A successful bull flag breakout from $17.16 would target $17.35 on the conservative measure—a modest 2.1% move from current price. With win probability of 73.21%, the pattern statistically favors upside over time. Invalidation occurs on a breakdown below $16.26, which would signal the consolidation failed to hold and negates the breakout thesis. The relatively tight range and modest measured move suggest this is a short-term continuation pattern; traders should watch for volume expansion above the 5.96M daily average to confirm conviction. RSI at 55.11 provides neutral positioning with room to run without overbought conditions triggering reversals.
Risk Factors
Upcoming Q2 2026 earnings are scheduled for August 17, 2026, just 3.5 weeks away, creating event risk through the pattern window. Beta of 1.25 amplifies market volatility during the bearish regime (-0.29 sector score), meaning broader selloffs could invalidate the setup before the flag completes. Volume ratio of 0.64 is a warning sign—this pattern formed on below-average volume, reducing conviction. The stock sits 26.38% below its 52-week high of $22.87 and down 19.31% over three months, suggesting momentum exhaustion. CFO leadership transition occurring August 3, 2026 introduces operational uncertainty during the critical breakout window.
How We Find and Score This Setup
We scan more than 6,000 NYSE and NASDAQ stocks every trading day and compare each detected pattern against a database of 370,000+ historical detections. Every setup is scored across three dimensions: Structure, Volume, and Breakout Readiness. Win probability is a calibrated estimate of how similar historical setups performed over the following 10 trading days. This is a swing trading tool built for multi-day holds. It is not built or tested for day trading.
Frequently Asked Questions
Is XP a good swing trade?
XP scored 75 out of 98 on our bull flag scan, with a 73% historical win probability over the standard 10 trading day hold. Good setup based on our systematic scoring.
What is the entry, target, and stop loss for this setup?
The setup's reference price is $16.80, with a conservative target of $17.35 and a stop loss at $15.88.
What would invalidate this bull flag setup?
A close below the stop loss at $15.88 would invalidate the setup and suggest the pattern has failed.
How is the win probability calculated?
Win probability is a calibrated estimate of how similar historical bull flag setups performed over the following 10 trading days, drawn from a database of 370,000+ historical pattern detections across 6,000+ NYSE and NASDAQ stocks.
Market & Sector Regime
Market
Bearish -0.29
-1.0 0 +1.0
Finance Sector
Bullish 0.87
-1.0 0 +1.0
Other Patterns Detected Today
Ascending Triangle
35 days in pattern
Good 30.0
Overall Score
37 of 40
Exceptional
Pattern Quality
14 of 20
Good
Setup
13 of 20
Moderate
R/R
11 of 18
Moderate
Context
Pattern Quality Score
15 of 15
Exceptional
Structure
10 of 13
Good
Breakout
12 of 12
Exceptional
Volume
Recent Performance
+2.6%
1W
+2.4%
2W
+8.9%
1M
-19.3%
3M
Momentum & Trend
RSI (14)
55.1
Neutral
MACD Histogram
+0.11
Bullish
Bollinger Band Position
79.6%
Upper Zone
Volatility & Risk
20-Day Volatility
0.40
High
ATR %
3.6%
Medium
Beta
1.25
Above Mkt
Volume Analysis
Volume Ratio
0.64x
Below Avg
20-Day Avg Vol
6.0M
shares / day
Current Volume
3.8M
shares traded
Price Levels
52W High
$22.82
Target
$17.35
Resistance
$17.16
Current
$16.80
Support
$16.26
Stop Loss
$15.88
52W Low
$14.80
Disclaimer: This analysis is algorithmically generated for educational purposes only and does not constitute financial advice. Past pattern performance does not guarantee future results. Win probabilities are based on historical data across 370,000+ observations. Always conduct your own research and consult a qualified financial advisor. AI-assisted contextual analysis by Claude (Anthropic). Indicators reflect values at time of detection.