Body Close Continuity & failure Backtesting @MaxMaseratiThis indicator, is a highly advanced institutional-grade tool designed to track the "lifespan" of a trend based on Body Close (BC) sequences.
Unlike basic indicators that just show direction, this script analyzes the structural integrity of a trend by monitoring how many candles continue the move before a "Touch" (retest) or a "Break" (failure) occurs.
The Continuity & Failure Stats indicator tracks sequences of Bullish Body Closes (BuBC) and Bearish Body Closes (BeBC). It measures three critical phases: Building (pure momentum), Touching (price retesting the low/high of the sequence), and Resumption (price continuing the trend after a retest). It provides a statistical distribution of how long these "buildings" typically last before failing, allowing traders to know exactly when a trend is overextended.
This comprehensive analysis blends the statistical breakdown of the Continuity & Failure Stats indicator to provide a deep understanding of the structural momentum for the S&P 500 E-mini (ES1!) on a 4-hour timeframe.
1. Extensive Table Breakdown
A. Building Distribution (Left Table): The Fatigue Gauge
This table acts as a histogram of momentum, tracking the "Building Count"—the number of consecutive candles closing in a trend without price returning to its origin.
Count Column: Represents the streak length (e.g., 1, 2, or 3 candles).
Touch Column: Shows how many times a streak was interrupted by a retest ("touch") but remained structurally intact.
Break Column: Counts total structural failures where price closed beyond the sequence's anchor.
Data Insight: For BuBC, 92 sequences reached Count 1, but only 28 remained by Count 4. This reveals a steep momentum decay after the 3rd candle, establishing a "Statistical Wall" where only 2 sequences in history reached a count of 9.
B. MMM Summary Stats (Top Right): The Mathematical DNA
This table provides the "Expected Value" and behavior of a trend over the lookback period.
Avg Building (2.39 for BuBC): On average, a bullish move lasts ~2.4 candles of pure momentum before a retest or reversal occurs.
Avg Touches (0.8): This low number indicates "clean" trends that rarely wobble back to retest levels multiple times before reaching a conclusion.
Avg R Cycles (0.55): This suggests that once a bullish trend is interrupted, it only successfully resumes its momentum about half the time.
Max R Count (1): Typically, once a trend is "touched," it only manages one more push before failing.
C. Multi-Timeframe (MTF) Quick Stats (Bottom Right): Trend Weight
This compares the 4H chart against other layers of the market to identify "global" alignment.
Sample Comparison: There are 3,594 tracked BuBC sequences on the 4H compared to only 142 on the Weekly chart.
Fractal Law: The Avg Building (2.4) is consistent across several timeframes, implying that the "Rule of Three" (momentum fading after 3 candles) is a fractal characteristic of this asset.
2. Table Comparison: Synthesizing the Data
To trade effectively, you must compare Distribution (timing) against Summary Stats (averages):
Continuity vs. Failure: The Summary Stats show an average building of 2.39. When checking the Distribution table at Count 2, the "Break" count (58) is already high relative to the "Total". This confirms that the risk of failure increases exponentially the moment you exceed the average.
Momentum vs. Mean Reversion: Distribution tells you when a trend is "tired". If the 4H is at a "Building Count 4" (statistically overextended) while the Weekly chart is at "Building Count 1" (fresh momentum), you may choose to prioritize the higher timeframe's strength despite the local overextension.
3. Strategic Summary & Application
This indicator proves that market momentum follows a predictable "Building" cycle rather than an infinite streak.
The "Rule of Three" for ES1! 4H:
The Entry Zone (Momentum Start): The most profitable entries occur at Building Count 1. Statistically, you have a high probability of reaching a count of 2 or 3.
The Exit Zone (Momentum Limit): Take profits or tighten stops at Count 3. The data shows the sample size drops by nearly 50% between Count 3 and Count 4.
The "Touch" Rule (Retest Reliability): If price returns to the sequence low (a "Touch"), do not expect a massive continuation. The Max R Count of 1 tells us that resumptions are usually short-lived.
Danger Zone: Entering at Building Count 4 or higher is statistically dangerous, as the "Break" probability significantly outweighs the "Touch" or continuation probability.
Wskaźniki i strategie
Long Short Trading System With TableSmart Trading System Pro is an advanced TradingView indicator designed for precision and clarity.
It combines Order Blocks, Liquidity Zones, EMA trend alignment, MACD, RSI, Volume, and ATR-based risk management to generate high-quality LONG / SHORT signals.
🔹 Clear trade direction
🔹 Smart entry, stop-loss & multi-level take-profit
🔹 Automatic risk/reward & leverage calculation
🔹 Clean visual dashboard for fast decision-making
Built for traders who value structure, confirmation, and risk control.
Best suited for crypto, forex, and indices on all timeframes.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice.
Trading involves risk, and past performance does not guarantee future results.
You are solely responsible for your trading decisions and outcomes.
FullerOSOBSQZ v1.1.22FullerOSOBSQZ v1.1.x — OS/OB Levels + Squeeze Anchor + Slope Accel + Alerts
What this script does
Plots Oversold (OS) and Overbought (OB) price levels as horizontal segments (line breaks) that persist for a configurable number of bars.
Tracks two layers of OS/OB logic:
Base triggers (broader detection)
Refined triggers (stricter pattern match layered on top of Base)
Plots a Squeeze anchor level during squeeze “ON” runs and provides squeeze lifecycle alerts (start/release + bull/bear release).
Optionally plots OS/OB start markers (seed points) and slope-acceleration markers for momentum context.
Provides alertconditions for starts, active lines, price interactions, within-N-bar follow-through, squeeze lifecycle, and hold/confirm.
Core Concepts
Mutually inclusive Base + Refined
Refined logic is not a competing system. It is a stricter confirmation layer on top of the Base logic.
You can use Base levels as the “watch” context, and Refined levels as a higher-confidence confirmation (or display both).
Line segments (line breaks)
OS/OB levels are drawn as horizontal segments using line-break style plotting. Each segment represents a “reference level” that remains valid for a limited number of bars after it triggers.
If a new, more extreme OS/OB triggers while a prior one is active, the plot will step to the new level (by design).
How to read the plots
OS Levels (below price)
These are support reference levels. Common reads:
Touch : price trades into the OS line.
Reclaim : close crosses back above the OS line.
Bounce : price dips below OS intrabar but closes above it (same bar).
Hold/Confirm : close stays above OS for N consecutive bars.
OB Levels (above price)
These are resistance reference levels. Common reads:
Touch : price trades into the OB line.
Reject : price trades above/into OB but closes back below it.
Breakout : close crosses above OB.
Hold/Confirm : close stays below OB for N consecutive bars (bear confirmation) or use breakout/hold logic for bull continuation.
Squeeze Anchor
When squeeze is ON, the script anchors a reference line from the first ON bar and holds it for the duration of the continuous squeeze run.
On squeeze release (OFF), you can interpret direction by where price closes relative to the anchor.
Slope Acceleration Markers
These markers highlight momentum inflection behavior derived from the internal regression/slope logic.
If you see fewer markers than another script, it usually means the underlying trend-gate and/or slope parameters differ (not that the feature is “missing”).
Settings — What they do and how changing them affects signals
1) Base Triggers
Controls the Base OS/OB detection layer.
Changing Base thresholds generally affects:
Frequency : looser = more lines; stricter = fewer lines
Quality : stricter = fewer but cleaner levels
Responsiveness : shorter lookbacks = faster reacting, more noise; longer = slower, smoother
2) Base Lines
Controls the Base OS/OB plotted appearance and segmentation length.
Segment length (forward bars): longer = level remains visible/valid longer; shorter = faster turnover and fewer active segments.
Line width : purely visual emphasis (does not change the underlying detection).
3) Refined Triggers
Controls the stricter confirmation layer (Refined OS/OB).
Refined triggers typically reduce false positives but may occur later than Base.
Use Refined when you want: “Only alert me on the higher-confidence pattern.”
4) Refined Colors + Widths
Color and width controls for Refined levels.
Recommended usage:
Keep Base slightly lighter/less prominent.
Make Refined more prominent so confirmations stand out.
5) Trend Context
Trend SMA length (default 62)
Shorter SMA = more sensitive trend context (more “below trend” flips).
Longer SMA = slower trend context (fewer flips, more stability).
Trend mode affects how some context cues render (for example, whether certain momentum markers appear in “below-trend” context).
6) Squeeze
Squeeze ON indicates compression conditions. The script plots a held anchor line during the ON run.
Per-bar render vs static
Per-bar render updates opacity per bar while squeeze is ON (based on your selected strength model).
Static render keeps the anchor appearance constant through the run.
Squeeze opacity model selection
Compression ratio : based on 1 − (BB width / KC width). Higher = tighter squeeze.
Z-score style : normalizes the BB/KC ratio over a lookback and maps extremes to opacity.
Duration boost : increases opacity with consecutive ON bars up to a cap.
Changing squeeze settings affects:
How early/late squeeze turns ON/OFF
How aggressively “tightness” is visually emphasized
How frequently bull/bear release alerts fire
7) Markers
OS/OB Start markers
Shows the first bar where an OS/OB segment begins (Base and/or Refined).
Useful for “N bars after start” logic and for validating what bar started a segment.
Alerts (built-in alertconditions)
Start alerts
OS Start (Any) — Base OR Refined start.
OB Start (Any) — Base OR Refined start.
Active line alerts (true while a line is plotted)
OS Active (Any line)
OB Active (Any line)
Price interaction alerts
OS Touch (Any)
OS Reclaim (Any) — close crosses above OS line
OS Bounce (Any) — low below OS line and close above
OS Breakdown (Any) — close crosses below OS line
OB Touch (Any)
OB Reject (Any) — price probes above/into OB and closes below
OB Breakout (Any) — close crosses above OB line
OB Breakdown (Any)
Within N bars after start alerts
Uses the setting: Within N bars after start (default 5).
OS Reclaim within N bars
OS Bounce within N bars
OS Breakdown within N bars
OB Reject within N bars
OB Breakout within N bars
OB Breakdown within N bars
Hold/Confirm alerts
OS Hold/Confirm (N closes above) — first bar where close stayed above OS for N consecutive bars.
OB Hold/Confirm (N closes below) — first bar where close stayed below OB for N consecutive bars.
SQZ lifecycle alerts
SQZ Start
SQZ Release
SQZ Bull Release — release bar close > SQZ anchor
SQZ Bear Release — release bar close < SQZ anchor
Suggested workflows
Bottom / bounce workflow
Watch: OS Start (Any) or OS Touch (Any)
Confirm: OS Reclaim within N bars + OS Hold/Confirm
Context: SQZ ON and/or SQZ Bull Release to time expansion
Top / rejection workflow
Watch: OB Start (Any) or OB Touch (Any)
Confirm: OB Reject within N bars (or OB Breakdown)
Context: SQZ Bear Release to time expansion lower
Notes
“Active line” alerts will be true on every bar while the line is present. For one-shot alerts, prefer the Start or Within-N-bar alerts.
If you change trend, slope, or squeeze parameters compared to a framework strategy script, you should expect differences in marker density and background behavior. The signal is highly parameter-dependent.
“Oversold/Overbought” levels are currently hardcoded, future version will open up configuration settings.
ALIEN WARP CORE [ULTIMATE] ALIEN WARP CORE is a multi-engine oscillator designed for chart analysis and visual clarity.
It lets you switch between several popular momentum engines and provides consistent visuals, optional filters, and clear signal markers.
What it includes
Multiple engines (selectable): Laguerre RSI, Connors RSI, Stochastic RSI, MFI, TDI, Standard RSI, and MACD (MT5-style).
Two-line systems: Signal line support in Stoch RSI / TDI / Standard RSI / MACD modes.
Trinity Color Logic: A dynamic gradient that helps visualize momentum bias (sell → neutral → buy).
Optional visual layers: “Nebula mist” bands and background warp color for easier reading.
Signals & markers: Buy/Sell labels, divergence markers, and midline retest markers (optional).
Filters (optional)
This script can apply extra confirmation filters:
EMA 200 trend filter
Momentum EMA filter (EMA 10 vs EMA 12)
ADX strength filter
RSI “safety” filter (blocks buys in extreme overbought, blocks sells in extreme oversold)
You can also enable Specific Signals for Standard RSI and MACD crossovers.
If Bypass Global Filters is enabled, those crossover signals can work independently from EMA/ADX filters.
How to use
Choose your preferred Engine in the settings.
Adjust lengths and visuals (line width, solid/gradient, mist opacity).
Enable filters if you want fewer signals and more confirmation.
Use divergence and retest markers as context, not as standalone trade triggers.
Important notes
This indicator is for educational and informational purposes only and does not provide financial advice.
Signals are not guaranteed and may repaint visually around pivot-based divergence detection.
Always backtest and combine with your own risk management.
Daily Candle Bias Backtesting Stats @MaxMaserati This indicator, is a powerful backtesting and probability tool designed to quantify the "follow-through" of specific candle types across different market sessions.
It identifies specific price action setups and tracks whether price hits a "Target" (continuation) or an "Invalidation" (reversal) first, providing real-time win rates for your favorite sessions.
The Candle Bias Stats indicator automatically categorizes every candle based on the MMM candle bias and tracks their historical success rate. It calculates how often a candle's high/low is broken before its opposite end is touched. By breaking this data down into sessions (Asian, London, NY), it identifies high-probability "time-of-day" windows where specific price action setups are most reliable.
MMM CANDLE LOGIC
Bullish Expansion & Breakout Signatures
Bullish Body Close Plus (BuBC Plus): Represents strong bullish momentum where price closes above the previous high and near its own top, signaling that buyers are in complete control.
Bullish Body Close Minus (BuBC Minus): Indicates weak bullish momentum; while the price closes above the previous high, a long top wick shows sellers pushed back, suggesting a potential retest of the previous high.
Bearish Expansion & Breakout Signatures
Bearish Body Close Plus (BeBC Plus): A very strong bearish signal where price closes below the previous low and near its own bottom, indicating sellers are dominant.
Bearish Body Close Minus (BeBC Minus): Signifies weak bearish momentum; the price breaks the previous low but finishes with a long bottom wick as buyers push back, often leading to a retest of the old ceiling.
Bullish Reversal & Trap Signatures (Affinity)
Bullish Affinity Plus (BuAF Plus): A strong bullish reversal where a new low is made, but sellers hit a wall and get trapped, causing price to finish near its top with a long bottom wick.
Bullish Affinity Minus (BuAF Minus): A weak bullish bounce where a new low is made and price finishes back inside the previous range, but buyers lack the energy for a significant move.
Bearish Reversal & Trap Signatures (Affinity)
Bearish Affinity Plus (BeAF Plus): A strong bearish reversal; buyers are trapped after making a new high, and price finishes near its bottom with a long top wick.
Bearish Affinity Minus (BeAF Minus): A weak bearish drop where sellers stop the rise but lack the energy to push price significantly lower.
Neutral & Volatility Signatures
Close Inside Bullish (CI•BuAF): Bullish neutral state where price stays inside the previous candle’s range but finishes in the top half, indicating buyers are slightly more active.
Close Inside Bearish (CI•BeAF): Bearish neutral state where price remains inside the previous box and finishes in the bottom half.
Seek & Destroy Bullish (S&D•BuAF): Bullish volatility characterized by price moving above and below the previous candle before buyers win the battle and close price near the top.
Seek & Destroy Bearish (S&D•BeAF): Bearish volatility where sellers win a high-chaos battle, closing price near the bottom after sweeping both sides of the previous candle.
H4 CANDLE EXAMPLE
Deep Dive: Analysis of the 4H Statistics
The image presents a comprehensive backtest of 4,999 total candles from September 2022 to December 2025. Here is the breakdown of what the interface is telling us:
1. The Strategy: Target vs. Invalidation
The indicator tracks BuBC (Bullish Body Close) and BeBC (Bearish Body Close).
The Target: For a Bullish candle, the target is the High. For a Bearish candle, it is the Low.
The Invalidation: The opposite end of the candle (the Low for Bullish, the High for Bearish).
The Goal: To see which level is touched first in the subsequent bars.
2. Global Performance (The Top Right Table)
Looking at the BuBC (1402 samples) section:
Target First (67.8%): In nearly 7 out of 10 cases, once a 4H candle closes "bullish" (breaking the previous high), the price continues higher to break its own high before it ever returns to take out its own low.
Both Hit (17.7%): This is a critical metric. It represents "Stop Runs" or "Wicks" where price hits the target but also hits the invalidation within the same tracking period.
Efficiency (1.3 Bars): This tells us the "follow-through" is almost immediate. If the trade doesn't work within 1 or 2 candles, the statistical edge drops off significantly.
3. The Session Breakdown (The Bottom Left Table)
This is where the "Edge" is found. Not all hours of the day are created equal.
Asian Late (02:00-06:00) – The "Star" Performer: With a 72.9% Target rate, this is labeled "BEST." It has the lowest "Both%" (6.5%), meaning moves during these hours are incredibly "clean." If a setup forms here, price usually moves directly to the target without looking back.
London Open & Overlap (06:00-14:00): These sessions maintain a high win rate (approx. 70%). This suggests that the European session provides reliable trend continuation for the S&P 500.
NY Session (14:00-18:00) – The "Trap" Zone: This is labeled "WORST" for a reason. While the win rate is basically a coin flip (49.6%), the Both% spikes to 36.7%. This means that even if you are right about the direction, the market is highly likely to "sweep" your stop loss before going to the target. It is the most volatile and "fake-out" prone time for this specific setup.
Summary of the Data
The statistics show that the S&P 500 4H Candle Bias is a highly reliable trend-following indicator, provided you trade it at the right time.
The data suggests a clear three-step logic:
Directional Edge: Both Bullish and Bearish body closes have a natural ~67% probability of continuation.
Timing is Everything: Trading during the Late Asian and London sessions increases your probability of success to over 70% with very low risk of a "fake-out."
Risk Warning: Avoid "Body Close" breakout strategies during the NY Mid-day (14:00-18:00). The statistics prove that this window is dominated by "Seek and Destroy" price action, where price is mathematically likely to hit both your target and your stop, usually hitting the stop first.
SMC SNI LAP ULTRA This indicator is a multi-tool market-structure and confluence signal assistant designed for EDUCATIONAL PURPOSES ONLY. It combines Smart Money Concepts (SMC) and classic technical confirmations to help visualize context, zones, and potential trade ideas.
What it shows
• Market Structure: Swing/Internal pivots, BOS / CHoCH / MSS labels and structure lines
• Liquidity Concepts: EQH/EQL style areas and liquidity sweep detection (when enabled)
• Zones & Areas of Interest: Supply/Demand, Order Blocks (OB), Fair Value Gaps (FVG) and key levels (depending on settings)
• Confirmation Tools: Pin bar / engulfing patterns, RSI-based filters and optional divergence
• Confluence Scoring (AI-like): A rule-based scoring system that weights multiple conditions (trend alignment, momentum strength, volume spike, sweep, zone location, RR quality, etc.)
• Risk Visualization: Optional Entry / TP / SL guide lines based on selected TP/SL modes and RR settings
• Alerts: Optional alerts that can be used for notifications or webhook integrations (signals only)
About “AI” / Scoring
The “AI” features in this script are NOT machine learning and do NOT predict the future. They are rule-based calculations that assign a score from multiple factors and track simple win/loss statistics based on user-defined TP/SL logic. Results depend on market conditions and your settings.
Important Disclaimer
This indicator does NOT provide financial advice and does NOT guarantee profits. Trading involves risk and you can lose money. Any signals, scores, or projections are informational and for research/testing only. Always do your own analysis, manage risk properly, and consider using a demo account for evaluation.
Recommended Use
Use it as a context tool:
1) Identify structure (BOS/CHoCH) and trend bias
2) Mark zones (OB/FVG/Supply-Demand)
3) Wait for confirmation (candle patterns, RSI/divergence, volume, etc.)
4) Use the scoring as a filter—not as a guarantee
If you need automated execution, connect alerts to your own external system at your own responsibility. This script itself is an indicator (not an auto-trading system).
Highs & LowsIntroduction: This indicator marks highs and lows from the previous New York, Asian, and London sessions, including the daily high and low. It is made to be as user friendly/adjustable as possible.
It was designed around trading during the New York morning session, using the 1 hour and 1 minute(or similar) timeframes in conjunction.
Settings: Common settings for the cleanest viewing are as follows:
1 Hour Chart Settings:
Box #3 "Label Vertical Offset" to "18".
Box #4 "Label X Offset" to "2".
1 Minute Chart Settings:
Box #3 "Label Vertical Offset" to "2".
Box #4 "Label X Offset" to "0".
Note: Adjusting text to the darkest "black" setting may provide the best contrast.
SVEA - Smart Valuation & Analysis [Gabremoku]SVEA is a smart overbought/oversold map that paints dynamic price zones and reversal signals directly on the chart using RSI and ATR‑based volatility bands.📈✨
🧠 Smart context: Automatically adapts OB/OS levels to asset type and timeframe (equities, crypto, forex, 15m) for more realistic signals.
🎯 Actionable zones: Highlights continuous OB/OS price areas as dynamic support/resistance, helping to spot stretched moves and potential reversals at a glance.
🌡️ Volatility‑aware: Uses ATR‑driven padding so zones expand in high volatility and contract in calm markets, keeping signals relevant across regimes.
🛠️ Fully customizable: Fine‑tune OB/OS levels, lookback, padding, and visibility to match your strategy and preferred signal frequency.
MSO - Market Stress Oscillator [WavesUnchained]MSO - Market Stress Oscillator
Bidirectional stress oscillator built on WVF + Z-score, with JMA/ADX filters, regime bias, and validated follow-through. Designed to expose downside panic vs upside euphoria and measure whether the market accepts or rejects each stress event.
Quick Setup
- Stress Color Mode : Intuitive (Downside=green, Upside=red) or Technical (classic colors).
CORE CONCEPT
- Downside stress : price flushes below WVF baseline (panic)
- Upside stress : price stretches above WVF baseline (euphoria)
- Stress is normalized via Z-score for cross-asset/timeframe robustness
ENGINE (BI-WVF + Z-SCORE)
- WVF Long and Short computed separately (panic vs euphoria)
- Z-score window normalizes extremes
- Thresholds are TF-aware (15m / 1h / 4h / D / W / M)
QUALITY FILTERS
- JMA trend filter (slope-based, low-lag)
- ADX minimum for trend strength
- Min Extreme Duration to avoid 1-bar noise
- Cooldown to prevent signal clustering
ACCEPT / REJECT LOGIC
- Events are evaluated after reactBars (forward follow-through)
- Accepted : follow-through >= minFollowATR
- Rejected : follow-through < minFollowATR
- Scores (0..1) optionally plotted as acceptance strength
BIAS / REGIME CONTEXT
- Bias line : zL - zS (who dominates)
- Bias band : regime threshold (only meaningful outside band)
- HTF Wind : higher-timeframe bias flip (JMA smoothed)
- Clarity Label : regime entry aligned with HTF + absBias threshold
VISUALIZATION
- Stress Lines : Red = downside stress (panic), Green = upside stress (euphoria)
- Bias Line : zL - zS (who dominates). Neutral inside band, colored outside.
- Bias Band : regime threshold. Fill shows when bias is usable.
- Zones : boxes at peak events (history preserved, FIFO capped)
- Chart Labels : DA/DR/UA/UR (or LA/LR/SA/SR) at peaks
- Lines : reaction window + peak level lines (FIFO capped)
STRESS COLOR MODE
- Intuitive : Downside stress = green, Upside stress = red (opportunity mapping)
- Technical : Downside stress = red, Upside stress = green (classic convention)
- This setting is visual only ; logic, bias, and signals are unchanged
HOW TO USE
1. Read the stress lines : red spikes = panic risk, green spikes = euphoria risk.
2. Check bias : outside the band = usable regime; inside = noise.
3. Use DA/DR/UA/UR :
- DA/UA = stress accepted (follow-through confirmed)
- DR/UR = stress rejected (weak follow-through)
4. Add HTF wind : prefer signals aligned with HTF bias.
5. Tune presets by TF; use manual TF override for testing.
PRESETS & UI
- Full TF preset table (15m / 1h / 4h / D / W / M)
- Manual TF override for testing
- Preset summary panel (optional)
LOGGING (CSV)
- Pivot and stress logs for validation
- Early/First-pivot classification options
- Label IDs included for chart-to-log tracing
BEST USE CASES
- Panic/euphoria detection with follow-through validation
- Regime-aware context (bias + HTF wind)
- Multi-timeframe stress mapping (15m to Weekly)
Version: 1.0.0
Author: WavesUnchained
Pine Script: v6
Educational use only. Test thoroughly before live trading.
Trend Dip-BuyerThis strategy is a simplified, high-probability Dip Buying System designed for active growth stocks. Instead of chasing breakouts at the top, it waits for the stock to take a "breather" (pullback) within an uptrend and buys the discount.
It combines a classic Trend Filter (50 EMA) with a sensitive Momentum Oscillator (RSI 2) to pinpoint the exact moment a pullback is likely to reverse back up.
How It Works:
1. The Trend Filter (50 EMA)
The strategy ONLY trades Long.
It requires the price to be above the 50-period Exponential Moving Average (EMA) (Blue Line). This ensures you are trading with the momentum of the market, not against it.
2. The Dip Signal (RSI 2)
It uses a fast 2-period RSI.
When RSI(2) drops below 50, it signals that the stock is temporarily "oversold" or resting. This is your cue that a discount entry is available.
3. Dynamic Exits
Profit Taking: The primary target is dynamic. The strategy looks to exit when RSI(2) spikes above 70, allowing you to capture the bulk of the momentum swing. (A fixed ATR target option is also included).
Safety: A 3x ATR Stop Loss protects the trade from sudden reversals.
✅ Simple Entry Checklist
Before taking a trade, ensure all 3 boxes are checked:
Trend Check: Is the current price ABOVE the Blue Line (50 EMA)?
Dip Check: Is the RSI (2) value BELOW 50?
Time Check: Is it past 12:00 PM? (Recommended for cleaner trends, but optional).
👉 If YES to all: Enter Long on the next candle open.
Best Settings (Customizable):
RSI Threshold: Default is 50 (Balanced). Lower to 30 for fewer, higher-quality trades.
Exit Method: "RSI > 70" is recommended for maximizing wins in strong trends.
Time Filter: "Trade > 12pm" is enabled by default to avoid morning volatility.
Session Opening Bar RangeSession Opening Bar Range (OBR) - Advanced Opening Range Indicator with Statistical Analysis
Overview
The Session First Bar Range (FBR) indicator is a comprehensive tool that captures and projects key levels based on the first bar of a user-defined trading session. Unlike traditional daily opening range indicators, this script allows traders to focus on specific session windows (New York RTH, London, Asia, etc.) and analyze price behavior relative to the initial momentum established in that session's opening bar.
What makes this indicator unique is its combination of three distinct projection methodologies: statistical analysis based on historical range data, Fibonacci extensions, and fixed-point rotation levels commonly used by institutional traders. To our knowledge, this is the only opening range indicator that incorporates statistical standard deviation levels calculated from historical first bar ranges, making it both a technical and probabilistic tool.
Core Concept
The opening range concept is based on the principle that the initial price action of a trading session often sets the tone for the remainder of that session.
Professional traders have long observed that:
The first bar's high and low act as key reference points
Price often respects or breaks these levels with significance
Expansion beyond the opening range tends to occur in measurable increments
This indicator takes these observations and enhances them with:
Historical probability analysis - "Based on the last 60 sessions, price typically extends X standard deviations beyond the opening range"
Proportional projections - Fibonacci-based extensions showing where measured moves typically target
Fixed-point rotations - Institutional rotation levels (e.g., 65 points for NQ, 15 points for ES)
How It Works
Session Detection & First Bar Capture
The indicator uses Pine Script's time() function with timezone support to precisely detect when a trading session begins. When the first bar of the selected timeframe occurs within the session window, the script captures:
High (H): The high of the first bar
Low (L): The low of the first bar
Mid (M): The midpoint (hl2) of the first bar
Critical Detail: These levels are fixed from the first bar only - they do not update as the session progresses. This differs from many "opening range" indicators that use a time period (e.g., first 30 minutes). Here, you select the bar timeframe (default 5-minute), and only that single first bar's range is captured.
Statistical Level Calculation
The indicator maintains a rolling array of the last N session's first bar ranges (default: 60 sessions). For each new session, it calculates:
Average Range: Mean of historical first bar ranges
Standard Deviation: Volatility of those ranges
Projection Levels: High/Low ± (Average Range + Std Dev × Multiplier)
This provides probability-based levels. For example, a +2σ level suggests: "Historically, price extending this far beyond the opening range is a 2-standard-deviation event (approximately 95th percentile)."
Fibonacci Extensions
Using the first bar range as the base unit (100%), the indicator projects Fibonacci levels:
100% extension: One full range above the high / below the low
1.618x extension: (Default) Golden ratio projection
2.618x, 3.618x extensions: Additional Fibonacci levels
Calculation: Range = H - L, then Target = H + (Range × Multiplier) for upside projections.
OR Rotation Levels
These are fixed-point increments from the first bar's high and low. Unlike percentage-based methods, rotations use absolute point values:
NQ traders often use 65-point increments
ES traders often use 15-point increments
Gold/bonds use different values
The indicator draws 5 levels above the high (R+1 through R+5) and 5 below the low (R-1 through R-5), each separated by your specified point increment.
Features:
Session Options
Pre-configured Sessions:
New York RTH (9:30am - 4:00pm)
New York Futures (8:00am - 5:00pm)
London (2:00am - 8:00am)
Asia (7:00pm - 2:00am)
Midnight to 5pm
ZB/Gold/Silver OR (8:20am - 4:00pm)
CL OR (9:00am - 4:00pm)
Custom Session: Define your own start/end times in HHMM format
Timezone Support: All sessions respect the selected timezone (default: America/New_York)
Customizable Timeframe
Select any timeframe for the first bar (1min, 5min, 15min, etc.)
Default: 5-minute bars
Important: This is the timeframe for the first bar capture, independent of your chart's timeframe
Display Options
Historical Ranges: Show/hide past session ranges (with configurable limit to manage performance)
Line Styles: Choose between Solid, Dashed, or Dotted for range lines and midline
Label Position: Left or Right side of range
Show Prices: Optionally display actual price values on labels
Custom Colors: Fully customizable colors for all components
Statistical Levels
Lookback Period: Number of historical sessions to analyze (default: 60)
Two Multiplier Levels: Default 1σ and 2σ, fully adjustable
Separate styling: Different line styles (dashed vs dotted) for each sigma level
Optional Labels: Show/hide sigma notation labels
Fibonacci Extensions
Four Extension Levels: 100%, 1.618x, 2.618x, 3.618x (all customizable)
Bidirectional: Projections both above and below the opening range
Optional Labels: Toggle percentage/multiplier labels
OR Rotation Levels
Configurable Increment: Set the point value for your instrument
Five Levels Each Direction: R±1 through R±5
Dynamic Labels: Show both rotation number and point value (e.g., "R+1 (65)")
Three Line Styles: Solid, Dashed, or Dotted
How to Use
Setup
Add the indicator to your chart
Select your trading session from the dropdown
Set the timeframe for first bar capture (typically 5-15 minutes)
Configure which projection methods you want to see (Statistical, Fibonacci, and/or Rotations)
For Day Traders
Scenario: Trading NQ during New York RTH
Session: Select "New York RTH (9:30am - 4:00pm)"
Timeframe: 5-minute (captures 9:30-9:35 bar)
Enable: OR Rotations with 65-point increments
Strategy:
Watch for acceptance/rejection at rotation levels
Use R+1/R-1 as initial profit targets
R+2/R-2 as extended targets
Statistical levels show when price is in "outlier" territory
and rotation levels
Performance Notes
The indicator limits objects to stay within TradingView's constraints (500 max)
If you enable all features, reduce "Maximum Historical Ranges" to prevent slowdown
Typical configuration: 10-20 historical ranges with all features enabled works well
Settings Guide
Session Settings
Session: Choose from pre-configured sessions or "Custom"
Custom Session Start/End: HHMM format (e.g., "0930" for 9:30am)
Timezone: Critical for accurate session detection
Opening Bar Format
Timeframe: The bar size for capturing the first bar's range
Show Midline: Toggle the mid-point line
Show Historical Ranges: Display previous sessions (recommended: leave ON)
Maximum Historical Ranges: Limit history to manage performance (1-500)
Range Style / MidLine Style: Solid, Dashed, or Dotted
Position: Label placement (Left or Right)
Show Prices: Include actual price values on labels
Statistical Levels
Lookback Periods: How many historical first bar ranges to analyze (default: 60)
Std Dev Multiplier 1/2: The sigma levels to project (default: 1.0 and 2.0)
All visual settings (colors, line width, label size)
Fibonacci Extensions
Show Fib Extensions: Enable/disable Fibonacci projections
Measured Move Extensions 1-4: The multipliers (default: 1.618, 2.618, 3.618, 4.618)
Visual customization options
OR Rotations
Rotation Increment: The point value for your instrument
NQ: 65 points
ES: 15 points
Adjust for other instruments based on their typical rotation behavior
Show Rotation Labels: Display level numbers and point values
Visual customization options
Use Cases
Gap Trading: When price gaps away from previous day's close, the first bar range shows the initial gap acceptance/rejection zone
Breakout Confirmation: Price breaking and holding above the first bar high with volume suggests trend day potential. Rotation levels provide measured targets.
Reversal Identification: Price reaching +2σ statistical level = rare event, potential exhaustion
Range Bound Days: Price oscillating between first bar high/low suggests range-bound session; trade reversals at extremes
Institutional Level Awareness: OR Rotations at 65 points (NQ) align with levels professional traders watch
Technical Notes
The indicator uses request.security() with lookahead=barmerge.lookahead_on to ensure the first bar levels are captured correctly
All drawing objects (lines, labels, fills) are managed in arrays with automatic cleanup to prevent memory issues
The statistical calculations use array.avg() and array.stdev() for accurate probability estimates
Rotation levels use individual line variables (like Fibonacci) rather than loops for reliability
Summary
This indicator is original in its combination of three distinct methodologies for projecting levels from a session's opening range:
Statistical Analysis - No other opening range indicator (to our knowledge) calculates standard deviation projections from historical first bar ranges
Time-Based Session Flexibility - Most OR indicators use only daily or fixed time periods; this allows any custom session window
Multiple Projection Methods - Traders can use statistical, Fibonacci, AND rotation levels together or separately
Multi-Group Trend Boxes with POC Trend Line - XWiseTradeAdvanced multi-timeframe trend structure visualization.
This indicator creates three independent groups of trend boxes, each with:
• Custom bar count and lower timeframe POC calculation
• Automatic up/down/sideways coloring
• Connecting POC trend line
Perfect for:
• Multi-timeframe confluence analysis
• Identifying trend strength across scales
• Clean structural price action mapping
Features:
• 3 fully customizable groups (short/medium/long term)
• Dynamic POC-based trend lines
• Transparent colored boxes
• High performance with object management
More premium indicators and strategies coming soon at:
xwisetrade.com
Be Wise. Trade X.
UT-Decision Engine v1.0 What This Indicator Does
This is a multi-factor trading signal system that combines four technical analysis components to generate buy/sell signals. Here's the breakdown:
Core Components
1️⃣ UT Trailing Stop (Primary Trigger)
Uses ATR-based trailing stops to identify trend reversals
Only triggers when price crosses the trailing line AND expands beyond a minimum threshold
Acts as the primary "gatekeeper" - no signal fires without this
2️⃣ Supertrend (Trend Filter)
Determines overall market bias (uptrend/downtrend)
Blocks counter-trend signals (won't show LONG signals in downtrends, etc.)
3️⃣ RSI Momentum (Scoring)
Measures momentum using RSI slope
Normalized to contribute -1 to +1 to the final score
Adds conviction when momentum aligns with the trigger
4️⃣ Divergence Detection (Scoring)
Identifies bullish/bearish RSI divergences at pivot points
Uses a decay function (signals fade over time)
Adds extra weight when divergences support the trade direction
5️⃣ Decision Engine
Combines all factors into a score
Only fires signals when:
UT trigger occurs
Trend bias aligns
Combined score ≥ minimum threshold (default 1.2)
now if used along with the market phase dashboard that will help you with determining when to exit trades.
BTC - Institutional Cost Corridor (Overlay)BTC - Institutional Cost Corridor | RM
Strategic Context
The approval of Spot Bitcoin ETFs on January 11, 2024, signaled the beginning of the "Institutional Era." Since then, price discovery has shifted from being purely retail-driven to being heavily influenced by massive, off-chain equity flows.
The Institutional Cost Corridor is an approach for a quantitative tool designed to solve the problem of "Institutional Blindness" by mapping the aggregate cost basis of Wall Street's entry. It allows for the identification of structural "gravity zones" where institutional capital is most likely to move from a state of profit into a state of defense.
The Methodology: Data Selection & Weighting
To ensure the output is statistically significant, the data engine focuses exclusively on the "Big 3" liquidity providers: BlackRock (IBIT), Fidelity (FBTC), and Bitwise (BITB). These three funds represent over 80% of total Spot ETF liquidity. A weighted ratio is applied (prioritizing BlackRock) to reflect the reality that a dollar flowing into IBIT has a significantly higher impact on market structure than a dollar in smaller, fragmented funds. This ensures the indicator follows the actual mass of institutional capital.
Recalculating the Shadow: Nominal Price & AUM
A common point of confusion is that Bitcoin ETFs have a completely different nominal price than Bitcoin itself (e.g., an IBIT share may trade at $50 while BTC is at $100,000). To solve this, the script does not look at the dollar price of the shares. Instead, it uses Assets Under Management (AUM) and Relative Performance Mapping . By calculating the percentage growth of the funds' underlying value since inception and projecting that growth onto the Bitcoin price axis, the script "re-scales" the institutional entry levels. This allows us to see exactly where Wall Street is "underwater" on a standard Bitcoin chart.
The Mathematical Foundations: Genesis vs. Anchored
The indicator utilizes two distinct mathematical approaches to triangulate the "Truth" of institutional positioning. These are not arbitrary assumptions, but forward-mapped models verified against professional financial benchmarks.
1. Conservative Floor (Genesis Mode)
• The Logic: This model uses a Cumulative Inflow VWAP . It treats every dollar that has entered the ETFs since Day 1 as part of a single, massive ledger.
• Scientific Justification: This approach maps to the "Fortress Zone" of early, high-conviction capital. Historical AUM performance data suggests that the largest influx of structural capital occurred during the launch phase of 2024. This logic identifies the Ultimate Floor —the level where the entire ETF cohort would flip to a net loss. In late 2025 research (e.g., Glassnode "True Market Mean"), this model consistently aligns with the deepest structural support of the bull cycle.
2. Wall Street Entry (Anchored Mode)
• The Logic: This model utilize a Relative Performance Anchor . It synchronizes the Bitcoin price on Launch Day with the growth performance of the ETF fund shares.
• Scientific Justification: This approach identifies the "Active Participant Basis." It reflects the entry price for the capital that fueled the most recent expansion cycles. It maps directly to the "Active Investors' Realized Price" cited by institutional research firms, identifying the immediate psychological "pain threshold" for the current market majority.
3. Institutional Mean (Hybrid Mode)
• The Logic: A 50/50 mathematical blend of the Conservative Floor and the Wall Street Entry .
• Justification: This is the "Equilibrium Zone." It serves as a neutral baseline by balancing early-stage "Genesis" conviction with late-cycle volatility. It represents the median cost basis of all current institutional holders.
4. The Shadow Corridor (Full Range)
• The Logic: Visualizes the entire spread between the Conservative Floor and the Wall Street Entry.
• Justification: The "Structural Support Cloud." Instead of a single price, it defines a regime . As long as Bitcoin remains above this cloud, the institutional trend remains in an "Expansion Phase." A re-entry into this corridor suggests a transition from a trending market into a value-accumulation phase.
Tactical Playbook: Scenario Logic
The Shadow Corridor (Full Range) visualizes the area between these two models, creating an "Institutional War Zone."
• Active Support Test: When price tests the Wall Street Entry (upper boundary), it indicates the active institutional majority is at breakeven. Expect significant defensive buying (bids) as funds protect their yearly performance reports.
• Deep Value Regime: Trading inside the Corridor is defined as a "Value Regime." This is where institutional accumulation historically absorbs retail capitulation.
• The Premium Trap: When the distance between price and the Corridor exceeds 35-40%, the market is "speculatively overextended," signaling a high probability of mean-reversion.
• Macro Breakdown: A Weekly (1W) candle closing below the Conservative Floor (lower boundary) signals a structural trend shift, indicating the majority of ETF-era capital is officially in a drawdown.
Operational Recommendation Best viewed on the Daily (1D) timeframe for macro structural analysis, providing the most reliable signal for institutional defense zones.
Tags: bitcoin, btc, etf, blackrock, ibit, institutional, cost-basis, vwap, macro, cycle, realized-price, Rob Maths
Sigma Levels😎 How to Use Sigma Levels (Gold & Crude Only)
Sigma Levels are not magic buttons.
If you click Buy or Sell the moment price touches a line…
Congratulations — you’ve just donated liquidity to the market.
⚠️ Works ONLY for Gold (XAUUSD) and Crude Oil (WTI / USOIL / CL)
🧠 The Right Way (Sigma Way)
These levels are waiting zones, not entry alarms.
When price reaches a Sigma Level:
Sit on your hands
Watch the candles
Wait for price to speak first
Only consider an entry AFTER you see proper confirmation, such as:
Hammer or Inverted Hammer saying “nope, not going further”
Bullish or Bearish Engulfing that actually engulfs (not politely taps)
Morning Star / Evening Star waking the market up
Strong rejection wicks screaming “wrong direction”
❌ What NOT to Do
No blind entries
No guessing
No “it feels like it will reverse”
No revenge trades because the last one hurt your feelings
✅ Sigma Rule
Levels tell you where to look
Candles tell you when to act
No pattern = no trade
Patience = profit potential
Trade calm. Trade disciplined.
Let Sigma Levels do the waiting — not your stop-loss.
High/Low Tracker ARDR/ADR V4High and lows in 2 timeframes
16:00 -> 03:55
19:30 -> 02:55
Toggle on/off of
- Auto extending untill 09:25
- Live updating during price action
Configure linestyles, box styles
It is now displaying correctly for both CL and ES
SB A / A++ ALERT ENGINE (Alerts Only)SB A / A++ Alert Engine
Session-Based Level Rejection Strategy (Automation-Ready)
Overview
The SB A / A++ Alert Engine is a rules-based TradingView indicator designed to identify high-probability institutional-style reversal trades using Stacey Burke–inspired concepts such as previous day levels, session structure, opening ranges, and round numbers.
This tool is alerts-only by design, making it ideal for:
TradingView alerts
Webhook automation
Telegram / Discord signal delivery
External trade execution systems
It does not repaint and evaluates signals on confirmed bar close only.
---
Core Trading Idea
Price frequently reacts at important reference levels during active trading sessions.
This script looks for rejection + confirmation at those levels and grades setups based on confluence and candle quality.
Only A-grade and A++-grade setups are alerted.
---
What the Script Detects
📌 Key Levels (Confluence Engine)
Previous Day High / Low
Initial Balance (Mon–Tue range, active Wed–Fri)
Session Opening Range (first hour of London / NY)
Round Numbers (configurable tick spacing)
Each level touched contributes to confluence — without double-counting the same zone.
---
🕒 Session Control
Signals are only allowed during:
London Session
New York Session
Includes:
Session resets
Max alerts per session
Cooldown between signals
---
🔎 Candle Confirmation
Valid signals require clear rejection behavior, such as:
Bullish / Bearish Engulfing candle
Strong Pin Bar (wick ≥ 2× body)
---
🧠 Trade Grades
A Trade
Valid session
ATR percentile filter passed
≥ 1 level of confluence
Directional rejection
A++ Trade
All A-Trade rules
Strong confirmation candle (engulf or pin)
≥ 2 independent confluence zones
Grades are displayed visually and included in alert payloads.
---
📊 Volatility Filter (ATR Percentile)
Instead of fixed ATR thresholds, the script uses an ATR percentile rank, ensuring trades only trigger when volatility is above normal for that market.
This adapts automatically across:
Forex
Indices
Futures
Crypto
---
Visual Output
▲ Green / Lime triangles → LONG (A / A++)
▼ Orange / Red triangles → SHORT (A / A++)
Color intensity reflects trade grade
Optional session shading (if enabled)
---
Alerts & Automation
All alerts are webhook-ready and structured for automation.
Each alert includes:
Symbol
Timeframe
Direction (LONG / SHORT)
Trade grade (A or A++)
Confluence count
Entry price (close of signal bar)
Designed to integrate with:
Telegram bots
Trade execution bridges
Risk management engines
---
What This Script Is (and Is Not)
✅ IS
A high-quality signal engine
Non-repainting
Automation-friendly
Institutional level-based logic
❌ IS NOT
A scalping indicator
A prediction tool
A “trade every candle” system
This tool favors patience, structure, and quality over frequency.
---
Recommended Usage
Timeframes: M5 – M15
Best markets: FX majors, indices, liquid crypto
Combine with your own execution, risk, and trade management rules
---
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always test on demo or paper trading before using live capital.
AMD Phases + Dashboard📊 AMD (Accumulation–Manipulation–Distribution) Indicator – How It Works
This indicator is a rule-based market phase classifier inspired by Wyckoff / Smart Money Concepts.
It does not predict the future, but instead interprets current market behavior using price range, volume, and volatility to identify where we are in the market cycle.
🔁 The AMD Market Cycle (Big Picture)
Markets tend to repeat this cycle:
Accumulation → Smart money buys quietly
Manipulation → Liquidity grab / false breakout
Distribution → Smart money sells to the public
Expansion / Decline → Strong directional move
Your script focuses on detecting phases 1–3, which occur before large moves.
🧠 What Data the Script Uses
The script analyzes three core variables:
1️⃣ Price Range (Structure)
Highest high vs lowest low over a lookback window
Tight range = consolidation
Expanding range = distribution or breakout
2️⃣ Volume Behavior
Low volume = lack of interest (accumulation)
Sudden volume spike = manipulation or distribution
3️⃣ Volatility Expansion
Small candles → compression
Large impulsive candles → transition or distribution
🟥 Phase 1 — Accumulation (Red Bubble, White Text)
What it means
Smart money is building positions
Price moves sideways
Public interest is low
Volume is below average
Volatility is compressed
How the script detects it
Narrow price range
Volume below its moving average
No strong trend direction
How traders use it
Look for long setups
Mark support and resistance
Prepare for a future breakout
Do NOT chase trades here
🟧 Phase 2 — Manipulation (Dark Orange Bubble, White Text)
What it means
Liquidity grab
False breakout above or below the range
Designed to trigger stop-losses
Often very emotional price action
How the script detects it
Sudden range expansion
Volume spike relative to recent average
Break outside the accumulation range
Candle closes back inside or shows rejection
How traders use it
Avoid entering breakouts immediately
Look for reversal confirmation
This is often the best risk-to-reward phase
🟦 Phase 3 — Distribution (Dark Blue Bubble, White Text)
What it means
Smart money is exiting positions
Public traders are buying late
Volatility increases
Trend starts to weaken or reverse
How the script detects it
Larger candles
Sustained high volume
Expanding range
Signs of exhaustion
How traders use it
Take profits on longs
Look for short setups
Watch for trend reversals
Stops should be tighter
🧭 Dashboard & On-Chart Bubbles
🔹 Dashboard
Shows the current detected phase
Updates in real time
Helps with context, not entries
🔹 Locked Bubbles
Labels are anchored to the candle
Each bubble appears only when a phase is active
Color-coded for instant recognition
Phase Color Text
Accumulation Red White
Manipulation Dark Orange White
Distribution Dark Blue White
⚠️ Important Notes
This is a context tool, not a signal generator
Best used with:
Support & resistance
Liquidity levels
Market structure (HH / HL / LH / LL)
Works best on:
15m – 4H
Crypto, Forex, Indices
🧩 How to Trade With It (Simple Framework)
Identify phase
Wait for confirmation
Enter on structure
Manage risk tightly
Exit when phase changes
🧠 Final Thought
Think of this indicator as:
“A market story teller, not a fortune teller.”
It helps you understand who is in control — buyers or sellers — and when NOT to trade, which is just as important.
WARNING , TRADE AT YOUR OWN RISK, THIS INFORMATION IS TO HELP , THE INFORMATION PROVIDED BY THE INDICATOR IS SPECULATIVE
Fixed Time Frame EMA [TickDaddy]Show a 50 period EMA on the 15 minute timeframe on any other timeframe like 5 min, 1 min, 1 hour, etc.. etc..
it's all customizable, you choose the timeframe, ema, color, all that good stuff.
PM/PW/PD/OVN/CD Highs & Lows with prices+ EMAsPM/PW/PD/OVN/CD Highs & Lows with prices
+
3 customizable EMAs (def 12/34/55)
Price Levels [TickDaddy]I hope you enjoy this indicator as much as I do!
it draws out price levels to your liking, by ticks or points, how many ticks/points between levels, very customizable. it also has an info box showing how many ticks/points between levels as well as dollar amount for that level, and you can change contract size as well as micros or minis just to see if price moved that distance, what you can expect to make.
any feedback greatly appreciated.
Day-Week-Month-Hour Separator [TickDaddy]As the title shows.
Separator lines for Hours/Days/Weeks/Months. customize as you please :)






















