Live Daily HA Background (RTH)This indicator paints the backsground with the daily heikin ashi color
指標和策略
cephxs + fadi / HTF PSPHTF PSP - PRECISION SWING POINTS
Detect divergence-based Precision Swing Points (PSPs) across multiple higher timeframes with automatic correlated asset detection.
WHAT'S NEW (vs Original HTF Candles)
This indicator builds on @fadizeidan's excellent ICT HTF Candles foundation with significant new functionality, depending on who you ask of course:
✨ PSP Divergence Detection: Automatically identifies Precision Swing Points where price diverges from correlated assets—the original has no divergence analysis
✨ Auto Asset Correlation: Uses AssetCorrelationUtils library to detect and pair correlated assets (ES↔NQ↔DXY, BTC↔ETH, Gold↔Silver, etc.)—no manual setup required
✨ Multi-Asset Comparison: Tracks up to 3 correlated assets simultaneously with divergence relationships between all pairs
✨ Dynamic Asset Reordering: When you switch charts, the indicator automatically reorders assets so your chart is always primary
✨ Inverse Correlation Support: Properly handles inversely correlated assets like DXY (bullish DXY = bearish signal for risk assets)
✨ HTF Sweep Detection: New sweep line feature highlights when HTF candles take out previous highs/lows and close back inside. One of my followers asked me for this, there you go anon.
🔧 Streamlined to 3 HTFs: Focused design with 3 HTF slots (vs 6) for cleaner charts and better performance
The original remains excellent for pure HTF candle visualization. This version adds institutional flow analysis through divergence detection.
WHAT IT DOES
This indicator displays Higher Timeframe (HTF) candles to the right of your chart and highlights Precision Swing Points—pivots where price diverges from correlated assets. When ES makes a new high but NQ doesn't follow, or gold pushes higher while DXY fails to confirm, you're looking at institutional repositioning.
PSPs mark these moments on your HTF candles, giving you a clean visual signal for potential reversals.
HOW IT WORKS
Divergence Detection
The indicator compares price action between your chart and up to two correlated assets. A divergence occurs when one asset makes a directional move (bullish/bearish candle) while a correlated asset moves the opposite direction.
Three divergence relationships are tracked:
Primary vs Secondary (e.g., ES vs NQ)
Primary vs Tertiary (e.g., ES vs DXY)
Secondary vs Tertiary (e.g., NQ vs DXY)
PSP Confirmation
A candle is marked as a PSP when:
A divergence exists between correlated assets
A swing pivot forms (high > previous high AND high > next high, or vice versa for lows)
This dual confirmation filters noise and highlights only meaningful institutional activity.
Automatic Asset Detection
In Auto mode, the indicator uses the AssetCorrelationUtils library to detect your chart's asset class and automatically select the most relevant correlated pairs:
Indices: ES ↔ NQ ↔ DXY, YM ↔ ES ↔ NQ
Forex: EURUSD ↔ DXY ↔ GBPUSD, USDJPY ↔ DXY ↔ US10Y
Crypto: BTC ↔ ETH ↔ DXY
Metals: Gold ↔ Silver ↔ DXY
Energy: CL (Oil) ↔ NG ↔ DXY
HTF Sweep Detection
Sweeps are detected when an HTF candle (C2) takes out the high or low of the previous candle (C1) and then closes back inside. This marks liquidity grabs on the higher timeframe.
HOW TO USE
Enable HTF timeframes: Select 1-3 higher timeframes relevant to your trading style (e.g., 30m, 90m, 4H for intraday traders)
Watch for PSP candles: When a candle body color changes to the divergence color, a PSP has formed
Note the direction: Bullish divergence (your asset bullish while correlated asset bearish) suggests upside; bearish divergence suggests downside
Combine with LTF structure: Use PSPs as bias, then look for entry on lower timeframes (CHoCH, FVG, etc.)
Sweeps confirm liquidity: A sweep followed by a PSP is a strong reversal signal
INPUTS
HTF Selection
HTF 1/2/3: Enable/disable each HTF slot with timeframe and candle count
Custom Daily Open: Use Midnight, 8:30, or 9:30 ET as daily candle open
Styling
Body/Border/Wick Colors: Customize bullish and bearish candle appearance
Padding/Buffer/HTF Buffer: Control spacing between candles and timeframe groups
Labels
HTF Label: Show timeframe name above/below candles
Remaining Time: Countdown to candle close
Label Position: Top, Bottom, or Both
Label Alignment: Align across timeframes or follow individual candles
Interval Value: Show interval details on candles
Imbalance
Fair Value Gap: Highlight FVGs on HTF candles
Volume Imbalance: Highlight VIs on HTF candles
HTF Sweeps: Show sweep lines when C2 takes out C1's high/low
Trace
Trace Lines: Draw lines from HTF candle OHLC levels back to chart price
Anchor: Anchor to first or last timeframe
PSP Divergence Detection
Precise Mode: Only highlight pivots on current asset (stricter confirmation)
Divergence Body Colors: Custom colors for bullish/bearish divergence candles
Asset Selection
Correlation Preset: Auto (library-detected) or Manual
Manual Assets 1/2/3: Specify custom correlated assets
Invert Asset 3: Flip the bullish/bearish interpretation for inverse correlations (e.g., DXY)
KEY FEATURES
Multi-HTF Display: Up to 3 higher timeframes displayed simultaneously
Auto Asset Detection: Automatically finds relevant correlated assets for your chart
Dynamic Reordering: When you switch charts, assets reorder so the chart is always primary
Inverse Correlation Support: Properly handles DXY and other inversely correlated assets
HTF Sweep Detection: Highlights liquidity grabs on higher timeframes
FVG/VI Detection: Fair Value Gaps and Volume Imbalances on HTF candles
Remaining Time Counter: Know exactly when the next HTF candle closes
BEST PRACTICES
Use PSPs as directional bias, not direct entries—wait for LTF confirmation
A PSP at a key level (previous day high, weekly open) carries more weight
Multiple PSPs across different HTFs pointing the same direction = stronger signal
Sweeps that fail to hold (sweep + PSP) often mark significant reversals
In Auto mode, trust the library's asset selection—it's been tuned for common correlations
DISCLAIMER
This indicator is for educational purposes only and does not constitute financial advice. Divergences and PSPs do not guarantee reversals—always use proper risk management and confirm signals with your own analysis. Past performance does not guarantee future results.
CREDITS
Original HTF candle plotting concept by @fadizeidan. PSP divergence detection and asset correlation logic by cephxs & fstarcapital. Uses the AssetCorrelationUtils library by fstarcapital.
Open Sourced For all.
Enjoy.
Made with ❤️ by cephxs + fadi
Relative Strength vs SPY (Master Dashboard)Compares ETFs and major themes against the SPY. Themes can be toggled in settings
ZEEPRICE IN MIDLE
now you can make this easy to see
so the price will in midle of chart to keep you focusesG
Smart Auto-Step Openndicator Name: 15m Reversal Strategy (Polymarket)
Short Description: A mean-reversion strategy designed for the 15-minute timeframe. It identifies overextended short-term trends and signals entries on the probability of a reversal candle.
Predictive Candle and Accuracy CoreThis Predictive Candle – Accuracy Core indicator is designed to project the likely direction and size of the next candle based on market microstructure, volatility, momentum, and volume dynamics. It calculates a delta-based volume imbalance, RSI, EMA distances, ATR, and ADX to assess both the strength and trend of the market. The script applies a market regime filter to allow predictions only when trends are strong and aligned, then computes weighted bullish and bearish scores, normalizes them into probabilities, and self-measures its historical accuracy. Using this, it projects the next candle’s body and wicks, color-coded green or red for bullish or bearish, with a confidence percentage label. The projection adjusts dynamically for volatility, ADX strength, and prediction accuracy, providing traders with a quantitative, adaptive visual cue for potential price movement without repainting.
SR EMA ORBSR EMA ORB combines your Support/Resistance pivot levels + EMA crossover labels/alerts with an optional Opening Range Breakout (ORB) module that can work on higher timeframes using LTF calculation (via request.security).
What it shows
1) Support/Resistance (Pivot based)
Plots pivot Resistance (red) and Support (blue).
Optional break labels:
B for break with volume confirmation (Volume Osc > Threshold)
Bull Wick / Bear Wick wick-based breaks
2) EMA Crossovers (visual + alerts)
Labels:
Up (ST EMA crosses above MT EMA)
Down (ST EMA crosses below MT EMA)
Buy (MT EMA crosses above LT EMA)
Sell (MT EMA crosses below LT EMA)
Includes the original alert() messages exactly like your Script 1.
3) ORB (Opening Range Breakout)
Builds an opening range for the configured “ORB Window” (default: 10 minutes).
After the window ends, it waits for a breakout:
Breakout based on Close or EMA
Optional breakout buffer %
Optional volume filter (uses your Volume Threshold logic)
Entry requires retests based on sensitivity:
High = 0 retests
Medium = 1 retest
Low = 2 retests
Lowest = 3 retests
Shows:
ORB High / ORB Low lines (unique colors, bold width)
ORB Entry label (ORB)
Optional TP1/SL markers (if enabled)
4) Confluence (optional confidence marker)
Prints a separate CONF label when:
ORB entry happens AND
EMA direction agrees (rule selectable)
Optional: also require SR break in the same direction
5) RR helper (optional)
Draws Entry / SL / TP target lines at 1:2 or 1:3
Trigger can be:
ORB Entry
Confluence only (recommended)
6) Dashboards (optional)
Compact ORB dashboard: current bias + entry + SL
Backtest dashboard: trades, wins, losses, win%
Timeframe behavior (important)
ORB supports these window selections: 1m, 5m, 10m, 15m, 30m, 1h, 1D, 1W, 1M
ORB supports these calc TF selections: 1m, 3m, 5m, 10m, 15m, 30m, 1h
Mode
Auto: uses Native when chart TF is supported, otherwise switches to LTF calculation
Native: ORB runs only on supported chart TF; disables otherwise
LTF: ORB always calculates on Calc TF (best for 1H/1D chart viewing)
Examples (recommended setups)
Example 1 — Your main setup (10m ORB on intraday chart)
Goal: trade ORB normally with minimal complexity
Chart TF: 1m / 3m / 5m
ORB:
Mode: Auto
ORB Window: 10m
Calc TF: 10m (or 5m if you want slightly earlier structure)
Sensitivity: Medium
Breakout Condition: Close
TP Method: Dynamic
Stop Loss: Balanced
Visuals:
Draw ORB Lines: ON
Entry Labels: ON
TP/SL Marks: OFF (keeps chart clean)
Example 2 — View ORB on a 1H chart (LTF-on-HTF mode)
Goal: see 10m ORB levels/signals while looking at 1H structure
Chart TF: 1H
ORB:
Mode: LTF
ORB Window: 10m
Calc TF: 5m or 10m
Sensitivity: Medium
Note: On HTF, multiple LTF events can compress into fewer visible updates (normal with security data).
Example 3 — Higher winrate attempt (fewer trades, more filtering)
Goal: reduce bad ORB entries
ORB:
Sensitivity: Low (2 retests)
Breakout Buffer %: 0.10 – 0.25
Use Vol Osc Filter: ON
Educational Use Only: This script is provided for educational and informational purposes only and is not financial advice—use it at your own risk, as trading involves substantial risk of loss.
Confluence:
Enable Confluence: ON
EMA Rule: Stack (strict)
Require SR Break Same Direction: ON (optional, strict)
RR:
RR Lines: ON
RR: 1:3
Trigger: Confluence
This usually reduces signals but can improve quality depending on ticker.
Example 4 — Conservative risk control (visual RR planning)
Goal: only take trades that offer clear RR
RR:
Show RR Lines: ON
RR: 1:2
Trigger: Confluence
Result: you only see RR targets when the entry is “higher confidence”.
Example 5 — Dashboards only when needed
Goal: keep chart clean, but enable quick stats occasionally
ORB UI:
Show ORB Dashboard: OFF normally
Show Backtest Dashboard: ON only during tuning
Positions: set to Top Right / Top Center as you prefer
Notes on alerts (how to use)
Your SR/EMA alerts are built-in alert() calls, so when creating an alert choose:
“Any alert() function call”
ORB/CONF alerts are alertcondition(), so create alerts selecting:
ORB Entry
ORB TP1
ORB SL
CONF Buy / CONF Sell
Support Resistance EMA Crossovers with ORB and AlertsSR EMA ORB combines your Support/Resistance pivot levels + EMA crossover labels/alerts with an optional Opening Range Breakout (ORB) module that can work on higher timeframes using LTF calculation (via request.security).
What it shows
1) Support/Resistance (Pivot based)
Plots pivot Resistance (red) and Support (blue).
Optional break labels:
B for break with volume confirmation (Volume Osc > Threshold)
Bull Wick / Bear Wick wick-based breaks
2) EMA Crossovers (visual + alerts)
Labels:
Up (ST EMA crosses above MT EMA)
Down (ST EMA crosses below MT EMA)
Buy (MT EMA crosses above LT EMA)
Sell (MT EMA crosses below LT EMA)
Includes the original alert() messages exactly like your Script 1.
3) ORB (Opening Range Breakout)
Builds an opening range for the configured “ORB Window” (default: 10 minutes).
After the window ends, it waits for a breakout:
Breakout based on Close or EMA
Optional breakout buffer %
Optional volume filter (uses your Volume Threshold logic)
Entry requires retests based on sensitivity:
High = 0 retests
Medium = 1 retest
Low = 2 retests
Lowest = 3 retests
Shows:
ORB High / ORB Low lines (unique colors, bold width)
ORB Entry label (ORB)
Optional TP1/SL markers (if enabled)
4) Confluence (optional confidence marker)
Prints a separate CONF label when:
ORB entry happens AND
EMA direction agrees (rule selectable)
Optional: also require SR break in the same direction
5) RR helper (optional)
Draws Entry / SL / TP target lines at 1:2 or 1:3
Trigger can be:
ORB Entry
Confluence only (recommended)
6) Dashboards (optional)
Compact ORB dashboard: current bias + entry + SL
Backtest dashboard: trades, wins, losses, win%
Timeframe behavior (important)
ORB supports these window selections: 1m, 5m, 10m, 15m, 30m, 1h, 1D, 1W, 1M
ORB supports these calc TF selections: 1m, 3m, 5m, 10m, 15m, 30m, 1h
Mode
Auto: uses Native when chart TF is supported, otherwise switches to LTF calculation
Native: ORB runs only on supported chart TF; disables otherwise
LTF: ORB always calculates on Calc TF (best for 1H/1D chart viewing)
Examples (recommended setups)
Example 1 — Your main setup (10m ORB on intraday chart)
Goal: trade ORB normally with minimal complexity
Chart TF: 1m / 3m / 5m
ORB:
Mode: Auto
ORB Window: 10m
Calc TF: 10m (or 5m if you want slightly earlier structure)
Sensitivity: Medium
Breakout Condition: Close
TP Method: Dynamic
Stop Loss: Balanced
Visuals:
Draw ORB Lines: ON
Entry Labels: ON
TP/SL Marks: OFF (keeps chart clean)
Example 2 — View ORB on a 1H chart (LTF-on-HTF mode)
Goal: see 10m ORB levels/signals while looking at 1H structure
Chart TF: 1H
ORB:
Mode: LTF
ORB Window: 10m
Calc TF: 5m or 10m
Sensitivity: Medium
Note: On HTF, multiple LTF events can compress into fewer visible updates (normal with security data).
Example 3 — Higher winrate attempt (fewer trades, more filtering)
Goal: reduce bad ORB entries
ORB:
Sensitivity: Low (2 retests)
Breakout Buffer %: 0.10 – 0.25
Use Vol Osc Filter: ON
Confluence:
Enable Confluence: ON
EMA Rule: Stack (strict)
Require SR Break Same Direction: ON (optional, strict)
RR:
RR Lines: ON
RR: 1:3
Trigger: Confluence
This usually reduces signals but can improve quality depending on ticker.
Example 4 — Conservative risk control (visual RR planning)
Goal: only take trades that offer clear RR
RR:
Show RR Lines: ON
RR: 1:2
Trigger: Confluence
Result: you only see RR targets when the entry is “higher confidence”.
Example 5 — Dashboards only when needed
Goal: keep chart clean, but enable quick stats occasionally
ORB UI:
Show ORB Dashboard: OFF normally
Show Backtest Dashboard: ON only during tuning
Positions: set to Top Right / Top Center as you prefer
Notes on alerts (how to use)
Your SR/EMA alerts are built-in alert() calls, so when creating an alert choose:
“Any alert() function call”
ORB/CONF alerts are alertcondition(), so create alerts selecting:
ORB Entry
ORB TP1
ORB SL
CONF Buy / CONF Sell
Educational Use Only: This script is provided for educational and informational purposes only and is not financial advice—use it at your own risk, as trading involves substantial risk of loss.
NQ Overnight Expansion + London Sweep Asia (v6)requirement reminders to trade
dont trade if ovn expanded over 200 points
or
if london swept asia levels
Mean Reversion [SIMI]This mean reversion indicator identifies extreme price deviations from the mean, providing high-probability reversal signals. Designed for confluence-based trading, it works best when combined with complementary indicators such as VWAP, price action, and volume analysis.
📊 Core Features
Signal Types
Prime Signals (Bright Green/Red Dots): Extreme reversions usually beyond ±1.5 SD - highest probability setups (you can customise this zone!)
Regular Signals (Dark Green/Red Dots): Standard reversions - moderate probability
Leader Line (Pink Dotted): Early warning indicator for potential reversals
Histogram Weakness: Momentum divergence signals
Normalisation Methods:
Institutional Hybrid (Z-ATR) (Recommended): Volatility-adjusted Z-score - adapts to changing market conditions
Percentile Ranking: Statistical ranking - excellent for ranging markets
PPO + ATR Hybrid: Percentage-based with volatility adjustment
Efficiency Ratio: Trend-strength weighted
ATR: Pure volatility-based
None: Raw Z-score
⚙️ Quick Setup Guide
1. Institutional Presets
Pre-configured parameter sets optimised for different timeframes:
5M Day Trading (5/21/5): Intraday scalping
1H Options Trading (6/24/5): Options-focused setups
1D Monthly Cycle (5/20/5): Swing trading
2. Signal Filtering
Prime Thresholds: Adjust ±1.5 SD to control signal quality (tighter = fewer, higher quality, adjust this zone per asset traded)
Dot Filters: Fine-tune entry zones (-0.03/+0.03 default - this ignores noisy signals near Zero line)
Volume Filter: Enable to require volume confirmation (1.4x average recommended, but fine tune yourself)
3. Advanced Filters
Dynamic SD Thresholds: Auto-adjusts for volatility regimes (tighter in low vol, wider in high vol)
Time of Day Filter: Avoids first 30 minutes, last 15 minutes, and lunch hour (11:30-13:00 EST)
💡 Trading Strategy Recommendations
Optimal Usage
This indicator is not intended as a standalone system. Use it for confluence alongside:
VWAP (institutional positioning)
Price action (support/resistance)
Options flow (institutional direction)
Volume analysis (conviction confirmation)
Signal Interpretation
Prime Signals: Wait for these for highest-probability entries - mean reversion may take hours to days
Manual Entries: Don't wait for dots - trade the ±2 SD zones directly using your own confirmation
Options Strategy: Prime sell signals at +2 SD make excellent short call setups; prime buy signals at -2 SD for long calls
Timeframe Guidance
Lower Timeframes (1M-5M): Higher noise - require additional confluence
Higher Timeframes (1H-1D): More reliable signals - suitable for options and swing trades
Best Results: Multi-timeframe analysis (check 1H and 4H alignment on 5M entries)
🔔 Alert System
Master Alert
Enable customisable alerts via the Master Alert System:
Toggle individual signal types (Prime Buy/Sell, SD Crosses, Leader, Histogram)
Receives bespoke messages with ticker, timeframe, and price
One alert condition handles all selected signals
Individual Alerts
Separate alert conditions available for Prime and Regular signals if preferred.
📈 Backtesting Notes
Important: Backtest results are date-sensitive and should not be the primary focus. Instead:
Dial in settings visually on your chosen asset
Aim for signals near actual tops and bottoms
Test different normalisation methods for your specific instrument
Optimise for signal quality, not backtest ROI
Asset Testing: Primarily developed using SPY, QQQ, and IWM as main assets to trade. Other instruments may require parameter adjustment - mess around!
Backtest Engine
Entry/Exit modes (All Signals, Prime Only, Early Signals)
Position sizing (percentage-based)
Slippage and fill method (candle close recommended)
Date range selection
⚠️ Best Practices
Always use confluence - never trade on MR signals alone
Start with Institutional Hybrid normalisation - most adaptive to market conditions
Focus on Prime signals for quality over quantity
Test on your specific asset - optimal settings vary by instrument
Longer timeframes = higher reliability - 1H+ for best results
Enable Time Filter on intraday charts to avoid volatile periods
Use Dynamic SD in highly volatile markets (earnings, FOMC, etc.)
🛠️ Troubleshooting
Too many signals: Increase Prime Thresholds or enable Volume Filter
Too few signals: Decrease Prime Thresholds or reduce Dot Filters
False signals: Enable Time of Day Filter and Dynamic SD
Signals don't align with tops/bottoms: Try different normalisation method
📝 Feedback & Development
Bug Reports: Please report any issues via TradingView comments or direct message.
Strategy Sharing: I'd love to hear how you're using this indicator and what strategies you've developed.
Open Source: Feel free to fork and modify this indicator. If you create an improved version, please share it with the community!
🙏 Acknowledgements
Developed through AI-assisted collaboration.
Special thanks to Lazy Bear for his open source MACD histogram (volume based).
Open source forever - use freely, modify, and share.
Happy Trading!
Remember: Past performance does not guarantee future results. Always manage risk appropriately.
Pandas rock \m/
cephxs + fadi / Previous Time Based Dealing RangesPREVIOUS TIME BASED DEALING RANGES
Visualize previous and current higher timeframe dealing ranges with dual-box OHLC representation, extending reference lines, and HTF candle displays.
Open Source Fork of @fadizeidan 's HTF Candles Indicator
OVERVIEW
This indicator displays time-based dealing ranges from higher timeframes directly on your chart. It shows the complete price action structure of previous (or current/forming) periods using a dual-box system: one box for the full High-Low range and another for the Open-Close body. Reference lines extend from key levels to help identify potential support, resistance, and mean reversion zones.
Perfect for traders who use ICT concepts, market structure analysis, or any methodology that relies on understanding where price has been relative to previous dealing ranges.
KEY FEATURES
Dual-Box Range Visualization: Each range displays two boxes - the full H-L range (outer) and the O-C body (inner) - giving immediate visual context of candle structure
Multiple Timeframes: Support for 90m, 4H, 6H, 1D, 1W, 1M, and 3M ranges
Previous/Current Mode: View completed ranges (Previous) or the forming range (Current) with real-time updates
Auto Mode: Automatically selects the appropriate range based on your chart timeframe
Reference Lines: Extending lines from High, Mid, Low (or Quadrants: H/75/M/25/L) with trade-into detection
HTF Candle Display: Visual HTF candles positioned to the right of price for context
6H Session Support: Session-aware ranges for Asia, London, NY AM, and NY PM with labeled names
Open Line: Vertical line marking the range's opening price/time
Imbalance Detection: Fair Value Gaps and Volume Imbalances highlighted on HTF candles
MODE OPTIONS
Previous/Current: Previous shows the last completed range. Current shows the forming range with dynamic H/L/C updates
Auto/Manual: Auto selects range by chart TF. Manual lets you choose specific ranges
Extend Box (Current): In Current mode, extends the box's right edge as price develops
AUTO MODE TIMEFRAME LOGIC
Auto mode now selects up to 3 ranges automatically based on chart timeframe, providing multi-timeframe context:
Chart ≤ 3m → 90m + 6H + 1D
Chart 4m-14m → 6H + 1D + 1W
Chart 15m-59m → 1D + 1W (+ 1M available)
Chart 1H-3H → 1D + 1W + 1M
Chart 4H-23H → 1W + 1M + 3M
Chart ≥ 1D → 1M + 3M
INPUTS
Mode
Mode: Previous/Current - Choose completed or forming range
Auto/Manual: Auto selects range by chart TF, Manual lets you choose
Extend Box (Current): Extends box right edge with price (Current mode only)
Show Range Boxes: Toggle box visibility (lines remain visible when off)
Filter Lines by Distance: When boxes are hidden, hide reference lines that are too far from current price (Really Close / Balanced / Slightly Far)
Previous Ranges
Range 1: Enable/disable, select timeframe (90m/4H/6H/1D/1W/1M/3M), max display count (1-2)
Range 2: Second range layer for multi-timeframe analysis
Range 3: Third range layer for additional context
Reference Lines
Line Mode: Levels (H/M/L) or Quadrants (H/75/M/25/L)
Line Style: Solid, dashed, or dotted
Line Thickness: 1-4 pixels
Show Labels: Toggle reference line labels
Label Offset: Distance of labels from current price (1-20 bars)
HTF Candle Levels: Show mini H/M/L lines on HTF candles
Open Line: Vertical line at range open with customizable style
Range Boxes & Colors
Per-Range Colors: Customize box and line colors for each timeframe (90m, 4H, 6H, 1D, 1W, 1M, 3M)
HTF Candle Styling
Show HTF Candles: Toggle HTF candle display
Body/Border/Wick Colors: Customize bull and bear candle appearance
Padding/Buffer/Width: Control candle spacing and size
Labels
HTF Label: Show timeframe label above/below candles
Remaining Time: Countdown timer to candle close
Label Position: Top, Bottom, or Both
Label Alignment: Align across timeframes or follow individual candles
Imbalance
Fair Value Gap: Highlight FVGs on HTF candles
Volume Imbalance: Highlight VIs on HTF candles
HOW TO USE
Add the indicator to your chart
Choose Previous or Current mode based on your analysis preference
Use Auto mode for intelligent range selection, or Manual to select specific timeframes
Reference lines extend from range levels - watch for price reactions at H/M/L
In Current mode, observe how the range develops with real-time updates
Use the HTF candles on the right for quick multi-timeframe context
REFERENCE LINE LABELS
Labels follow this format:
Previous mode: pD-H (previous Daily High), pW-M (previous Weekly Mid), p6H-London-L (previous 6H London Low)
Current mode: D-H (Daily High), W-M (Weekly Mid), 6H-Asia-L (6H Asia Low)
6H SESSION NAMES
Asia: 18:00-00:00 ET
London: 00:00-06:00 ET
NYAM: 06:00-12:00 ET
NYPM: 12:00-18:00 ET
RECOMMENDED TIMEFRAMES
Tick/Second charts: 90m ranges
1-5 minute charts: 6H or 1D ranges
15-60 minute charts: 1D or 1W ranges
4H charts: 1W or 1M ranges
Daily charts: 1M or 3M ranges
Or simply use Auto mode to let the indicator choose the optimal range.
TIPS
The Mid (M) level often acts as equilibrium - watch for mean reversion plays
High and Low levels are natural support/resistance zones
In Current mode, watch how price interacts with the forming range boundaries
Combine with your existing analysis for confluence
The Open Line helps identify the "true open" of each range for gap analysis
DISCLAIMER
This indicator is for educational and informational purposes only.
Past performance does not guarantee future results.
Always use proper risk management and never risk more than you can afford to lose.
Trading involves substantial risk of loss and is not suitable for all investors.
CREDITS
Original indicator by @fadizeidan.
Enhanced by cephxs/fstarcapital
CHANGELOG
Pro + v1.1: Reupload + Added 90m ranges for ultra-low timeframe analysis, distance-based line filtering (lines-only mode), third range slot.
Open sourced so users can add more slots.
Enjoy 🤙
SMC Liquidity Engine Pro SMC Liquidity Engine Pro - Complete Trading Guide & Documentation
📊 Introduction: Understanding Smart Money Concepts
The SMC Liquidity Engine Pro is a comprehensive, institutional-grade trading indicator that brings professional Smart Money Concepts (SMC) methodology directly to your TradingView charts. This isn't just another technical indicator—it's a complete framework for understanding how institutional traders, market makers, banks, and hedge funds manipulate and move the markets.
What Makes This Different?
While most retail traders rely on lagging indicators like moving averages or RSI, this indicator reveals the real-time footprints of institutional activity. It shows you:
Where large players are accumulating or distributing positions
How they engineer liquidity to trigger retail stop losses
When they're shifting from one directional bias to another
Where price inefficiencies exist that institutions will likely revisit
The markets don't move randomly—they move based on liquidity. Understanding this fundamental truth is what separates consistently profitable traders from those who struggle. This indicator decodes that liquidity-driven behavior and presents it in clear, actionable visual signals.
The Philosophy Behind Smart Money Concepts
Smart Money Concepts is built on several core principles:
1. Liquidity is King: Price doesn't move because of patterns or indicators—it moves to collect liquidity (stop losses and pending orders). Institutions need massive liquidity to fill their large positions, so they engineer price movements to create that liquidity before making their real directional move.
2. Market Structure Reveals Intent: The way price forms highs and lows tells a story about who's in control. When structure breaks, it signals a shift in institutional positioning.
3. Inefficiencies Get Filled: When price moves too quickly in one direction, it leaves behind "fair value gaps"—areas of imbalance. Institutions frequently return to these areas to fill orders and restore balance.
4. Manipulation Precedes True Moves: The most explosive directional moves are often preceded by liquidity sweeps in the opposite direction—trapping retail traders before the real move begins.
This indicator automates the identification of all these concepts, allowing you to trade alongside the smart money rather than being their exit liquidity.
🎯 Core Features - Deep Dive
1. Market Structure Detection & Visualization
What It Is: Market structure forms the foundation of all Smart Money analysis. This indicator automatically identifies and tracks swing highs and swing lows using a sophisticated pivot detection algorithm. These aren't just any price points—they represent areas where the market showed a significant shift in supply and demand dynamics.
How It Works: The indicator uses a customizable lookback period to identify valid swing points. A swing high must have lower highs on both sides within the lookback period, and a swing low must have higher lows on both sides. This ensures that only significant structural points are marked, filtering out minor noise and consolidation.
Visual Presentation:
Bullish Structure (Cyan Lines): Horizontal lines extending from each identified swing high, showing resistance levels that price previously respected
Bearish Structure (Red Lines): Horizontal lines extending from each identified swing low, showing support levels where buying pressure emerged
Trading Application: These structure levels serve multiple purposes:
Target Zones: Previous highs become targets in uptrends; previous lows become targets in downtrends
Invalidation Levels: If expecting a bullish move, breaking below the last swing low invalidates the setup
Context for Other Signals: All BOS, CHOCH, and liquidity sweep signals gain meaning from their relationship to structure
Multi-Timeframe Anchors: Higher timeframe structure provides context for lower timeframe entries
Advanced Tip: When multiple timeframe structures align (e.g., a daily swing low coincides with a 4-hour swing low), these levels carry significantly more weight and are more likely to be defended or, when broken, lead to explosive moves.
2. Break of Structure (BOS) - Trend Confirmation
What It Is: A Break of Structure occurs when price definitively closes beyond a previous swing high (bullish BOS) or swing low (bearish BOS). This signals that the current trend maintains its momentum and is likely to continue in the same direction.
The Institutional Perspective: When institutions want to continue pushing price in a direction, they need to break through previous resistance or support. A clean BOS indicates that:
There's sufficient institutional buying/selling to overcome the supply/demand at previous structure
The trend has enough momentum to attract more participants
Stop losses above/below structure have been triggered, providing liquidity for continuation
Signal Characteristics:
Bullish BOS Label: Appears below the bar that closes above the previous swing high
Bearish BOS Label: Appears above the bar that closes below the previous swing low
Confirmation: Requires a full candle close, preventing false signals from wicks
Trading Strategies:
Trend Continuation Entries: After a BOS, wait for a pullback to a Fair Value Gap or minor structure, then enter in the direction of the break
Breakout Trading: Enter immediately on BOS confirmation with a stop below the broken structure
Momentum Confirmation: Use BOS to confirm that your existing position is aligned with institutional flow
Scaling Strategy: Add to positions on each successive BOS in trending markets
What to Watch For:
Volume: Strong BOS movements should be accompanied by above-average volume
Speed: Rapid price movement through structure suggests institutional urgency
Follow-Through: The best BOS signals see price continue strongly without immediately reversing
Higher Timeframe Alignment: BOS on higher timeframes (4H, Daily) carry more weight than lower timeframe breaks
Common Pitfalls:
Not all structure breaks are equal—BOS during ranging markets are less reliable
A BOS immediately followed by a reversal back into the range may indicate a failed breakout
During major news events, structure can be broken temporarily without institutional intent
3. Liquidity Sweep Detection - Spotting Manipulation
What It Is: Liquidity sweeps (also called "stop hunts" or "liquidity grabs") occur when price temporarily breaks beyond a key level to trigger stop losses and pending orders, then immediately reverses back. This is one of the most important concepts in SMC trading because it reveals intentional manipulation.
Why Institutions Do This: Large institutional orders can't be filled at a single price point—they need massive liquidity. The biggest pools of liquidity sit just beyond obvious highs and lows where retail traders place their stops. By briefly pushing price into these zones, institutions:
Trigger retail stop losses (creating market orders)
Activate pending buy/sell orders
Fill their large positions at favorable prices
Trap late breakout traders before reversing
Detection Methodology: The indicator identifies sweeps using multiple criteria:
Price must penetrate beyond the structural high/low (creating the sweep)
The candle must close back on the opposite side of the structure (confirming rejection)
The sweep distance is measured against ATR to distinguish manipulation from normal volatility
The sweep multiplier setting allows you to adjust sensitivity based on market conditions
Visual Indicators:
Orange Down Arrows: Mark liquidity sweeps above structural highs
Lime Up Arrows: Mark liquidity sweeps below structural lows
Liquidity Zone Boxes: Semi-transparent colored boxes highlight the exact range of the swept area
Persistent Display: Zones remain visible for several bars to maintain context
Trading Applications:
Reversal Trading: Liquidity sweeps often mark excellent reversal points. After a sweep:
Wait for the sweep to complete (candle closes back inside structure)
Look for a Change of Character signal for confirmation
Enter in the direction opposite to the sweep
Place stops beyond the sweep high/low
Target the opposite side of the range or next structural level
Continuation Filtering: Not all sweeps lead to reversals. During strong trends:
Sweeps of minor structure in a trending market often precede continuation
Use higher timeframe structure to determine if a sweep is counter-trend (likely reversal) or with-trend (likely continuation)
Entry Refinement: In ranging markets, trade from swept lows to highs and vice versa, as institutions accumulate at the extremes.
Advanced Sweep Analysis:
Double Sweeps: When both sides of a range are swept, expect a strong breakout
Sweep Rejection Quality: Fast, strong rejections of sweeps are more reliable than slow grinding returns
Timeframe Consideration: Daily timeframe sweeps are significantly more important than 15-minute sweeps
Volume Profile: Sweeps with low volume followed by high volume reversals confirm manipulation
What Makes a High-Quality Sweep Signal: ✅ Penetrates structure by at least 0.5-1x ATR
✅ Strong rejection candle (long wick, decisive close)
✅ Occurs at a higher timeframe structural level
✅ Creates a Change of Character on the following move
✅ Sweeps an obvious level where retail stops cluster
4. Change of Character (CHOCH) - Major Reversal Signals
What It Is: A Change of Character represents the most significant shift in market dynamics—when the entire structural bias of the market flips from bullish to bearish or bearish to bullish. CHOCH signals are the crown jewel of SMC trading because they identify the exact moment when institutional positioning fundamentally changes.
The Anatomy of a CHOCH: A valid CHOCH requires a specific sequence:
Established Trend: A clear directional bias with multiple BOS in one direction
Liquidity Engineering: A sweep of structure in the current trend direction (the manipulation phase)
Structural Break: Price then breaks structure in the OPPOSITE direction (the revelation phase)
This combination shows that institutions have:
Completed their accumulation/distribution at favorable prices (via the sweep)
Shifted their positioning from bullish to bearish (or vice versa)
Begun a new directional campaign
Visual Presentation:
Bullish CHOCH (Cyan Triangle Up): Appears when bearish structure is broken after a low sweep, signaling the shift to bullish control
Bearish CHOCH (Red Triangle Down): Appears when bullish structure is broken after a high sweep, signaling the shift to bearish control
Prominent Markers: Larger and more visually distinct than BOS signals, reflecting their importance
Why CHOCH Signals Are So Powerful:
Trend Reversal Identification: They mark the earliest possible confirmation of a trend change
High Win Rate: When combined with proper risk management, CHOCH signals have among the highest success rates in SMC trading
Risk-Reward Ratio: Entering at CHOCH gives you the best possible risk-reward since you're entering at the beginning of a new trend
Institutional Confirmation: The sequence of sweep + structure break proves institutional repositioning, not just retail sentiment
Trading CHOCH Signals:
The Perfect CHOCH Setup:
Identify the Sweep: Watch for a liquidity sweep of structural lows (for bullish) or highs (for bearish)
Wait for the Break: Don't enter on the sweep—wait for structure to break in the opposite direction
CHOCH Confirmation: The indicator fires the CHOCH signal—this is your entry trigger
Entry Execution:
Aggressive: Enter immediately on CHOCH confirmation
Conservative: Wait for a pullback to the first Fair Value Gap or broken structure (now turned support/resistance)
Stop Placement: Beyond the swept liquidity point
Target Selection: Previous swing in the opposite direction, or let it run to the next CHOCH
Multiple Timeframe CHOCH Strategy: The most powerful setups occur when CHOCHs align across timeframes:
Daily CHOCH: Signals major institutional trend change, target 500+ pips (Forex) or significant point moves
4H CHOCH: Confirms daily direction, provides swing trade opportunities
1H CHOCH: Offers precise entry timing within the higher timeframe trend
15M CHOCH: Used for position scaling and intraday management
Example Trade Flow:
Daily Chart: Bullish CHOCH appears after weeks of downtrend
↓
4H Chart: Wait for pullback after the daily CHOCH, then catch the 4H bullish CHOCH
↓
1H Chart: Enter on the 1H bullish CHOCH that aligns with both higher timeframes
↓
Result: You've entered at the beginning of a major trend with multiple confirmations
CHOCH Quality Grading:
A-Grade CHOCH (Highest Probability):
Occurs at major higher timeframe structure
Following a clear liquidity sweep
Volume spike on the structural break
Multiple timeframe alignment
Creates a large Fair Value Gap on the break
B-Grade CHOCH (Good Probability):
Valid sweep and structure break
Single timeframe signal
Moderate volume
Occurs at minor structure
C-Grade CHOCH (Lower Probability):
Choppy, ranging market context
Weak sweep or unclear structure
Counter to higher timeframe trend
Low volume confirmation
Common Mistakes with CHOCH Trading: ❌ Entering on the sweep instead of waiting for the structure break
❌ Ignoring higher timeframe context
❌ Taking every CHOCH regardless of quality
❌ Not waiting for pullbacks on aggressive trends
❌ Placing stops too tight, getting caught in volatility
Advanced CHOCH Concepts:
Failed CHOCH: Occasionally, what appears to be a CHOCH will fail (price reverses back into the previous trend). This often indicates:
Insufficient institutional conviction for the reversal
Fake-out to grab liquidity in the opposite direction
Need to wait for a higher timeframe CHOCH for confirmation
When a CHOCH fails, it often sets up an even stronger continuation of the original trend.
CHOCH vs BOS Decision Matrix:
If in doubt about trend direction → wait for CHOCH
If confident in trend → trade BOS continuations
After a CHOCH → next signals in the new direction are BOS
5. Fair Value Gaps (FVG) - Institutional Retracement Zones
What It Is: Fair Value Gaps represent price imbalances where the market moved so quickly that it left behind inefficient pricing. These gaps form when there's no overlap between the current candle's wick and the candle from two bars ago—a void in the price action that creates a "gap" in the order flow.
The Institutional Logic: When institutions execute large market orders, they can push price rapidly through levels without allowing normal two-way trading. This creates unfilled orders and imbalanced order books. Institutions often return to these gaps to:
Fill additional orders at more favorable prices
Allow the market to "breathe" before the next push
Create support/resistance at the gap for the next move
Restore balance to the order book
FVG Formation Criteria: This indicator uses enhanced FVG detection logic:
Bullish FVG (Upward Gap):
Current candle's low is above the high from 2 candles ago
Creates a visible gap where no trading occurred
Gap size must exceed 30% of ATR (filtering minor gaps)
Typically forms on strong bullish momentum candles
Market moved up so fast it left unfilled sell orders
Bearish FVG (Downward Gap):
Current candle's high is below the low from 2 candles ago
Creates a visible gap where no trading occurred
Gap size must exceed 30% of ATR
Typically forms on strong bearish momentum candles
Market moved down so fast it left unfilled buy orders
Visual Presentation:
Bullish FVG Zones: Semi-transparent cyan boxes extending from gap bottom to top
Bearish FVG Zones: Semi-transparent red boxes extending from gap top to bottom
Dynamic Management: Gaps automatically removed when filled or expired
Clean Display: Only active, unfilled gaps shown to prevent chart clutter
FVG Trading Strategies:
Strategy 1: FVG Retracement Entries After a CHOCH or strong BOS, wait for price to retrace into the FVG for entry:
Identify trend direction via CHOCH or BOS
Locate the nearest FVG in the direction of the trend
Set limit orders within the FVG zone
Stop loss beyond the FVG
Target the next structural level or previous swing
Strategy 2: FVG Breakout Confirmation When price breaks through an FVG without filling it:
Signals extreme institutional urgency
Indicates the move is likely to continue strongly
The unfilled gap becomes a "no-go zone" for counter-trend entries
Strategy 3: Multiple FVG Management When multiple FVGs form in sequence:
The first FVG is most likely to be filled
If price skips the first FVG, it signals exceptional strength
Sequential gaps create a "gap ladder" for scaling into positions
FVG Quality Assessment:
High-Quality FVGs (Best Trading Zones):
Large gap size (1.5x+ ATR)
Formed on high volume impulse moves
Aligned with higher timeframe structure
Created during CHOCH or strong BOS
Positioned between current price and key structure
Low-Quality FVGs (Use Caution):
Small gaps (< 0.5 ATR)
Formed during choppy, ranging conditions
Multiple overlapping gaps in the same area
Counter to higher timeframe trend
Very old gaps (50+ bars ago)
FVG Lifecycle Management:
The indicator intelligently manages FVG zones:
Gap Filling:
Bullish FVG is "filled" when price touches the bottom of the gap
Bearish FVG is "filled" when price touches the top of the gap
Filled gaps are automatically removed from the chart
Partial fills count as complete fills (institutions got their orders)
Gap Expiration:
Gaps older than the extension period (default 10 bars) are removed
This keeps the chart clean and focuses on relevant levels
Adjustable from 5-50 bars based on timeframe and trading style
Gap Priority: When multiple gaps exist, closest gap to current price is most relevant
Advanced FVG Concepts:
Nested FVGs: Sometimes FVGs form within larger FVGs. The smaller, more recent gap typically gets filled first, providing a secondary entry within the larger gap.
FVG Clusters: When 3+ FVGs stack in the same zone, this area becomes a major institutional reaccumulation zone—excellent for swing entries.
Inverted FVGs: Bullish FVGs in downtrends or bearish FVGs in uptrends can act as resistance/support where rallies/dips fail.
FVG + Liquidity Sweep Combination: The ultimate entry setup:
Liquidity sweep occurs
CHOCH confirms reversal
Price retraces into FVG created during the CHOCH move
Enter with exceptional risk-reward ratio
FVG Statistics & Probabilities:
Research on FVG behavior shows:
Approximately 70% of FVGs get filled within 20 bars
FVGs formed during CHOCH have 80%+ fill rate
Larger gaps (2x+ ATR) have lower but higher-quality fill rates
Higher timeframe FVGs are more magnetic than lower timeframe
Timeframe Considerations:
Daily FVGs:
Can remain unfilled for weeks
Major institutional zones
Often mark the absolute best entry prices for swing trades
When filled, usually result in strong reactions
4H FVGs:
Typically fill within 3-7 days
Excellent for swing trading
Balance between frequency and reliability
1H FVGs:
Usually fill within 1-3 days
Good for short-term position trading
More frequent signals
15M FVGs:
Often fill same day
Best used for intraday refinement
Should align with higher timeframe gaps
🔧 Customization & Settings Guide
Structure Detection Settings
Swing Lookback Period (3-50 bars): This is arguably the most important setting as it determines what the indicator considers "structure."
Low Values (3-7):
Identifies minor swings and frequent structure points
More BOS and CHOCH signals
Better for scalping and day trading
Risk: More false signals in choppy markets
Best for: 15M-1H charts, active traders
Medium Values (8-15):
Balanced approach capturing meaningful swings
Default setting works well for most traders
Good signal-to-noise ratio
Best for: 1H-4H charts, swing traders
High Values (16-50):
Only major structural points identified
Fewer but higher-quality signals
Cleaner charts with less noise
Better for trending markets
Best for: 4H-Daily charts, position traders
ATR Period (1-50): Controls how volatility is measured for liquidity sweep detection.
Shorter Periods (7-14):
More responsive to recent volatility changes
Better during high volatility events
May overreact to short-term spikes
Longer Periods (15-30):
Smoother, more stable volatility measurement
Better for swing trading
Reduces sensitivity to short-term noise
Liquidity Sweep Multiplier (0.5-3.0): Determines how far beyond structure price must move to qualify as a sweep.
Low Multiplier (0.5-0.9):
Catches smaller, more frequent sweeps
More signals but lower reliability
Good for scalping or high-frequency trading
Use in ranging markets
Medium Multiplier (1.0-1.5):
Balanced sensitivity
Default 1.2 works for most situations
Good signal quality
High Multiplier (1.6-3.0):
Only major, obvious sweeps detected
Fewer but very high-quality signals
Best for trending markets
Use when you want only the clearest setups
Display Options
Toggle Controls: Each component can be individually enabled/disabled:
Show Market Structure:
Turn off when chart becomes too cluttered
Essential for understanding context, generally keep ON
Disable only when you know structure from higher timeframe
Show Liquidity Zones:
Highlights swept areas with boxes
Can be disabled if you prefer cleaner charts
Keep ON when learning to spot manipulation
Show Break of Structure:
BOS labels can be disabled if trading only reversals
Keep ON for trend following strategies
Show Change of Character:
Core SMC signal, usually keep ON
Only disable if focusing purely on continuation trading
Show Fair Value Gaps:
OFF by default to prevent overwhelming new users
Turn ON once comfortable with basic structure
Can generate many zones on lower timeframes
FVG Extension Period (5-50 bars): Determines how long unfilled gaps remain displayed.
Short Extension (5-10):
Keeps charts very clean
Only shows very recent gaps
Good for day trading
May remove gaps before they fill
Medium Extension (11-25):
Balanced approach
Captures most gap fills
Good for swing trading
Long Extension (26-50):
Shows historical gap context
Better for position trading
Higher timeframe analysis
Can make charts busy on lower timeframes
Color Scheme Customization
Why Colors Matter: Visual clarity is crucial for quick decision-making. The color scheme should:
Clearly distinguish bullish vs bearish elements
Work well with your chart background (dark/light mode)
Be visible but not distracting
Match your personal preference for aesthetics
Default Colors:
Bullish: Cyan (
#00ffff) - visibility and association with "cool" buying
Bearish: Red (
#ff0051) - visibility and universal danger/selling association
FVG Bullish: 85% transparent cyan - visible but not overpowering
FVG Bearish: 85% transparent red - visible but not overpowering
Customization Tips:
Increase transparency if zones overwhelm price action
Use higher contrast colors on light backgrounds
Keep bullish/bearish colors visually distinct
Test colors across different market conditions
Optimization by Market Type
Forex (24-hour markets):
Structure Lookback: 10-15
ATR Period: 14-21
Sweep Multiplier: 1.0-1.5
Best Timeframes: 15M, 1H, 4H
Stocks (Session-based):
Structure Lookback: 8-12
ATR Period: 14
Sweep Multiplier: 1.2-1.8
Best Timeframes: 5M, 15M, 1H, Daily
Note: Gaps at market open/close aren't FVGs
Cryptocurrency (High volatility):
Structure Lookback: 12-20 (filter noise)
ATR Period: 10-14 (responsive to volatility)
Sweep Multiplier: 1.5-2.5 (larger sweeps)
Best Timeframes: 15M, 1H, 4H
Indices (Moderate volatility):
Structure Lookback: 10-15
ATR Period: 14-20
Sweep Multiplier: 1.0-1.5
Best Timeframes: 1H, 4H, Daily
📈 Complete Trading System & Strategies
The Complete SMC Trading Process
Step 1: Higher Timeframe Analysis (Daily/4H) Begin every trading session by analyzing higher timeframes:
Identify the prevailing market structure (bullish or bearish)
Mark key swing highs and lows
Note any recent CHOCHs that signal trend changes
Identify major Fair Value Gaps that could act as targets or entry zones
Determine areas of liquidity (obvious highs/lows where stops cluster)
Step 2: Trading Timeframe Setup (1H/4H) Move to your primary trading timeframe:
Wait for alignment with higher timeframe bias
Look for CHOCH signals if expecting reversal
Look for BOS signals if expecting continuation
Identify liquidity sweeps that create trading opportunities
Note nearby FVGs for entry refinement
Step 3: Entry Timeframe Execution (15M/1H) Use lower timeframe for precise entry:
After higher timeframe signal, wait for lower timeframe confirmation
Enter on FVG fills, structure breaks, or CHOCH signals
Place stop beyond swept liquidity or broken structure
Set targets at next structure level or opposite side of range
Step 4: Management Active trade management increases profitability:
Move stop to breakeven after price moves 1R (risk unit)
Take partial profits at first target (structure level)
Let remainder run to major targets
Trail stop using FVGs or structure breaks in your direction
Exit if a counter-trend CHOCH appears
High-Probability Trading Setups
Setup 1: The Classic CHOCH Reversal
Market Context:
Extended trend in one direction
Price reaching obvious highs/lows where liquidity pools
Setup Requirements:
Liquidity sweep of the high/low
CHOCH signal fires
(Optional) Wait for pullback to FVG
Entry: On CHOCH confirmation or FVG fill
Stop: Beyond swept liquidity
Target: Previous swing in opposite direction
Example (Bullish):
Market in downtrend for 2 weeks
Price sweeps below obvious daily low
Bullish CHOCH fires (breaks previous lower high)
Enter immediately or wait for pullback to bullish FVG
Stop below swept low
Target: Previous lower high, then previous high
Risk-Reward: Typically 1:3 to 1:5+
Setup 2: BOS Continuation with FVG Entry
Market Context:
Established trend with recent CHOCH
Strong momentum in trend direction
Setup Requirements:
Recent CHOCH established trend direction
BOS signal confirms continuation
Wait for pullback into FVG created on the BOS move
Entry: Limit order within FVG zone
Stop: Beyond FVG (invalid if exceeded)
Target: Next structural level
Example (Bearish):
Bearish CHOCH 2 days ago
Price makes BOS breaking new low
Large bearish FVG created during the break
Price retraces into FVG zone
Enter short at FVG fill
Stop above FVG
Target: Next major low or daily FVG below
Risk-Reward: 1:2 to 1:4
Setup 3: Liquidity Sweep Fade
Market Context:
Ranging market between defined highs/lows
Obvious liquidity on both sides of range
Setup Requirements:
Clear range established (minimum 20-30 bars)
Price sweeps one side of range (high or low)
Strong rejection back into range
Entry: After sweep rejection confirmed
Stop: Beyond swept level
Target: Opposite side of range
Example:
Range between 1.0850-1.0920 (EUR/USD)
Price sweeps above 1.0920 to 1.0935
Strong bearish rejection candle back below 1.0920
Enter short at 1.0915
Stop at 1.0940 (above sweep high)
Target: 1.0850 (range low)
Risk-Reward: 1:2.6
Setup 4: Multi-Timeframe CHOCH Alignment
Market Context:
Major trend change occurring
Multiple timeframes showing reversal signals
Setup Requirements:
Daily timeframe shows CHOCH
Wait for 4H CHOCH in same direction
Enter on 1H CHOCH that aligns
Entry: 1H CHOCH confirmation
Stop: Below 4H structure
Target: Daily structural level
Example (Bullish):
Daily bearish trend for months
Daily bullish CHOCH appears
4H shows bullish CHOCH next day
1H bullish CHOCH provides entry
Enter long on 1H signal
Stop: Below 4H swing low
Target: Daily previous high
Risk-Reward: 1:5 to 1:10+
Position: Larger size due to alignment
Setup 5: Failed CHOCH Continuation
Market Context:
Strong trend temporarily looks like reversing
"False" CHOCH creates trap for counter-trend traders
Setup Requirements:
Apparent CHOCH against main trend
Price fails to follow through
Original trend resumes with strong BOS
Entry: On BOS in original trend direction
Stop: Recent swing
Target: Extension of original trend
Example:
Strong daily uptrend
Bearish CHOCH appears (potential reversal)
Price consolidates but doesn't follow through down
Bullish BOS breaks above recent consolidation
Enter long on BOS
Stop: Below failed CHOCH low
Target: New high extension
Risk-Reward: 1:3 to 1:6
Note: Failed reversals often lead to explosive continuations
Risk Management Framework
Position Sizing: Never risk more than 1-2% of account per trade, even on A+ setups.
Risk Calculation:
Position Size = (Account Size × Risk %) / (Entry - Stop Loss in pips/points)
Example:
Account: $10,000
Risk: 1% = $100
Entry: 1.0900
Stop: 1.0870 (30 pips)
Position Size: $100 / 30 pips = $3.33 per pip
Lot Size (Forex): 0.33 lots
Stop Loss Placement:
For CHOCH Reversals:
Place stop 5-10 pips beyond swept liquidity
Gives room for volatility while protecting capital
If swept liquidity is violated, setup is invalidated
For BOS Continuations:
Place stop beyond the FVG or structure that provided entry
Typically tighter stops (closer to entry)
Can trail stop to breakeven quickly
For Range Trading:
Stop beyond the swept level
Generally tight stops work well in ranges
Exit quickly if range boundaries break
Take Profit Strategy:
Scaling Out Method (Recommended):
First Target (50% of position): First structural level (1:1 to 1:2)
Second Target (30% of position): Major structure (1:3 to 1:5)
Trail Stop (20% of position): Let run to full extension
Full Exit Method:
Hold entire position to predetermined target
Requires more discipline
Higher reward but also higher risk of giveback
Trade Management Rules:
Breakeven Rule: Move stop to breakeven after 1R profit
Partial Profit Rule: Take partials at structure levels
Trailing Rule: Trail stop
Forex Liner SCALPING (No Repaint)//@version=5
indicator("Forex Liner SCALPING (No Repaint)", overlay=true, max_labels_count=500)
// ===== إعدادات سريعة للسكالبينج =====
pivotLen = input.int(1, "Pivot Sensitivity (أدق=1)")
emaLen = input.int(9, "EMA Trend")
rsiLen = input.int(7, "RSI Filter")
rsiMid = input.int(50, "RSI Mid Level")
showLabels = input.bool(true, "Show Labels")
// ===== الحسابات =====
ema = ta.ema(close, emaLen)
rsi = ta.rsi(close, rsiLen)
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
// ===== حفظ آخر قاع وقمة =====
var float lastLowPrice = na
var int lastLowBar = na
var float lastHighPrice = na
var int lastHighBar = na
if not na(pl)
lastLowPrice := pl
lastLowBar := bar_index - pivotLen
if not na(ph)
lastHighPrice := ph
lastHighBar := bar_index - pivotLen
// ===== موجة =====
var int wave = 0 // 1 شراء | -1 بيع
// ===== بداية موجة شراء =====
startBuy = not na(lastHighPrice) and close > lastHighPrice and wave != 1 and rsi > rsiMid
if startBuy and not na(lastLowBar)
wave := 1
if showLabels
label.new(lastLowBar, lastLowPrice, "BUY LOW", style=label.style_label_up, color=color.lime, textcolor=color.black)
// ===== بداية موجة بيع =====
startSell = not na(lastLowPrice) and close < lastLowPrice and wave != -1 and rsi < rsiMid
if startSell and not na(lastHighBar)
wave := -1
if showLabels
label.new(lastHighBar, lastHighPrice, "SELL HIGH", style=label.style_label_down, color=color.red, textcolor=color.white)
// ===== نهاية الموجة =====
endBuy = wave == 1 and close < lastLowPrice
if endBuy
wave := 0
if showLabels
label.new(bar_index, high, "END BUY", color=color.orange, style=label.style_label_down)
endSell = wave == -1 and close > lastHighPrice
if endSell
wave := 0
if showLabels
label.new(bar_index, low, "END SELL", color=color.orange, style=label.style_label_up)
ARX | Time Window Box AsiaThis script displays a visual time window box on the chart to represent a predefined Asia session time range.
It is a visual and organizational utility only. The script does not analyze price, generate signals, issue alerts, or provide any form of trading guidance.
Its sole purpose is to help users visually identify time periods on a chart.
Educational and organizational use only. Not financial advice.
ARX | Chart Watermark Utility This script adds a simple visual watermark or label to the chart for identification and presentation purposes.
It does not generate signals, alerts, predictions, or trading logic, and does not analyze price data.
The tool is intended purely as a visual utility to help users organize and brand their charts.
Educational and organizational use only. Not financial advice.
Top 40 Best Performing Nasdaq Stocks with Advanced Stats ScreenWelcome to the CustomQuantLabs Advanced Stats Screener. This dashboard is designed for traders who need more than just price action—it provides a comprehensive, institutional-grade view of the "Top 40" performing assets in the Nasdaq (or any watchlist of your choice) at a single glance.
Instead of flipping through 40 different charts, this screener aggregates Performance Metrics and Advanced Statistical Risk Models into one clean, heatmap-style dashboard. It helps you instantly identify outliers, trend leaders, and potential mean-reversion setups.
Key Features
1. Multi-Timeframe Performance Heatmap Instantly spot momentum. The dashboard tracks returns across 5 key timeframes, color-coded with a dynamic heatmap (Bright Green for leaders, Bright Red for laggards):
Week% (Short-term momentum)
Month% & Quarter% (Medium-term trend)
6M% & 12M% (Long-term secular trend)
2. Institutional Risk Metrics (Advanced Stats) We go beyond simple percentage changes. This screener calculates complex statistical formulas for every single ticker in real-time:
Kelly Criterion (%): A money management formula used to determine optimal position size based on win probability and return ratio. A higher Kelly % suggests a statistically stronger "edge" based on recent history.
Sharpe Ratio: Measures risk-adjusted return. How much return are you getting for every unit of risk? (Values > 1.0 are generally considered good).
Sortino Ratio: Similar to Sharpe, but only penalizes downside volatility. This is crucial for distinguishing between "good volatility" (upside pumps) and "bad volatility" (crashes).
Z-Score: A mean-reversion metric. It measures how many standard deviations the current price is from its 20-day mean.
High Positive Z-Score (>2): Price may be overextended to the upside.
Low Negative Z-Score (<-2): Price may be oversold.
Volatility (%): A dynamic measure of the asset's daily range, helping you gauge the "personality" of the stock before entering.
Customization & Settings
Fully Customizable Watchlist: While pre-loaded with top Nasdaq performers (like NVDA, AMD, PLTR, MU), you can easily edit the "Symbols" input in the settings to track Crypto, Forex, or your own custom stock portfolio.
Smart Theme Detection: Includes a toggle for Dark Mode (ProjectSyndicate style) and Light Mode (Clean white style).
Compact Mode: You can toggle specific columns on or off to fit the table on smaller screens.
How to Use
Add the script to your chart.
Open Settings (Gear Icon).
Paste your list of 40 tickers into the "Ticker List" text area (separated by commas).
Use the Z-Score to find overbought/oversold setups and the Relative Strength (Week/Month) to find breakout candidates.
Disclaimer: This tool is for informational purposes only. The "Top 40" list requires manual updating if the market leaders change. All statistical metrics (Kelly, Sharpe, etc.) are based on historical data and do not guarantee future performance.
Built by CustomQuantLabs.
Distance from SMA DisplayThis indicator shows the percentage distance of the price from a selected SMA (e.g., SMA 20) and uses a red or green emoji to indicate whether the price is above or below that SMA. This makes it easier to spot stocks that are far below the SMA for potential long setups, or far above it for potential short setups. In other words, it provides a quick visual way to identify overextended or underextended price conditions relative to the chosen moving average.
In addition, the indicator can display the percentage distance from the daily SMA 150, which is commonly used to determine the broader trend direction. The main purpose of this is to quickly see whether the higher-timeframe trend is bullish (price above the daily SMA 150) or bearish (price below it), helping traders align short-term opportunities with the overall market trend.
Volume + ATR Robust Z-Score Suite (MAD)Measure relevant volumes together with high-volatility candles, providing initiative signals based on volume. Mark the relevant candle and use it as support or resistance.
Daily & Weekly Levels (Sticky + Individual Alerts)🚀 Sticky Levels: PDH/PDL & Weekly High/Low
💡 Overview
This lightweight Pine Script v6 utility is designed for high-frequency traders and scalpers who require key Daily and Weekly levels without cluttering their price action. Optimized for speed and clarity, it ensures your most important S/R zones are always exactly where you need them.
🌟 Key Features
📌 Sticky Right Alignment – Labels are anchored to the right price scale using a customizable offset. They stay perfectly visible on mobile devices (Android/iOS) regardless of zoom level or scrolling.
⚡ Performance Optimized – Specifically built for low timeframes (15s, 1m, 5m). By using barstate.islast and tuple-based request.security calls, it ensures zero lag and minimal resource usage.
📅 Daily Levels – Instantly plot Previous Day High (PDH) and Previous Day Low (PDL).
🗓️ Weekly Levels – Monitor Previous Week High (PWH), Previous Week Low (PWL), and Current Weekly Open (WO).
🔔 Individual Alert Management – Granular control over notifications. You can manually enable/disable alerts for each specific level to avoid "alert fatigue."
💎 Clean Visuals – Uses elegant dashed lines and non-intrusive labels with an optional price display for pinpoint accuracy.
🛠️ How to Customize Your Setup
1. Visibility & Visuals
Toggle Levels: Turn each level on or off independently in the settings.
Label Offset: Adjust the "3cm" margin by changing the bar offset to fit your screen perfectly.
Price Toggle: Show or hide exact price values next to the labels.
2. Individual Alert Toggles In the settings menu, you will find a 🔔 icon next to each level. You can manually choose which specific levels should trigger a notification:
Enable PDH alerts for breakout trades.
Keep Weekly Open alerts off if you only use it as a visual bias.
Focus only on what matters for your strategy!
❓ Why use this script?
Standard horizontal lines often disappear when you scroll back in time or clutter the immediate price action on lower timeframes. This script solves that by keeping labels fixed at the right margin, providing a professional trading interface similar to high-end institutional platforms. Whether you are at your desk or trading on the go, your key levels remain clear and "sticky."
🚦 Quick Setup Guide
Add to Chart: Save the script and add it to your favorite symbols.
Configure: Open settings and check the "Alert" box for your desired levels.
Create Alert: Press Alt+A, set Condition to this indicator, and select "Any alert() function call".
Trade: Receive precise, non-spammy notifications directly to your phone or desktop.






















