Smart Trader, Episode 03, by Ata Sabanci, Candles and TradelinesA volume-based multi-block analysis system designed for educational purposes. This indicator helps traders understand their current market situation through aggregated block analysis, volumetric calculations, trend detection, and an AI-style narrative engine.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DESIGN PHILOSOPHY: CLEAN CHART, RICH DASHBOARD
Traditional indicators often clutter charts with dozens of support/resistance lines, making it difficult to see price action clearly. This indicator takes a different approach:
The Chart:
Displays only the most meaningful, nearest levels (1 up, 1 down) that have not been consumed by price. This keeps your chart clean and focused on what matters right now.
The Dashboard:
Contains all detailed metrics, calculations, and analysis. Instead of drawing 20 lines on your chart, you get comprehensive data in an organized table format.
Why this approach?
• A clean chart allows you to see price action without visual noise
• Fewer but more meaningful levels help focus attention on immediate reference points
• The dashboard provides depth without sacrificing chart clarity
• Beginners can learn chart reading with an uncluttered view while accessing detailed analysis when needed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. BLOCK SEGMENTATION
What it does:
Divides the analysis window into fixed-size blocks. Each block contains multiple bars that are analyzed as a single unit.
Why:
Individual bars contain noise. A single red candle in an uptrend might cause unnecessary concern, but when you view 5-10 bars as one block, the overall direction becomes clear. Block segmentation filters out bar-to-bar noise and reveals the underlying structure.
Benefit:
• Clearer view of market structure at a higher aggregation level
• Enables comparison between time periods (Block 1 vs Block 2 vs Block 3)
• Creates the foundation for composite candles and trend detection
• Reduces emotional reaction to single-bar movements
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2. COMPOSITE CANDLES (FRACTAL CONCEPT)
What it does:
Each block generates a "ghost candle" representing aggregated OHLC:
• Open: First bar's open in the block
• High: Highest high across all bars in the block
• Low: Lowest low across all bars in the block
• Close: Last bar's close in the block
Why:
This is essentially a FRACTAL view of the market. The same candlestick patterns that appear on a daily chart also appear on hourly charts, and on 5-minute charts. By aggregating bars into composite candles, you create a synthetic higher timeframe view without changing your actual timeframe.
Benefit:
• See higher timeframe patterns while staying on your preferred timeframe
• Identify block-level candlestick patterns (Doji, Hammer, Marubozu, Engulfing, etc.)
• Compare composite candle relationships: Does Block 1 engulf Block 2? Is Block 1 an inside bar relative to Block 2?
• Recognize patterns that individual bars obscure due to noise
Fractal Nature:
A hammer pattern means the same thing whether it appears on a 1-minute chart or a weekly chart: price tested lower levels and was rejected. Composite candles let you see these patterns at your chosen aggregation level, providing a multi-scale view of market behavior.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3. VOLUME ENGINE
What it does:
This indicator is 100% VOLUME-BASED. It separates total volume into buying volume and selling volume using two methods:
Method 1 - Geometric (Approximation):
• Buy Volume = Total Volume × ((Close - Low) / Range)
• Sell Volume = Total Volume × ((High - Close) / Range)
Method 2 - Intrabar LTF (Precise):
Uses actual tick-level or lower timeframe data to determine real buy/sell distribution.
Why:
Raw volume tells you HOW MUCH was traded, but not WHO was aggressive. A large volume bar could mean heavy buying, heavy selling, or both. By separating buy and sell volume, you can identify which side is driving the market.
Benefit:
• Identify whether buyers or sellers are more aggressive
• Detect when volume contradicts price direction (divergence)
• Measure accumulation (buying into weakness) vs distribution (selling into strength)
• Quantify the delta (buy minus sell) to see net pressure
Why Delta Matters:
If price is rising but delta is negative, sellers are actually more aggressive despite the price increase. This divergence often precedes reversals because the price movement lacks volume confirmation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4. PIN ANALYSIS (WICK MEASUREMENT)
What it does:
Calculates average upper pin (wick) and lower pin sizes for each block, then tracks how these change across consecutive blocks.
Why:
Upper pins represent price levels that were tested but rejected by sellers. Lower pins represent price levels that were tested but rejected by buyers. The size and direction of pins reveal rejection strength at specific price zones.
Benefit:
• Large upper pins = strong selling pressure at higher levels
• Large lower pins = strong buying support at lower levels
• Increasing upper pins across blocks = intensifying selling pressure
• Decreasing lower pins across blocks = weakening buying support
Why Track Pin Changes:
Pin behavior often changes before price direction changes. If lower pins are shrinking while price is still rising, the buying support that was defending dips is weakening. This is observable data, not prediction.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5. TREND CHANNEL DETECTION
What it does:
Identifies trend direction using block-level price structure:
• UPTREND: Block highs are higher than previous block highs, AND block lows are higher than previous block lows (HH/HL pattern)
• DOWNTREND: Block highs are lower than previous block highs, AND block lows are lower than previous block lows (LH/LL pattern)
• RANGE: No consistent directional pattern
Once detected, the system draws upper and lower channel boundaries by connecting extreme points within each trend segment.
Why:
HH/HL and LH/LL are the classical definitions of trend. By applying this logic to composite candles (blocks) rather than individual bars, the trend detection becomes more stable and less prone to whipsaws from single-bar noise.
Benefit:
• Clear visual boundaries showing the current trend channel
• Upper channel line = dynamic resistance based on actual price structure
• Lower channel line = dynamic support based on actual price structure
• Channel angle indicates trend strength (steeper = stronger)
• Channel width indicates volatility
Why Lock Trend States:
Once a block's trend classification is determined, it locks and does not change on subsequent recalculations. Without locking, the same block could flip between UP and DOWN repeatedly, creating inconsistent analysis. Locking ensures stability.
Why Project Lines Forward:
Channel lines can be projected into the future to show where support/resistance would be if the current trend continues at the same angle. This is not a prediction; it is a visual reference showing the trend's trajectory.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6. CORE LEVELS: POC, MAX BUY, MAX SELL
What it does:
Identifies key price levels within each block based on volume data:
POC (Point of Control):
The price level where the highest total volume occurred within the block.
MAX BUY Level:
The bar with the highest buying volume. The HIGH of this bar marks the level.
MAX SELL Level:
The bar with the highest selling volume. The LOW of this bar marks the level.
MIN BUY/SELL Levels:
Optional levels showing where minimum buy/sell volume occurred.
Why:
High volume at a specific price means many participants entered positions there. These participants have a vested interest in that price level. If price returns to that area, those same participants may act to defend their positions.
Benefit:
• POC acts as a volume-based magnet; price tends to revisit high-volume areas
• MAX BUY level shows where buyers committed most aggressively
• MAX SELL level shows where sellers committed most aggressively
• These levels are based on actual transaction data, not arbitrary calculations
Why Consumed Levels Disappear:
When price crosses through a level, that level has been "tested." Keeping consumed levels on the chart creates visual clutter and suggests they are still relevant when they may no longer be. Removing them keeps focus on levels that have not yet been tested.
Why Show Only Nearest Levels:
If you have 20 blocks, you could have 60+ potential levels (POC, MAX BUY, MAX SELL for each). Displaying all of them makes the chart unreadable. Showing only the nearest untested level above and below current price keeps the chart clean while providing immediate reference points.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
7. QUALITY SCORE AND TREND INTELLIGENCE
What it does:
Calculates a quality score (0-100) for the current trend based on multiple factors:
• Angle steepness (stronger trends have steeper angles)
• Delta consistency (does volume support the trend direction?)
• Volume momentum (is participation increasing or decreasing?)
• Body expansion (are candle bodies growing or shrinking?)
• Pin alignment (do pins support the trend direction?)
• Contradiction count (how many factors disagree?)
Why:
Not all trends are equal. A trend with consistent volume support, expanding bodies, and aligned pins is healthier than a trend with contradicting signals. The quality score quantifies this.
Benefit:
• HIGH quality (80+): Multiple factors confirm the trend
• MEDIUM quality (60-79): Some factors confirm, some neutral
• LOW quality (below 60): Multiple contradictions exist
• Strength rating based on channel angle: VERY STRONG, STRONG, MODERATE, WEAK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
8. NARRATIVE ENGINE
What it does:
Generates a text-based market analysis by synthesizing all calculated data into readable sentences.
How it works:
1. Analyzes current candle: pattern type (Doji, Hammer, Marubozu, etc.), body/wick ratios, range vs ATR
2. Analyzes composite candle: Block 1 pattern and relationship to Block 2 (Engulfing, Inside, Outside)
3. Evaluates trend context: direction, duration, quality, transitions
4. Examines volume data: delta, dominance, momentum direction
5. Checks proximity to key levels: channel boundaries, POC, core levels
6. Identifies divergences: when price and volume directions contradict
7. Produces a coherent narrative describing the current situation
Why:
Numbers and charts require interpretation. The narrative engine translates calculated data into plain language, helping traders understand what the data means in context. This is especially valuable for beginners learning to read charts.
Benefit:
• Synthesizes multiple data points into a coherent story
• Explicitly flags divergences and contradictions
• Describes the current situation without making predictions
• Educational: shows how different factors relate to each other
What the Narrative Does NOT Do:
The narrative describes what IS, not what WILL BE. It does not predict future price movement. It reports the current candle pattern, the current trend state, the current volume situation, and the current proximity to levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
9. SMART DASHBOARD
What it does:
Displays all metrics in an organized table with multiple sections.
Sections:
• Volume Engine: Calculation method, data availability, current candle buy/sell/delta
• Trend Volumetrics: Aggregated buy/sell/delta across the current trend, trend type
• Pressure and Momentum: Average pins, pin change percentages, body expansion status
• Trend Channel Boundaries: Upper/lower levels with exact prices, distances, percentages
• Trend Intelligence: Quality score, confidence level, strength rating, volume momentum
Why:
All the detailed calculations need to live somewhere without cluttering the chart. The dashboard provides comprehensive data in a structured format.
Benefit:
• All metrics in one place
• Organized by category for easy reference
• Hover over any label to see a tooltip explaining that metric
• No need to draw dozens of lines on the chart
TIP: Hover over dashboard headers and labels to see tooltips explaining each metric.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
10. LANGUAGE SUPPORT
The indicator supports three languages:
• English
• Türkçe (Turkish)
• हिन्दी (Hindi)
Why only three languages?
Each additional language requires duplicate strings throughout the code, increasing memory usage and compilation time. To keep the script optimized and responsive, language options are limited to these three.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
11. DATA ACCURACY AND LIMITATIONS
This indicator is 100% VOLUME-BASED and requires Lower Timeframe (LTF) intrabar data for accurate calculations.
DATA ACCURACY LEVELS:
• 1T (Tick): Most accurate, real volume distribution per tick
• 1S (1 Second): Reasonably accurate approximation
• 15S (15 Seconds): Good approximation, longer historical data available
• 1M (1 Minute): Rough approximation, maximum historical data range
BACKTEST AND REPLAY LIMITATIONS:
• Replay mode results may differ from live trading due to data availability
• For longer backtest periods, use higher LTF settings (15S or 1M)
• Not all symbols/exchanges support tick-level data
• Crypto and Forex typically have better LTF data availability than stocks
A NOTE ON DATA ACCESS:
Higher TradingView plans provide access to more historical intrabar data, which directly impacts the accuracy of volume-based calculations. More precise volume data leads to more reliable calculations.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
12. SETTINGS OVERVIEW
Main Settings:
• Window Bars: Total bars to analyze
• Group Count: Number of blocks to create
• Calculation Basis: Current bar (live updates) or Closed bar (stable, no repaint)
Block Analytics:
• Show Composite Candle: Toggle ghost candles on/off
• Composite Candle Transparency: Adjust visibility
• Dim Original Candles: Fade original candles when composites are shown
Volume Engine:
• Calculation Method: Geometric (approx) or Intrabar (precise)
• Lower Timeframe: Select LTF for intrabar calculations
Multi-Segment Trend:
• Enable Trend Detection: Toggle trend channels on/off
• Range Angle Threshold: Angle below which trend is classified as RANGE
• Line colors, width, and style
• Project to Future: Extend trend lines forward
Core Calculation:
• Enable Core Calculation: Toggle POC and core levels
• Show POC Nearest Up/Down: Display nearest untested POC levels
• Include MAX/MIN Buy/Sell Levels: Toggle extremes display
• Nearest Only: Show only the closest level above and below price
Market Narrative:
• Enable Market Narrative: Toggle narrative text
• Language selection
• Show Educational Disclaimer: Toggle disclaimer in dashboard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EDUCATIONAL PURPOSE
This indicator is designed to help traders:
1. Understand their current market situation at a glance
2. Learn chart reading through block analysis and composite candles
3. See how volume relates to price movement
4. Recognize when technical factors align or contradict
5. Focus on meaningful levels without chart clutter
Whether you are a beginner learning to read charts or an experienced trader seeking a cleaner analytical view, this tool provides structured data to support your analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
IMPORTANT DISCLAIMER
This indicator is for EDUCATIONAL PURPOSES ONLY and does not constitute investment advice. Always conduct your own research and consult with a qualified financial advisor before making investment decisions.
This disclaimer is also displayed within the indicator itself. If you prefer a cleaner chart, you can disable it in Settings under Market Narrative by unchecking Show Educational Disclaimer.
Swingtrading
Pitchfork Forge LITEPitchfork Forge LITE - The Strategy Forge Ecosystem
Not all pitchfork patterns are created equal.
Why do they work? There's no magic to them, their purpose is to identify natural price channels – which most traders draw subjectively. I built this to measure which patterns have proven reliable through actual price behaviour before risking money on them.
Besides who isn’t bored of fiddling around with the manual pitchforks to find the exact low of a wick?
*Note: Optimized for Daily timeframe. Works better on 6H and above.
*Important note: See Pattern Type Guide Section below for important information on how construct your pitchforks correctly
WHY QUALITY METRICS MATTER:
Drawing a pitchfork is easy. Knowing if it's reliable is hard. Without data, you're guessing whether price will respect the levels or ignore them. Do you include wicks? What about if targets are front-run – do they count? What about rejections?
How can you reliably tell if a pitchfork is being respected?
This tool answers that question with measurable criteria:
→ Touch Count: How many times price tested the levels
→ Rejection Rate: Percentage of touches that reversed direction
→ Pattern Age: Newer patterns need more confirmation
→ Trading Status: 🟢 READY / 🟡 MONITOR / 🔴 WAIT
→ Quality Rating: STRONG / MODERATE / WEAK
LITE VERSION FEATURES:
- 4 pitchfork types (Original, Schiff, Modified Schiff, Inside)
- Manual month selection for stable, reliable patterns
- Quality scoring for every detected pattern
- Standard levels (±0.5, ±1.0, ±1.5, ±2.0)
- Secondary Pitchfork for historical confluence
- Show Pivot Candidates to find strong pivot months
- Comprehensive info table with all metrics
📊 PATTERN TYPE GUIDE (IMPORTANT):
Select L-H-L or H-L-H based on your chart structure:
→ L-H-L (Bullish): Price formed Low → Rally → Higher Low
Use when: Rising structure, uptrend continuation, higher lows
→ H-L-H (Bearish): Price formed High → Drop → Lower High
Use when: Falling structure, downtrend, lower highs
If the opposite selection is made, you may run into a ‘No pattern found error’ or create an incorrectly drawn pitchfork. This is basically because the algo is, for example, looking for a low when you are looking for a high.
Fix: Switch L-H-L ↔ H-L-H or try different pivot months
💡 Pro tip: Enable "Show Pivot Candidates" to see all available pivots with month/year labels. Makes month selection much easier.
HOW TO USE IT:
Before entering any pitchfork trade, check the quality rating. STRONG patterns with 🟢 READY status are potentially ready to look for setups. WEAK patterns or those less than 30 days old could be skipped until they prove themselves.
This simple filter can help keep focus on high-probability setups.
WHAT MAKES THIS DIFFERENT:
Most pitchfork tools focus purely on visual analysis. This adds quantitative measurement - you can see objectively whether a pattern has proven reliable through price behaviour, not just appearance.
PERFECT FOR:
Swing and position traders who want objective data to validate pattern-based setups. Reduces subjective guesswork and helps identify which pitchforks are worth trading.
PRO VERSION (Part of the Strategy Forge Suite):
Extended levels (±2.5 to ±4.0), automation signals for Strategy Forge, confluence detection, and advanced metrics.
PAIRS WITH:
- Multi-TF Fibonacci Pivot Points - Multi-timeframe confluence validation
- Pivot Master LITE - Backtest pivot-based strategies
- More to come...
Part of The Forge Ecosystem - tools I built to bring objectivity to pattern and pivot analysis.
Real trader, real tools. Questions? DM me.
Trading Range Detector - [GonzaCam]Strict Market Structure
This indicator provides a highly disciplined approach to identifying Market Structure, Swing Points, and Trading Ranges. Unlike standard fractal indicators that simply look for high/low wicks, this script enforces a "Strict" set of rules combining Fractal Geometry, Candle Color, and Close Prices to filter out noise and identify high-probability structure levels.
It is designed for traders who need precise structural mapping (BOS) and want to avoid the "fake-outs" common with standard swing indicators.
Key Features
Strict Swing Detection : A 3-candle pattern is only valid if it meets three specific criteria:
Wick Fractal: The middle candle has the highest high (for Swing Highs) or lowest low (for Swing Lows).
Close Price Fractal: The Body (Close) of the middle candle must also be the highest/lowest of the pattern, preventing weak "wick-only" pivots.
Color Logic: Enforces specific color flows (e.g., Green → Red for tops) to ensure momentum has actually shifted.
Smart Range Tracking:
Active Range: Shows the current trading range (Top and Bottom) with thick, solid lines.
Historical Structure: Automatically archives broken levels as thin, dashed lines, creating a clean history of market structure.
"True Peak" Logic: When a Break of Structure (BOS) occurs, the script enters a "Seeking" phase. It intelligently tracks the Highest High (in a bearish break) or Lowest Low (in a bullish break) to ensure the new range is drawn from the true pivot, not just the first confirmed swing.
How It Works
1. Swing High Definition
A valid Swing High is confirmed when a 3-candle cluster appears with:
Middle Candle: Green Body.
Right Candle: Red Body.
Geometry: Middle Wick High > Left & Right Wicks AND Middle Close > Left & Right Closes.
Confirmation: Price must subsequently close below the low of the middle candle.
2. Swing Low Definition
A valid Swing Low is confirmed when a 3-candle cluster appears with:
Middle Candle: Red Body.
Right Candle: Green Body.
Geometry: Middle Wick Low < Left & Right Wicks AND Middle Close < Left & Right Closes.
Confirmation: Price must subsequently close above the high of the middle candle.
3. Range & BOS Logic
Break of Structure (BOS): Triggered when a candle closes outside the current Range Top or Bottom.
Seeking Phase: After a BOS, the script waits for a new opposing swing to form.
Example: If the market breaks UP (Bullish BOS), the script searches for the next confirmed Swing High.
Optimization: While seeking, it continuously updates to the Highest High reached, ensuring the Range Top is set at the absolute peak of the move.
Settings & Customization
Current Range Style: Customize the Color, Width, and Style (Solid/Dotted) of the active range lines.
Historical Swings Style: Customize the appearance of past structure levels to distinguish them from active price action.
Disclaimer.
This tool is for informational purposes only and does not constitute financial advice. Trading involves risk. Always use proper risk management
Palm Tracer ElitePalm Tracer Elite
Palm Tracer Elite is a premium trend-following system designed specifically for FCPO (Crude Palm Oil Futures) trading. This tool simplifies market analysis by combining classic EMA crossovers with advanced money management visualization, allowing traders to execute Scalping or Swing strategies with precision.
🚀 Key Features
Trend Detection Engine
Uses a robust EMA 20 & EMA 50 Crossover logic to identify high-probability trend reversals.
Green Cloud : Uptrend confirmed.
Red Cloud : Downtrend confirmed.
Smart Money Management Overlay
Visual Trade Setup : Automatically draws Entry, Take Profit (TP), and Stop Loss (SL) lines on the chart as soon as a signal appears.
Profit & Risk Zones : Clearly shaded areas show you exactly where to aim (Green Zone) and where to exit (Red Zone).
Dynamic Trailing : Supports trailing stops to lock in profits during strong trends.
Dual Trading Modes
🎯 Scalping Mode : Tighter targets (Base TP: 30 ticks) for quick intraday moves.
🌊 Swing Mode : Wider targets (Base TP: 140 ticks) for capturing major market swings.
Custom Mode : Configure your own fixed TP/SL or use Fibonacci expansions.
Live Dashboard
Real-time stats including Win Rate , Net Points , and Total Trades .
Built-in filters: Displays RSI momentum and Volume Spikes to help you validate signals.
📖 How to Use
Select Your Mode
Go to settings and choose "SOP Scalping" or "SOP Swing" based on your trading style.
Wait for Signal
🟢 UP (Buy) : EMA 20 crosses above EMA 50.
🔴 DOWN (Sell) : EMA 20 crosses below EMA 50.
Execute Trade
Enter at the Cyan "Start" Line .
Set your Stop Loss at the Red "Risk" Line .
Take Profit at the Green "Target" Line .
Monitor
Use the dashboard to see if RSI favors your trade (Green text = Good Zone) and watch for Volume Spikes.
Disclaimer: This tool is for educational purposes only. Past performance does not guarantee future results. Always manage your risk.
SIMPLIFY_STA MAGIC BOX SWINGThe Darvas Box + EMA Suite is a trend-following breakout and continuation indicator designed for traders who want clear structure in price movement.
Disclaimer
This indicator is a decision-support tool for technical analysis.
Always apply proper risk management and follow your trading plan.
© Simplify Trading Academy
Swing Master by Bipul BasakThis all-in-one indicator bundles essential tools inspired by Vivek Singhal sir's swing trading strategies for the Indian stock market. It features modular components including Momentum oscillators for trend strength, Reversal signals for potential turning points, All-Time High breakouts, V20 for riding the operator's move, customizable Moving Averages for support/resistance, Darvas Boxes for breakout patterns, Pivot Points for intraday levels, and 52-Week High/Low markers for long-term context. Ideal for swing traders scanning NSE/BSE stocks on daily/weekly timeframes—toggle modules on/off for focused analysis, and combine with price action to filter signals in volatile markets like India.
A Humbled Trader Strategy + ChecklistHumbled Trader Swing Strategy + Checklist
This indicator is a complete swing trading system based on the high-probability strategies popularized by Humbled Trader. It is designed to help traders identify trend breakouts and low-risk momentum pullbacks on the Daily Timeframe.
The script combines trend filtering, automated resistance lines, and specific entry triggers into a single chart overlay, complete with a real-time Strategy Checklist Dashboard to confirm your setups instantly.
🎯 Core Components
Trend Filter (Purple Line): The 200 Simple Moving Average (SMA). This acts as your long-term trend filter. We only look for long trades when the price is above this line.
Momentum Guide (Orange Line): The 8 Exponential Moving Average (EMA). This tracks short-term momentum. In a strong trend, price will "ride" this line. We look to enter when price pulls back to touch this area.
Multi-Month Resistance (Orange Horizontal Line): Automatically plots the highest price over the last X Months (adjustable). This helps you instantly visualize the key level the stock needs to break out from.
Checklist Dashboard: A real-time table that evaluates Trend, Resistance, and Momentum conditions to give you a clear "✅ ENTER", "🚀 GAP UP", or "⏳ WAIT" signal.
🛠 How It Works
This indicator scans for two specific setups:
1. The Daily Gap Up ("GAP" Label) This signal appears when a stock shows strong momentum by gapping up overnight.
Condition: The stock opens at least 3% higher (adjustable) than the previous day's Close AND opens above the previous day's High.
Trend: Must be above the 200 SMA.
Visual: Marked with a green "GAP" label on the chart.
2. The Trend Pullback ("ENTER" Signal) This is a trend-following entry that lets you join an existing move with lower risk.
Condition: The stock is in an uptrend but dips down to touch or test the 8 EMA.
Validation: The candle must show a "dip" (red candle or lower close) to ensure we are buying a pullback, not chasing a top.
Visual: The Dashboard "Action Signal" will turn orange and display "✅ ENTER".
📋 The Checklist Dashboard
Located in the corner of your chart, this table provides a live status report for the current bar:
Trend (> 200 SMA):
🟢 Bullish: Price is in an uptrend. Safe to look for entries.
🔴 Bearish: Price is below the 200 SMA. Stay away.
Above Resistance?:
🟢 Breakout: Price has cleared the multi-month resistance line.
⚪ ---: Price is currently below the key breakout level.
Near 8 EMA?:
🟢 Yes: Price is near the "value zone" (8 EMA) for a potential pullback entry.
Action Signal:
🚀 GAP UP: Strong momentum gap detected.
✅ ENTER: Valid pullback entry detected.
⏳ WAIT: No clear setup found.
⚙️ Settings
Momentum EMA Length: Default is 8. Controls the sensitivity of the pullback line.
Trend SMA Length: Default is 200. The standard for long-term trend filtering.
Gap Up % Threshold: Default is 3.0%. Minimum overnight gap size required to trigger a signal.
Resistance Lookback (Months): Default is 3. The script will look back this many months to find and draw the key resistance line.
Table Position: Move the checklist to any corner of your screen.
⚠️ Disclaimer
This tool is for educational purposes only and does not constitute financial advice. Always manage your risk and use a stop loss.
Smart Trader, Episode 02, by Ata Sabanci | Battle of Candles ⚠️ CRITICAL: READ BEFORE USING ⚠️
This indicator is 100% VOLUME-BASED and requires Lower Timeframe (LTF) intrabar data for accurate calculations. Please understand the following limitations before using:
📊 DATA ACCURACY LEVELS:
• 1T (Tick) — Most accurate, real volume distribution per tick
• 1S (1 Second) — Reasonably accurate approximation
• 15S (15 Seconds) — Good approximation, longer historical data available
• 1M (1 Minute) — Rough approximation, maximum historical data range
⚠️ BACKTEST & REPLAY LIMITATIONS:
• Replay mode results may differ from live trading due to data availability
• For longer back test periods, use higher LTF settings (15S or 1M)
• Not all symbols/exchanges support tick-level data
• Crypto and Forex typically have better LTF data availability than stocks
💡 A NOTE ON TOOLS:
Successful trading requires proper tools. Higher TradingView plans provide access to more historical intrabar data, which directly impacts the accuracy of volume-based calculations. More precise volume data leads to more reliable signals. Consider this when evaluating your trading infrastructure.
📌 OVERVIEW
Smart Trader Episode 02: Battle of Candles is an advanced educational indicator that combines multiple analysis engines to help traders identify market scenarios and understand market dynamics. This is NOT financial advice or a trading signal service — it's a learning tool designed to help you understand how institutional traders might interpret price action.
The indicator integrates 7 major analysis engines into a unified dashboard, providing real-time insights into volume flow, trend structure, market phases, and potential trade setups.
⚡ KEY FEATURES
🎯 16-Pattern Scenario Engine
Automatically detects and classifies market conditions into 16 distinct scenarios, from strong continuation moves to potential reversals and traps.
💰 Trade Advisor Panel
Aggregates all signals into actionable suggestions with confidence levels, suggested entry/SL/TP levels, and risk/reward calculations.
📊 Volume Engine
Splits volume into buy/sell components using either Geometry (candle shape) or Intrabar (LTF data) methods for precise delta analysis.
📈 CVD (Cumulative Volume Delta)
Tracks the running total of buying vs selling pressure to identify accumulation, distribution, and divergences.
🎯 Stop-Hunt Detection
Identifies potential stop-hunt patterns where price sweeps liquidity levels before reversing.
📐 Pure Structure Trend Engine
Zero-lag trend detection based on swing highs/lows (HH/HL/LH/LL) without any lagging indicators.
⚡ Effort vs Result Analysis
Measures energy spent (volume) versus ground taken (price movement) to detect stalls, breakthroughs, and exhaustion.
🎯 SCENARIO ENGINE — 16 Market Patterns
The Scenario Engine analyzes multiple factors (candle anatomy, volume, forces, CVD, wick analysis) to classify each candle into one of 16 scenarios:
Continuation Scenarios (1-3)
1. ⚔️ STRONG MOVE — Big body candle (>60%) with volume confirming direction. Indicates strong momentum continuation.
2. 🛡️ ABSORPTION — One side attacks but the other absorbs the pressure. Price holds despite volume. Continuation expected in the absorbing side's favor.
3. 📉 PULLBACK — Small move against the trend with low volume. Indicates a healthy retracement before trend continuation.
Reversal Scenarios (4-6, 13-16)
4. 💥 REJECTION — Big wick (>40%) with small body and high volume. Price was rejected
at a level, potential reversal.
5. 🪤 TRAP — Pin direction disagrees with delta. Extreme wick size. Looks bullish/bearish but the opposite may happen.
6. 😫 EXHAUSTION — High energy spent (volume) but low ground taken (price movement). Both sides active but momentum fading.
13. 🔄 CVD BULL DIV — Price falling but CVD rising. Hidden buying detected (accumulation). Potential bullish reversal.
14. 🔄 CVD BEAR DIV — Price rising but CVD falling. Hidden selling detected (distribution). Potential bearish reversal.
15. 🎯 STOP HUNT BULL — Shorts were liquidated below support. Price swept liquidity and reversed. Expect bullish move.
16. 🎯 STOP HUNT BEAR — Longs were liquidated above resistance. Price swept liquidity and reversed. Expect bearish move.
Range/Stalemate Scenarios (7-9)
7. ⚖️ DEADLOCK — Market in balance. Force ratio between 0.4-0.6. Low volume. No side winning.
8. 🔥 BATTLE — High volume fight in a range. Both sides attacking. Wicks on both ends of candle.
9. 🎯 WAITING — Building phase with quiet volume. Market is preparing but no trigger yet. Wait for breakout.
Pre-Breakout Scenarios (10-12)
10. 🚀 BULL SETUP — Buyers accumulating in a building phase. Positive delta building. Bullish pressure growing.
11. 💣 BEAR SETUP — Sellers distributing in a building phase. Negative delta building. Bearish pressure growing.
12. ⚡ BREAKOUT — Price at boundary with strong candle and volume supporting. Imminent breakout expected.
💰 TRADE ADVISOR ENGINE
The Trade Advisor aggregates all signals from the different engines into a single actionable output. It uses a weighted scoring system:
Scoring Weights:
• Scenario Signal: 30%
• Trend Alignment: 20%
• CVD Momentum: 15% + Divergence Bonus
• Pin Forces: 15%
• Liquidity Sweep: 12%
• Stop-Hunt Detection: 10%
• Effort vs Result: 10%
Possible Actions:
• ⏳ WAIT — Edge not strong enough (stay patient)
• 🟢 LONG ENTRY — Buyers have strong advantage + signals align
• 🔴 SHORT ENTRY — Sellers have strong advantage + signals align
• ⚠️ CLOSE LONG/SHORT — Position at risk (reversal/trend flip)
• 🛑 STOP LOSS — Price hit risk threshold
• 💰 TAKE PROFIT — Target threshold reached
📊 EXTENDED INFO PANEL (Detailed Explanations)
The Extended Info panel is hidden by default (toggle: Show Extended Info in settings). It provides detailed metrics that feed into the main engines:
CVD ANALYSIS
What is CVD?
Cumulative Volume Delta (CVD) is the running total of Buy Volume minus Sell Volume. It reveals the underlying buying/selling pressure that may not be visible in price alone.
CVD Value & Slope:
• ↗ Rising: CVD increasing = net buying pressure (bullish)
• ↘ Falling: CVD decreasing = net selling pressure (bearish)
• → Flat: No clear pressure direction
Accumulation vs Distribution:
• Accumulation %: Shows buying pressure strength (0-100). High accumulation with CVD rising = strong bullish bias.
• Distribution %: Shows selling pressure strength (0-100). High distribution with CVD falling = strong bearish bias.
Divergence Alerts:
• ⚠️ BULLISH DIVERGENCE: Price falling but CVD rising. Hidden buying = potential reversal UP.
• ⚠️ BEARISH DIVERGENCE: Price rising but CVD falling. Hidden selling = potential reversal DOWN.
WICK ANALYSIS
Wick Torque:
Torque measures the "rotational force" from wicks. It's calculated from wick length, volume, and body efficiency.
• Positive Torque (Bullish): Bottom wick power dominates. Buyers defended lower prices.
• Negative Torque (Bearish): Top wick power dominates. Sellers defended higher prices.
• ⚡ High Torque (>30): Strong signal, significant wick rejection occurred.
Stop-Hunt Detection:
The engine detects when price has likely swept stop-losses clustered at key levels:
• Stop Hunt Risk %: Likelihood score (0-100). Above 55% = confirmed hunt.
• "Shorts hunted": Price swept below support, liquidating shorts, expect bounce UP.
• "Longs hunted": Price swept above resistance, liquidating longs, expect drop DOWN.
LIQUIDITY SWEEPS
This section appears only when a liquidity sweep is detected. The engine monitors for price sweeping recent highs/lows and then reversing:
• 🎯 LIQUIDITY SWEPT ABOVE: Price broke recent highs but closed back below. Longs trapped, expect DOWN.
• 🎯 LIQUIDITY SWEPT BELOW: Price broke recent lows but closed back above. Shorts trapped, expect UP.
POWER BALANCE
The Power Balance meter shows the real-time strength comparison between buyers and sellers.
Force Ratio:
• 0% = Complete seller dominance
• 50% = Perfect balance
• 100% = Complete buyer dominance
Visual Bar:
• Left side (▓): Bear territory
• Right side (▓): Bull territory
• The bar is smoothed over recent history to reduce noise.
EFFORT vs RESULT
This section measures the efficiency of price movement relative to volume expended.
Energy:
How much volume was spent relative to the average. Energy > 1.0x means above-average volume activity.
Ground:
How much price movement occurred relative to average range. Ground > 1.0x means above-average price movement.
STALL Warning:
A STALL is detected when high energy is spent but low ground is taken (high effort, low result). This often indicates institutional battle, exhaustion, or imminent reversal.
MARKET PHASE
The Phase Engine classifies the current market regime:
RANGE : No clear trend. Price confined to middle of channel. Low ADX. Balanced forces. Trade breakouts with caution.
BUILDING : Compression/preparation phase. Channel tightening or boundary penetration without follow-through. Watch for breakout direction.
TRENDING : Active directional move. Clear slope, good efficiency, price on trending side of channel. Favor pullback entries.
Strength:
0-100% score combining slope, volume validity, and force/efficiency filters.
Bars: How many candles the current phase has persisted.
TRACK RECORD (Validation Panel)
Enable with Show Validation Panel in settings. This section tracks the historical accuracy of scenario predictions:
Accuracy: Percentage of validated predictions that were correct.
Best/Worst Scenario: Shows which scenarios have the highest and lowest accuracy on the current symbol.
Recent Signals: Last 5 predictions with their outcomes. ✓ = correct, ✗ = wrong, ⏳ = pending validation.
⚙️ SETTINGS GUIDE
📊 Volume Analysis
Volume Calculation: Choose Geometry (estimates from candle shape) or Intrabar (precise LTF data).
Intrabar Resolution: LTF for precise mode. Try 1S, 15S, or 1T. Must be lower than chart timeframe.
History Depth: Candles stored in memory (5-50). Higher = more context, slower.
Memory Lookback: Bars for moving averages and Z-scores (10-100).
🏷️ Market Phase
Range Zone Width: How much of channel center is considered "range" (0.1-0.8).
Trend Sensitivity: Minimum slope to detect trending. Lower = more sensitive.
Min Episode Length: Minimum bars before phase can change. Prevents flickering.
🎯 Scenarios
Min Confidence to Show: Only display scenarios above this confidence level (30-90).
Bars to Validate: How many bars to wait before checking if prediction was correct.
Success Move %: Minimum price movement to consider prediction successful.
💰 Trade Advisor
Min Confidence for Entry: Minimum confidence to suggest a trade entry (50-90).
Default Risk %: Stop loss distance as % of price (0.5-5.0).
Min Risk/Reward: Minimum acceptable R:R ratio (1.0-5.0).
🔔 ALERT CONDITIONS
The indicator provides the following alert conditions you can configure:
• 🟢 LONG Entry Signal
• 🔴 SHORT Entry Signal
• ⚠️ Close LONG Signal
• ⚠️ Close SHORT Signal
• 🛑 STOP LOSS Alert
• 💰 Take Profit Alert
• 🚨 High Urgency Signal
⚠️ IMPORTANT DISCLAIMER
EDUCATIONAL TOOL ONLY
This indicator is designed for educational purposes to help users identify different market scenarios and understand how various signals might be interpreted.
The Trade Advisor is NOT a recommendation to buy, sell, or invest.
• Past performance does not guarantee future results
• All trading involves risk of loss
• The creator is not a licensed financial advisor
• Always do your own research (DYOR)
• Consult a qualified financial advisor before making any investment decisions
By using this indicator, you acknowledge that you understand these risks and accept full responsibility for your trading decisions.
The Bubble Strategy By HoneyMoneyFX🟢 The Bubble Strategy by HoneyMoneyFX
The Bubble Strategy is built to help traders instantly understand market bias across multiple timeframes, allowing for clearer, faster, and more confident trading decisions — without constantly switching charts.
🔍 Multi-Timeframe Info Panels
The indicator displays info panels for multiple timeframes at once, showing whether each timeframe is in:
LONG (bullish)
SHORT (bearish)
CONSOLIDATION
This makes it easy to see the overall structure and direction of price, helping traders align lower-timeframe entries with higher-timeframe momentum.
🎯 Buy & Sell Signals (High-Probability Entries)
Buy and Sell signals appear only when price enters both:
a 4H Bubble
and a 15-Minute Bubble
of the same type (both LONG or both SHORT)
This ensures signals are taken in the direction of higher-timeframe bias, not against it.
Signal Logic
BUY signal → 4H LONG + 15m LONG
SELL signal → 4H SHORT + 15m SHORT
🛑 Risk Management (Fixed & Simple)
Stop-Loss: EMA 200 (purple line)
Base Risk-Reward Ratio: 2.0R
This keeps risk management consistent and rule-based.
📈 Risk-Reward Scaling with Confluence
The strategy allows higher risk-reward when market conditions are stronger.
RSI Rules
LONG positions
RSI must be below 61
RSI above 61 is considered overbought, weakening the setup
SHORT positions
RSI must be above 39
RSI below 39 is considered oversold, weakening the setup
Examples
Best-case scenario
All info panels from 1m → 4H are GREEN
RSI across panels is below 61
👉 Risk-Reward of 4.0R or more is possible
Standard setup
Only 4H and 15m panels align
Average RSI below 61 (for longs)
👉 Risk-Reward = 2.0R
More alignment = stronger move = higher potential reward.
⚠️ Important Trading Rule
It is strongly recommended to:
Trade ONLY inside 4H LONG or SHORT bubbles
NEVER trade during 4H CONSOLIDATION bubbles
This dramatically reduces false signals and improves consistency.
📚 Education & Strategy Guides
Detailed guides on how to correctly use the Bubble Strategy will be posted on:
TikTok
YouTube
Instagram
These guides will teach you how to:
Filter real signals from fake ones
Trade scalping and swing setups
Combine info panels, RSI, and structure properly
🌍 Markets Supported
The Bubble Strategy works on:
✅ Forex (especially optimized)
✅ Stocks
✅ Crypto
Usable for scalping, day trading, and swing trading.
🔓 Access & Trial
You can freely use The Bubble Strategy by purchasing access at:
👉 honeymoneyfx.com
Includes a 30-day free trial
Full access to all features during the trial
----------------------------------------------------------
Desclaimer -
Trading in financial markets involves significant risk and is not suitable for everyone.
The Bubble Strategy by HoneyMoneyFX is provided for educational and informational purposes only and does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Past performance is not indicative of future results. Market conditions change, and no strategy can guarantee profits or eliminate risk entirely. Losses can exceed expectations if proper risk management is not applied.
All Buy and Sell signals generated by this indicator should be independently verified and used at your own discretion. You are fully responsible for your trading decisions, including risk sizing, stop-loss placement, and trade execution.
This indicator does not account for personal financial circumstances, risk tolerance, or trading experience. Always trade with capital you can afford to lose.
It is strongly recommended to:
Backtest the strategy thoroughly
Use proper risk management at all times
Avoid trading during unfavorable market conditions
By using this indicator, you acknowledge that HoneyMoneyFX and its affiliates are not liable for any losses, damages, or financial outcomes resulting from its use.
XRayXRay is a comprehensive earnings analysis table for TradingView that displays historical quarterly earnings data, year-over-year growth trends, and future estimates in an easy-to-read format directly on your chart.
Column & Description
✅ Date - Earnings report date (MMM-YY format)
✅ EPS ($) - Actual earnings per share in dollars
✅ %Chg (YoY) - EPS year-over-year percentage change
✅ Sales (Mil) - Total revenue in millions
✅ %Chg (YoY) - Sales year-over-year percentage change
✅ Price - Configurable: earnings day close, next trading day close, or current price
✅ %Chg (YoY) - Stock price year-over-year percentage change
Benefits:
✅ All-in-one earnings dashboard - No need to leave your chart
✅ Smart visual encoding - Color, bold, symbols make patterns obvious
✅ Flexible configuration - Adapts to your trading style
✅ Future-looking - Includes analyst estimates for next quarter
Use Cases:
✅ Quick earnings screening - Instantly see growth trends across multiple quarters
✅ Fundamental analysis - Track sales and earnings consistency
✅ Growth acceleration detection - Spot companies accelerating or decelerating
✅ Earnings quality assessment - Compare actual vs. estimates
✅ Position sizing decisions - Evaluate risk based on earnings volatility
✅ Long-term trend analysis - See up to 20 quarters of historical performance
Fibonacci Sequence Grid [BigBeluga]🔵 OVERVIEW
A geometric price mapping tool that projects Fibonacci sequence levels and grid structures from recent price swings to help traders visualize natural expansion and reversion zones.
This indicator overlays Fibonacci-based structures directly on the chart, utilizing both grid projections and horizontal levels based on the classic Fibonacci integer sequence (0, 1, 1, 2, 3, 5, 8, ...). It identifies recent swing highs or lows and builds precision-aligned levels based on the trend direction.
🔵 CONCEPTS
Uses the Fibonacci integer sequence (not ratios) to define distances from the most recent swing point.
Identifies a trend based on EMA cross of fast and slow periods.
Projects two types of Fibonacci tools:
A grid projection from the swing point, displaying multiple sloped levels based on the sequence.
A set of horizontal Fibonacci levels for clean structural references.
Levels can be plotted from either swing low or high depending on the current trend direction.
Adjustable “Size” inputs control spacing between levels for better price alignment.
Lookback period defines how far the script searches for recent swing extremes.
🔵 FEATURES
Fibonacci Grid Projection:
Draws two mirrored Fibonacci grids—one expanding away from the swing high/low, the other converging toward price.
Swing-Based Trend Detection:
Uses a fast/slow EMA crossover to determine trend direction and reference swing points for projections.
Fibonacci Sequence Levels:
Displays horizontal levels based on the Fibonacci number sequence (0, 1, 2, 3, 5, 8, 13, 21...) for natural price targets.
Dynamic Labels and Coloring:
Each level is labeled with its sequence value and colored based on trend direction (e.g., red = downtrend, green = uptrend).
Both grids and levels can be toggled on/off independently.
Sizing controls allow tighter or looser clustering of levels depending on chart scale.
🔵 HOW TO USE
Enable Fibonacci Grid to visualize price expansion zones during impulsive trends.
Use Fibonacci Levels as horizontal support/resistance or target zones.
A label below price means the current trend is up and levels are projected from swing low.
A label above price means trend is down and levels are projected from swing high.
Adjust “Size” input to fit grid/level projection to your preferred chart scale or instrument volatility.
Use in confluence with price action, trend indicators, or volume tools for layered trading decisions.
🔵 CONCLUSION
Fibonacci Sequence Grid reimagines Fibonacci analysis using whole-number spacing from natural math progressions. Whether used for projecting grid-based expansions or horizontal support/resistance zones, it provides a powerful and intuitive structure to trade within. Perfect for traders who rely on symmetry, market geometry, and mathematically consistent levels.
NeuraCloud - Ichimoku (Purple Kumo) + Alerts (Minimal)NeuraCloud is a clean, modern interpretation of the Ichimoku Cloud, designed to identify trend direction, market structure, and key support/resistance zones at a glance.
The purple cloud (Kumo) acts as a dynamic trend filter:
• Price above the cloud indicates bullish conditions
• Price below the cloud indicates bearish conditions
• Price inside the cloud signals consolidation or uncertainty
NeuraCloud combines the cloud with Tenkan-sen and Kijun-sen to highlight momentum shifts, pullbacks, and trend continuation opportunities. Built-in alerts notify you of price/cloud breaks, momentum crosses, and cloud flips, helping you stay aligned with high-probability market structure.
Ideal for trend traders, swing traders, and multi-timeframe analysis, NeuraCloud keeps charts clean while delivering clear market context.
PLOW/PLHW (Potential weekly highs/lows)AP Capital – PLOW / PLHW (Potential Weekly Low / High)
This indicator highlights Potential Weekly Lows (PLOW) and Potential Weekly Highs (PLHW) in real time, using current-week price action, session context, and confirmed candle closes.
It is designed for intraday and swing traders who want early-week and late-week structure levels without repainting or hindsight bias.
🔹 How It Works
Potential Weekly Low (PLOW)
Detected during early week sessions
Triggers when price prints the current week’s lowest low
Confirmed only on candle close
Typically aligns with liquidity grabs, stop runs, or accumulation
Potential Weekly High (PLHW)
Detected during late week sessions
Triggers when price prints the current week’s highest high
Confirmed only on candle close
Often marks distribution or exhaustion zones
📊 Visual Elements
Clean weekly high & low levels
Optional weekly midpoint
Session-aware confirmation
Non-repainting labels
Minimalist layout (no clutter)
⚙️ Key Features
Works on any intraday timeframe
Fully non-repainting
Session-based logic (early vs late week)
Optional weekly range info panel
Suitable for Gold, FX, Indices, Crypto
🧠 Best Use Cases
Fade moves into weekly extremes
Combine with:
Previous Day High / Low
Liquidity sweeps
Market structure shifts
Identify high-probability reversals
Avoid chasing price late in the week
⚠️ Important Notes
This is NOT predictive — levels are confirmed from live price action
Best used as context, not a standalone entry system
Designed to complement price action & liquidity-based trading
📌 Disclaimer
This indicator is for educational purposes only.
Not financial advice. Always manage risk.
Valuation Tool ( Indicator )VALUATION (Intermarket Relative Strength Index)
Overview The Valuation indicator is a sophisticated intermarket analysis tool designed to identify overvalued or undervalued conditions of an asset relative to its key correlated benchmarks. By comparing the percentage change of a base symbol against three different external assets (e.g., DXY, Gold, Bonds), the script highlights significant price-value divergences.
Originality & Utility Unlike standard RSI or momentum oscillators that only look at a single asset's price, this script provides a "Fair Value" perspective based on intermarket relationships:
Dynamic Correlation Tracking: It calculates the differential in percentage change between the main chart and three user-defined symbols.
Normalized Comparative Output: Uses a custom Rescale Function that translates raw performance differences into a normalized scale (-100 to +100), making it easy to spot historical extremes.
Custom Correlation Matrix: Traders can adapt the indicator to any asset class (Equities vs. Yields, FX vs. Commodities, etc.), providing a high degree of versatility for macro-thematic trading.
Indicator vs. Strategy Version Please note that THIS IS THE INDICATOR VERSION designed for visual analysis and identifying potential reversal zones. A dedicated BACKTESTING VERSION for quantitative validation is available in my script profile.
Collaboration & Feedback I am focused on refining intermarket models. If you have suggestions on default correlation baskets or logic improvements, please reach out. Support the project by HITTING THE BOOST BUTTON—it helps me continue sharing these tools.
How it Works
Performance Delta: The script measures the percentage change over a 'Period Length' for the main symbol and three comparison IDs (Default: DXY, Gold, 30Y Bonds).
Calculation of Divergence: It subtracts the benchmark's performance from the asset's performance. A positive result means the asset is outperforming the benchmark; a negative result means underperformance.
Rescaling: The raw divergence is normalized over a 'Rescale Length' (default 100 bars) to create a visual oscillator.
How to Use It
Overvalued (+75 Level): When the lines reach the upper dashed threshold, the asset has significantly outperformed its benchmarks, suggesting it may be "expensive" and due for a mean reversion or correction.
Undervalued (-75 Level): When the lines drop below the lower threshold, the asset has lagged significantly behind its correlations, indicating a potential "cheap" entry point.
Convergence/Divergence: Watch for all three lines to align at an extreme. Triple alignment at +/- 75 provides a high-probability signal of intermarket exhaustion.
RISK DISCLOSURE Trading involves substantial risk. Intermarket relationships can decouple during periods of high volatility or fundamental shifts. Past correlations do not guarantee future results. This tool is for informational purposes and should be used as part of a comprehensive trading plan.
XAU PRO [EN]XAU PRO is a macro-driven dashboard for Gold (XAUUSD) designed to provide a clear, structured, and actionable macro context without adding clutter to the chart. It is a table-only indicator: no lines, no oscillators, no background painting, and no buy/sell arrows. Its purpose is to support decision-making, not to replace price action or execution strategies.
The indicator analyzes Gold using a hybrid macro framework that combines interest rates (nominal and real), USD behavior, inflation expectations, liquidity conditions, volatility and market stress, and intermarket confirmation (Gold, Silver, and Miners). All of this information is consolidated into a single, easy-to-read panel.
A key feature of XAU PRO is its hybrid timeframe logic. Macro data from FRED (such as real yields, inflation breakevens, and liquidity) is only available on Daily or higher timeframes. Market instruments like XAUUSD, DXY, VIX, and ETFs can be intraday. When an intraday calculation timeframe is selected (for example 15m, 1h, or 4h), the indicator automatically forces FRED series to Daily while keeping other symbols on the chosen timeframe. This avoids unsupported-resolution errors and ensures stable, consistent behavior. The table explicitly displays the calculation timeframe so the user always knows what is being used.
The table is designed to answer practical trading questions. It shows the calculation timeframe, the current macro regime (such as Risk-Off, Inflation, Tightening, Liquidity-Up, or Neutral), and a clear permission state that tells whether trading conditions are favorable: LONG OK, SHORT OK, WAIT, AVOID, or BLOCKED. It also displays the macro bias direction, the adjusted macro score that reflects the strength of drivers, the confluence percentage that measures environment quality, a divergence filter between Gold and real yields, the relevance of correlation between Gold and 5-year real yields, and a filtered historical accuracy metric. Each row includes color-coded status, plain-English explanations, and directional arrows showing whether conditions are improving or deteriorating.
XAU PRO is intended to be used as a professional workflow tool. Traders use higher-timeframe macro information to define context and risk conditions, then execute trades using their own price-based setups. The indicator does not tell you when to enter or exit; it tells you when trading makes sense and when it does not.
The indicator is fully configurable. Users can choose whether calculations follow the chart timeframe or a custom timeframe, move the table to different screen positions, adjust fonts and colors, and enable or disable specific macro components such as VIX, MOVE, or GVZ.
This is not a signal indicator. It does not repaint, does not rely on curve-fitting, and is designed for clarity, stability, and macro awareness. It is best suited for Gold traders who separate market context from execution and want a clean, professional macro dashboard directly on their chart.
Market Zones ProMarket Zones Pro
Market Zones Pro is an advanced, multi-timeframe market profile indicator built for professional traders who demand deep insight into market structure, volume distribution, and time-at-price dynamics. Its hybrid volume/time-weighted engine delivers real-time value areas, points of control, and proprietary extended levels — all in one clean, customizable overlay. This invite-only script distinguishes itself with original features like the Venom Pivots projection system, intelligent 80% Rule confirmation logic, and flexible stacked composite profiles that create long-term distribution views not available in standard tools.
Core Features & Concepts
• Hybrid Market Profile Engine Seamlessly blends volume-based and time-at-price (TPO) data — originally developed by J. Peter Steidlmayer in the 1980s — into a configurable hybrid mode (pure volume, pure time, or balanced). This creates robust, adaptive profiles that perform reliably across quiet sessions and high-volatility environments alike.
• Value Area & Point of Control (POC) The shaded value area captures one standard deviation of trading activity (~68% of total volume/time). The POC marks the price level with the highest concentration — widely regarded as the “fairest” price and a natural magnet for price action
• Virgin POCs (VPOCs) Prior POCs that price has not yet revisited. These untouched levels frequently act as powerful support or resistance, often producing stalls or reversals when finally tagged.
• Venom Pivots Proprietary extended support and resistance levels projected from the current value area dimensions. Up to six levels above and below provide harmonic targets: closer pivots (R1/S1) for short-term moves, farther ones for trend extensions
• 80% Rule Detection Automated implementation of the observation popularized by James Dalton : when price opens outside the value area and enters it, there is historically an ~80% probability of reaching the opposite side. The script intelligently distinguishes potential vs. confirmed states, handles breakout scenarios, and applies tailored confirmation logic
• Developing (Future) Value Areas Real-time projection of the current incomplete period’s value area, POC, and Venom levels — essential for intraday and swing traders.
• Stacked Composite Profiles Merges multiple completed periods into a single long-term histogram (e.g., 12 months = 1-year composite). Ideal for identifying persistent “shelves” and overall market distribution.
• High Volatility Warnings & Visual Zones Automatically flags compressed value areas that often precede explosive moves. Gradient zones outside the value area, up/down volume histograms, and multi-timeframe color coding provide instant visual context.
• Smart Alerts & Status Table Custom alerts for 80% Rule states, value area breakouts, VPOC touches, and volatility warnings — all with price levels included. A real-time status table offers an immediate position summary relative to key levels.
• Extensive Customization Over 50 inputs control visuals, labels, opacity, data modes, and session handling (regular + extended hours supported with accurate rollover alignment for futures and forex).
How to Use It
1. Add to chart → select desired Profile Timeframe (Auto or manual).
2. Enable Extended Trading Hours in chart settings for precise developing value areas on 24/7 instruments.
3. Interpret: range-trade inside the value area; look for trends on breaks; use VPOCs and Venom levels for entries/exits; follow confirmed 80% Rule signals for high-probability targets.
4. Leverage the status table for instant context and set rich alerts for live trading.
Why Market Zones Pro?
The unique combination of proprietary Venom projections, sophisticated 80% Rule logic, hybrid volume/time weighting, developing value areas, and flexible stacked composites delivers insights and automation far beyond conventional market profile indicators. Proven across diverse assets and timeframes (as shown in screenshots), it saves significant analysis time while providing clear, actionable edges.
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.
Omega Stock Evaluation [OmegaTools]Omega Stock Evaluation is a comprehensive, institutional-grade equity analysis framework designed to synthesize fundamental valuation, technical context, relative performance, risk metrics, volume behavior, and analyst sentiment into a single decision-support system. It is not a “signal generator” in the traditional sense: it is a multi-dimensional evaluation engine built to answer one question—how a stock is positioned in terms of value, trend, risk, and market behavior.
Purpose
This script is designed to provide structured, repeatable stock evaluation for investors and analysts who want more than isolated indicators. It consolidates multiple independent valuation models, long-horizon technical equilibrium measures, market-relative valuation (multiple normalization), risk diagnostics, and behavioral proxies into a single output that can be monitored over time.
What the indicator delivers
• A blended Fair Price derived from fundamentals, market multiples, and technical equilibrium
• A volatility-normalized Oscillator that expresses discount/premium positioning vs fair value
• A multi-factor Rating (Strong Sell → Strong Buy) designed for strategic positioning
• A real-time Dashboard with: Rating, VaR, Beta, Trend, Location, Fundamental status, Performance status, Institutional bias, and Analysts consensus
• Optional overlays: Fundamental fair value, Technical fair value, PE-adjusted fair value, individual fundamental models, and analyst target price bands
Data and robustness logic
The script uses TradingView Financial datasets and includes normalization / cleaning steps to keep metrics realistic across different sources and reporting formats. Percent-like fields are automatically converted when needed, missing values are handled gracefully, and extreme or unstable multiples (e.g., implausible EV/Sales or EV/EBITDA) are filtered out.
Risk-adjusted discount rate and growth constraints
A core design choice is to avoid “fantasy valuations.” The script defines a bounded required return r , adjusted by credit/financial risk using the Altman Z-Score when available. Growth assumptions are also bounded and constrained so that terminal growth remains below the discount rate, preventing mathematically explosive valuations and improving stability across sectors.
Fundamental valuation engine (multi-model)
The indicator computes up to seven independent fair value estimates, each based on a distinct valuation philosophy. These estimates are then aggregated into a robust fundamental fair price using filtering and averaging logic to reduce outlier impact.
Fundamental models included
M1 – Discounted Cash Flow (FCF)
Projects Free Cash Flow for a fixed horizon and discounts it using the required return, then converts enterprise value to equity value by adjusting for net debt and shares outstanding.
M2 – Peter Lynch / PEG-style implied price
Derives an implied target P/E from growth and dividend yield (bounded), then estimates fair price as EPS(TTM) × target P/E.
M3 – Economic Value Added (EVA)
Estimates firm value as invested capital plus the present value of EVA streams, where EVA is NOPAT minus the capital charge (r × invested capital).
M4 – EV/Sales normalized valuation
Uses the historical median EV/Sales multiple as a target and values the company using TTM revenue, adjusted to equity value.
M5 – Residual Income valuation (ROE fade)
Builds a residual income model where ROE advantage fades toward the required return over the horizon, adding the present value of residual income to book value.
M6 – EV/EBITDA normalized valuation
Uses the historical median EV/EBITDA multiple as a target and values the company using TTM EBITDA, adjusted to equity value.
M7 – Justified P/B (closed-form residual income)
Computes a justified price-to-book estimate from ROE, growth, and required return and derives a fair price from BVPS.
Fundamental fair price aggregation
Only valid, positive model outputs are used. The script sorts the valuation set, discards extreme tails when enough models are available, and computes a robust average to produce a stable Fundamental Fair Price suitable for continuous monitoring.
Technical fair value
To avoid relying solely on accounting-driven valuations, the script computes a Technical Fair Price from long-horizon market structure: it blends the 252-day high/low range with a long-term VWMA equilibrium. This acts as a market-derived anchor representing where price tends to revert across cycles.
Market multiple normalization (PE-adjusted valuation)
The script calculates a PE-Adjusted Fair Price by comparing the stock’s current P/E (from EPS TTM) to the S&P 500 average P/E series. This provides an immediate market-relative valuation signal: “what would this stock’s price be if it traded at the index multiple?”
Blended fair price
The final Fair Price is a composite average of:
• Fundamental fair price (multi-model)
• PE-adjusted fair price (market-relative)
• Technical fair price (market equilibrium)
This blend reduces single-model bias and improves usability across sectors and regimes.
Oscillator and location logic
Deviation from fair price is normalized by long-horizon volatility (standard deviation), producing a valuation oscillator that expresses where price sits relative to fair value in standardized units. The script defines three regimes:
• Discount (deep undervaluation vs fair price)
• Neutral
• Premium (overvaluation vs fair price)
Color gradients adapt dynamically to the oscillator level for fast visual interpretation.
Trend health and structural direction
Instead of using only price moving averages, trend is assessed using the slope of fair value itself (a structural measure). Rising fair price implies improving fundamentals/conditions; declining fair price implies deterioration. This supports a more “business-like” view of trend.
Performance and institutional behavior
Performance is evaluated relative to the PE-adjusted reference using ATR-scaled thresholds, classifying the stock as underperforming/overperforming vs market-normalized expectations.
Institutional activity is approximated using statistically significant volume expansions and short-term price direction during those expansions, producing a Buying / Selling / Neutral institutional bias proxy.
Composite rating system
The indicator converts multiple components into a unified Rating score: trend, valuation location, fundamental mispricing, relative performance, institutional bias, long-term MA regime, and RSI extremes. The rating is scaled by a volume factor so that high-conviction volume environments receive greater weight.
Final categories are mapped as: Strong Sell , Sell , Hold , Buy , Strong Buy , displayed both numerically and textually.
Risk metrics: VaR and Beta
The dashboard includes:
• Historical VaR (percentile-based on daily log returns) for downside risk awareness
• Beta computed from relative volatility and correlation vs SPY across a long window
These metrics provide critical context for comparing opportunities across different risk profiles.
Analyst consensus
Sell-side recommendations are aggregated into:
• A dominant consensus label (Strong Buy → Strong Sell)
• A weighted average recommendation score (%)
This allows you to identify alignment or divergence between market valuation, price behavior, and analyst positioning.
Visual options and overlays
The indicator is designed to be clean, modular, and presentation-ready. You can choose to display:
• Blended Fair Price
• Technical, Fundamental, and PE-Adjusted fair prices
• All individual fundamental model lines (M1–M7)
• Analyst target price bands (High/Low/Average), plotted forward from the official target price date
A compact, professional table summarizes the entire evaluation in one glance.
Recommended workflow
This tool is best used for:
• Long-term screening and rotation
• Valuation + trend confluence analysis
• Portfolio construction and risk-aware allocation
• Identifying discounted stocks with improving structure (or expensive stocks with weakening structure)
It is not intended as a standalone entry/exit trigger for short-term trading.
Disclaimer
Omega Stock Evaluation is an analytical tool and does not constitute financial advice. Financial datasets may vary in availability and update timing across tickers and exchanges. Always validate with primary sources before making investment decisions.
Omega Stock Evaluation does not try to predict. It tries to quantify context—value, trend, risk, and behavior—in one coherent system.
High RR Trend Pullback [Premium] 🚀 High RR Trend Pullback
A **high-probability trend pullback indicator** built for traders who want **clean entries and strong risk–reward setups**.
This script uses:
* **200 EMA** for institutional trend direction
* **50 EMA + ATR zones** for precise pullback entries
* **Strong candle confirmation** to filter weak signals
Only trade **with the trend**, only enter at **value**, and only on **momentum confirmation**.
### ✅ Features
* Clear BUY / SELL signals
* Dynamic EMA & pullback zone visualization
* Smart on-chart dashboard
* Built-in alerts for automation
* Modern, clutter-free premium design
Works seamlessly on **Forex, Crypto, Indices, and Stocks**.
⚠️ *For educational purposes only. Always manage risk.*
Accumulative Swing Cloud [MarkitTick]💡This indicator presents a modernized hybrid approach to J. Welles Wilder’s classical Accumulative Swing Index (ASI). While the traditional ASI is often viewed as a simple line oscillator used to confirm price breakouts, the Accumulative Swing Cloud reconstructs this concept into a dynamic trend-following system. By smoothing the raw ASI data into multiple moving average layers, this script creates a "Cloud" structure that visualizes the strength, direction, and momentum of the swing index, effectively treating the ASI value itself as a tradeable price action entity.
● Originality and Utility
The standard Accumulative Swing Index is a powerful tool for seeing through the "noise" of open, high, low, and close prices to find the real trend. However, looking at a raw ASI line can be jagged and difficult to interpret for sustained trends. This script innovates by applying "Cloud Dynamics" to the ASI. It calculates three distinct moving averages (Fast, Mid, and Slow) of the ASI value itself. The area between the Fast and Slow averages is filled with a dynamic gradient color. This allows traders to not only see the trend direction (Bullish or Bearish) but also gauge the volatility and strength of the move based on the expansion or contraction of the cloud's width. Additionally, this version introduces an optional Volume Integration feature, allowing the Swing Index calculations to be weighted by relative volume, giving more significance to moves backed by high market participation.
● Methodology and Calculations
The core of this indicator relies on the Swing Index calculation. It compares the current bar's Open, High, Low, and Close against the previous bar's values to derive a variable "R" (a measure of the market's range).
The script determines the largest price movement (K) among the High-Close, Low-Close, and High-Low ranges.
It calculates the "R" value based on the relationship between the daily range and the gap between the prior close and current open.
A Swing Index (SI) value is derived using the Limit Move value (T), the defined Multiplier, and the calculated R and K values.
This SI is accumulated into a running total (ASI State).
If Volume Integration is enabled, the SI is multiplied by a Volume Factor (Current Volume divided by Average Volume), capped at 3.0 to prevent outlier distortion.
● Visual Guide
The indicator plots several key visual elements on the chart:
Cloud Fast (Green Line): Represents the shorter-term moving average of the Accumulative Swing Index.
Cloud Slow (Red Line): Represents the longer-term moving average.
Cloud Fill (Gradient Area): The space between the Fast and Slow lines.
Green Gradient: Indicates the Fast MA is above the Slow MA (Bullish Trend).
Red Gradient: Indicates the Fast MA is below the Slow MA (Bearish Trend).
Gradient Intensity: The opacity of the color scales dynamically based on the width of the cloud relative to its recent historical maximum. A wider cloud (stronger trend/higher volatility) appears more solid, while a narrow cloud appears more transparent.
ASI Line (Color-Coded Line): The thick line represents the current raw Accumulative Swing Index value. It changes color (Green/Red) based on its position relative to the Signal Line.
Signal Line (Gray Line): A Simple Moving Average of the ASI Line, acting as a trigger for immediate reversals.
Bar Coloring: The main price candles are colored to match the current state of the Cloud (Green for Bullish Cloud, Red for Bearish Cloud).
● How to Use
Trend Identification: Use the Cloud color to determine the primary trend. A Green Cloud suggests an uptrending market structure, while a Red Cloud suggests a downtrend.
Entry Signals: Traders often look for the "ASI Line" to cross the "Signal Line" in the direction of the Cloud. For example, if the Cloud is Green, a crossover of the ASI Line above the Signal Line is a bullish confirmation.
Cloud Crossovers: A crossover of the Fast and Slow Cloud lines represents a major structural shift in the Accumulative Swing Index trend.
Volatility Filter: Pay attention to the gradient intensity. A very narrow (transparent) cloud indicates low momentum or consolidation, while a widening (solid) cloud indicates expanding momentum.
● Inputs and Settings
ASI Core Engine: Configure the Daily Limit (T) and Multiplier to tune the sensitivity of the Swing Index calculation.
Volume Integration: Toggle "Weight ASI by Volume" to factor in volume spikes. Adjust "Volume Avg Length" to define the baseline volume.
Cloud Dynamics: Choose the Moving Average type (EMA, SMA, RMA, WMA) and set the Fast, Mid, and Slow lengths to customize the cloud's reactivity.
Visual Enhancements: Toggle "Color Candles by Cloud Width" to apply the gradient coloring directly to the price bars.
● Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Swing Data [ATR Ext | RVol | ADR | Ticker/Sector RS]Disclaimer : This indicator is not financial advice and is strictly for educational and informational purposes only. The metrics and signals provided herein—including ATR extensions, volume projections, and rolling alpha for relative strength — are calculated based on historical market data and do not guarantee future performance. Trading stocks and commodities involves significant risk of loss. The user assumes full responsibility for all trading decisions and should always perform their own due diligence before executing trades.
Hello there. I was inspired after reading this Twitter post by Steve Jacobs regarding the ATR Matrix. I followed Steve's recommendation to the interesting indicator built by @Fred6724 for @jfsrev but I couldn't match my manual calculations to their math. So, I threw together this TradingView indicator to match my own manual calculations for the ATR Extension Multiple. And then, I added more quality-of-life features that I found useful in my daily workflow such as table positioning, specific data streams, threshold customization, and conditional coloring. This became quite a snowball.
Daily Chart : Please note that the design for this indicator was focused on the daily chart. Edge case testing has not been fully conducted for other charting periods, although the math should apply agnostically. The calculations of rolling alpha for Ticker RS and Sector RS fetch daily data instead of the displayed chart period, which may affect Ticker RS if you have turned on pre-market and after-market.
Relative Strength Differential reveals rolling alpha: One way to read the Ticker RS and Sector RS is... this stock is beating SPY by +75% in the past 63 days and blue color means the stock's outperformance is accelerating but the sector of this stock is beating SPY by a sleepy 3% and orange color means the sector's performance against the broader market is shrinking... so at a glance, we can conclude this is a strong stock in a lagging sector.
Status Line : The script outputs the raw ATR Extension value, ATR%, and a Boolean (0/1) for the ATR Extension alert dot directly to the Status Line. This allows you to hover your mouse over any historical candle to see exactly how extended price was on that specific candle, without needing to calculate it manually. These values are coded to display as text only. They provide the data you need without drawing distracting line plots across your price action. In the Style Tab of the indicator settings, you will see checkboxes for these values. Avoid toggling them off and on. Doing so can override the script’s default "invisible" setting and force TradingView to draw unnecessary lines on the chart.
Data streams available for turning on/off:
ATR Multiple above SMA (default SMA50, default alert on candle >6 multiple, the simple math is Price minus SMA50 and then divide by ATR)
ATR Percent (default period length 14)
ATR Value
Percent Distance from SMA (default SMA50)
Projected Relative Volume calculated against Average Volume (default 60 day avg vol)
Projected Volume (estimates end of day volume based on current volume at elapsed time)
Projected Dollar Volume (estimates end of day turnover based on projected volume x current price... it's a ballpark for gauging liquidity... time arrays for modestly more accurate turnover projection is compute heavy and low signal intel)
Average Volume (default 60 day)
Average Dollar Volume (default 60 day)
ADR Percent (default period length 20 while TradingView prefers 14)
ADX (default period length 14)
Low of Day Price
Dynamic Stop Loss (default Stop MA length 10 and Stop ATR multiple 0.5, adjust at your preference)
Market Capitalization (calculates latest Fiscal Quarter's Shares Outstanding x Price)
Ticker RS vs SPY (calculates the stock's 63-day rolling performance against the broader market to quantify raw outperformance percentage; the text color signals velocity, turning default blue if the relative strength is flying above the 21-day average of this relative strength or default orange if shrinking below)
Sector RS vs SPY (calculates the sector's 63-day rolling performance against the broader market to quantify raw outperformance percentage; the text color signals velocity, turning default blue if the relative strength is flying above the 21-day average of this relative strength or default orange if shrinking below)
Sector (basic exception handling such as metal/energy/crypto in ambiguous industries and GICS industry overrides, see code block below)
Industry (pulls TradingView's syminfo, truncates when too long)
Advanced mapping of the Sector string to a specific ETF, GICS Compliant.
// 1. Get Sector and Industry Strings
// 'str.lower' converts the description to lowercase to make keyword matching easier (case-insensitive).
string sec_raw = syminfo.sector
string ind_raw = syminfo.industry
string desc_raw = str.lower(syminfo.description)
// Default Fallback: If no match is found, we compare against SPY (Market Average).
string sec_etf = "SPY"
// 2. DEFINE CONDITIONAL GATES (The Safeguards)
// CRITICAL: We only want to scan for keywords (like "Silver") if the stock is in a vague industry bucket.
// This prevents "False Positives". For example, we don't want "Silvergate Bank" (Regional Banks)
// to be accidentally reclassified as a Mining stock just because it has "Silver" in the name.
bool is_ambiguous = ind_raw == "Investment Trusts/Mutual Funds" or ind_raw == "Miscellaneous" or ind_raw == "Financial Conglomerates" or ind_raw == "Other Metals/Minerals" or ind_raw == "Precious Metals"
// 3. KEYWORD LOGIC (Only runs inside the Gate)
// RULE A: COMMODITY TRUSTS (Metals -> XLB)
// Fixes: PSLV, PHYS, SPPP, GLD, SLV which are legally "Financial Trusts" but trade like Commodities.
// Logic: If it's a Trust AND mentions "Silver/Gold/Bullion", map to Materials ( AMEX:XLB ).
bool has_metal = str.contains(desc_raw, "silver") or str.contains(desc_raw, "gold") or str.contains(desc_raw, "bullion") or str.contains(desc_raw, "platinum") or str.contains(desc_raw, "palladium") or str.contains(desc_raw, "precious")
// RULE B: ENERGY TRUSTS (Oil/Uranium -> XLE)
// Fixes: USO, UNG, SPUT (Uranium).
// Logic: Uranium and Oil trusts correlate with Energy ( AMEX:XLE ), not Financials.
bool has_energy = str.contains(desc_raw, "oil") or str.contains(desc_raw, "natural gas") or str.contains(desc_raw, "petroleum") or str.contains(desc_raw, "uranium") or str.contains(desc_raw, "crude")
// RULE C: CRYPTO PROXIES (Bitcoin/Ether -> XLK)
// Fixes: GBTC, IBIT, FBTC.
// Logic: Crypto equities currently have the highest correlation with High-Beta Tech ( AMEX:XLK ).
bool has_crypto = str.contains(desc_raw, "bitcoin") or str.contains(desc_raw, "ethereum") or str.contains(desc_raw, "crypto") or str.contains(desc_raw, "coin")
// 4. EXECUTE KEYWORD MAPPING
if is_ambiguous and has_metal
sec_etf := "XLB" // Force Metals to Materials
else if is_ambiguous and has_energy
sec_etf := "XLE" // Force Energy Trusts to Energy
else if is_ambiguous and has_crypto
sec_etf := "XLK" // Force Crypto to Tech (Risk On)
// 5. GICS INDUSTRY OVERRIDES (The "Standard" Fixes)
// These rules fix known classification errors where TradingView data lags behind GICS reclassifications.
// EXCEPTION: PAYMENT PROCESSORS (The "Visa" Rule - 2023 Update)
// Visa ($V), Mastercard ( NYSE:MA ), and PayPal ( NASDAQ:PYPL ) are now Financials ( AMEX:XLF ), not Tech.
else if ind_raw == "Data Processing Services"
sec_etf := "XLF"
// EXCEPTION: COMMUNICATIONS (The "Google/Meta" Rule - 2018 Update)
// Separates "Internet" and "Media" stocks ( NASDAQ:GOOGL , NASDAQ:META , NASDAQ:NFLX ) from "Packaged Software" ( NASDAQ:MSFT ).
// These belong in Communications ( AMEX:XLC ).
else if ind_raw == "Internet Software/Services" or ind_raw == "Advertising/Marketing Services" or ind_raw == "Broadcasting" or ind_raw == "Cable/Satellite TV" or ind_raw == "Movies/Entertainment"
sec_etf := "XLC"
// EXCEPTION: REAL ESTATE (The "REIT" Rule)
// Pulls REITs out of the Financials bucket ( AMEX:XLF ) and into their own sector ( AMEX:XLRE ).
else if str.contains(ind_raw, "Real Estate") or str.contains(ind_raw, "REIT")
sec_etf := "XLRE"
// EXCEPTION: AUTO MANUFACTURERS (The "Tesla" Rule)
// Tesla ( NASDAQ:TSLA ), Ford ($F), and GM are Consumer Discretionary ( AMEX:XLY ), not Tech or Industrials.
else if ind_raw == "Motor Vehicles"
sec_etf := "XLY"
// EXCEPTION: INTERNET RETAIL (The "Amazon" Rule)
// Amazon ( NASDAQ:AMZN ) and eBay are Consumer Discretionary ( AMEX:XLY ), distinct from generic "Retail Trade" ( AMEX:XRT ).
else if ind_raw == "Internet Retail"
sec_etf := "XLY"
// EXCEPTION: TEXTILES & APPAREL
// Nike ( NYSE:NKE ), Lululemon ( NASDAQ:LULU ), and Ralph Lauren are Consumer Discretionary ( AMEX:XLY ).
else if ind_raw == "Apparel/Footwear" or ind_raw == "Textiles"
sec_etf := "XLY"
// EXCEPTION: AEROSPACE & DEFENSE (The "Lockheed" Rule)
// Often mislabeled as Tech in some feeds, strictly belongs to Industrials ( AMEX:XLI ).
else if ind_raw == "Aerospace & Defense"
sec_etf := "XLI"
// EXCEPTION: SEMICONDUCTORS
// Explicit check to ensure Semis ( NASDAQ:NVDA , NASDAQ:AMD ) always stick to Tech ( AMEX:XLK ).
else if ind_raw == "Semiconductors"
sec_etf := "XLK"
// 6. STANDARD FALLBACKS
// If the stock didn't trigger any exception above, map based on the broad Sector name.
else
sec_etf := switch sec_raw
"Technology Services" => "XLK" // Microsoft, Oracle, Adobe
"Electronic Technology" => "XLK" // Apple, Hardware
"Finance" => "XLF" // Banks, Insurance
"Health Technology" => "XLV" // Pharma, Biotech
"Health Services" => "XLV" // Managed Care (UNH)
"Retail Trade" => "XRT" // Home Depot, Walmart (Retailers)
"Consumer Non-Durables" => "XLP" // Coke, P&G (Staples)
"Energy Minerals" => "XLE" // Exxon, Chevron (Oil)
"Industrial Services" => "XLI" // Construction, Engineering
"Consumer Services" => "XLY" // Restaurants, Hotels
"Consumer Durables" => "XLY" // Homebuilders, Appliances
"Utilities" => "XLU" // Power, Water
"Transportation" => "XTN" // Airlines, Rail, Trucking
"Non-Energy Minerals" => "XLB" // Steel, Copper, Chemicals
"Commercial Services" => "XLC" // Remaining Media/Comms
"Communications" => "XLC" // Legacy tag
"Distribution Services" => "XLY" // Wholesalers
=> "SPY" // Final Catch-All
QuantRX Market StructureV1QuantRX — Market Structure (Free V1) is a price-action overlay that visualizes market structure using confirmed swing pivots and common structure labels such as BOS (Break of Structure) and CHOCH (Change of Character).
What it shows
Confirmed swing highs/lows (HH/HL/LH/LL)
BOS / CHOCH events based on breaks of the most recent confirmed structure level
Optional right-edge tags and subtle bias coloring
Important behavior notes (read before use)
Swing points are based on confirmed pivots (ta.pivothigh/ta.pivotlow). This means a swing is only confirmed after the pivot length has completed, and labels may appear on prior bars once confirmed (normal pivot behavior; not forward-looking data).
BOS/CHOCH events are intended to be interpreted on closed bars for consistency.
Settings
Swing mode uses a longer pivot length for higher-level structure.
Internal mode uses a shorter pivot length for short-term structure.
(Use one mode at a time to match your timeframe and noise tolerance.)
Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. Trading involves risk; you are responsible for your own decisions.
Smart Money Confluence Heatmap [PhenLabs]📊 Smart Money Confluence Heatmap
Version: Pine Script™ v6
📌 Description
The Smart Money Confluence Heatmap is a professional‑grade Smart Money Concepts indicator designed to identify high‑probability institutional trading zones. It merges multiple advanced market factors into a single confluence score, allowing traders to focus only on areas that matter. By synthesizing Fair Value Gaps, Order Blocks, Liquidity Sweeps, Volume Strength, and Market Structure, this script removes subjective bias and replaces it with data‑driven confirmation.
🚀 Points of Innovation
Unified confluence scoring system combining five institutional concepts
Adaptive ATR‑based zone sizing for volatility‑adjusted precision
Automatic trend and structure alignment scoring
Volume‑validated Order Blocks and Liquidity Sweeps
Probability‑ranked zones instead of static levels
🔧 Core Components
Fair Value Gap detection with imbalance strength scoring
Order Block identification confirmed by displacement and volume
Liquidity sweep analysis using wick depth and volume expansion
Volume strength modeling for accumulation and distribution phases
Market structure confirmation using BOS and directional bias
🔥 Key Features
Confluence heatmap zones graded by bullish and bearish probability
Minimum score filtering to remove low‑quality setups
Automatic risk‑to‑reward based TP and SL projections
Entry alerts when price taps validated institutional zones
🎨 Visualization
Color‑graded heatmap zones representing probability strength
Percentage score labels with component icons
On‑chart dashboard displaying market bias and structure state
✅ Best Use Cases
Liquidity sweep reversals at key structure levels
Trend‑aligned pullbacks into institutional zones
Intraday and swing trading using confluence confirmation
⚠️ Limitations
Not designed for low‑liquidity or extremely ranging markets
Confluence does not guarantee outcomes and requires risk management
💡 What Makes This Unique
Objective probability scoring instead of subjective SMC interpretation
Multi‑layer institutional confirmation in a single indicator
Built for traders who demand clarity, not chart clutter
💡 Note:
This indicator is for educational purposes only and should always be used alongside proper risk management and higher‑timeframe context.






















