London Session Counter-Trend Strategy
👉 Timeframe: 15 minutes
🕗 Phase 1 — Morning Market Reading
Between 8:00 and 9:00, we observe the dominant market direction.
This direction is considered structural for the rest of the trading day.
If this movement continues until 10:00, it is also validated until a clear pullback occurs.
➡️ Therefore:
8:00–9:00 (and possibly until 10:00) = analysis zone
📐 Phase 2 — Trendline Construction
We draw a dashed trendline based on:
the lowest point if the 9:00 trend is bullish
the highest point if the 9:00 trend is bearish
This trendline acts as a key reference level.
🔄 Phase 3 — Trade Setup
We do NOT trade in the direction of the 8:00 trend.
Instead, we wait for:
a price retracement back to the trendline
Then:
we enter a position in the opposite direction of the 8:00 trend
👉 This is a counter-trend strategy, but a structural and rule-based one — not emotional.
Trend Analizi
Compression-to-Expansion Early Warning (CEEWS)The Compression → Expansion Early Warning System (CEEWS) is a volatility-structure and market-timing indicator designed to identify periods of statistical price compression and to signal when that compression transitions into directional expansion. Rather than predicting direction in advance, CEEWS focuses on detecting when price action becomes tightly constrained and then confirms when stored energy begins to release.
CEEWS quantifies compression using a composite of volatility contraction, range tightening, candle overlap, and reference-level convergence, producing a normalized Build score (0–100) that reflects the degree of latent price pressure. Elevated Build values indicate that the market is coiled and increasingly susceptible to movement, while expansion signals occur only when volatility begins to expand and price breaks from its recent range.
The indicator is intended as a timing and transition tool, not a standalone trend or directional system. CEEWS is most effective when paired with broader regime or trend-health indicators and is particularly well suited for index funds and highly liquid markets, where prolonged consolidation phases often precede sharp directional moves. Its primary purpose is to help traders identify when the market is likely to move, not to forecast where it will go.
Structural Trend Integrity Score (STIS)The Structural Trend Integrity Score (STIS) is a market regime and trend-quality indicator designed to evaluate the health and durability of a price trend, rather than its direction or momentum. Instead of focusing on overbought or oversold conditions, STIS measures whether a trend is structurally supported by consistent organization, persistence above trend, controlled pullbacks, and smooth progression.
STIS outputs a normalized score from 0 to 100, where higher values indicate stronger and more reliable trend structure, and lower values signal increasing fragility or structural breakdown. This makes it especially well suited for index funds and highly liquid markets, where trends tend to persist or fail based on internal structure rather than short-term price acceleration.
The indicator is intended to be used as a risk and confidence framework, not as a direct buy or sell signal. STIS helps traders and investors determine when it is efficient to maintain or increase exposure and when caution is warranted. It works best when paired with separate timing or entry tools and is particularly effective for long-only or trend-following strategies.
High Momentum CandleHigh Momentum Candle check.
Checks the candle open between the previous day's high and close.
ICT Rejection Zone LITEICT Rejection Zone LITE
✂️ Overview:
ICT Rejection Zone LITE gives you a clear view of high-probability liquidity rejection zones in real time. ICT Rejection Zones LITE visualizes key bullish and bearish liquidity rejection zones used in Inner Circle Trader (ICT) strategies. This free tool helps traders observe market sweeps, swing bias, and trend structure, building intuition for professional SMC/SMT setups
Ideal for learning, testing, and observing market structure, ICT Rejection Zone LITE lets you experience the power of Rejection Blocks without needing advanced settings.
This indicator brings you core logic allowing you to:
- See high-probability liquidity rejection zones as they form.
- Track bullish and bearish swings with trend-aware Gann logic.
- Understand how professional traders identify market “sweeps” and reversals.
✨ Features (at a glance):
- Visualizes bullish and bearish rejection zones on your chart
- Trend-aware logic tracks market swings and sweeps
- Core bias logic included for trend analysis
- Perfect for concept validation and learning
BTC 1hr Chart
✨ In-Depth Features:
Bullish & Bearish Rejection Blocks: See zones where price reacted strongly, highlighting potential support/resistance areas.
Trend Detection: Gann-based logic identifies upswings, downswings, inside/outside bars, and market sweeps.
Zone Lifespan: Blocks dynamically appear and disappear, showing which areas are still relevant.
Visual Cues Only: Mean Threshold (MT) lines and HUD are PRO features, keeping LITE simple but educational.
Locked Teasers: Inputs for block limits, HTF, and HUD are visible but disabled — showing users the value of upgrading.
Automatic Cleanup: Obsolete zones are removed to keep charts clear and easy to read.
🎹 Best Practices:
Observe how zones form during different swings and trends — this builds intuition for professional setups.
Compare Bullish vs Bearish zones to spot potential price rejection areas.
USOIL 4hr Chart
🛠️ Settings:
Timeframe & Trend: LITE is locked to the chart timeframe
Rejection Blocks: Max blocks limited to 5, block length fixed
Colors: Bullish / Bearish blocks adjustable visually
📈 Upgrade to Rejection Zone PRO
- Track mitigated blocks to know which zones remain relevant
- Extend blocks with custom lengths and limits
- Access Dashboard HUD for real-time bias and last sweep info
- Use alerts to never miss critical price interactions
📝 Final Note
Rejection Zone LITE is designed as an educational and observational tool. It introduces traders to the concepts of liquidity rejection and trend-aware zones, helping build intuition for market structure.
This indicator does not provide trading signals or guarantee results. Users should practice and test in a simulated environment before applying any strategies in live markets.
Silver 4h Chart
⚠️ Disclaimer
This indicator is for educational and informational purposes only.
It does not provide trading signals or financial advice.
Trading carries inherent risks. Past performance does not guarantee future results. By using Rejection Zone LITE, you acknowledge that all trading decisions are your own. The creators of this indicator are not responsible for any gains or losses resulting from the use of this tool.
If you find this ICT tool useful, consider adding it to your favorites and sharing feedback. Check out our other indicators available at our website.
If you'd like access or have any questions, feel free to reach out to me directly via DM.
Simple Price Envelopes [Clean & Multi-Band]Es muy sencillo. En el mismo cuadro de "Descripción" donde pegaste el texto, tienes que poner **primero todo el bloque en inglés** y **justo debajo** el bloque en español.
TradingView solo lee las primeras líneas para comprobar el idioma. Si ve inglés al principio, te dejará pasar.
**Haz esto:**
1. Borra lo que tengas ahora en la descripción.
2. Copia **todo** el texto que te pongo aquí abajo (ya incluye el inglés primero, una línea separadora y luego el español).
3. Pégalo en la caja y dale a Publicar.
---
**Simple Price Envelopes **
**Summary**
This is a Price Envelope indicator designed with a "less is more" philosophy. Unlike Bollinger Bands or traditional Envelopes that clutter the chart with historical lines, this tool focuses exclusively on **Real-Time Price Action**.
It displays up to 3 dynamic support and resistance levels based on a percentage distance from the current price, keeping the chart spotless and distraction-free.
**Key Features**
* **Absolute Visual Cleanliness:** Uses a rendering system that only shows current levels. No historical trails ("noise") when scrolling back.
* **Compact Interface:** Optimized configuration in a single line per band (Active | % | Width).
* **Multi-Band:** Ability to configure up to 3 independent reversion zones simultaneously.
* **Extreme Efficiency:** Code optimized in Pine Script v6 for minimal resource consumption and zero lag.
* **Clear Information:**
* Native price labels on the scale (Y-Axis).
* Floating labels with deviation percentage.
**Configuration**
The settings panel has been simplified for quick control:
1. **Global Settings:** Define your preferred colors for upper (resistance) and lower (support) levels.
2. **Bands 1, 2, and 3:** Each band has its own row where you can:
* Toggle the band On/Off.
* Define the exact percentage distance.
* Adjust the visual dot thickness.
**Who is this indicator for?**
Ideal for **Scalping** and **Day Trading** traders looking for mean reversions or volatility breakouts who need to keep their chart clean to analyze market structure without lines obstructing past candles.
---
[CT] Daily & Weekly Percentage Price Oscillator Daily & Weekly Percentage Price Oscillator, or D&W PPO, is a dual-speed momentum oscillator that blends a slower “weekly-style” percentage oscillator with a faster “daily-style” percentage oscillator, then turns the relationship between them into a clean histogram that is easy to trade. The script builds four EMAs from the chart’s close. The first pair, L1 and L2, is used to create the W component, which behaves like a slow, higher-timeframe trend pressure line. W is calculated as the percentage distance between EMA(L1) and EMA(L2), normalized by EMA(L2). When W is rising and positive, it tells you the broader momentum is expanding upward, and when W is falling and negative, the broader momentum is expanding downward. The second pair, L3 and L4, creates the D component, which behaves like a faster, lower-timeframe momentum pulse, also expressed as a percentage but normalized by the same EMA(L2), so both components share a consistent “scale.” The script then combines them into R = W + D, which represents the total blended momentum, where W supplies the slow structure and D supplies the fast impulse.
The indicator is plotted as a histogram using “R − W,” and that choice is intentional. Because R = W + D, the histogram value “R − W” is mathematically identical to D. In other words, the columns you see are the fast momentum component, but anchored to a clear baseline that reflects whether the fast component is adding to, or subtracting from, the slower component’s trend context. The zero line is the equilibrium point where R equals W, meaning the fast component is neutral relative to the slow trend context. When the histogram is above zero, the fast component is contributing positive momentum and the script colors the columns with the Bull color, indicating that R is above W and the short-term push is aligned to the upside. When the histogram is below zero, the fast component is contributing negative momentum and the script colors the columns with the Bear color, indicating that R is below W and the short-term push is aligned to the downside. If you enable “Color price bars,” the chart candles are painted with the same logic so you can visually stay in sync with the fast momentum regime without staring at the panel.
How to trade it comes down to treating the histogram as your actionable trigger layer and using its behavior around the zero line as the decision boundary. A basic long framework is to prioritize long trades when the histogram is above zero and either expanding or printing consecutive positive columns, because that tells you the fast momentum pulse is supportive and not fighting the current regime. The cleanest long entries usually occur when the histogram flips from negative to positive and holds above zero for at least a bar or two, because that transition often marks the shift from pullback pressure into renewed upside impulse. You can add selectivity by watching for a “dip and re-strengthen” pattern above zero: after a positive run, the histogram contracts toward the baseline without breaking materially below it, then turns back up, which often corresponds to a controlled pullback followed by continuation. A basic short framework is the mirror image: prioritize shorts when the histogram is below zero and expanding downward, and treat flips from positive to negative that hold below zero as the higher-quality transition into downside impulse. In both directions, the histogram is especially useful for avoiding trades during momentum dead zones, because when columns chop tightly around the zero line with frequent flips, it is signaling indecision and a lack of clean directional impulse, which is where most “false starts” tend to happen.
Risk management with this tool is straightforward because the oscillator gives you a natural invalidation concept. For long trades, a common invalidation is the histogram losing the zero line and staying negative, since that indicates the fast component has turned from supportive to opposing. For short trades, invalidation is the histogram regaining the zero line and holding positive. Another practical way to manage trades is to use histogram contraction as an early warning that the impulse is weakening. If you are long and positive columns begin to shrink toward zero for several bars, you can tighten risk, take partials, or wait for a fresh expansion before adding. If you are short and negative columns begin to shrink toward zero, the same concept applies. The optional W line can be shown if you want a visual anchor of the slow component; while the histogram is already built to reflect the fast component relative to the slow context, viewing W can help you quickly recognize whether the larger momentum backdrop is generally rising or falling, which can be used as an additional bias filter for trade selection.
In practice, the D&W PPO is best used as a momentum alignment and timing tool: the slow component defines the “weather,” the fast component defines the “wind,” and the histogram tells you whether the wind is pushing with the weather or pushing against it. When the histogram is cleanly one-sided and expanding, it supports continuation-style trading and trend-following entries. When the histogram is choppy around zero, it warns you that conditions are rotational and patience usually pays.
Simple Price Envelopes [Clean & Multi-Band]Summary This is a Price Envelope indicator designed with a "less is more" philosophy. Unlike Bollinger Bands or traditional Envelopes that clutter the chart with historical lines, this tool focuses exclusively on Real-Time Price Action.
It displays up to 3 dynamic support and resistance levels based on a percentage distance from the current price, keeping the chart spotless and distraction-free.
Key Features
Absolute Visual Cleanliness: Uses a rendering system that only shows current levels. No historical trails ("noise") when scrolling back.
Compact Interface: Optimized configuration in a single line per band (Active | % | Width).
Multi-Band: Ability to configure up to 3 independent reversion zones simultaneously.
Extreme Efficiency: Code optimized in Pine Script v6 for minimal resource consumption and zero lag.
Clear Information:
Native price labels on the scale (Y-Axis).
Floating labels with deviation percentage.
Configuration The settings panel has been simplified for quick control:
Global Settings: Define your preferred colors for upper (resistance) and lower (support) levels.
Bands 1, 2, and 3: Each band has its own row where you can:
Toggle the band On/Off.
Define the exact percentage distance.
Adjust the visual dot thickness.
Who is this indicator for? Ideal for Scalping and Day Trading traders looking for mean reversions or volatility breakouts who need to keep their chart clean to analyze market structure without lines obstructing past candles.
TD Trend Scanner PROIf you want trading to feel simpler and safer—with clear trend direction and consistent risk control—
TD Trend Scanner PRO combines a Top-Down trend workflow (M30/H1/H4/D1), a customizable risk calculator, and Buy/Sell signals with alerts in one indicator. It works on any timeframe and any asset, including Gold (XAUUSD), Forex, Crypto, Stocks, and Indices.
1) Top-Down Trend view for clear market direction
Built around a practical multi-timeframe structure (M30 / H1 / H4 / D1), the indicator helps you read the market step-by-step:
D1/H4 for the main trend and bigger-picture context
H1 for additional confirmation
M30 for execution planning and fine-tuning
This Top-Down approach reduces confusion in choppy markets and helps you stay aligned with the dominant direction.
2) Custom Risk Calculator — in % and $
Risk control is the foundation of consistency. With TD Trend Scanner PRO, you can set:
Your account capital
Your preferred risk per trade (%)
The indicator then displays risk per trade in both percentage (%) and dollar amount ($), helping you stay disciplined and consistent—whether you trade short-term or long-term.
3) Buy/Sell signals on ANY timeframe + built-in alerts
The indicator provides Buy/Sell signals across any timeframe, giving you full flexibility for scalping, day trading, or swing trading.
It also includes alerts that notify you instantly when a Buy signal or Sell signal occurs—so you don’t need to watch the chart all day and can react on time.
4) Works across all assets
Because it’s built on trend alignment + risk awareness + signals, it adapts smoothly across markets—Gold, Forex, Crypto, Stocks, and Indices.
TD Trend Scanner PRO is ideal for traders who want a clear trend framework, consistent risk control, and timely signals with alerts.
Settings Guide
1) Risk Management
Account Size (USD): Enter your account capital (e.g., 5000)
Risk Type: Choose one of the following
Percent (%) = risk a percentage of your account (best for disciplined risk management)
Dollar ($) = risk a fixed dollar amount per trade
Risk: Set your risk per trade
Example: 1 = 1% (if Percent is selected) / 50 = $50 (if Dollar is selected)
Risk Reward Step: Number of profit target steps (TP Ladder)
Set to 5 = TP1–TP5 (higher value = more target levels)
2) Table Settings
Show Table: Toggle the summary table on/off
Label Size: Adjust the label text size
Table Position: Choose where to display the table, e.g., Top Right
3) Signal Setting
ATR Bias: Enable to filter signals based on volatility (helps reduce false signals during choppy markets)
4) Alerts
Enable Alerts: Turn on alerts
Recommended mode: Once/Bar (one alert per candle to reduce spam)
How to Enter Buy / Sell Based on Signals
Main Rule: Trade with the Trend (Trend Following)
When a Buy signal appears, focus mainly on Buy setups
When a Sell signal appears, focus mainly on Sell setups
Tip: Use Top-Down confirmation before entering (D1/H4 → H1 → M30)
Signal-Based Entry Steps
Wait for a Buy/Sell signal on the timeframe you trade
Enter the order based on the signal
Manage risk using your configured Account Size + Risk per trade
Use TP1–TP5 to scale out profits, and use SL as the system-defined stop loss
Pullback Trading Strategy (Highly Recommended)
Concept: Don’t chase price—wait for a pullback, then enter in the direction of the trend.
Buy Pullback
Trend remains bullish based on Top-Down
Wait for price to pull back near a support/trend zone (where the system indicates a pullback area)
Enter when a Buy signal appears (or price structure turns bullish again)
Target: scale out at TP1–TP5
Sell Pullback
Trend remains bearish based on Top-Down
Wait for price to retrace near a resistance/trend zone
Enter when a Sell signal appears (or price structure turns bearish again)
Target: scale out at TP1–TP5
Tip: If the market is very choppy, enable ATR Bias for extra filtering, and focus only on pullback entries that do not go against the higher-timeframe trend.
RS High Beta Exposure w/ Probabilistic Windowing | QuantLapseRS High Beta Exposure w/ Probabilistic Window | QuantLapse
Conceptual Foundation and System Design Philosophy
The RS High Beta Exposure w/ Probabilistic Window indicator by QuantLapse is a regime-aware, multi-asset allocation framework engineered to solve one of the most persistent problems in crypto trading:
knowing when it is statistically appropriate to take high-beta risk — and when it is not.
Traditional relative strength and rotation systems assume that markets are always suitable for participation. This model challenges that assumption by introducing a probabilistic, data-driven market filter that determines whether conditions are Safe (Risk-On) or Unsafe (Risk-Off) before allocating capital.
Only when the broader market structure demonstrates statistically valid trending behavior does the system engage in high-beta crypto allocation. When conditions deteriorate, exposure is automatically reduced or redirected toward defensive positioning.
This creates a disciplined framework that answers three critical questions:
Is the market in a condition worth taking risk?
If yes, which asset deserves capital allocation?
If not, where should capital be preserved?
Core Analytical Architecture
The indicator operates through four tightly integrated analytical engines , each responsible for a specific decision layer within the allocation process.
1. Pairwise Relative Strength & High-Beta Ranking
At the foundation of the system is a pairwise relative strength comparison model.
Each crypto asset is compared against every other asset in the user-defined universe.
Ratio-based trend models measure which asset is outperforming on a relative basis.
Volatility-aware filters are applied to ensure momentum is supported by trend structure.
Each favorable comparison awards a score to the outperforming asset.
Assets with the highest cumulative score emerge as dominant high-beta candidates, ensuring capital is always directed toward leadership rather than laggards.
2. Dominant Asset Selection Logic
Once relative strength scores are computed:
Assets scoring above the median qualify for potential allocation.
The asset with the highest score is designated as the dominant asset.
Only one high-beta asset is held at any given time.
This enforces capital concentration during strong trends while avoiding dilution across weaker assets.
3. Probabilistic Window (Market Regime Classification)
Before any high-beta allocation is permitted, the system evaluates overall market conditions using the Probabilistic Window Engine .
A benchmark asset (e.g., BTCUSD, TOTAL, or TOTALES) is analyzed on a higher timeframe.
Statistical trend validation ensures the market is structurally trending rather than ranging.
A Rate of Change (ROC) calculation over a 2-bar lookback measures directional momentum.
Regime Classification Logic:
ROC > User-Defined Safe Threshold → Risk-On (Safe Period)
ROC < User-Defined Unsafe Threshold → Risk-Off (Unsafe Period)
This dual confirmation (trend + momentum) significantly reduces false positives and prevents overexposure during transitional or distribution phases.
4. Defensive Allocation & Capital Preservation Engine
When the Probabilistic Window signals an unsafe regime, the system automatically shifts from offense to defense.
If enabled, capital is allocated to a conservative asset (default: PAXGUSD, SPX, NASDAQ).
The conservative asset must also pass its own trend validation.
If the conservative asset is trending, capital is allocated defensively.
If not trending, the system holds CASH.
This ensures capital is never forced into unfavorable conditions and remains protected during prolonged market weakness.
User Inputs and Customization
The system is highly configurable, allowing traders to tailor behavior to their strategy preferences:
Asset Universe Selection – Define up to six assets for high-beta rotation.
Probabilistic Benchmark – Choose the asset used to define market regime.
Risk-Off Behavior – Enable or disable conservative asset allocation.
Defensive Asset Selection – Specify which asset to use during unsafe periods.
Backtest Controls – Apply date filters and equity initialization.
Display Controls – Adjust table position, background states, and visual emphasis.
asset1 = input.symbol("CRYPTO:XRPUSD", title ="Asset 1")
asset2 = input.symbol("CRYPTO:BNBUSD", title ="Asset 2")
asset3 = input.symbol("CRYPTO:ADAUSD", title ="Asset 3")
asset4 = input.symbol("CRYPTO:DOGEUSD", title ="Asset 4")
asset5 = input.symbol("CRYPTO:XLMUSD", title ="Asset 5")
asset6 = input.symbol("CRYPTO:LINKUSD", title ="Asset 6")
use_safeasset = input.bool(true, "Invest in Conservative Asset")
safe_asset = input.symbol("CRYPTO:PAXGUSD", title="Conservative Asset")
Alerts and Execution Awareness
A comprehensive alert system ensures users remain informed in real time:
Alerts trigger when the dominant asset changes.
Notifications identify whether exposure is in crypto, defensive asset, or CASH.
Alerts are confirmed on bar close to avoid repainting.
This supports both discretionary execution and automated workflows.
Practical Applications and Use Cases
Regime-Aware Crypto Rotation – Participate in high-beta trends only when statistically justified.
Drawdown Mitigation – Reduce exposure during unfavorable market phases.
Objective Risk Management – Replace emotional decision-making with probabilistic rules.
Portfolio-Level Allocation – Use as a core signal within systematic crypto frameworks.
Strategic Value and Advantages
RS High Beta Exposure w/ Probabilistic Window stands apart by integrating:
Relative strength leadership detection
Volatility-validated momentum
Probabilistic regime classification
Defensive asset rotation
This layered confirmation model improves consistency, protects capital, and enforces disciplined exposure control — particularly in volatile crypto environments.
Summary and Usage Notes
RS High Beta Exposure w/ Probabilistic Window is a comprehensive, rule-based allocation system that determines:
When to take risk, what asset deserves exposure, and when capital should stand aside.
The model is best applied on the 1D timeframe , where regime detection and relative strength signals are most reliable. It pairs effectively with other QuantLapse systematic tools for portfolio-level confirmation.
Past performance does not guarantee future results.
This indicator is intended for research and educational use within TradingView.
Minervini Ultimate +VCPMinervini Ultimate Suite (SEPA Dashboard)
This indicator implements Mark Minervini's "Trend Template" criteria combined with a Volatility Contraction Pattern (VCP) detector and a custom Relative Strength rating. It is designed to help traders visualize the technical health of a stock based on stage analysis concepts.
This indicator serves as a complete Control System (Dashboard) for Mark Minervini's SEPA trading strategy. Instead of manually checking five different metrics on every chart, this indicator performs the mathematical calculations and presents the "bottom line" in a single, organized table.
1. What This Indicator Does
The goal is to ensure you never enter a trade blindly. It verifies the stock against Minervini's strict requirements:
Trend: Is the stock in a healthy Stage 2 Uptrend?
Relative Strength: Is it stronger than the general market?
Buy Risk: Is it the right time to buy, or is the price extended?
Pressure: Are institutions accumulating or distributing?
VCP: Is there a breakout opportunity (volatility contraction) right now?
2. Key Benefits
Time-Saving: Instead of drawing lines and calculating percentages manually, you get immediate visual feedback (Green/Red).
Discipline: The indicator will flag "Extended" (Red) if you attempt to buy a stock that has run up too much, saving you from late entries and unnecessary losses.
Precision Timing: The VCP feature (Blue Dots) helps you identify the "calm before the storm"—the exact moment volatility contracts, which often precedes a major breakout.
3. Indicator Parameters & Features
A. Minervini Pressure (Buying vs. Selling)
What it checks: Money flow over the last 20 days.
Calculation: Sums up volume on "Up Days" (Green) versus volume on "Down Days" (Red).
Meaning:
🟢 Buying: More money is entering than leaving. A sign of institutional accumulation.
🔴 Selling: Selling pressure dominates. The price may be rising, but without strong volume backing.
B. Buy Risk (Price Extension)
What it checks: The distance of the current price from the 50-Day Moving Average. Minervini strictly warns against "chasing" stocks.
Signals:
🟢 Low Risk: Price is within 0% – 15% of the 50MA. This is the ideal "Buy Zone".
🟡 Caution: Price is 15% – 25% away. Buy with increased caution.
🔴 Extended: Price is >25% from the MA. Do not buy. The probability of a pullback is high.
⚪ Broken: Price is below the 50MA. The short-term trend is damaged.
C. TPR - Trend Template (Trend Power Rating)
What it checks: Is the stock in a Stage 2 Uptrend?
Strict Rules (All must be true for a PASS):
Price > 50MA > 150MA > 200MA.
The 200MA is trending UP (positive slope).
Price is near the 52-Week High (within 25%).
Price is above the 52-Week Low (at least 25%).
Meaning:
🟢 PASSED: Technically healthy and ready to move.
🔴 FAILED: The trend structure is broken (e.g., MAs are entangled).
D. RPR Score (Relative Performance Rating)
What it checks: How strong the stock is compared to the general market (S&P 500 / SPY).
Calculation: Weighted performance over 3, 6, 9, and 12 months vs. the SPY. The score ranges from 1 to 99.
Meaning:
🟢 80-99: Market Leader. These are the stocks Minervini targets.
🟡 70-80: Good, but not elite.
⚪ Below 70: Laggard (weaker than the market).
E. VCP Action (Volatility Contraction Pattern)
What it checks: Monitors price tightness. It calculates the range between the highest close and lowest close over the last 5 days.
Meaning:
🔵 SQUEEZE (Blue Text + Blue Dot on Chart): The price range has contracted to less than 2.5%.
Why it matters: When a stock stops moving wildly and trades in a tight range ("Flat Line"), it indicates supply has dried up. A high-volume breakout often follows immediately.
Apex Delivery: Body-Anchored CISD & Liquidity EngineA precision-grade execution toolkit designed for the professional ICT trader. This script focuses on the "Change in State of Delivery" (CISD) and the automated tracking of institutional liquidity, built with a strict "Clean Chart" philosophy to ensure only active, relevant data remains on your workspace.
I. Body-Anchored CISD (Change in State of Delivery)
This script implements a strict rule-based approach to CISD, focusing on the candle body rather than wicks to identify true shifts in narrative.
Bearish CISD: Dynamically anchored only to the top of the candle body.
Bullish CISD: Dynamically anchored only to the bottom of the candle body.
This asymmetry ensures you are looking at the correct "draw" or "protection" levels based on the current state of delivery.
II. The "Clean Chart" Engine
The script acts as an automated housekeeper. To prevent "analysis paralysis," it identifies and immediately removes:
Broken Session Levels: Once a Session High or Low (Asia, London, NY) is breached, the line and label are purged.
Mitigated Zones: Filled FVGs and mitigated 1H Order Blocks are removed in real-time.
Proximity Filtering: Levels that are too far from the current price action are cleared to keep your focus on the active trade.
III. Institutional Framework
1H Order Blocks: High-volume 1-hour OBs serve as your Higher Timeframe (HTF) anchor.
5m FVG/IFVG: Tracks displacement-based gaps and automatically flips them into Inversion FVGs when price closes through them.
Session Liquidity: Clearly labeled session extremes provide the "Draw on Liquidity" (DOL).
Swing-Based SMT: A background correlation filter to confirm "Cracks in Correlation" at key levels.
Usage Philosophy
Identify the HTF Narrative: Locate a 1H Order Block or a Session Liquidity pool.
Monitor the Delivery: Watch for a Body-Anchored CISD to confirm the institutional shift.
Execute & Target: Use the 5m FVGs or IFVGs for entry, targeting the next available Session High/Low label.
Master Chief V3 Protocol Omega - Institutional Order Flow SystemDescription:
"Stop analyzing. Start executing."
Master Chief V3 is not just an indicator; it is a complete Trading Operating System (TOS) designed for the serious day trader. It fuses Institutional Order Flow, Cumulative Volume Delta (CVD), and Multi-Timeframe Momentum into a single, heads-up "Command Center."
This system eliminates analysis paralysis by processing thousands of data points per second and simplifying them into two distinct battle protocols: Sniper (Reversals) and Tactician (Momentum).
🔥 KEY FEATURES
1. The Command Dashboard (HUD) The heart of the system. A real-time data matrix that monitors:
Dominance: Who owns the current session? (Buyers vs. Sellers).
Tape Speed (RVOL): Detects when institutional volume hits the tape.
CVD Flow: Tracks the 5m and Live Delta to spot absorption.
The Announcer: A dynamic text engine that tells you exactly what the market condition is (e.g., "Power Push," "Accumulation," "Scanning").
2. 🎯 Protocol: SNIPER (Reversal Engine)
Strategy: Counter-trend / Mean Reversion.
Logic: Hunts for exhaustion at the edges of the "Darwin Box."
Trigger: It waits for price to hit a statistical extreme, checks for Volume/Delta divergence, and locks onto a target.
Visuals: You will see a "TARGET LOCKED" tracker appear. Once the proprietary CVD threshold (default: 1500) is breached, it prints a massive "BUY NOW" or "SELL NOW" signal.
3. ⚔️ Protocol: TACTICIAN (Scalper Engine)
Strategy: Trend Continuation / Breakout.
Logic: Uses the "SwingArm" Trend Filter to identify the dominant direction.
Trigger: Fires instant scalp entries when momentum aligns with the trend and breaks key structure.
Visuals: Prints clear "SCALP" triangles with automatic Stop Loss and Take Profit lines drawn on your chart.
4. The Darwin Box (Structure) A dynamic price window (focusing on the 40th-50th minute liquidity cycle) that automatically draws Level 1-4 support and resistance zones. These zones act as the battlefield where the Sniper and Tactician engines look for entries.
🚀 HOW TO USE
Check the HUD: Is the "Mission" Green (Buy) or Red (Sell)?
Wait for a Protocol:
If you see "TARGET LOCKED", prepare for a Sniper Reversal. Wait for the "EXECUTE" signal.
If you see a Triangle, execute a Tactician Scalp in the direction of the trend.
Manage Risk: Use the automatic ATR lines provided by the Tactician engine to place your stops.
⚙️ SETTINGS & CUSTOMIZATION
Master Chief is fully customizable to fit your asset class (ES, NQ, Crypto, Forex):
Sniper Protocol: Adjust the CVD Threshold (1500 default) and Sensitivity.
Tactician: Adjust Risk/Reward ratios and ATR lengths.
Visuals: Toggle the dashboard size, position, and box visibility.
"The battlefield is chaotic. Your chart shouldn't be."
Tags (Copy these into the tags section):
Order Flow CVD Volume Delta Scalping Reversal Institutional Smart Money SMC Dashboard Momentum
⚠️ REMINDER BEFORE YOU CLICK PUBLISH:
Paste the text above into the description box.
Crucial: Scroll down to "Visibility" and select "Invite-only script".
This ensures only people you give permission to can use it, and no one can see your code.
Good luck, Commander! 🫡
QLT Supertrend FlagsQLT Supertrend Flags
Description of the "QLT Supertrend Flags" indicator
📊 Basic Concept
This is an expanded version of the classic Supertrend indicator with a system of confirmed signals. The indicator helps identify trend reversals with additional filtering of false signals through various confirmation methods.
Key Features
1. Improved Supertrend with an adaptive multiplier
- Basic trend calculation based on ATR (Average True Range)
- Dynamic ATR multiplier option to adapt to changing volatility
- Colored trend line (green = bullish, red = bearish)
2. Signal Confirmation System
4 methods for confirming trend reversals:
- Time - the signal is confirmed N bars after the reversal
- Price - the price must move away from the Supertrend line by a specified % of ATR
- Volume - confirmation by increased volume
- Indicator - confirmation by another indicator
3. Process Visualization
- Confirmation Zone - highlights the period between the reversal and confirmation
- Flags - clear buy (B) and sell (S) signals
- Distance - displays the distance from the price to the Supertrend line in ATR units
Indicator Settings
Supertrend Main Parameters:
1. Source - price for calculation (HL2 by default)
2. ATR Length - Volatility calculation period (14 recommended)
3. Base ATR Multiplier - Channel width (3.0 recommended)
Dynamic Multiplier:
- Enable adaptive multiplier that changes with volatility
- Volatility Estimation Period - Sensitivity setting
Confirmation Method:
1. Bars - N-bar delay (conservative approach)
2. Price - % price deviation from ATR (active approach)
3. Volume - Volume spike (confirmation of interest)
4. Indicator - Confirmation by another indicator (e.g., RSI, MACD)
Visual Settings:
- Flag size (Tiny, Small, Normal, Large)
- Colors for bullish/bearish signals
- Trendline thickness
- Display statistics and distance
How to use in trading
Buy signals:
1. Reversal of a bullish trend - the Supertrend line changes color from red to green
2. Confirmation** - according to the selected method (time delay, price deviation, etc.)
3. "B" flag - appears below the bar, signaling a buy signal
4. Take profit - at the next resistance level or the distance to the line
Sell signals:
1. Reversal to a bearish trend - the line changes color from green to red
2. Confirmation - similar to a bullish signal
3. "S" flag - appears above the bar, signaling a sell signal
4. Take profit - at the next support level
Risk management:
- Stop loss - behind the Supertrend line (stop level)
- Distance - the greater the distance from the price to the line, the greater the potential for movement
- Confirmation zone - avoid entry until full confirmation
Interpretation of elements
Supertrend line:
- Green - bullish trend, buy on pullbacks to the line
- Red - bearish trend, sell on Rebounds to the line
Flags:
- "B" (green) - confirmed buy signal
- "S" (red) - confirmed sell signal
Confirmation zone (blue fill):
- Period between the initial reversal and confirmation
- Avoid entries in this zone
Distance (histogram/fill):
- > +2 ATR - strong upward deviation (possible correction)
- +1 to +2 ATR - moderate bullish deviation
- -1 to +1 ATR - neutral zone
- -1 to -2 ATR - moderate bearish deviation
- < -2 ATR - strong downward deviation (possible rebound)
Trading strategies
Strategy 1: Conservative (temporary confirmation)
- Settings: confirmation after 2-3 bars
- Advantage: minimal number of false signals
- Disadvantage: lag Entry
Strategy 2: Active (price confirmation)
- Settings: Confirmation when the price moves 1-2% from the ATR
- Advantage: Early entry into a trend
- Disadvantage: More false signals
Strategy 3: Synthetic (volume + indicator)
- Settings: Volume and RSI/MACD confirmation
- Advantage: High accuracy
- Disadvantage: Complex setup
Legacy Lab FX Pro [Institutional Protocol]Legacy Lab FX Pro is a comprehensive trading system designed to automate the detection of institutional liquidity sweeps during the New York Session. Built on the logic that "breakouts" during specific time windows are often liquidity traps, this tool helps traders identify high-probability reversals at the 8:00 AM EST Open.
1. The Methodology: The London Sweep
The core logic of this indicator is based on time-segmented price action. It tracks the specific "Liquidity Build" phase established during the London Session (default 02:00 – 07:00 EST).
The Trap: Retail traders often place stop losses just above or below this range.
The Sweep: Institutions push price past these levels to collect liquidity before reversing.
The Logic: The indicator waits for a "Sweep" (a wick that breaks the range but closes back inside) during the Execution Window (08:00 – 12:00 EST).
2. Key Features
A. Visual Liquidity Ranges The script automatically highlights the specific Highs and Lows of the London session with an Orange Liquidity Box. This removes the need to manually draw lines or calculate time zones.
B. "Gold Candle" Confirmation When a valid sweep occurs that meets all filter criteria (ATR, Trend, Time), the signal candle is painted GOLD. This serves as a visual execution trigger.
C. Integrated Risk Management The indicator projects a fixed, rule-based risk framework onto the chart:
Stop Loss (Red): Fixed pip distance (Default: 10 pips) from the sweep level.
TP1 (Green): 0.8R (Conservative banking).
TP2 (Green): 1.6R (Standard target).
TP3 (Green): 2.4R (Extended institutional target).
D. Smart Data Dashboard The bottom-right panel provides real-time backtesting data for the current chart. It features a unique "Best Reached" logic, which calculates the maximum potential R-multiple of every signal (e.g., if price hits TP2 then reverses, it is recorded as a +1.6R win rather than a loss).
Win Rate %
Net R (Return on Risk)
Total Trade Count
3. Institutional Filters
To prevent false signals during high-volatility news events or strong trends, the script includes:
ATR Filter: Rejects signals if the candle is abnormally large (Volatility protection).
Trend Filter: Optional 200 EMA filter to only take trades in the direction of the long-term trend.
Sweep Size: Configurable minimum pip distance required for a sweep to be valid.
4. How to Use
Timezone: Ensure your chart is set to New York time (or adjust the settings to match your local time).
Wait: Allow the Orange Liquidity Box to form (2am-7am).
Signal: Wait for a Gold Candle to appear during the 8am-12pm window.
Execute: Enter at the close of the Gold Candle. Place SL at the Red Line and TPs at the Green Lines.
5. Settings Configuration
Session Timing: fully customizable start/end times for the range and the entry window.
Risk Protocol: Adjust the fixed SL pips and R-Multiples for TP1, TP2, and TP3.
JPY Pairs: Check box to integrate automated pip-size detection engine.
Backtest Engine: Toggle between "TP1 Only" mode (conservative stats) or "Best Reached" mode (maximum potential stats).
This script is Invite-Only. It is the official tool of the Legacy Lab FX trading community. Access is granted to members to ensure proper understanding of the liquidity protocols used within the code.
Smart Money Breakouts [another version]Smart Money Breakouts — Structure-Based Breakout & Risk Engine
Smart Money Breakouts is a deterministic, structure-driven breakout system built around BOS / CHoCH detection, conservative execution logic, and post-entry risk management.
The script follows a strict candidate-based entry model inspired by institutional price structure — without repainting and without retroactive signal changes.
This tool is designed for systematic traders and automation users who want consistent execution logic, objective structure confirmation, and machine-readable alerts suitable for external trade processing.
Core Concept
The indicator detects:
• Swing BOS (Break of Structure)
• Swing CHoCH (Change of Character)
• Internal impulse structure
• Valid breakout legs
Every BOS / CHoCH event creates a trade candidate.
A candidate remains valid only for a limited time window.
Entry is allowed only on the first bar after the confirmed structure break.
If the candidate expires — the trade is skipped.
This prevents:
• late entries
• structure drift execution
• chasing consolidation breakouts
All signals are generated on bar close and the script does not repaint.
Structure-Anchored TP / SL (Entry-Centric)
Risk parameters are calculated after entry, using the nearest valid structure anchor.
For each trade:
• BOS / CHoCH → structure window
• price extreme is detected inside the window
• structure distance is measured
• TP / SL are derived proportionally
If structure distance cannot be resolved, an ATR-based fallback is used to avoid undefined risk.
TP1 is optional and acts as a break-even activation trigger.
The indicator does not filter trades using TP/SL logic —
risk handling occurs only after entry.
Obstacle-Aware Adaptive Targeting
The script includes a lightweight structural obstacle detector:
• scans recent swing pivots
• checks for opposing structure inside the TP path
• if an obstacle is closer than TP — TP is adapted
• SL is recalculated proportionally to maintain RR consistency
This improves execution robustness in:
• liquidity absorption zones
• frontal resistance clusters
• local structural ceilings
Trades that are too small after adaptation may be rejected.
Built-In Filters (Fully Optional)
All filters can be enabled/disabled:
• Volume bias filter
• Higher-Timeframe direction bias
• Multi-Timeframe structure bias
• Dead-session / low-liquidity filter
• Minimum swing size filter
• Minimum spread / volatility filter
• Max TP/SL distance
• Minimum viable trade size
The script does not pull external market data — all logic is chart-native.
Break-Even & Exit Priority
Break-even activates only after TP1 is hit and is applied on the next bar to avoid intrabar ambiguity.
Execution order is deterministic:
Stop-Loss
TP1 / Break-Even
TP2 (full target)
Only one outcome may occur per bar.
This eliminates conflicting intrabar states and ensures reproducible backtests.
Alerts & Automation
Alerts are emitted only on confirmed entry signals.
Payloads export structured values:
• entry price
• TP1
• TP2
• SL
• symbol / exchange / timeframe / timestamp
The indicator does not execute trades.
Automation must be handled externally by the user.
Important Notes
This script:
• does not guarantee profitability
• is not financial advice
• should be forward-tested before live use
• is intended as a decision-support & execution framework
Trading involves risk — structure behavior does not imply future outcomes.
Smart Money Breakouts Smart Money Breakouts — Universal Structure-Based TP/SL System
Smart Money Breakouts is a structure-driven breakout system built around BOS / CHoCH detection, higher-timeframe bias filters, and entry-centric risk management.
The script follows a conservative execution model inspired by institutional price structure — without repainting and without re-evaluating past signals.
This tool is designed for systematic traders who want objective breakout confirmation, consistent execution logic, and programmatically formatted alerts suitable for automated trade processing.
Core Logic
The indicator detects:
• Swing BOS (Break of Structure)
• Swing CHoCH (Change of Character)
• Internal structures
• Valid impulse-based breakout legs
Structure events are processed through a candidate-based execution model:
A BOS / CHoCH creates a trade candidate
The candidate is valid only for a limited number of bars
Entry is allowed only on the bar immediately following the structure break
If the candidate expires — no trade is taken
This prevents late entries, mitigates structure drift, and eliminates “signal stretching” in long consolidations.
The script does not repaint.
Signals are generated only after a confirmed bar close.
Entry-Centric TP / SL (Structure-Based)
Take-profit and stop-loss levels are calculated after entry, using the nearest valid BOS / CHoCH as the structure anchor.
For each trade:
• Structure = BOS / CHoCH → Entry range
• Body extreme is detected inside the structure window
• Structure distance is measured
• TP and SL are derived proportionally
If structure distance cannot be calculated, an ATR-based fallback is used to avoid undefined risk.
TP1 is optional and can be used as a break-even activation level.
The script does not force or filter trades using TP/SL logic —
TP/SL is position management only.
Built-In Filters (Fully Toggleable)
Optional filters include:
• Volume bias threshold
• Higher-Timeframe structure bias
• Multi-Timeframe structure confirmation
• Dead-session / low-liquidity filter
• Minimum swing size
• Minimum spread filter
• Minimum structure size filter
All filters are configurable and can be disabled if needed.
No external data sources are used.
Break-Even & Position Handling
Break-even is applied only after TP1 is reached and is activated on the next bar to avoid intrabar conflicts.
Execution order prioritizes:
Stop-Loss
TP1 / Break-Even
TP2 (full target)
Only one outcome can occur per bar.
This produces deterministic trade outcomes and avoids ambiguous intrabar states.
Alerts & Automation
Alerts are emitted only on confirmed entry signals.
Alert payloads are exported in structured JSON format so they can be parsed by external trade-execution systems or custom automation tools.
The indicator itself does not execute trades and does not place or manage orders.
Any automation must be implemented externally at the user’s discretion.
Important Notes
This script:
• does not guarantee profitability
• does not provide financial advice
• should be tested before live use
• should be used as a decision-support tool only
Trading involves risk and past behavior of price structure does not imply future results.
Regression ADX LinReg Kernel RBF Strength DirectionThe Regression ADX is an advanced momentum and regime-detection indicator that re-engineers the traditional ADX/DMI framework using regression-smoothed price data instead of raw candles.
By applying Linear Regression or Gaussian Kernel (RBF) regression to price before calculating ADX, this indicator significantly reduces noise while preserving true directional control and trend strength.
The result is a cleaner, more predictable read on market momentum and direction, especially in choppy or algorithm-driven environments.
What Makes This Different
Traditional ADX reacts to raw price fluctuations, often producing false momentum signals in sideways markets.
This version:
Smooths High / Low / Close using regression
Computes +DI / −DI on the smoothed structure
Measures true expansion vs compression, not noise
Separates directional control from trend strength
Core Components
ADX (Strength): Measures trend expansion regardless of direction
+DI / −DI (Direction): Identifies bullish vs bearish control
Direction Bias Histogram: (+DI − −DI) for fast directional clarity
Regression Engine Selector:
Linear Regression – faster, responsive
Kernel RBF Regression – smoother, more stable regime detection
How to Read It
ADX Rising → Momentum expanding (conditions improving)
ADX Falling → Compression / chop risk
+DI above −DI → Bullish directional control
−DI above +DI → Bearish directional control
Bias Histogram above zero → Bullish pressure
Bias Histogram below zero → Bearish pressure
Best Practices
✔ Use as a trade filter, not a signal generator
✔ Trade in the direction of DI dominance
✔ Prioritize setups when ADX is rising above 20–25
✔ Avoid entries during falling ADX or neutral bias
✔ Excellent for futures, options, and high-frequency markets
Who This Is For
Momentum and trend traders
Quant-style system builders
Traders looking to avoid chop
Anyone who uses ADX but wants a cleaner, smarter version
What This Indicator Is Not
✖ Not a buy/sell system
✖ Not a moving average crossover
✖ Not designed for beginners
Summary
Regression ADX transforms a classic indicator into a modern regime engine by combining directional movement theory with regression-based smoothing.
If you want to know when momentum is real, when direction is controlled, and when it’s worth trading, this indicator provides that edge.
EMA Candle Color with VWAP & Glow EffectKey Features:
Colored Candles - Candles automatically change color based on price position relative to the primary EMA (green above, red below)
Dual EMA System - Two fully customizable EMAs (default 21 & 50) for trend identification and multi-timeframe analysis
VWAP with Glow Effect - Volume-weighted average price with an optional visual glow effect for enhanced visibility and importance emphasis
Buy/Sell Signals - Automatic triangle markers when price crosses above (buy) or below (sell) the primary EMA
Fully Customizable - All colors, lengths, and display options can be adjusted to suit your trading style
Alert Ready - Built-in alert conditions for EMA crossovers
Settings:
Primary EMA Length (default: 21)
Secondary EMA Length (default: 50)
VWAP with adjustable glow intensity (1-5)
Individual on/off toggles for all components
Custom color schemes for all elements
Best Use Cases:
Trend identification and confirmation
Entry/exit signal generation
Multi-timeframe analysis
Volume-weighted support/resistance levels
Note: This indicator works on all timeframes and asset classes. Adjust EMA lengths based on your trading style (shorter for scalping, longer for swing trading).
Maybe/probably ignore sell signals when both EMA/s above VWAP etc
Let go!!!!
IV Rank & Percentile Suite V1.0What This Indicator Does
The IV Rank & Percentile Suite provides the volatility context options traders need to time entries. It calculates two complementary metrics—IV Rank and IV Percentile—using historical volatility as a proxy, then displays clear visual zones to identify favorable conditions for premium selling strategies.
Stop guessing if volatility is "high" or "low." This indicator tells you exactly where current volatility sits relative to recent history.
The Two Metrics Explained
IV Rank (0-100) Measures where current volatility sits within its 52-week high-low range.
IV Rank = (Current HV - 52w Low) / (52w High - 52w Low) × 100
70 means current volatility is 70% of the way between the yearly low and high
Sensitive to extreme spikes (a single high reading affects the range)
IV Percentile (0-100) Measures what percentage of days in the lookback period had lower volatility than today.
IV Percentile = (Days with lower HV / Total days) × 100
70 means volatility was lower than today on 70% of days in the past year
More stable, less affected by outlier spikes
Why Both?
IV Rank reacts faster to volatility changes. IV Percentile is more stable and statistically robust. When both agree (e.g., both above 50), you have stronger confirmation. Divergence between them can signal transitional periods.
Zone System
The indicator divides readings into three zones:
Zone ------- Default Range ---- Meaning ------------------ Premium Selling
🟢 High ≥ 50 Elevated volatility Favorable
🟡 Neutral 25-50 Normal volatility Selective
🔴 Low ≤ 25 Compressed volatility Avoid
An additional Extreme threshold (default 75) highlights prime conditions when volatility is significantly elevated.
Zone thresholds are fully customizable in settings.
How to Use It
For Premium Sellers (Iron Condors, Credit Spreads, Strangles)
Wait for IV Rank to enter the green zone (≥50)
Confirm IV Percentile agrees (also elevated)
Enter premium selling positions when both metrics align
Avoid initiating new positions when in the red zone
For Premium Buyers (Long Options, Debit Spreads)
Low IV Rank/Percentile means cheaper options
Red zone can favor directional debit strategies
Avoid buying premium when both metrics are in the green zone
General Principle:
Sell premium when volatility is high (it tends to revert to mean). Buy premium when volatility is low (if you have a directional thesis).
Inputs
Volatility Calculation
HV Period — Lookback for historical volatility calculation (default: 20)
Trading Days/Year — 252 for stocks, 365 for crypto
Lookback Periods
IV Rank Lookback — Period for high/low range (default: 252 = 1 year)
IV Percentile Lookback — Period for percentile calculation (default: 252)
Zone Thresholds
High IV Zone — Readings above this are highlighted green (default: 50)
Low IV Zone — Readings below this are highlighted red (default: 25)
Extreme High — Threshold for "prime" conditions alert (default: 75)
Display Options
Toggle IV Rank, IV Percentile, and raw HV display
Show/hide zone backgrounds
Show/hide info panel
Panel position selection
Info Panel
The panel displays:
Field ------- Description
IV Rank ------- Current reading with color coding
IV Pctl ------- Current percentile with color coding
HV 20d ------- Raw historical volatility percentage
52w Range ------- Lowest to highest HV in lookback period
Zone ------- Current zone status
Premium ------- Signal quality for premium selling
Lookback ------- Days used for calculations
R/P Spread ------- Difference between Rank and Percentile
Alerts
Six alerts are available:
Zone Transitions
IV Entered High Zone — Favorable for premium selling
IV Reached Extreme Levels — Prime conditions
IV Dropped to Low Zone — Caution for premium sellers
Threshold Crosses
IV Rank Crossed Above High Threshold
IV Rank Crossed Below Low Threshold
IV Percentile Above 75
IV Percentile Below 25
Set up alerts to get notified when conditions change without watching charts.
Technical Notes
Volatility Calculation Method
This indicator uses close-to-close historical volatility as an IV proxy:
Calculate log returns: ln(Close / Previous Close)
Take standard deviation over HV Period
Annualize: multiply by √(Trading Days)
This method correlates well with implied volatility for most liquid instruments. On highly liquid options underlyings (SPY, QQQ, major stocks), HV and IV tend to move together, making this a reliable proxy for IV Rank analysis.
Non-Repainting
All calculations use confirmed bar data. Values are fixed once a bar closes.
Lookback Requirement
The indicator needs sufficient history to calculate accurately. For a 252-day lookback, ensure your chart has at least 300+ bars of data.
Best Used On
ETFs: SPY, QQQ, IWM, DIA
Indices: SPX, NDX
High-volume stocks: AAPL, TSLA, NVDA, AMD, META
Timeframe: Daily (recommended), Weekly for longer-term view
The indicator works on any instrument but is most meaningful on underlyings with active options markets.
Important Notes
⚠️ This indicator uses historical volatility as a proxy for implied volatility. While HV and IV are correlated, they are not identical. For precise IV data, consult your options broker's platform.
⚠️ High IV Rank does not guarantee profitable premium selling. It indicates favorable conditions, not guaranteed outcomes. Position sizing and risk management remain essential.
⚠️ Past volatility patterns do not guarantee future behavior. Volatility regimes can shift, and historical ranges may not predict future ranges.
Suggested Workflow
Add to daily chart of your preferred underlying
Set up alert for "IV Entered High Zone"
When alerted, check both IV Rank and IV Percentile
If both elevated, evaluate premium selling opportunities
Use your broker's actual IV data for final entry decisions
Questions? Leave a comment below.
PHEN ATLAS - Market Map & Playbook [PhenLabs]📊 PHEN ATLAS 🎂 #50 🎂
Version: PineScript™ v6
📌 Description
The PHEN ATLAS marks a historic milestone as the 50th official release from PhenLabs . This is a critical release you do not want to miss, serving as a comprehensive Market Map and Playbook designed to provide traders with a complete structural overview of price action. By synthesizing Market Structure, Liquidity concepts, and Regime detection, this script solves the problem of "analysis paralysis" by grading price action in real-time. It moves beyond simple indicators by offering a quantified "Playbook" that scores trade setups from 0 to 100, helping traders focus exclusively on high-probability opportunities while automating the complex math of position sizing and risk management.
🚀 Points of Innovation
Proprietary Scoring Engine: Unlike standard indicators, this script assigns a quantitative score (0-100) to every potential trade based on confluence factors like HTF alignment and displacement.
Dynamic Regime Detection: Features an integrated dashboard that classifies the market into specific phases (Expansion, Trend, Range) using ADX and EMA alignment logic.
Smart Liquidity Pools: Automatically identifies and visualizes resting liquidity, tracking when these pools are "swept" to generate high-probability reversal signals.
Integrated Trade Manager: Automates the calculation of Stop Loss, Take Profit (1:2 and 1:3), and Position Size based on account balance and risk percentage directly on the chart.
Multi-Mode Interface: Offers three distinct visual modes—Clean, Pro, and Sniper—allowing users to toggle between deep analysis and clutter-free execution instantly.
🔧 Core Components
Structure Module: Identifies Pivots, Break of Structure (BOS), and Change of Character (CHoCH) to define the current market bias.
Liquidity Engine: Plots liquidity pools at key swing points and detects "Sweeps" where price grabs liquidity before reversing.
Regime Filter: Uses a combination of EMAs (21/50) and ADX to determine if the market is trending or ranging, filtering out low-quality signals.
Setup Validator: Monitors for three specific setup types (Sweep, Snapback, FVG Retest) and triggers alerts only when specific scoring thresholds are met.
🔥 Key Features
Automated detection of High Timeframe (HTF) structure without repainting issues.
Real-time grading of price displacement to validate institutional intent.
Visual Risk/Reward boxes that automatically adjust to the volatility (ATR) of the asset.
Fair Value Gap (FVG) detection with auto-mitigation tracking to clean up the chart.
Customizable alerts for A+ setups, regime changes, and trade invalidations.
Detailed dashboard displaying current Trend, Phase, Bias, and the score of the last setup.
🎨 Visualization
Structure Points: Triangles for BOS and Diamonds for CHoCH events clearly mark trend shifts.
Liquidity Lines: Dotted lines extending from pivots indicate un-swept liquidity pools; these dim automatically when swept.
Setup Signals: Prominent "A+" labels appear on the chart when a setup meets the minimum score threshold defined by the user.
Risk Boxes: Color-coded boxes (Green for Long, Red for Short) show Entry, Stop Loss, and Take Profit levels visually.
Dashboard: A compact table in the bottom right corner provides a "Heads Up Display" of the market state.
📖 Usage Guidelines
Display Mode: Select between 'Clean' for signals only, 'Pro' for full analysis including FVGs and Structure, or 'Sniper' for only high-score setups.
HTF Timeframe: Sets the higher timeframe for structural analysis (Default: 240/4-Hour) to ensure you trade with the dominant trend.
Min Score for A+ Setup: Threshold (0-100) required to trigger a signal (Default: 83); increase this to filter for only the absolute best trades.
Risk %: Defines the percentage of your account you are willing to risk per trade (Default: 1.0%), used for the position size calculation.
Account Balance: Input your current capital (Default: 10,000) to receive accurate unit sizing for every trade setup.
ADX Threshold: Adjusts the sensitivity of the Regime detection filter (Default: 20) to determine when the market is trending versus ranging.
✅ Best Use Cases
Confluence Trading: Use the scoring system to filter discretionary entries, taking trades only when the system scores them above 80.
Prop Firm Trading: Utilize the built-in position size calculator to strictly adhere to risk management rules during evaluations.
Trend Following: Wait for the Regime Dashboard to show "Bullish Expansion" before taking Long "Snapback" entries.
Reversal Trading: Focus on "Sweep Reclaim" setups where price sweeps a liquidity pool and immediately closes back within range.
⚠️ Limitations
This tool is a trend-following and reversal system; it may produce lower scores during undefined, low-volatility chop.
The position size calculator is an estimation based on the entry candle; actual execution slippage is not accounted for.
HTF data relies on closed candles to prevent repainting, which may result in a slight lag during rapid volatility spikes.
💡 What Makes This Unique
Playbook Scoring: Most indicators just give a signal; PHEN ATLAS gives you a "Grade" (e.g., 85/100), allowing you to make informed decisions based on quality, not just frequency.
Context Awareness: The script understands "Market Regime" and creates a context-aware bias, rather than blindly firing signals in a range.
🔬 How It Works
Step 1 - Regime Definition: The script analyzes the 21/50 EMA relationship and ADX to define if the market is in a Trend or Range.
Step 2 - Structure & Liquidity: It maps key pivots and liquidity pools, waiting for a "Sweep" event or a structural break.
Step 3 - Setup Trigger: When a specific pattern occurs (like a Sweep Reclaim), the engine calculates a score based on displacement, volume, and key level alignment.
Step 4 - Execution Logic: If the score > Threshold, the Trade Manager calculates the invalidation point (SL) and projects 2R/3R targets automatically.
🎉 Message From The Team 🎉
2025 was an amazing year. 12 months of building, shipping, and improving together with you. Hitting our 50th indicator release marks one full year of weekly drops , and we couldn't have done it without this community, and of course, BIG thank you to TradingView and it's team.
Thank you for all the feedback, charts, and support. Let's make 2026 even bigger. We can't wait to show you what we've been working on. 🚀
💡 Note
For best results, we recommend using the "Pro" mode during analysis to understand the narrative, and switching to "Sniper" or "Clean" during execution to maintain focus. Always ensure your "Account Balance" input matches your broker balance for accurate risk calculations.






















