XAUUSD invite-only [choch signals]My " Entry Sniper" doesn't just print random arrows. It follows a strict institutional logic to ensure every signal has high-probability backing:
Trend Alignment (H1/M15): Signals only appear if the Higher Timeframe trend matches the entry. We don't trade against the Big Banks.
Liquidity Sweep Verification: The script identifies "Retail Traps" where price briefly breaks a level to trigger stops. The signal only fires if price successfully "reclaims" that level.
Momentum Confirmation (ATR): We use an Average True Range (ATR) filter to ensure the signal candle has enough "Institutional Impulse". This helps you avoid small, choppy candles that lead to drawdowns.
7-Stage Profit Tracking: As soon as a signal is confirmed, the script immediately plots 7 Take-Profit (TP) levels. These targets are sent as automated alerts to your Telegram, helping you scale out of your position professionally.
Timeframe Tip: For the best results, use this on the 3-Minute (M3) timeframe. This allows the script to catch reversals faster than the M5 while staying more stable than the M1.
Why This is Better Than Standard Indicators
Most basic indicators trigger in real-time and then "disappear" if the price moves back. By using the alert.freq_once_per_bar_close function for the final signal, your indicator ensures that what you see in backtesting is exactly what you get in live trading.
Choch
All-in-One SMC: CHOCH | BOS | FVG | OB | LiquidityThis script combines:
BOS (Break of Structure)
CHOCH (Change of Character)
Bullish & Bearish FVGs
Mitigation Order Blocks
Liquidity grabs (equal highs/lows)
Discount / Premium zones (relative to equilibrium)
Market Structure External/Internal with BOS/CHoCH/FTC [zazenio]You're staring at a chart trying to figure out one thing: which way is price going? You see a move up—is it a new trend or just a pullback? You spot what looks like a swing low, but is it real or will price slice right through it? And even if you get the direction right, where do you enter?
This market structure indicator can help answer these questions.
Market Structure 2.0 tracks swing points and tells you when they actually break—not when a wick pokes through, but when price closes beyond the level. That close is what matters.
CHoCH (Change of Character) – Your signal that trend direction may be flipping. If price has been making lower lows then suddenly closes above a swing high, that's a CHoCH. Doesn't guarantee reversal, but the character of the move has shifted.
BOS (Break of Structure) – Confirms trend continuation. In an uptrend, when price closes above the previous swing high, that's a BOS. Buyers are still in control.
FTC (Failure to Close) – Price wicked beyond a pivot but couldn't close there. Someone defended that level. A warning sign that the move might stall or reverse.
External vs Internal Structure
External structure is your CTF (current timeframe) trend—the main swing points that define overall direction.
Internal structure tracks price action forming within the current pivot range. It auto-resets each time external structure breaks, keeping your chart clean.
External is more important for trend direction. Internal gives you insight into what's happening between those major swings—useful for timing entries on pullbacks.
The BOS Counter
A dashboard tracking consecutive BOS counts with color-coded trend state:
Green – Trending bullish, price holding above CHoCH level
Red – Trending bearish, price holding below CHoCH level
Gray – Sideways/ranging, price has crossed back through CHoCH but no new break yet
** Gray means caution—what was trending is now in question.
Premium & Discount Zones
Zones based on the range between the most recent external swing high and low:
Premium – Top 25%, look for shorts
Discount – Bottom 25%, look for longs
50% line – Equilibrium
** Optional alerts when price enters either zone.
What Makes This Different
Most pivot indicators mark swings after a fixed bar count. This indicator only confirms a pivot when price breaks structure the other way. That swing low isn't real until price closes above the swing high. Until then, it shows faded—potential, not confirmed.
Every element is fully customizable—colors, styles, labels, positioning. Make it fit your setup.
━━━━━━━━━━━━━━━━━━━━━━
Features v2.0
Automatic swing high and swing low detection
Structure-based pivot confirmation (closes beyond level, not fixed lookback)
Customizable pivot markers (style, size, colors)
Adjustable swing width sensitivity
Dual-layer analysis (External CTF trend + Internal structure within pivot range)
BOS lines for trend continuation
CHoCH lines for potential reversals
FTC lines for failed breakouts / level rejections
Fully customizable structure lines (colors, styles, widths, labels)
Real-time BOS counter dashboard with trend state (trending vs sideways)
Premium zone (upper 25% of range)
Discount zone (lower 25% of range)
50% equilibrium line
Zone entry alerts (Premium & Discount)
Internal structure auto-resets on external breaks
Provisional structure lines (live preview before bar close)
Unconfirmed pivots displayed faded until validated
━━━━━━━━━━━━━━━━━━━━━━
Disclaimer : This script is provided for educational and informational purposes only. It is not financial advice and does not constitute a recommendation to buy or sell any financial instrument. Always do your own research and trade at your own risk.
eBacktesting - Learning: Change of CharactereBacktesting - Learning: Change of Character helps you spot a “Change of Character” (CHoCH) — the moment price stops behaving one way and starts behaving the other.
It does this by tracking clear swing highs and swing lows, then marking the first **candle close** that breaks structure **against** the current move:
- Bullish CHoCH: price shifts from making lower structure to breaking above a key swing high.
- Bearish CHoCH: price shifts from making higher structure to breaking below a key swing low.
Use CHoCH to practice timing: early trend shifts, reversals, and potential new legs — especially when combined with your usual confluence (liquidity, premium/discount, key levels, sessions, etc.).
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
AIO Advanced Market Structure with Smart Money DetectionOVERVIEW
A professional market structure indicator that detects Break of Structure (BOS) and Change of Character (CHoCH) with intelligent multi-factor quality scoring. It combines rigorous pivot validation, comprehensive BOS rating system, volatility detection, and adaptive visual feedback to identify high-probability structural shifts and institutional entry zones while filtering out noise.
What Makes This Different:
Multi-Factor BOS Scoring (0-100) - 7 weighted metrics evaluate break quality in real-time
3-Tier Star Ratings - ★/★★/★★★ classification prioritizes premium setups
Integrated Volatility Detection - Measures price expansion at structure breaks to confirm institutional activity
Institutional Zone Identification - Combines BOS + Volatility to highlight probable big player entry areas
Smart Order Flow Logic - Validates momentum and participation before signaling entries
CORE FEATURES
1. ADVANCED MARKET STRUCTURE DETECTION
Pivot-Based Structure Logic:
Configurable Pivot Period: Default 4-bar swing detection for flexibility across timeframes
Price Mode Options: High/Low or Close-based pivot identification
Direction Filtering: Show Both, Only Up, or Only Down structures
Dynamic Line Extension: Lines extend until broken with customizable style and width
Historical Tracking: Maintains up to 30 structure lines with automatic cleanup
Structure Types:
BOS (Break of Structure): Continuation pattern - price breaks previous structure in trend direction
CHoCH (Change of Character): Reversal pattern - price breaks against previous trend direction
2. INTELLIGENT BOS SCORING SYSTEM (0-100)
Seven Quality Metrics:
Body Strength (30% default weight):
- Measures candle body size vs ATR
- Normalized score: body / (1.5 × ATR)
- Strong bodies indicate conviction
Close Distance (25% default weight):
- Measures how far close is from broken level
- Normalized: distance / (0.5 × ATR)
- Deeper penetration scores higher
Volume Confirmation (20% default weight):
- Compares current volume to 20-bar SMA
- Ratio-based scoring: (volume / avg - 1.0)
- Optional - can be disabled for non-volume instruments
Trend Alignment (10% default weight):
- Checks if break aligns with Magic Bands trend direction
- Binary score: 1.0 if aligned, 0.0 if not
- Uses 6× ATR Magic Bands with modified trailing
- Note: Magic Bands require 34 bars of price history to establish initial trend direction and volatility baseline. On newly loaded charts or small datasets, the first 34 bars are used for calculation warmup and trend signals may be unavailable during this period.
Previous Touches (15% default weight):
- Counts prior structure level tests
- Scores higher with more historical touches (0-2 touches tracked)
- Touch threshold: 0.5 × ATR proximity
Pre-Break Momentum (10% default weight):
- Analyzes 3 bars before break (configurable 1-10)
- Counts bars closing in break direction
- Score = aligned bars / total bars checked
Wick Penalty (10% default weight):
- Penalizes excessive wicks in 5-bar lookback (configurable 1-30)
- Triggered when wick > 1.2 × ATR (adjustable multiplier)
- Binary penalty applied to final score
Scoring Calculation:
The indicator evaluates each BOS using three different weight configurations and automatically selects the highest score. This ensures quality setups aren't missed due to weight configuration bias. Scores are calculated once when the BOS bar closes and stored permanently using a unique identification key (bar index + price level + direction).
Storage Persistence:
Scores remain stored in the indicator's memory maps until you remove the indicator from the chart or reset TradingView. This means:
Scores survive chart refreshes and timeframe changes
Historical BOS maintain their original quality ratings
No recalculation = no repainting or score changes over time
To reset scores: Remove indicator and re-add it to the chart
Star Rating Assignment:
★★★ (3 Stars): Score ≥ 75 - Premium quality breaks
★★ (2 Stars): Score ≥ 50 - Good quality breaks
★ (1 Star): Score < 50 - Average quality breaks
3. VOLATILITY EXPANSION DETECTION
Core Volatility Logic:
The indicator tracks price range expansion using a volatility oscillator based on the Rate of Change of the High-Low range. When this oscillator crosses above zero, it signals an expansion in price volatility - often indicating increased institutional participation or significant order flow.
Calculation Method:
Monitors exponential moving average of High-Low range (default 10 periods)
Calculates 12-period rate of change on this EMA
Signals when Rate of Change crosses from negative to positive territory
This cross-up indicates price is expanding faster than recent average
Optional Confirmation Filters:
Volume Confirmation:
- Requires volume > 1.5× 20-period SMA
- Ensures institutional participation and real order flow
- Filters out low-volume false breakouts
MA Filter:
- Requires price > 50-period MA for up moves
- Confirms directional bias aligns with broader trend
- Prevents counter-trend volatility signals
ADX Filter:
- Requires ADX > 20 (default threshold)
- Validates trend strength using 14-period ADX
- Confirms momentum is building, not just noise
Visual Feedback:
Bar Color: Optional blue bar on confirmed volatility expansion
Shape Marker: Optional small square above bar
Background: Optional light blue background highlight
4. BOS + VOLATILITY: INSTITUTIONAL ENTRY ZONES
Why This Combination Matters:
When Break of Structure and Volatility Expansion occur together, it creates a high-probability scenario:
BOS Confirms Trend Direction
- Price breaks key structure level
- Market participants shift bias
- New trend leg potentially beginning
Volatility Confirms Participation
- Price range expanding aggressively
- Volume often spiking simultaneously
- Indicates institutional order flow entering
Combined Signal = Smart Money Zone
- Big players likely accumulating/distributing at these levels
- Price "snapping" through structure with conviction
- Entry zone with favorable risk/reward as institutions establish positions
Practical Recognition:
Look for this pattern sequence:
Price approaches key structure level (prior high/low)
BOS label appears (especially ★★★ or ★★)
Volatility bar color/shape appears on same or next bar
Volume spike visible (if using volume filter)
This is your institutional entry zone
Trading Application:
Scenario 1 - Trend Continuation Entry:
★★ or ★★★ BOS detected
Volatility expansion present
Price closes strong above structure
Action: Enter long on pullback to broken structure level or at volatility expansion bar
Logic: Institutions accumulated on break, pullback offers better entry
Scenario 2 - Breakout Entry:
★★ or ★★★ BOS detected
Volatility expansion + volume spike together
Price shows strong momentum candle
Action: Enter immediately in break direction with tight stop below structure
Logic: Strong institutional participation = less likely to fail immediately
Scenario 3 - Reversal Confirmation:
★★ or ★★★ CHoCH signal (Change of Character)
Volatility expansion present
Breaks against previous trend direction
Action: Exit trend positions, consider counter-trend entry
Logic: Institutions reversing, trend exhaustion confirmed
Why Big Players Enter at BOS + Volatility:
Liquidity Available: Structure breaks trigger stop losses and breakout orders = liquidity pool
Reduced Slippage: High volatility = more volume = easier to fill large orders
Momentum Confirmation: Expansion validates the move isn't false
Optimal Risk/Reward: Entry at structure with defined invalidation point
ALERTS & UI
Alert Types:
BOS/CHoCH Alerts:
- Triggered on bar close after star filter pass
- Format: "TF: . - - "
- Optional direction and score display
- Filtered by star rating setting
Volatility Alerts:
- Triggered on confirmed volatility expansion (ROC cross-up)
- Format: "Volatility up confirmed on TF: "
- Only when all enabled filters pass
- Independent of BOS alerts
Alert Filtering:
Respects "Show Direction" setting
Respects "Show Labels" star filter
Only fires on barstate.isconfirmed - no repainting
Market Structure Table: Shows latest confirmed BOS/CHoCH event with direction indicator (Up/Down), type indicator (BOS/CHoCH), and color-coded background. Configurable position and text size.
IMPLEMENTATION NOTES
Non-Repainting: All scores calculated on barstate.isconfirmed. Labels only created after bar close. Storage commits happen once per unique BOS. Historical BOS maintain original scores permanently.
Magic Bands Warmup: Requires 34 bars of price history to establish initial trend direction and volatility baseline. On newly loaded charts, the first 34 bars are used for calculation warmup.
Score Storage: Maps persist until indicator removed or TradingView reset. Historical data survives chart refreshes and timeframe changes. To reset all scores, remove indicator and re-add to chart.
Known Limitations:
Score calculation uses close prices (not tick-level data)
Volatility detection only tracks upward expansion (not downward compression)
Volume data quality varies by broker/exchange - test reliability before using volume filters
WHAT MAKES THIS UNIQUE
Combines intelligent multi-factor BOS scoring with volatility expansion detection to identify institutional entry zones. The dual-signal approach (structure break + participation confirmation) provides high-probability setups that align with professional order flow. Performance-optimized with permanent storage system ensures consistency without repainting while delivering institutional-grade market structure analysis.
SMC Trend Reversal by Pooja🌟 SMC Trend Reversal by Pooja — CHoCH + BOS + RSI Confirmation
🔥 Smart Money Concepts • Trend Reversal Detection • Multi-Asset Optimized
The SMC Trend Reversal by Pooja is a powerful market-structure indicator designed for traders who follow Smart Money Concepts (SMC) and want to identify trend reversals, BOS, and CHoCH with high clarity.
It blends pivot-based structure breaks, RSI confirmation, and an optional session filter, giving traders a clean and reliable view of market shifts across Crypto, Forex, Indices, and Equity Derivatives.
✨ 🔰 Why SMC Matters in Crypto & Forex?
Both Crypto and Forex markets:
Trade 24/7 / 5 days with high volatility
React strongly to liquidity zones, market structure shifts, and smart money footprints
Often reverse sharply after liquidity grabs
Follow clean CHoCH → BOS → Trend progression sequences
This is why CHoCH (Change of Character) and BOS (Break of Structure) are crucial tools used by professional SMC traders to catch early trend reversals.
This indicator automates that process for you.
No clutter. No repaints. No noise.
Just pure SMC structure.
🚀 Key Features
🟣 CHoCH Detection (Change of Character)
Detects when the market shifts direction
A CHoCH appears when the trend flips from down → up or up → down
Highlights the earliest sign of a trend reversal
Draws a clean CHoCH line across structure
Works beautifully in volatile markets like Crypto & Forex
🔵 BOS Detection (Break of Structure)
Identifies structural continuation in the same direction
Helps confirm the new trend after CHoCH
Clear BOS lines to visualize progression of market flow
Ideal for trend-following and breakout traders
🧠 RSI-Based Confirmation (Optional)
To avoid fake CHoCH signals, the indicator uses RSI filtering:
RSI > Upper Level → Show “B” Buy Label
RSI < Lower Level → Show “S” Sell Label
This improves accuracy especially in:
Fast crypto markets (BTC, ETH, SOL etc.)
Liquidity-driven assets (Forex, Indices)
⏱️ Session Block (Asia/Kolkata Compatible)
Avoid signals in the first few minutes of market open or in volatile windows.
Block signals in a selected time range
Perfect for Indian market opening volatility (09:00–09:25)
🎯 Clean, Minimal, Easy-to-Read Visuals
✔ Horizontal structural lines
✔ Color-coded CHoCH and BOS
✔ Buy (B) / Sell (S) labels only when meaningful
✔ No unnecessary clutter
✔ Suitable for both beginners and advanced SMC traders
📢 Built-In Alerts
Receive notifications for:
🔔 Bullish CHoCH
🔔 Bearish CHoCH
🔔 Bullish BOS
🔔 Bearish BOS
Perfect for mobile, desktop, and webhook automation.
📈 How It Helps Your Trading
✔ Catch early trend reversals with confidence
✔ Avoid false signals with RSI filtering
✔ Trade like Smart Money (Institutional concepts)
✔ Works on all timeframes — scalping to swing
✔ Specially powerful on Crypto & Forex due to their structure-driven nature
✔ Cleaner charts → Better decisions → Higher probability trades
🧩 Who Should Use This Indicator?
✔ SMC / ICT style traders
✔ Breakout and trend-following traders
✔ Reversal traders
✔ Crypto & Forex scalpers
✔ Option buyers looking for early trend shifts
✔ Intraday NIFTY / BANKNIFTY traders
⚠️ Disclaimer
This indicator is for educational purposes and market analysis only.
It does not guarantee profits. Always practice risk management and test your settings before using it live.
Malama's Institutional Liquidity & Price Action Concepts [ILPAC]Malama's Institutional Liquidity & Price Action Concepts is a comprehensive trading suite that unifies the three pillars of institutional analysis: Market Structure (Context), Liquidity (Targets), and Momentum (Triggers).
Justification for this Combination (The Mashup): Many traders clutter their screens with separate indicators for BOS/CHoCH, Liquidity Runs, and RSI divergences. This fragmentation makes it difficult to see the full narrative. ILPAC solves this by fusing these concepts into a single logic engine. By combining structure with liquidity heatmaps, the script allows you to see where price is going (Liquidity) and when the trend has shifted (Structure) without conflicting visual noise.
Optimizations & Fixes in This Version:
Unified Garbage Collection: Previous iterations of complex scripts often suffer from memory leaks. This version runs a global cleanup function every bar to manage lines and labels, ensuring smooth performance even on lower timeframes.
State-Machine BOS Logic: The Break of Structure (BOS) logic has been upgraded to a state machine. It tracks "Active Pivot Levels" and only fires a signal when a level is physically broken by a close, preventing repainting or flickering signals during live candles.
Physical Liquidity Sweeps: The Liquidity Heatmap now calculates the physical height of the zone in ticks. A zone is only considered "Swept" (mitigated) if price penetrates the interior of the box, not just touches the edge.
Deduplicated Psychological Levels: The logic for round numbers (Psychological Levels) now scans existing drawings to prevent stacking duplicate lines on top of each other when price consolidates around a key level.
Concepts & Underlying Calculations:
Market Structure: Identifies Swing Highs and Lows using a customizable lookback. A "Change of Character" (CHoCH) is flagged when the trend state flips from Bullish to Bearish (or vice versa), while a "Break of Structure" (BOS) indicates trend continuation.
Liquidity Heatmap: Automatically identifies unmitigated swing points where stop-losses are likely clustered. These are drawn as dynamic boxes that extend until price sweeps them.
FOMO Bubbles: A proprietary momentum filter that combines RSI extremes (Overbought/Oversold) with Volume Spikes (Volume > 2x Average). These bubbles highlight moments of retail panic or euphoria, often marking local tops or bottoms.
Auto-Trendlines: Connects the most recent non-breached pivots to project dynamic support and resistance channels.
How to Use:
Identify the Trend: Look for the Market Structure labels (HH, LL) and the colored structure lines (Green for Bullish, Red for Bearish).
Find the Target: Look for the Gold (High) or Blue (Low) Liquidity Zones. Price often gravitates toward these areas to clear liquidity before reversing.
Spot the Trigger: Use the FOMO Bubbles or Trendline Breakouts as your entry confirmation once price reaches a liquidity zone.
Disclaimer: This indicator is for educational analysis only. Past performance does not guarantee future results.
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.
[ICT Sebo] Market Structure / TrendOverview
This indicator identifies market structure and trend direction by tracking swing highs and swing lows and classifying structural breaks as Break of Structure (BOS) or Change of Character (CHoCH). It provides a clear visual framework for understanding directional shifts and trend continuation directly on the chart.
The script is designed as a market structure and trend context tool and does not generate trade signals.
How it works
The indicator detects short-term swing highs and swing lows using a two-candle reversal pattern. When a new swing forms, a horizontal structure level is projected forward until price interacts with it.
When price closes through an active swing level, the event is classified based on the current trend state. Breaks in the direction of the existing trend are labeled as BOS, while breaks against the prevailing trend are labeled as CHoCH. The trend state is updated dynamically based on these interactions.
If no active structure line is present, the indicator can still reference the most recent confirmed swing to detect structural breaks.
Trend state and visualization
A simple internal trend state is maintained and updated based on structural breaks. This trend state is reflected visually through labels and a trend-colored moving average.
The moving average adapts its color based on the detected trend direction, providing an additional visual cue for bullish, bearish or neutral conditions.
Users can control whether BOS labels, CHoCH labels, both or none are displayed.
Intended use
This tool supports market structure analysis, trend identification and contextual price interpretation. It is suitable for intraday and swing analysis and should be used in combination with broader market context and risk management.
Notes
This indicator does not predict price direction, does not provide entry or exit signals and is intended purely as a visual and analytical reference for market structure and trend behavior.
SMC Market Structure Analysis Indicator v1.0SMC Market Structure Analysis Indicator v1.0
OVERVIEW
A Pine Script v6 indicator implementing Smart Money Concepts (SMC) for automated market structure analysis. Designed to identify institutional trading patterns through systematic detection of structure breaks, inducement sweeps, and price imbalances.
CORE FEATURES
Market Structure Detection
- BOS (Break of Structure): Trend continuation signal triggered when close price breaks confirmed structure points
- CHoCH (Change of Character): Trend reversal signal triggered when close price breaks protection levels
- Swing Point Labels: Automatic labeling of HH, HL, LL, LH
Inducement (IDM)
- Detects liquidity sweeps to confirm valid structure points
SMC Structure Lines
- Connects confirmed swing points to visualize market waves
Fair Value Gap (FVG)
- Detects price imbalances with Inside Bar filtering
- Tracks fill status with automatic extension stop
Potential Levels
- Displays pending BOS/CHoCH trigger levels as dashed lines
TECHNICAL SPECIFICATIONS
Pine Script Version: v6
Confirmation Method: Close-based (No Repainting)
Inside Bar Filtering: Global
ADVANTAGES
- No Repainting: All confirmations based on close prices
- Noise Filtering: Inside Bars globally ignored
- Fully Configurable: Every visual element can be customized
SMC Execution Engine by @abdallacryptoSMC Execution Engine by @abdallacrypto is a Smart Money Concepts structure and execution toolkit that turns price action into a clear, rules-based map.
It automatically detects swing structure, BOS and CHOCH, tracks the active structural anchor, and projects clean Fibonacci retracement levels built from the current context. It also draws the latest context Order Block and adds optional intrabar alerts for high-probability confluence events (OB touches, 0.79 and 0.618 fib interactions, OB plus fib, and sequential “fib then OB” logic). A multi-timeframe HUD (5m to 1M) shows structural bias and RSI so you can align execution with higher-timeframe context.
This is not a buy/sell signal generator. It is a structure reader and execution framework designed to reduce noise, improve consistency, and help you act with clarity.
Suggested use: identify context with CHOCH and anchor, wait for price to return to key fib levels and the active Order Block, then execute your own risk plan.
Full documentation:
🇺🇸 beneficial-hyena-c1e.notion.site
🇧🇷 beneficial-hyena-c1e.notion.site
🇪🇸 beneficial-hyena-c1e.notion.site
Market Structure [BOS/ChoCh Line & Bar-Chart]Overview
A comprehensive market structure indicator that identifies Break of Structure (BOS) and Change of Character (CHoCH) patterns - essential concepts in Smart Money trading methodology.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 KEY FEATURES
Two detection modes: Swing-based (High/Low) and Line Chart-based (Close)
Automatic HH/LL/LH/HL labeling with price and percentage change
BOS (Break of Structure) for trend continuation
CHoCH (Change of Character) for trend reversals
Market Structure Candle Coloring (MSC)
Optional Line Chart overlay
Fully customizable colors and display options
Built-in alerts for BOS and CHoCH events
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 DETECTION MODES
Swings Mode
Uses candlestick highs and lows to identify swing points. This is the traditional approach and works well for most trading styles.
Line Chart Mode
Uses closing prices only to identify peaks and troughs - similar to how a line chart displays price action. This mode filters out wicks and can provide cleaner structure identification.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 STRUCTURE LABELS
HH (Higher High) - Price made a new high above the previous high → Bullish
HL (Higher Low) - Price made a higher low → Bullish
LH (Lower High) - Price failed to make a new high → Bearish
LL (Lower Low) - Price made a new low below the previous low → Bearish
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 BOS vs CHoCH
BOS (Break of Structure)
A continuation signal. Occurs when price breaks a key level in the direction of the current trend.
Bullish BOS: Price closes above the last swing high during an uptrend
Bearish BOS: Price closes below the last swing low during a downtrend
CHoCH (Change of Character)
A reversal signal. Occurs when price breaks the key level that would invalidate the current trend.
Bullish CHoCH: During a downtrend, price closes above the high that produced the last Lower Low
Bearish CHoCH: During an uptrend, price closes below the low that produced the last Higher High
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 CANDLE COLORING (MSC)
When enabled, candles are colored based on the current market structure trend:
Bullish trend: Candles colored in the bullish color
Bearish trend: Candles colored in the bearish color
Trend-conforming candles appear solid, counter-trend candles appear faded
Note: For best results, go to Chart Settings → Symbol and set Body/Border/Wick colors to transparent.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 SETTINGS
Market Structure Settings
Detection Mode - Choose between Swings or Line Chart
Swing Length - Sensitivity of pivot detection (higher = less sensitive)
Show BOS / Show CHoCH - Toggle display of each pattern type
Line Chart Display
Show Line Chart - Display the close-based line overlay
Line Chart Color / Width - Customize appearance
Labels & Extra Data
Show HH/LL/LH/HL Labels - Toggle swing point labels
Show Price at Pivots - Display price values
Show % Change - Display percentage change between swings
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 ALERTS
The indicator includes alerts for:
Bullish/Bearish BOS
Bullish/Bearish CHoCH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 USAGE TIPS
Use higher Swing Length values on higher timeframes to filter noise
CHoCH signals potential trend reversals - consider waiting for confirmation
BOS signals trend continuation - can be used for entries in the trend direction
Combine with other confluence factors like support/resistance, order blocks, or volume analysis
The Line Chart mode can help identify structure on volatile instruments where wicks create noise
For best display of bar coloring set Visual Order -> Bring to Front
Market Structure Pivots with BOS & CHoCH [zazenio]What is Market Structure?
Market structure is simply the pattern of highs and lows that price creates as it moves. When you look at any chart, you'll notice price doesn't move in a straight line — it swings up, pulls back, swings up again (in an uptrend), or the opposite in a downtrend.
These swing points — the peaks and valleys — are what traders call pivots . Identifying them correctly is the foundation of understanding where a market has been and where it might go next.
What This Indicator Does
Swing Pivots automatically marks these peaks and valleys on your chart so you don't have to draw them manually. It works on any market — stocks, crypto, forex, futures, indices — and on any timeframe.
Beyond just marking pivots, this indicator also draws BOS (Break of Structure) and CHoCH (Change of Character) lines — two essential concepts that help you understand when a trend is continuing or potentially reversing.
How Pivots Are Detected
This indicator confirms pivots based on price structure, not a fixed bar count.
Here's how it works:
A swing high is confirmed when price breaks below the previous swing low. At that moment, we know the high was real — price tried to go higher, failed, and reversed. The market "proved" that level was a genuine turning point.
A swing low is confirmed when price breaks above the previous swing high. The same logic applies — price tried to go lower, failed, and reversed direction.
This creates a natural alternation: high, low, high, low. Each pivot is validated by the market's actual behavior, not by waiting for an arbitrary number of bars to pass.
Understanding BOS and CHoCH
Once you can identify pivots, the next step is understanding what happens when price breaks through them. This is where BOS and CHoCH come in.
BOS (Break of Structure)
A Break of Structure occurs when price continues in the direction of the current trend by breaking a previous pivot level.
In an uptrend : Price breaks above a previous swing high → This signals strength. Buyers are pushing price to new highs, and the trend is likely to continue.
In a downtrend : Price breaks below a previous swing low → This signals weakness. Sellers are pushing price to new lows, and the trend is likely to continue.
Think of BOS as the market saying "the trend is still intact." Each BOS confirms that the dominant side (buyers or sellers) remains in control.
CHoCH (Change of Character)
A Change of Character occurs when price breaks a pivot level in the opposite direction of the current trend. This is an early warning signal that the trend may be reversing.
In an uptrend : Price breaks below a previous swing low → This is unexpected. In a healthy uptrend, lows should hold. When they don't, it suggests buyers are losing control and sellers may be taking over.
In a downtrend : Price breaks above a previous swing high → This is unexpected. In a healthy downtrend, highs should hold. When they don't, it suggests sellers are losing control and buyers may be stepping in.
Think of CHoCH as the market's behavior "changing character" — it's no longer acting the way it should if the trend were healthy.
Why BOS and CHoCH Matter
These concepts give you a framework for reading what the market is actually doing:
BOS tells you the trend is continuing — stay with it or look for entries in that direction
CHoCH warns you the trend may be ending — time to be cautious, take profits, or look for trades in the new direction
By visualizing these breaks directly on your chart, you don't have to guess. You can see at a glance whether the market is trending smoothly (consecutive BOS) or showing signs of reversal (CHoCH).
Why This Approach Works
Most pivot indicators use a "lookback" method — they wait for a certain number of bars (say, 5 or 10) on each side of a candle before confirming it as a pivot. This creates a fixed delay. By the time the pivot appears on your chart, price has already moved on.
This indicator doesn't wait. It confirms pivots the moment price structure proves them. The result is pivots that align with how traders actually read charts — based on breaks of structure, not arbitrary countdowns.
Settings
Configuration
Swing Width : Controls how sensitive the detection is. Higher numbers show only major swings; lower numbers capture smaller moves within the structure.
Pivot Settings
High/Low Color : Customize the colors of swing high and swing low markers
Style : Choose between Triangle or Circle markers
Size : Adjust the size of pivot markers (Auto, Tiny, Small, Normal)
Structure Lines
Show CHoCH : Toggle Change of Character lines on/off
CHoCH Color : Customize the color of CHoCH lines
CHoCH Label : Show/hide the "CHoCH" text label
Show BOS : Toggle Break of Structure lines on/off
BOS Color : Customize the color of BOS lines
BOS Label : Show/hide the "BOS" text label
Use Cases
See the "skeleton" of price action at a glance
Identify potential support and resistance levels
Understand if the market is trending or ranging
Spot trend continuations with BOS lines
Catch early reversal signals with CHoCH lines
Build a foundation for more advanced trading strategies
━━━━━━━━━━━━━━━━━━━━━━
Version History
v1.1
Added BOS (Break of Structure) lines to visualize trend continuation
Added CHoCH (Change of Character) lines to identify potential trend reversals
Added toggle options for BOS and CHoCH visibility
Added customizable colors for structure lines
Added optional labels for BOS and CHoCH
v1.0
Initial release
Automatic swing high and swing low detection
Structure-based pivot confirmation (not fixed lookback)
Customizable pivot markers (style, size, colors)
Adjustable swing width sensitivity
━━━━━━━━━━━━━━━━━━━━━━
Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and does not constitute a recommendation to buy or sell any financial instrument. Always do your own research and trade at your own risk.
Swing Pivots - Market Structure High Low [zazenio]What is Market Structure?
Market structure is simply the pattern of highs and lows that price creates as it moves. When you look at any chart, you'll notice price doesn't move in a straight line — it swings up, pulls back, swings up again (in an uptrend), or the opposite in a downtrend.
These swing points — the peaks and valleys — are what traders call pivots. Identifying them correctly is the foundation of understanding where a market has been and where it might go next.
What This Indicator Does
Swing Pivots automatically marks these peaks and valleys on your chart so you don't have to draw them manually. It works on any market — stocks, crypto, forex, futures, indices — and on any timeframe.
How Pivots Are Detected
This indicator confirms pivots based on price structure, not a fixed bar count.
Here's how it works:
A swing high is confirmed when price breaks below the previous swing low. At that moment, we know the high was real — price tried to go higher, failed, and reversed. The market "proved" that level was a genuine turning point.
A swing low is confirmed when price breaks above the previous swing high. The same logic applies — price tried to go lower, failed, and reversed direction.
This creates a natural alternation: high, low, high, low. Each pivot is validated by the market's actual behavior, not by waiting for an arbitrary number of bars to pass.
Why This Matters
Most pivot indicators use a "lookback" method — they wait for a certain number of bars (say, 5 or 10) on each side of a candle before confirming it as a pivot. This creates a fixed delay. By the time the pivot appears on your chart, price has already moved on.
This indicator doesn't wait. It confirms pivots the moment price structure proves them. The result is pivots that align with how traders actually read charts — based on breaks of structure, not arbitrary countdowns.
Settings
Swing Width: Controls how sensitive the detection is. Higher numbers show only major swings; lower numbers capture smaller moves within the structure.
Style/Size/Colors: Customize how the pivot markers look on your chart.
Use Cases
See the "skeleton" of price action at a glance
Identify potential support and resistance levels
Understand if the market is trending or ranging
Build a foundation for more advanced concepts like Break of Structure (BOS) and Change of Character (CHoCH)
⸻
Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and does not constitute a recommendation to buy or sell any financial instrument. Always do your own research and trade at your own risk.
SMC + OB + FVG + Reversal + UT Bot + Hull Suite – by Fatich.id🎯 7 INTEGRATED SYSTEMS:
✓ Mxwll Suite (SMC + Auto Fibs + CHoCH/BOS)
✓ UT Bot (Trend Signals + Label Management)
✓ Hull Suite (Momentum Analysis)
✓ LuxAlgo FVG (Fair Value Gaps)
✓ LuxAlgo Order Blocks (Volume Pivots) ⭐ NEW
✓ Three Bar Reversal (Pattern Recognition)
✓ Reversal Signals (Momentum Count Style)
⚡ KEY FEATURES:
• Smart Money Structure (CHoCH/BOS/I-CHoCH/I-BoS)
• Auto Fibonacci (10 customizable levels)
• Order Block Detection (Auto mitigation)
• Fair Value Gap Tracking
• Session Highlights (NY/London/Asia)
• Volume Activity Dashboard
• Multi-Timeframe Support
• Clean Label Management
🎨 PERFECT FOR:
• Smart Money Concept Traders
• Order Flow & Liquidity Analysis
• Support/Resistance Trading
• Trend Following & Reversals
• Multi-Timeframe Analysis
💡 RECOMMENDED SETTINGS:
Clean Charts: OB Count 3, UT Signals 3, FVG 5
Detailed Analysis: OB Count 5-10, All Signals
Scalping: Low sensitivity, Hull 20-30
Swing Trading: High sensitivity, Hull 55-100
FX OSINT - Institutional Midnight Intelligence For ForexFX OSINT — Institutional Midnight Intelligence For Forex
See Your FX Charts Like an Intelligence Briefing, Not a Guess
If you’ve ever stared at EURUSD or GBPJPY and thought:
Where is the real liquidity?
Is this move sponsored by smart money or just noise?
Am I buying into premium or discount?
…then FX OSINT is designed for you.
FX OSINT (Forex Open Source Intelligence) treats the FX market the way an analyst treats an investigation:
Collect open‑source signals from price, time, and volatility.
Map out liquidity, structure, and sessions in a repeatable way.
Present them in a clean, non‑cluttered dashboard so you can read context quickly.
No rainbow spaghetti. No 12 indicators stacked on top of each other. Just structured information, midnight visuals, and a clear read on what the market is doing right now.
Why FX OSINT Exists
Many FX traders run into the same problems:
Overloaded charts – multiple indicators fighting for space, none talking to each other.
Signals with no context – arrows that ignore structure, sessions, and liquidity.
Tools not tuned for FX – generic indicators that don’t care what pair you are on.
FX OSINT brings this together into one FX‑focused framework that:
Understands structure : BOS/CHOCH, swings, and trend across multiple timeframes.
Respects liquidity : sweeps, order blocks, and FVGs with controlled visibility.
Reads volatility & ADR : how far today’s range has developed.
Knows the clock : London, New York, and key killzones.
Scores confluence : a 0–100 engine that summarizes how much is lining up.
FX OSINT is built for traders who want structured, institutional‑style logic with a disciplined, midnight‑themed UI —not flashing buy/sell buttons.
1. Midnight Dashboard — Top‑Right Intelligence Panel
This panel acts as your compact “situation room”:
CONFLUENCE — 0–100 score blending trend alignment, volatility regime, sessions, liquidity events, order blocks, FVGs, and ADR context.
REGIME — Low / Building / Normal / Expansion / Extreme, driven by ATR relationships, so you know if you’re in chop, trend, or expansion.
HTF / MTF / LTF TREND — Higher‑, medium‑, and current‑timeframe bias in one place, so you see if you are trading with or against the larger flow.
ADR USED — How much of today’s typical range has already been consumed in percentage terms.
PIP VALUE — Approximate pip size per pair, including JPY‑style pairs.
Everything is bold, legible, and color‑coded, but the layout stays minimal so you can:
Look once → understand the context.
2. Structure, BOS, CHOCH — Smart‑Money‑Style Skeleton
FX OSINT tracks swing highs and lows, then shows how structure evolves:
Trend logic based on evolving swings, not just a moving average cross.
BOS (Break of Structure) when price expands in the direction of trend.
CHOCH (Change of Character) when behavior flips and the market structure changes.
Labels are selective, not spammy . You don’t get a tag on every minor wiggle—only when structure meaningfully shifts, so it’s easier to answer:
"Are we continuing the current leg, or did something actually change here?"
3. Liquidity Sweeps, Order Blocks & FVGs — The OSINT Layer
FX OSINT treats liquidity as a key information layer:
Liquidity sweeps — Detects when price spikes through recent highs/lows and then snaps back, flagging potential stop runs.
Order blocks — The last opposite candle before a displacement move, drawn as controlled boxes with limited lifespan to avoid clutter.
Fair Value Gaps (FVGs) — Three‑candle imbalances rendered as precise zones with a cap on how many can exist at once.
Under the hood, boxes are managed so your chart does not become a wall of old zones:
// Draw Order Blocks with overlap prevention
if isBullishOB and showOrderBlocks
if array.size(obBoxes) >= maxBoxes
oldBox = array.shift(obBoxes)
box.delete(oldBox)
newBox = box.new(bar_index , low , bar_index + obvLength, high ,
border_color = bullColor, bgcolor = bullColorTransp,
border_width = 2, extend = extend.none)
array.push(obBoxes, newBox)
Box limits keep the number of zones under control.
Borders and transparency are tuned so you still see price clearly.
You end up with a curated liquidity map , rather than a chart buried under every level price has ever touched.
4. Volatility, ADR & Sessions — Time and Range Intelligence
FX OSINT runs a Volatility Regime Analyzer and an ADR engine in the background:
Volatility regime — Five states (Low → Extreme) derived from fast vs. slow ATR.
ADR bands — Daily high/mid/low projected from the current daily open.
ADR used % — How far today’s move has traveled relative to its typical range.
On the time side:
Asia, London, New York sessions are softly highlighted with a single active background to avoid overlapping colors.
Killzones (e.g., London and New York opens) can be emphasized when you want to focus on where significant moves often begin.
Together, this helps you answer:
"What time is it in the trading day?"
"How stretched are we?"
"Is expansion just starting, or are we late to the move?"
5. ICT‑Style Add‑Ons — BOS/CHOCH, Premium/Discount, and Confluence
For modern FX / ICT‑inspired workflows, FX OSINT includes:
BOS / CHOCH labels — Clear structural shifts based on swings.
Premium / Discount zones — 25%, 50%, 75% levels of the daily range, so you know if you are buying discount in an uptrend or selling premium in a downtrend.
Confluence score — A single number summarizing how many conditions line up in the current context.
Instead of replacing your plan, FX OSINT compresses your checklist into the chart:
Structure
Liquidity
Session / Time
Volatility / ADR
Higher‑timeframe alignment
When these agree, the dashboard reflects it. When they don’t, it stays neutral and lets you see the conflict.
How To Use FX OSINT
FX OSINT is not a signal bot. It is an information engine that organizes context so you can apply your own plan.
A typical workflow might look like:
Start on higher timeframes (e.g., H4/D1) to form directional bias from structure, volatility regime, and ADR context.
Move to intraday timeframes (e.g., M15/H1) around your chosen sessions (London and/or New York).
Look for confluence :
HTF / MTF / LTF trends aligned.
Price in discount for longs or premium for shorts.
Recent liquidity sweep into a meaningful OB or FVG.
Confluence score at or above a level you consider significant.
Then refine entries using BOS/CHOCH on lower timeframes according to your own risk and execution rules.
FX OSINT aims to make sure you do not enter a trade without seeing:
Where you are in the day (ADR and sessions).
Where you are in the volatility cycle (regime).
Who currently appears in control (structure and trend).
Which liquidity was just targeted (sweeps and zones).
Design Choices and Scope
FX OSINT was designed around a few clear constraints:
FX‑focused — Logic and filters tuned for FX majors, minors, exotics, and metals. It is intended for FX markets, not for every possible asset class.
Open‑source — The full Pine Script code is available so you can read it, learn from it, and adapt it to your own workflow if needed.
Clear themes — Two main visual styles (e.g., dark institutional “midnight” and a lighter accent variant) with a focus on readability, not visual noise.
Chart‑friendly — Panels use fixed areas, session highlights avoid overlapping, and boxes are capped/pruned so the chart remains usable.
FX OSINT is for only Forex pairs, not anything else!
Hope you enjoyed and remember your Open Source Intelligence Matters 😉!
-officialjackofalltrades
Structure Breakout - Buy Sell IndicatorStructure Breakout - Buy Sell Indicator
📈 OVERVIEW:
A minimalist indicator that identifies market structure breakouts using swing point analysis.
Displays clear blue buy arrows and red sell arrows when price breaks key swing levels.
🔧 HOW IT WORKS:
1. Identifies swing highs and lows using configurable lookback period
2. Triggers BUY signal (blue arrow) when price closes above previous swing high
3. Triggers SELL signal (red arrow) when price closes below previous swing low
4. Uses clean visual arrows without cluttering the chart
⚙️ KEY FEATURES:
• Clean, uncluttered visual signals
• Customizable sensitivity period
• Blue arrows for buy signals (below bars)
• Red arrows for sell signals (above bars)
• No lagging repainting
• Works on all timeframes
🎯 TRADING APPLICATIONS:
• Swing trading entries
• Breakout confirmation
• Trend continuation signals
• Support/resistance breaks
⚡ SETTINGS:
• Structure Detection Period (default: 20) - Adjust sensitivity of swing detection
⚠️ RISK DISCLAIMER:
This is an educational tool. Always use proper risk management.
Past performance does not guarantee future results.
Smart Money Toolkit - PD Engine Bias Map [KedArc Quant]Description
Smart Money is an advanced multi-layer Smart Money Concepts framework that automatically detects structure shifts, premium-discount zones, and institutional order flow.
It is built around the PD Engine, which calculates the midpoint of the most recent market swing and dynamically determines BUY or SELL bias based on where current price trades relative to that equilibrium. This toolkit visualizes structure, order blocks, and bias context in one clean map, giving traders an institutional-grade view without unnecessary signal clutter.
Why It Is Unique
- All CHoCH, BOS, Order Block, FVG, and PD logic are coded from scratch.
- Uses true equilibrium (50 percent PD midpoint) for dynamic bias.
- Optimized for stability and non-repainting behavior.
- Designed for clarity with minimal, performance-safe visuals.
Entry and Exit Logic (Discretionary Framework)
- This toolkit is not a signal generator. It provides market context that guides discretionary trading.
BUY Bias (Discount Zone)
- Price trades below PD Mid: the market is in discount.
- Wait for a bullish CHoCH or reaction from a demand OB or FVG before buying.
- Target 1 = PD Mid. Target 2 = next opposite OB or FVG.
SELL Bias (Premium Zone)
- Price trades above PD Mid: the market is in premium.
- Wait for a bearish CHoCH or reaction from a supply OB or FVG before shorting.
- Target 1 = PD Mid. Target 2 = next opposite OB or FVG.
Institutional concept sequence: Bias → Structure Shift → Confirmation → Execution.
Input Configuration
Swing Sensitivity - Determines how far back to identify HH and LL pivots.
OB / FVG Detection - Toggles visual Order Block or Fair Value Gap zones.
PD Engine - Shows PD midpoint line, zone shading, and bias table.
Multi-TF Bias Sync - Optionally reads a higher timeframe bias for confirmation.
Color Themes - Switch between light, dark, or institutional palettes.
Formula / Logic Summary
Concept Formula
PD Mid (Equilibrium) (Recent Swing High + Recent Swing Low) / 2
BUY Bias close < PD Mid
SELL Bias close > PD Mid
CHoCH / BOS Pivot-based structure reversal: HH→LL or LL→HH
Order Block Last bullish or bearish candle before displacement.
FVG Gap between prior candle high/low and next candle range.
These formulas follow the structure used in institutional Smart Money Concepts.
How It Helps Traders
- Shows institutional premium and discount zones visually.
- Defines clear directional bias before entry.
- Combines structure, order blocks, FVG, and equilibrium in one layout.
- Works on any timeframe or asset.
- Prevents emotional trades by giving objective bias context.
Glossary
PD Mid Midpoint between recent swing high and low (market fair value).
Premium Zone Price above PD Mid; sellers control.
Discount Zone Price below PD Mid; buyers control.
CHoCH Change of Character, first reversal signal.
BOS Break of Structure, trend continuation confirmation.
OB Order Block, last institutional candle before move.
FVG Fair Value Gap, price imbalance often revisited.
FAQ
Q: Is this a signal indicator?
A: No. It is a contextual framework that supports manual decision-making.
Q: Does it repaint?
A: No. All structure logic is confirmed on bar close.
Q: Does it work on all markets?
A: Yes. It is purely price-based and timeframe independent.
Q: When does bias change?
A: Only after a new confirmed swing high or low.
Q: Can it be backtested?
A: You can build strategies on top of this context using your own entry and exit rules.
Disclaimer
This script is provided for educational purposes only.
It is not financial advice.
Trading carries risk. Past performance does not guarantee future results.
Use proper risk management and test on demo accounts before applying to live markets.
BOS and CHoCHThe market never moves in a straight line. It moves in waves.
It makes a High, comes down a bit (Low), then breaks the previous High to make a new High.
Similarly, It makes a Low, goes up a bit (High), then breaks the previous Low to make a new Low.
BOS (Break Of Structure) - Trend Continuation
BOS means the market is continuing its current trend. If the market is in an Uptrend and breaks the old "High" -> Bullish BOS. If the market is in a Downtrend and breaks the old "Low" -> Bearish BOS.
3. CHOCH (Change Of Character) - Trend Reversal
CHOCH means the mood of the market has changed. For the first time, the trend has shifted its nature.
Bullish to Bearish CHOCH: The market was making Higher Highs, but suddenly it broke its previous "Low". Now the market can fall.
Bearish to Bullish CHOCH: The market was falling (Lower Lows), but suddenly it broke its previous "High". Now the market can rise.
BOS: Confirms the trend (Breaking the ceiling to go higher).
CHOCH: Signals a trend change (Slipping and falling below the previous floor).
Scalper Pro Pattern Recognition & Price Action📘 Scalper Pro Pattern Recognition & Price Action
Overview
Scalper Pro is a dynamic multi-layer trend recognition and price action strategy that integrates Supertrend, Smart Money Concepts (SMC), and volatility-based risk control.
It adapts to market volatility in real time to enhance entry precision and optimize risk.
⚠️ This script is for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
Detect structural market shifts (BOS / CHoCH) automatically.
Identify Order Blocks (OB), Fair Value Gaps (FVG), and key liquidity zones.
Plot dynamic Take-Profit (TP) and Stop-Loss (SL) levels based on ATR.
Avoid low-volatility (sideways) conditions using ADX filtering.
Combine trend-following signals with structural confirmation.
✨ Key Features
Supertrend Entry Signals — Generates precise buy/sell markers based on price crossovers with the Supertrend line.
Order Block Detection — Automatically plots both Internal and Swing Order Blocks for smart money insights.
Fair Value Gap Visualization — Highlights inefficiency zones in bullish or bearish structures.
Market Structure Labels — Marks Break of Structure (BOS) and Change of Character (CHoCH) points for clear trend shifts.
Dynamic Risk Levels — Automatically generates TP/SL lines and price labels using ATR-based distance.
📊 Trading Rules
Long Entry:
• Price crosses above the Supertrend (ta.crossover(close, supertrend))
• ADX above sideways threshold (trend condition confirmed)
• Optional confirmation from a bullish BOS or CHoCH
Short Entry:
• Price crosses below the Supertrend (ta.crossunder(close, supertrend))
• ADX above threshold
• Optional confirmation from a bearish BOS or CHoCH
Exit (or Reverse):
• Opposite Supertrend crossover
• Price hits TP/SL lines
• Trend shift confirmed by internal BOS/CHoCH
💰 Risk Management Parameters
Stop Loss & Take Profit based on ATR × risk multiplier
ATR Length: 14 (default)
Risk %: 3% per trade
Sideways Filter: ADX < 15 → no trade zone
TP1–TP3 = Entry ± (ATR × 1~3)
⚙️ Indicator Settings
Supertrend Module:
ATR Length: 10
Factor: nsensitivity × 7
ADX Module:
ADX Length: 15
Sideways Threshold: 15
EMA Set:
EMA (5, 9, 13, 34, 50) × Volatility Factor (3)
SMA Filter:
SMA(8) & SMA(9) for short-term trend confirmation
Smart Money Concepts Module:
Displays BOS/CHoCH, Order Blocks, FVGs, Equal Highs/Lows, and Premium/Discount zones
🔧 Improvements & Uniqueness
Integrates Supertrend momentum with Smart Money Concepts (SMC) structural analysis.
Dual detection layers: Internal (micro) and Swing (macro) structures.
ATR-driven auto labeling for entry, stop, and profit targets.
Premium/Discount and Equilibrium zones visualized on the chart.
Built-in ADX filter to skip low-trend market conditions.
✅ Summary
Scalper Pro Pattern Recognition & Price Action merges classical trend-following with modern market structure analytics.
It combines momentum detection, volatility control, and smart money mapping into one cohesive framework.
Unified trend, structure, and risk visualization.
Auto-marked BOS/CHoCH, OB, FVG, and liquidity zones.
Usable for scalping, intraday, or swing trading setups.
⚠️ This strategy is based on historical data and designed for educational use only.
Always apply sound risk management and forward testing before live trading.
Smart Risk - Three Institutional Models📘 Smart Risk – Three Institutional Entry Models
A precision-engineered institutional framework that blends liquidity, structure, and multi-time-frame confirmation.
🧠 Concept Overview
The Smart Risk indicator models how institutional traders and algorithms engineer entries around liquidity, imbalance, and structural shifts .
It unifies t hree distinct institutional entry models —each built around core Smart Money Concepts (SMC)—and enhances them with a Multi-Time-Frame Confluence (MTF) engine for directional alignment.
This tool doesn’t simply merge indicators.
It connects l iquidity sweeps, order-block reactions, breaker validation, and fair-value-gap mitigation into one cohesive trading logic—filtering every setup through trend, structure, and volume confirmation.
⚙️ How It Works
Setup #1 – Liquidity Sweep + Order Block Revisit + FVG Mitigation
Identifies engineered stop-hunts where price sweeps external liquidity and returns to a prior Order Block or Fair Value Gap (FVG).
Signals reversal-style entries with high probability of mean-reversion or mitigation.
Setup #2 – Supply/Demand + Mitigation / Breaker / FVG Continuation
Captures continuation trades inside trending structure.
When trend bias (via moving-average context) aligns with breaker or mitigation blocks, signals confirm institutional continuation sequences.
Setup #3 – Sweep + Classic FVG Reaction
Tracks clean displacement gaps following a liquidity sweep—ideal for scalpers and intraday reversals where imbalances act as magnets for price.
Each setup can be independently enabled or disabled from the panel.
A built-in signal-cooldown prevents repetitive triggers on the same leg.
🕒 Multi-Time-Frame Confluence
The new MTF module aligns lower-time-frame precision entries with higher-time-frame market structure.
When enabled, each setup only validates if the HTF trend confirms the same directional bias as the LTF pattern—e.g. a 5-minute bullish FVG signal requires a bullish 1-hour structure.
This ensures institutional logic respects global liquidity flow and avoids counter-trend traps.
MTF Controls:
• ✅ Enable MTF Confluence toggle
• ⏱️ Lower Time-Frame (LTF) selector (default 5 min)
• ⏱️ Higher Time-Frame (HTF) selector (default 1 hour)
• 🔄 Automatic SMA-based HTF trend detection
🎨 Visualization & Dashboard
• Order Block / Supply–Demand Zones — highlight institutional footprints
• Fair Value Gaps (FVGs) — reveal displacement inefficiencies
• Liquidity Sweeps (X / $) — mark engineered stops
• BOS & CHoCH — confirm structure continuation or reversal
• Compact Dashboard — live “Armed” state for each setup and MTF bias
Color-coded background cues emphasize active trade phases without clutter.
🧩 Core Algorithm Highlights
• Dynamic swing and pivot structure detection
• Breaker / Mitigation / Volume confirmation filters
• Fair-Value-Gap logic with directional alignment
• Cooldown control for signal throttling
• Multi-Time-Frame bias filter for contextual precision
⸻
📈 How to Use
1. Apply indicator to any asset or timeframe.
2. Select which institutional setups you want active.
3. Optionally enable MTF Confluence (5 min → 1 hr recommended).
4. Wait for BOS/CHoCH confirmation + zone alignment before entry.
5. Use OB and FVG zones for entry/exit planning with risk management.
⸻
💡 Originality Statement
This script introduces a multi-layered institutional logic engine that merges liquidity, mitigation, and imbalance behavior into a unified framework—augmented with time-frame synchronization and signal-cooldown management.
All logic, calculations, and visualization structure were built from scratch for this model.
It is not a mash-up of existing public indicators and offers measurable analytical value through MTF-aware trade validation.
⸻
⚠️ Disclaimer
This tool is intended for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Always back-test, validate setups, and apply proper risk management.
SMC Structures and Multi-Timeframe FVG PYSMC Structures and Multi-Timeframe FVG Indicator
Tip: For optimal performance, adjust the number of FVGs displayed per timeframe in the settings. On high-performance devices, up to 8 FVGs per timeframe can be used without issues. If you experience slowdowns, reduce to 3 or 4 FVGs per timeframe. If the chart flashes, disable indicators one by one to identify conflicts, or try using the TradingView Mobile or Windows App for a smoother experience.
Overview
This Pine Script indicator enhances market analysis by integrating Smart Money Concepts (SMC) with Fair Value Gaps (FVG) across multiple timeframes. It identifies trend continuations (Break of Structure, BOS) and trend reversals (Change of Character, CHoCH) while highlighting liquidity zones through FVG detection. The indicator includes eight customizable Moving Average (MA) curve templates, disabled by default, to complement SMC and FVG analysis. Its originality lies in combining multi-timeframe FVG detection with SMC structure analysis, providing traders with a cohesive tool to visualize price action patterns and liquidity zones efficiently.
Features and Functionality
1. Fair Value Gaps (FVG)
The indicator detects and displays bullish, bearish, and mitigated FVGs, representing liquidity zones where price inefficiencies occur. These gaps are dynamically updated based on price action:
Bullish FVG: Displayed in green when unmitigated, indicating potential upward liquidity zones.
Bearish FVG: Displayed in red when unmitigated, signaling potential downward liquidity zones.
Mitigated FVG: Shown in gray once the gap is partially filled by price action.
Fully Mitigated FVG: Automatically removed from the chart when the gap is fully filled, reducing visual clutter.
Users can customize the number of historical FVGs displayed via the settings, allowing focus on recent liquidity zones for targeted analysis.
2. SMC Structures
The indicator identifies key SMC price action patterns:
Break of Structure (BOS): Marked with gray lines, indicating trend continuation when price breaks a significant high or low.
Change of Character (CHoCH): Highlighted with yellow lines, signaling potential trend reversals when price fails to maintain the current structure.
High/Low Values: Blue lines denote the highest high and lowest low of the current structure, providing reference points for market context.
3. Multi-Timeframe FVG Analysis
A standout feature is the ability to analyze FVGs across multiple timeframes simultaneously. This allows traders to align higher-timeframe liquidity zones with lower-timeframe entries, improving trade precision. The indicator fetches FVG data from user-selected timeframes, displaying them cohesively on the chart.
4. Moving Average (MA) Templates
The indicator includes eight customizable MA curve templates in the Settings > Template section, disabled by default. These templates allow users to overlay MAs (e.g., SMA, EMA, WMA) to complement SMC and FVG analysis. Each template is pre-configured with different periods and types, enabling quick adaptation to various trading strategies, such as trend confirmation or dynamic support/resistance.
How It Works
The script processes price action to detect FVGs by analyzing three-candle patterns where a gap forms between the high/low of the first and third candles. Multi-timeframe data is retrieved using Pine Script’s request.security() function, ensuring accurate FVG plotting across user-defined timeframes. BOS and CHoCH are identified by tracking swing highs and lows, with logic to differentiate trend continuation from reversals. The MA templates are computed using standard Pine Script TA functions, with user inputs controlling visibility and parameters.
How to Use
Add to Chart: Apply the indicator to any TradingView chart.
Configure Settings:
FVG Settings: Adjust the number of historical FVGs to display (default: 10). Enable/disable specific FVG types (bullish, bearish, mitigated).
Timeframe Selection: Choose up to three timeframes for FVG analysis (e.g., 1H, 4H, 1D) to align with your trading strategy.
Structure Settings: Toggle BOS (gray lines) and CHoCH (yellow lines) visibility. Adjust sensitivity for structure detection if needed.
MA Templates: Enable MA curves via the Template section. Select from eight pre-configured MA types and periods to suit your analysis.
Interpret Signals:
Use green/red FVGs for potential entry points targeting liquidity zones.
Monitor gray lines (BOS) for trend continuation and yellow lines (CHoCH) for reversal signals.
Align multi-timeframe FVGs with BOS/CHoCH for high-probability setups.
Optionally, use MA curves for trend confirmation or dynamic levels.
Clean Chart Usage: The indicator is designed to work standalone. Ensure no conflicting scripts are applied unless explicitly needed for your strategy.
Why This Indicator Is Unique
Unlike standalone FVG or SMC indicators, this script combines both concepts with multi-timeframe analysis, offering a comprehensive view of market structure and liquidity. The addition of customizable MA templates enhances flexibility, while the dynamic removal of mitigated FVGs keeps the chart clean. This mashup is purposeful, as it integrates complementary tools to streamline decision-making for traders using SMC strategies.
Credits
This indicator builds on foundational SMC and FVG concepts from the TradingView community. Some open-source code was reused, and do performance enhancement as you guys can read the code. This type of indicators has inspiration was drawn from public domain SMC methodologies. All code is partly original with manual work on performance optimization in Pine Script.
Notes
Ensure your chart is clean (no unnecessary drawings or indicators) to maximize clarity.
The indicator is open-source, and traders are encouraged to review the code for deeper understanding.
For optimal use, test the indicator on a demo account to familiarize yourself with its signals.
AriVestHub_SMCIntroduction to the AriVestHub_SMC Indicator
The AriVestHub_SMC indicator is designed and coded based on Smart Money Concepts (SMC). This tool has unique features that you won’t find in any other indicator built around SMC.
I’ve been active in the crypto market since 2019, and besides using the SMC strategy, I also apply several custom strategies in my trading. Personalized versions of these strategies will gradually be shared with you as well.
The main reason for developing this indicator was the gap in existing tools. Many times, setups like Valid Pullback or Inside Bar Candles appear on the chart but are not easily recognizable at first glance, and therefore they get ignored. This often leads to mistakes in Market Structure Mapping right from the beginning, which then causes errors in further analysis and predictions.
Since the SMC strategy is entirely built on market structure, any mistake in identifying its key components basically destroys the reliability of the analysis.
Unlike similar indicators that mostly just draw nice lines and zones on the chart for promotional purposes, AriVestHub_SMC aims to show the reality of the market, not beautify it. Price behavior is the result of trader psychology and the clash of different views—it doesn’t have to look neat and pretty all the time.
This indicator shows exactly what has happened in the market and the possible scenarios ahead. Once you use this tool and study this guide, you’ll clearly feel the difference compared to other common indicators. My main goal in creating AriVestHub_SMC was to give real help to traders—not just to sell or commercialize it.
The AriVestHub_SMC indicator is basically a Market Structure Mapping Engine (SMC Structure Mapping Engine), whose main task is to detect and accurately map market structure movements.
The market is full of exceptional conditions, and analyzing them without indicators and only by visual inspection is almost impossible. This often leads to errors, especially in strategies that are based on market structure.
One of the most important and valuable features of this indicator compared to similar ones is that, after extensively studying and manually analyzing various charts with indicators, I have coded almost all common scenarios as well as exceptional cases that occur under different market conditions.
________________________________________
Its key features include:
• BOS / CHoCH – Detecting
• breakouts and changes in market character
• IDM / Pullback – Confirming pivots and valid moves
• OF / OB – Marking key supply and demand zones
• SMT (Smart Money Trap) – Spotting invalid zones and smart money traps
• Liquidity Sweeps / Equal High-Low – Liquidity hunts and reversal setups
• Transfer Option – Automatically correcting structure in Single Leg scenarios
________________________________________
Basic Concepts in the AriVestHub_SMC Strategy
1. Inside Bar
An Inside Bar is a candle (or group of candles) whose price range falls between the High and Low of the previous candle.
In Smart Money and market structure analysis, these candles are usually ignored, and only the main candle is considered.
Simply put, an Inside Bar signals market pause and energy buildup—a place where both buyers and sellers are waiting for price to decide its next direction.
In the picture, you can see candles highlighted in a different color that fall within the main candle range. They should not be treated as independent candles, and all of them together should be considered as one.
________________________________________
2. Pullback
A pullback happens when price makes a temporary return after a main move. Even a single candle can cause it.
In Smart Money, a valid pullback is defined as:
• In an uptrend: if the Low of a candle breaks the Low of the previous candle which is not an Inside Bar, a valid pullback occurs.
• In a downtrend: if the High of a candle breaks the High of the previous candle which is not an Inside Bar, a valid pullback occurs.
Valid pullbacks are the points where the market gathers the energy needed to continue its move.
In the image below, both valid and invalid pullbacks are shown.
________________________________________
3. IDM – Inducement
Inducement is one of the most important concepts in AriVestHub_SMC. Without IDM, no structure in Smart Money can form.
Every valid pullback can be considered an IDM.
There are two types: Major IDM and Minor IDM.
Correctly identifying IDM is critical, because the entire market structure is mapped based on it.
After each BOS or CHoCH, a new HH or LL pivot is only confirmed if the price returns and touches the IDM.
• In an uptrend after BOS: the lowest price of the first valid pullback is the Major IDM, and the last pullback before reaching the Major IDM is the Minor IDM.
• In an uptrend after CHoCH: the highest price of the first valid pullback is the Major IDM, and the last pullback before reaching the Major IDM is the Minor IDM.
The same rules apply in reverse for downtrends.
In this strategy, Major IDM always takes priority.
The image shows different types of IDM, and the same applies for downtrends.
________________________________________
4. BOS – Break of Structure
A Break of Structure happens when price breaks its previous High or Low in the direction of the trend:
• In an uptrend: if the previous HH is broken, BOS occurs.
• In a downtrend: if the previous LL is broken, BOS occurs.
BOS confirms continuation of the current market trend.
________________________________________
5. CHoCH – Change of Character
Change of Character occurs when price moves against the previous trend:
• In an uptrend: if the previous LL is broken, CHoCH occurs.
• In a downtrend: if the previous HH is broken, CHoCH occurs.
CHoCH is usually a signal of a trend reversal or a deep market correction.
The image shows the overall market structure with BOS and CHoCH.
________________________________________
6. Order Flow
Order Flow zones are formed from valid pullbacks and are usually points where price reacts strongly.
They are defined as:
• In an uptrend: Last Selling Momentum Before pushing upside
• In a downtrend: Last Buying Momentum Before pushing dowside
Three main types of Order Flow used in this strategy:
• OF: Decisional (Dec) – The first valid OF after IDM, where the market makes its key decision.
• OF: Extreme (Ext) – The last valid OF after IDM, acting as the final defense of buyers or sellers.
• SMT – Smart Money Trap – All order zones before IDM, and those between Dec and Ext. These usually cause short-term, deceptive reactions and are not valid for trading.
In addition:
• Unmitigated Order Flow – A zone not yet touched, still a liquidity source.
• Mitigated Order Flow – A zone that has been touched, with reduced validity.
• Redefine Order Flow – Identifying internal OFs within a main unmitigated OF for more precise entries.
The image shows the different types of OF.
________________________________________
7. H/L Liquidity Sweep
A Liquidity Sweep happens when price breaks a previous High or Low with a wick, but the candle body fails to close beyond it.
• If the High is broken with a wick but the candle closes below it, a Liquidity Sweep occurs.
• If the Low is broken with a wick but the candle closes above it, a Liquidity Sweep occurs.
These setups are often signs of trapping traders and starting a move in the opposite direction. In fact, Liquidity Sweep points are among the best trading setups.
________________________________________
🔑 Final Note
All these concepts are like puzzle pieces: Inside Bar, Valid Pullback, IDM, BOS, CHoCH, Order Flow, and Liquidity Sweep.
When combined, they create a clear and accurate picture of the market’s real behavior.
________________________________________
Indicator Settings
1. Analyze From … To …
• Set the analysis time range.
• Another use: In ping-pong structures, you can add another copy of the indicator to the chart, set the starting point at the recent HH or LL, and map the internal structure for counter-trend trading.
________________________________________
2. Main
• Confirm CHoCH with wicks → If enabled, only the wick (not the body) is considered for BOS and CHoCH confirmation. Useful for spotting subtle liquidity-based breaks.
• Major / Minor IDM → Choose IDM type.
• Consider Inside Bar → Best kept enabled, so candles inside the previous candle are ignored.
________________________________________
3. Fib Ret
• Min pullback retracement % → Set the minimum retracement level.
• Helps identify valid pullbacks and gives more confidence in trend continuation.
• Meaning: if BOS happens, price must at least retrace by the minimum percentage before expecting the trend to continue.
________________________________________
4. BOS/CHoCH
• Display BOS and CHoCH on the chart with customizable color and style.
________________________________________
5. IDM
• Mark previous IDM : Show past IDMs.
• Mark live IDM : Show current active IDM.
• Customize IDM display options.
________________________________________
6. Pivots
• Display HH and LL pivots.
________________________________________
7. Transferring H/L IDM BOS/CHoCH
• Transfer in case of lack idmB or idmS → When the move is Single Leg and no valid IDM exists in the recent move, HH, LL, and IDM must be shifted and corrected. This adjusts the market structure.
• In case of transferring, remove all previous transferred Market Structure → If enabled, every time HH/LL and IDM need to be shifted, the transfer happens and the market structure is re-analyzed from scratch.
• Important: Often after one transfer, another Single Leg appears. This option keeps adjusting structure automatically, while doing it manually would be slow and error-prone.
________________________________________
8. Order Flow
• Display Decisional, Extreme, and Supply/Demand OFs.
________________________________________
9. H/L Sweeps
• Detect Liquidity Sweeps at Highs and Lows.
• These are very strong reversal setups.
________________________________________
10. Equal High/Low
• Show equal Highs and Lows where liquidity often accumulates.
________________________________________
11. Moving Average
• Add a moving average as a trend filter.
• Option to choose type (SMA/EMA) and length (e.g., 50 or 200).
• Usually:
o MA50 → For mid-term trends, quick confirmation.
o MA200 → For long-term trends, stronger confirmation.
________________________________________
12. Internal Structure (ZigZag)
• Show internal market structure as ZigZag.
________________________________________
13. Inside Bar Candles
• Display Inside Bars in color or with a box.






















