BTC vs GOLD Macro RotationBTC vs GOLD Macro Rotation Indicator
BTC vs GOLD Macro Rotation Model
This indicator is a macroeconomic rotation model that compares the relative attractiveness of Bitcoin (BTC) versus Gold (GOLD) based on multiple fundamental macro factors.
How does it work?
The model analyzes weekly data from various macroeconomic indicators and generates a score for each asset. The taller bar indicates the preferred asset to rotate capital into.
- Green bars (above zero): BTC strength
- Yellow bars (below zero):GOLD strength
- Info table:Shows exact percentages and rotation recommendation
Macroeconomic Factors Analyzed:
1. DXY (US Dollar Index)
- Strong dollar → Favors GOLD
- Weak dollar → Favors BTC
2. Oil (WTI Crude)
- Oil rising → Favors GOLD
- Oil falling → Favors BTC
3. Copper
- Copper rising → Favors BTC (risk-on)
- Copper falling → Favors GOLD (risk-off)
4. Real Rates (Fed Funds - YoY Inflation)
- Real rates falling → Favors GOLD
- Real rates rising → Favors BTC
5. Fertilizer/Natural Gas Regime (Urea, Ammonia, Natural Gas)**
- Specific combinations of movements in these commodities generate inflationary/deflationary regime signals
Fertilizer Rules:**
| Urea | Ammonia | Gas | Signal |
|------|---------|-----|--------|
| ↑ | ↑ | ↓ | GOLD +2 |
| ↑ | ↑ | ↑ | GOLD +3, BTC -1 |
| ↓ | ↓ | ↓ | BTC +3, GOLD -1 |
| ↑ | ↓ | ↓ | BTC +3 |
| ↓ | ↑ | ↑ | GOLD +3, BTC -1 |
Technical Features:
- Operates on weekly timeframe regardless of chart
- Normalized changes for signal stability
- Configurable EMA smoothing
- Safe handling of invalid symbols (won't break if a ticker doesn't exist)
- All tickers are user-editable
Configurable Inputs:
- Symbols for all assets (BTC, GOLD, DXY, Oil, Copper, CPI, Fed Funds, Gas, Urea, Ammonia)
- Individual weights for each macro component
- Normalization length
- EMA smoothing
Interpretation:**
- **BTC dominant (taller green):** Macro conditions favor risk/digital assets
- **GOLD dominant (taller yellow):** Macro conditions favor safe-haven/tangible assets
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research before making investment decisions.
Recommended Timeframe: Weekly (W) or Daily (D)
Trend Analizi
Dynamic Supports + Volume Profile (Smart Time Selector)This indicator is an "All-in-One" tool designed to simplify Market Structure and Volume analysis on higher timeframes (especially Daily charts).
Its main innovation is the **Unique Period Selector**, which automatically adjusts 5 internal parameters (tolerance, pivot sensitivity, resolution, and historical depth) with a single click.
**🛠️ MAIN FEATURES:**
1. **Automatic Engine (1-5 Years):**
* Forget about manually setting pivot lengths or "Lookback".
* Select **"1 Year"**: The script scans for fast pivots and recent volume for *Swing Trading*.
* Select **"5 Years"**: The script filters noise and shows only "Rock-Solid" structures (Historical S/R) for *Long Term Investing*.
2. **"Merged" Support & Resistance (S/R):**
* The script detects Pivot Highs/Lows.
* **Fusion Logic:** If price bounces multiple times in the same zone (within calculated tolerance), the script updates the existing line instead of drawing a new one. It extends the line and counts the touches (e.g., "S (4)" means a Support validated 4 times).
* **Clean Chart:** Avoids visual noise.
3. **Lateral Volume Profile (VP):**
* Displays volume distribution to the right of the current price.
* **Orange POC (Point of Control):** Marks the exact price level with the highest trading volume in the selected period.
**🚀 HOW TO USE (STRATEGY):**
Best used on the **Daily Timeframe (1D)**:
* **Scenario 1: Mean Reversion**
* If price moves far from the **Orange POC**, look for it to act as a magnet.
* Enter when price touches a **Green Line (Support)** that aligns with a high volume node.
* **Scenario 2: Breakout**
* If price breaks a **Red Line (Resistance)** aggressively and the volume above is thin (low volume nodes), the move tends to be fast due to lack of friction.
* **Scenario 3: Multi-Timeframe Analysis**
* Use "5 Years" to mark your long-term zones.
* Switch to "1 Year" for tactical entries.
**🎨 VISUAL SETTINGS:**
* **Green Lines:** Demand Zones (Supports).
* **Red Lines:** Supply Zones (Resistances).
* **Dotted Orange Line:** POC (Fair Value).
* **Blue Bars:** Volume Profile.
**Disclaimer / Descargo:**
This script is designed for educational and analytical purposes on the daily timeframe. Use it to identify zones of interest, not as automatic buy/sell signals.
Smart Money Structure█████████████████████████████████████████████████████████████████████████████
█ SMART MONEY STRUCTURE | SMS Pro
█ Institutional Order Flow & Liquidity Zones
█ by @scalping-algo
█████████████████████████████████████████████████████████████████████████████
📋 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator automatically detects and plots Smart Money Concepts (SMC)
including Break of Structure (BOS), Demand & Supply Zones, and Flip Zones.
Perfect for traders who follow institutional order flow and price action.
🎯 INDICATOR COMPONENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ BOS (Break of Structure)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Bullish BOS: Price breaks above previous swing high → Trend shift UP
• Bearish BOS: Price breaks below previous swing low → Trend shift DOWN
✦ How to use:
→ Wait for BOS confirmation before entering trades
→ Bullish BOS = Look for long entries
→ Bearish BOS = Look for short entries
→ Combine with zones for high-probability setups
🟦 DEMAND ZONE (Teal Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Last bearish candle before a bullish BOS
• Institutional buying area / Unfilled orders
✦ How to use:
→ Wait for price to retrace into the zone
→ Look for bullish rejection / confirmation candle
→ Enter LONG with stop below the zone
→ Target: Previous high or next supply zone
🟪 SUPPLY ZONE (Purple Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Last bullish candle before a bearish BOS
• Institutional selling area / Unfilled orders
✦ How to use:
→ Wait for price to retrace into the zone
→ Look for bearish rejection / confirmation candle
→ Enter SHORT with stop above the zone
→ Target: Previous low or next demand zone
🔵 FLIP+ / MIT+ (Cyan Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• FLIP+: Old supply zone that flipped to demand (breaker block)
• MIT+: Mitigation zone - area where price may return to rebalance
✦ How to use:
→ Stronger than regular demand zones
→ Price often reacts sharply at flip zones
→ Great for continuation trades after BOS
→ Enter LONG when price taps the zone
🔴 FLIP- / MIT- (Pink Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• FLIP-: Old demand zone that flipped to supply (breaker block)
• MIT-: Mitigation zone - area where price may return to rebalance
✦ How to use:
→ Stronger than regular supply zones
→ Price often reacts sharply at flip zones
→ Great for continuation trades after BOS
→ Enter SHORT when price taps the zone
📐 STRUCTURE LINES (Gray Dashed)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Connects swing highs and lows
• Shows market structure and trend direction
✦ How to use:
→ Upward sloping = Bullish structure
→ Downward sloping = Bearish structure
→ Trade in the direction of structure
📊 TRADING STRATEGY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LONG SETUP:
┌─────────────────────────────────────────┐
│ 1. Wait for Bullish ⚡ BOS │
│ 2. Mark the DEMAND or FLIP+ zone │
│ 3. Wait for price to retrace to zone │
│ 4. Enter on bullish confirmation │
│ 5. Stop loss: Below the zone │
│ 6. Take profit: Next SUPPLY zone │
└─────────────────────────────────────────┘
SHORT SETUP:
┌─────────────────────────────────────────┐
│ 1. Wait for Bearish ⚡ BOS │
│ 2. Mark the SUPPLY or FLIP- zone │
│ 3. Wait for price to retrace to zone │
│ 4. Enter on bearish confirmation │
│ 5. Stop loss: Above the zone │
│ 6. Take profit: Next DEMAND zone │
└─────────────────────────────────────────┘
⚙️ SETTINGS GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Structure Length (default: 9)
└─ Higher = Less signals, stronger zones
└─ Lower = More signals, more noise
└─ Recommended: 7-14 depending on timeframe
• Confirmation Factor (default: 0.33)
└─ Filters out weak structure breaks
└─ Higher = More confirmation needed
└─ Lower = Earlier signals
• Auto-Remove Broken Zones
└─ ON: Removes zones when price breaks through
└─ OFF: Keeps all zones visible
💡 PRO TIPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Use higher timeframes (4H, Daily) for stronger zones
✓ Combine with volume analysis for confirmation
✓ FLIP zones are generally stronger than regular zones
✓ Fresh (untested) zones have higher probability
✓ Multiple timeframe analysis = Higher accuracy
✓ Don't trade against the BOS direction
⚠️ RISK DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Trading involves substantial risk. Past performance is not indicative of
future results. This indicator is a tool to assist your analysis, not a
guarantee of profits. Always use proper risk management.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📧 Questions? Leave a comment below!
⭐ If you find this useful, please give it a BOOST!
🔔 Follow @scalping-algo for more indicators
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
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.
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.
[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.
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.
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.
Apex Adaptive Trend Navigator [Pineify]Apex Adaptive Trend Navigator
The Apex Adaptive Trend Navigator is a comprehensive trend-following indicator that combines adaptive moving average technology, dynamic volatility bands, and market structure analysis into a single, cohesive trading tool. Designed for traders who want to identify trend direction with precision while filtering out market noise, this indicator adapts its sensitivity based on real-time market efficiency calculations.
Key Features
Adaptive Moving Average with efficiency-based smoothing factor
Dynamic ATR-based volatility bands that expand and contract with market conditions
Market Structure detection including BOS (Break of Structure) and CHoCH (Change of Character)
Real-time performance dashboard displaying trend status and efficiency metrics
Color-coded cloud visualization for intuitive trend identification
How It Works
The core of this indicator is built on an Adaptive Moving Average that uses a unique efficiency-based calculation method inspired by the Kaufman Adaptive Moving Average (KAMA) and TRAMA concepts. The efficiency ratio measures the directional movement of price relative to total price movement over the lookback period:
Efficiency = |Price Change over N periods| / Sum of |Individual Bar Changes|
This ratio ranges from 0 to 1, where values closer to 1 indicate a strong trending market with minimal noise, and values closer to 0 indicate choppy, sideways conditions. The smoothing factor is then squared to penalize noisy markets more aggressively, causing the adaptive line to flatten during consolidation and respond quickly during strong trends.
The Dynamic Volatility Bands are calculated using the Average True Range (ATR) multiplied by a user-defined factor. These bands create a channel around the adaptive moving average, helping traders visualize the current volatility regime and potential support/resistance zones.
Trading Ideas and Insights
When price stays above the adaptive line with the bullish cloud forming, consider this a confirmation of uptrend strength
The efficiency percentage in the dashboard indicates trend quality - higher values suggest more reliable trends
Watch for price interactions with the upper and lower bands as potential reversal or continuation zones
A flat adaptive line indicates consolidation - wait for a clear directional break before entering trades
How Multiple Indicators Work Together
This indicator integrates three complementary analytical approaches:
The Adaptive Moving Average serves as the trend backbone, providing a dynamic centerline that automatically adjusts to market conditions. Unlike fixed-period moving averages, it reduces lag during trends while minimizing whipsaws during ranging markets.
The ATR Volatility Bands work in conjunction with the adaptive MA to create a volatility envelope. When the adaptive line is trending and price remains within the cloud (between the MA and outer band), this confirms trend strength. Price breaking through the opposite band may signal exhaustion or reversal.
The Market Structure Analysis using swing point detection adds a Smart Money Concepts (SMC) layer. BOS signals indicate trend continuation when price breaks previous swing highs in uptrends or swing lows in downtrends. CHoCH signals warn of potential reversals when the structure shifts against the prevailing trend.
Unique Aspects
The squared efficiency factor creates a non-linear response that dramatically reduces noise sensitivity
Cloud fills only appear on the trend side, providing clear visual distinction between bullish and bearish regimes
The integrated dashboard eliminates the need to switch between multiple indicators for trend assessment
Pivot-based swing detection ensures accurate market structure identification
How to Use
Add the indicator to your chart and adjust the Lookback Period based on your trading timeframe (shorter for scalping, longer for swing trading)
Monitor the cloud color - green clouds indicate bullish conditions, red clouds indicate bearish conditions
Use the efficiency reading in the dashboard to gauge trend reliability before entering positions
Consider entries when price pulls back to the adaptive line during strong trends (high efficiency)
Use the volatility bands as dynamic take-profit or stop-loss reference levels
Customization
Lookback Period : Controls the sensitivity of trend detection and swing point identification (default: 20)
Volatility Multiplier : Adjusts the width of the ATR bands (default: 2.0)
Show Market Structure : Toggle visibility of BOS and CHoCH labels
Show Performance Dashboard : Toggle the trend status table
Color Settings : Customize bullish, bearish, and neutral colors to match your chart theme
Conclusion
The Apex Adaptive Trend Navigator offers traders a sophisticated yet intuitive approach to trend analysis. By combining adaptive smoothing technology with volatility measurement and market structure concepts, it provides multiple layers of confirmation for trading decisions. Whether you are a day trader seeking quick trend identification or a swing trader looking for reliable trend-following signals, this indicator adapts to your market conditions and trading style. The efficiency-based calculations ensure you always know not just the trend direction, but also the quality and reliability of that trend.
Nixxo Custom IchimokuCustom Ichimoku settings for stock market or the crypto universe! Also has the capability to 2x the settings from the indicator settings (preset) so that settings don't have to be changed all the time.
VWAP Bias (STRONG ONLY) + Alerts (Time Window)VWAP Bias + NO TRADE Discipline Label
Clean, execution-focused indicator that removes decision noise.
Shows LONG / SHORT bias based on price vs VWAP, upgraded to STRONG or WEAK using VWAP slope and EMA(9/20) alignment.
A separate NO TRADE label appears when conditions are weak or neutral, enforcing discipline and preventing low-quality entries.
Designed for day trading VWAP pullbacks and momentum, especially on 1m–5m charts.
No oscillators, no clutter — just directional clarity and risk control.
MACD Matrix: Angle & SettlementThis indicator is a comprehensive Multi-Timeframe (MTF) Dashboard designed for technical traders who rely on MACD not just for crossovers, but for Momentum Angle and Settlement (Hooks).
Instead of cluttering your screen with 5 different MACD charts, this Matrix calculates the math in the background and presents a clean "Heads-Up Display" of the MACD state across your specific timeframes (Default: 3m, 15m, 1h, 4h, 16h).
The Concept: "Angle Settlement"
Standard MACD indicators only show you when a cross happens. By then, the move is often halfway over. This script focuses on the Angle (Slope) of the MACD line to predict turns before they happen:
Steep Angle: Momentum is accelerating. (Strong Trend)
Settling Angle: The slope is flattening out. The MACD line is "hooking." (Reversal/Cross Imminent)
Dashboard Columns Explained
TF (Timeframe): Auto-formats your settings into readable text (e.g., "240" becomes "4h").
Zone:
> 0 (Green): MACD is above the Zero Line (Bullish Trend context).
< 0 (Red): MACD is below the Zero Line (Bearish Trend context).
Cross:
PCO (Green): Positive Crossover (MACD > Signal).
NCO (Red): Negative Crossover (MACD < Signal).
Deg (°):
The calculated mathematical angle of the MACD line.
Positive (+): Momentum is rising.
Negative (-): Momentum is falling.
State (The Strategy):
STEEP (Bright Color): The angle is increasing. Do not trade against this momentum.
SETTLE (Dim Color): The angle is decreasing compared to the previous bar. The momentum is "cooling off," often signaling a "Hook" or an upcoming crossover.
Settings & Customization
Custom Timeframes: You can freely change TF-1, TF-2, etc., in the settings. The table labels will auto-update (e.g., if you change 4h to 1D, the table will display "1D").
MACD Lengths: Fully customizable (Default 12, 26, 9).
Angle Sensitivity: A multiplier to calibrate the "Degrees" to your specific asset class (Crypto, Forex, or Indices). If angles look too small, increase this value.
Sessions and Killzones [Tradeuminati]Tradeuminati – Sessions & Killzones is a New York local time based session toolkit designed for traders who want clean, objective session structure on their chart: session boundaries, killzones, session highs/lows, and previous day levels plus a live “liquidity taken” checklist.
Key Features
1) Sessions (New York Time)
London Session (0:00 – 6:00 NY)
- Vertical start/end lines
- Live session High and Low tracking during the session
- High/Low levels extend until 16:00 NY
- Labels: Ls - H and Ls - L
- Option to display only the current day
Asia Session (Previous Day, 18:00 – 00:00 NY)
- Vertical start/end lines for the previous day session
- Live session High and Low tracking
- High/Low levels extend into the next day until 16:00 NY
- Labels: As - H and As - L
- Option to display only the current day
2) Killzones (New York Time)
London Killzone: 2:00 – 5:00 NY
- Optional DAX-only mode: If enabled, DAX uses 3:00 – 5:00 NY (DAX opening), while other assets remain 2:00 – 5:00 NY
New York Killzone (auto-adjust by asset type)
- Indices: 9:30 – 11:00 NY
- Other assets (FX / Commodities / Crypto): 7:00 – 10:00 NY
New York PM Killzone: 14:00 – 15:00 NY (all assets)
ll killzone lines are placed from the start of the NY day, so you can see upcoming killzones in advance (not only after candles appear).
3) Previous Day High / Low (PDH / PDL)
- Automatically calculates the full previous NY day range (00:00 – 23:59 NY)
- Plots PDH and PDL into the current day
- Labels: PDH and PDL
4) Live “Liquidity Taken” Table
- A compact table in the bottom-left shows whether price has:
- swept Asia High / Asia Low
- swept London High / London Low
- taken PDH / PDL
A green checkmark appears instantly once a level is broken.
Customization
Fully adjustable colors, widths, and line styles for:
- Session vertical lines
- Session high/low lines
- Killzones
- PDH/PDL
Adjustable label size
Day filtering options (current day only)
-----
Disclaimer
This indicator is for educational and technical analysis purposes only. It does not constitute financial or investment advice. Trading involves risk.
Multi KI Agenten Strategie (Final V2)What's included in the Pine Script (Technical Analysis)
These features are mathematically implemented in the script and function as "agent logic":
• Trend Following: Integrated via EMAs (50, 100, 200).
• Volume Analysis: An agent checks for institutional volume spikes.
• Supply & Demand: Zones are calculated based on price extremes.
• RSI & Fibonacci: Both are built in as decision criteria for the agents.
• Controlling AI: The "veto logic" in the code acts as a controlling instance, blocking signals if the risk is too high or divergences exist.
• Alerts: The "LONG" and "SHORT" alerts are only triggered after approval by the controlling mechanism.
HTF Double BOS + Inducement (XAU) ebenThis indicator is a market structure and inducement scanner designed to assist discretionary traders.
It identifies:
• Higher-timeframe market regime using a double Break of Structure (BOS) on the Daily and 4H timeframes.
• Lower-timeframe Break of Structure (BOS).
• Valid inducement based on a minimum 70% retracement rule.
The script is intended to be used as a confirmation and alert tool, not as a standalone buy/sell system.
⸻
How It Works
1. The indicator first confirms directional bias using Daily and 4H BOS alignment.
2. When higher-timeframe bias is valid, it scans the active chart timeframe for:
• a Break of Structure,
• followed by inducement using a retracement-based rule.
3. When conditions align, the script displays a visual marker and can trigger an alert.
⸻
Important Notes
• This indicator does not predict price.
• It does not automatically execute trades.
• It should be used in conjunction with proper risk management and personal analysis.
• Signals may appear less frequently due to strict filtering logic.
⸻
Recommended Usage
• Best suited for trend-following strategies.
• Works well on Gold (XAUUSD) and other liquid markets.
• Designed for use on 30m, 15m, and 5m charts.
• Alerts should be treated as areas of interest, not direct trade instructions.
⸻
Disclaimer
This script is provided for educational and analytical purposes only.
The author is not responsible for trading losses. Use at your own risk.
Premium Money Flow Oscillator [NeuraAlgo]Premium Money Flow Oscillator (PMFO) — NeuraAlgo
The Premium Money Flow Oscillator (PMFO) is an advanced volume-weighted momentum engine designed to reveal true capital flow, not just price movement.
It combines multi-layer smoothing, zero-lag correction, and dynamic normalization to deliver a clean, responsive, and noise-resistant money flow signal suitable for both scalping and swing trading.
Unlike traditional oscillators, PMFO focuses on pressure behind price — showing when smart money accumulation or distribution is actively occurring.
🔹 Core Features
Volume-Weighted Money Flow
Measures real buying and selling pressure using price displacement × volume.
Filters out weak price moves with low participation.
Multi-Layer Smoothing Engine
EMA + SMA hybrid base smoothing
Gaussian noise reduction
Zero-Lag correction
Deep & Super smoothing layers
→ Result: ultra-smooth yet fast reaction to momentum shifts.
Dynamic Normalization
Automatically adapts to volatility.
Keeps signals consistent across all markets and timeframes.
🔹 Smart Zones & Visual Intelligence
Dynamic Overbought / Oversold Zones
Zones strengthen visually as momentum increases.
Strong zones highlight extreme institutional pressure.
Adaptive Gradient Coloring
Color intensity reflects money flow strength.
Instantly see dominance without reading numbers.
Background Pulse
Subtle market bias feedback (bullish / bearish pressure).
🔹 Multi-Timeframe Confirmation
Optional Higher Timeframe Money Flow Confirmation
Align lower-timeframe entries with higher-timeframe capital direction.
Ideal for trend validation and false-signal reduction.
🔹 Professional Dashboard
Live Money Flow Value
Market Flow State
Strength Percentage
MTF Trend Bias
Institutional-style status readout designed for quick decision making.
🔹 Best Use Cases
✔ Trend confirmation
✔ Momentum continuation entries
✔ Reversal exhaustion detection
✔ Divergence analysis
✔ Smart money flow tracking
⚠️ Notes
PMFO works best when combined with price structure, support/resistance, or trend context.
Extreme readings indicate pressure, not immediate reversal — always wait for confirmation.
Designed for traders who want clarity, not clutter.
Built for precision, not lag.
Ultimate Gold & FX K-NN Master V95A sophisticated market analysis tool powered by K-NN.
Users have full control over MACD, STC, and SMC configurations. With integrated Elliott Wave analysis, this tool offers high-level functionality for professional trading.
Sameer Bandhara AlertsThis Sameer Bandhara (SB Trader) indicator is a dynamic trailing stop-loss system based on the Average True Range (ATR). Here's a comprehensive breakdown:
It uses ATR to create an adaptive trailing stop that adjusts to market volatility, generating buy/sell signals when price breaks through this dynamic stop level.
Forex/Stocks: Key Value 1.5-2.5, ATR Period 14-20
Crypto: Key Value 2.0-3.0 (higher volatility)
Timeframes: 1H and above (reduces noise)
RSI Divergence (No pivots, delta + cooldown)RSI Divergence (No Pivots, Delta + Cooldown)
This indicator detects classic RSI divergence without using pivots/fractals and without looking into future bars. It is designed to behave closer to “human eyeballing” by comparing current extremes to the last N bars, and it triggers signals only on bar close (non-repainting after the candle closes).
Logic
Bearish divergence: Price makes a new lookback high (relative to the previous lookback bars), while RSI does not make a new high.
A signal is printed only if RSI is at least Δ RSI points below the previous RSI high over the same lookback window.
Bullish divergence: Price makes a new lookback low (relative to the previous lookback bars), while RSI does not make a new low.
A signal is printed only if RSI is at least Δ RSI points above the previous RSI low over the same lookback window.
Inputs
RSI Length: RSI period.
Lookback (bars): Number of past bars used to define “new high/low” for both price and RSI.
Use High/Low (else Close): Choose whether price extremes are based on High/Low or Close.
RSI delta (points): Minimum RSI gap required to confirm the divergence (reduces weak/noisy signals).
Cooldown after signal (bars): After any signal, the indicator suppresses new signals for the next X bars to reduce alert/label spam.
Alerts
The script includes two alert conditions:
Bearish divergence (delta + cooldown)
Bullish divergence (delta + cooldown)
Recommended alert setting: Once per bar close.
Ultimate Gold & FX - K-NN Master V83An environment recognition tool integrated with K-NN (K-Nearest Neighbors).
The MACD, STC, and SMC settings are fully customizable. It also features Elliott Wave displays, making it a highly advanced and versatile tool.






















