[SpaghettiForex] RO - Regime Oscillator RO — Regime Oscillator is a market-state tool that classifies price action into three regimes: TREND, RANGE, or CHOP.
It outputs a Regime Index (0–100) designed to measure how “directional and structured” the current environment is. RO is not an overbought/oversold oscillator and it does not generate trade entries. Its purpose is to provide context and help you decide how selective you should be with your execution rules.
What it shows:
- Regime Index (0–100): a smoothed score representing the current market state.
- Regime label: TREND / RANGE / CHOP (with optional background shading).
- Bias label: UP / DOWN / FLAT, derived from moving-average slope.
- Optional component breakdown in the table (ADX, BB width, ATR relative, slope).
________________________________________
Screenshots (examples):
Screenshot 1 — TREND regime (directional phase)
Example where RO stays in TREND during a sustained directional move.
The Regime Index remains high and the table shows a clear bias (UP or DOWN).
RO identifies a sustained directional phase as TREND (high index + clear bias).
Screenshot 2 — RANGE regime (mean-reverting phase)
Example where RO identifies a RANGE environment (lower index + low trend strength).
Useful to visualise when price is mostly oscillating rather than expanding directionally.
RO identifies a range environment with a low index and a flat bias.
Screenshot 3 — CHOP regime (mixed / noisy conditions)
Example where RO stays in CHOP when the market lacks clean structure.
This helps avoid forcing “trend logic” into random or unstable price action.
RO stays in CHOP when price action lacks clean structure and transitions are frequent.
________________________________________
How it works (high level):
RO combines four normalised components (0–1) into a weighted score, then smooths it:
1. ADX (trend strength)
2. Bollinger Band Width (compression/expansion)
3. Relative ATR (current volatility vs baseline)
4. MA Slope (magnitude) (directionality)
The resulting Regime Index is mapped into regimes using thresholds. An optional Early Trend mode reduces lag by allowing TREND to trigger earlier when ADX is rising and directional bias is present.
How to use it (context, not signals):
- Use RO to filter conditions: apply different rules in TREND vs RANGE vs CHOP.
- Combine RO with your own structure/levels and risk management.
- If you want a faster response, use Early Trend (enabled by default). If you prefer fewer regime flips, increase smoothing or raise thresholds.
Alerts:
RO includes alerts (bar-close confirmed) for:
- Regime changed
- Trend regime start
- Range regime start
- Chop regime start
Important note:
RO is a context tool. It does not provide financial advice or performance guarantees. Market regimes can change quickly and false transitions are possible—always use proper risk management.
Range
[SpaghettiForex] ABR - Activity Bar Range ABR — Activity Bar Range is a context indicator that highlights on the chart the High–Low range of the most recently active candle, selected within a user-defined lookback.
ABR does not use volume. It estimates activity purely from price movement (True Range or Absolute Return), normalised by ATR. The goal is to provide a clean, objective reference area showing where price has recently expressed the most meaningful impulse.
What it displays:
- An Activity Range Zone: the area between High and Low of the candle with the highest activity score in the selected lookback.
- Optional BRK (breakout) and BDN (breakdown) labels when price breaks the zone while meeting basic quality filters.
________________________________________
Screenshots (examples):
Screenshot 1 — Range context (no labels)
A sideways/ranging phase where ABR provides a single reference zone.
This is a context tool: the zone is the focus, not the signals.
Note: in Dynamic mode the zone updates when a new “highest activity” candle appears inside the lookback.
Screenshot 2 — Clean breakout (BRK)
Example of a BRK label on a breakout above the Activity Range Zone.
Recommended: signals set to bar-close only for cleaner real-time behaviour.
Screenshot 3 — Edge case / false breakout (honest limitation)
Example where a breakout attempt fails and price returns into the zone.
ABR helps with context, but it cannot eliminate false moves—risk management still matters.
________________________________________
How the Activity Range Zone is built:
1. ABR computes an activity score for each candle using either:
- True Range / ATR, or
- Absolute Return / ATR
2. Within the selected lookback, it finds the candle with the highest activity score.
3. It draws the High–Low range of that candle on the chart as the Activity Range Zone.
Practical use
ABR is designed as a context filter for breakout/breakdown reads:
- it can help reduce breakouts triggered on “empty” or low-quality areas,
- it keeps charts clean by providing one key zone at a time,
- it makes the question simple: “Is price truly breaking the range of the most active candle in the recent window?”
BRK / BDN labels (optional):
BRK/BDN labels are not financial advice and do not “decide” trades. They are visual markers triggered when a zone break meets user-defined conditions such as:
- bar-close confirmation (recommended to reduce historical vs real-time differences),
- minimum relative activity vs an SMA (ratio filter),
- close-position quality within the candle,
- minimum distance (ticks) beyond the zone.
Zone update behaviour (Lock Mode):
- Dynamic: the zone updates continuously to follow the most active candle within the lookback.
- Lock After Signal: after a BRK or BDN event, the zone can remain fixed for a more stable reference.
Main settings overview:
- Lookback and activity proxy (no volume)
- Signal filters (bar-close confirmation, activity ratio, candle quality, minimum distance)
- Lock Mode (dynamic vs locked after signal)
- Visual controls (zone fill/lines, colours, labels)
Important note:
ABR is a price-action context tool. It does not provide performance promises and should be used as part of a broader process and sound risk management.
Smart Ranges📌 Indicator Name
Smart Ranges – High, Mid & Low Zone Indicator
🎯 Purpose of the Indicator
The Ranges indicator automatically identifies and visualizes High Range, Mid Range, and Low Range price zones based on recent market structure.
It helps traders:
Identify premium (high) and discount (low) price areas
Understand where price is trading relative to its recent range
Improve decision-making for entries, exits, and risk management
⚙️ How the Indicator Works (Logic)
The indicator looks back over a fixed number of candles (default: 130).
It calculates:
Highest High → High Range
Lowest Low → Low Range
Midpoint → Mid Range
These levels are projected forward into future candles to act as reference zones.
A small ATR-based buffer is used to create slim, clean zone boxes instead of thick bands.
📊 Zones Explained
🟣 High Range (Premium Zone)
Based on the highest price in the lookback period
Represents a premium or upper extreme
Often used for:
Profit-taking
Short setups
Watching for reversals
⚪ Mid Range (Equilibrium Zone)
The average between high and low range
Acts as a balance or decision area
Price often reacts here before choosing direction
🟢 Low Range (Discount Zone)
Based on the lowest price in the lookback period
Represents a discount or lower extreme
Often used for:
Long setups
Accumulation areas
Bounce or reversal zones
📐 Inputs & Settings
Zone Lookback Length
Controls how many past candles are used to calculate ranges
(Default: 130)
Zone Forward Extension
Determines how far the zones project into the future
(Default: 30)
Zone Colors
Customize colors for High, Mid, and Low ranges
EMA 15 (Optional)
A short-term EMA can be displayed for trend context
(Disabled by default)
🧭 How to Use the Indicator
Add the indicator to your chart
Observe where price is trading:
Near Low Range → Discount area
Near Mid Range → Neutral / balance
Near High Range → Premium area
Use the zones as context, not signals:
Combine with price action
Use with trend, structure, or volume tools
Best results come when aligned with:
Higher timeframe bias
Market structure
Session behavior
🧪 Example
If price moves into the High Range zone after a strong rally, it may signal:
Reduced upside potential
Possible consolidation or reversal
If price enters the Low Range zone, it may indicate:
Discount pricing
Potential long opportunities (with confirmation)
⚠️ Important Notes & Limitations
This indicator does not repaint once the zone is drawn
Zones update only on the last bar
Should not be used as a standalone trading system
Always use proper risk management
📄 Disclaimer
This indicator is for educational and informational purposes only.
It does not constitute financial advice. Trading involves risk.
TradeCraftly - 4 Flag Pattern🚀 4 Flag
This indicator highlights **hidden market compression** by detecting a powerful **4-candle alternating pattern** where price remains tightly balanced between buyers and sellers.
It identifies sequences where candles **strictly alternate in direction** (Green-Red-Green-Red or Red-Green-Red-Green) while price stays **compressed within a shared Open-Close range**, filtering out noise and false consolidations using smart wick control.
The result is a **clean visual range box** that marks areas of **absorption, balance, and potential breakout energy**—often appearing just before strong directional moves.
---
### 💡 Ideal For
* Spotting **pre-breakout consolidation**
* Identifying **liquidity build-up zones**
* Timing **breakout or expansion trades**
* Enhancing entries with **VWAP, CPR, or session levels**
---
### ✅ Key Features
* Works on **any chart timeframe**
* **Non-repainting**
* Noise-filtered using **wick-to-body logic**
* Simple, clean, and **trader-focused**
Break asian range break alerts
- stratégie break ou réintégration possible avec alertes intégrées .
asian range break
LC Candle Size (Avg of Last 5)Candle Size (Avg of Last 5) is a lightweight volatility tool that measures the size of each candle and plots it as a histogram. It also calculates the average candle size of the last 5 bars to help identify expanding or contracting volatility.
Users can choose between:
• High–Low Range
• Candle Body (Open–Close)
• True Range
Ideal for scalpers and intraday traders who want a quick visual of momentum and candle strength.
CRT Market Structure Toolkit v4 ALEXCRT Market Structure Toolkit v4 — Developer Overview
CRT Market Structure Toolkit v4 is a public, protected TradingView indicator designed for discretionary traders who focus on market structure, liquidity, session behavior, and higher-timeframe (HTF) context.
The script combines multiple widely known institutional trading concepts into a single, highly configurable overlay.
It is intended to provide context and structural insight, not automated trading signals.
All logic is implemented in a protected format to prevent source-code access, while remaining fully usable as a public analysis tool.
Core Features
1. Previous Day High / Low (PDH / PDL) — Original Logic
Full 24-hour New York session tracking.
Dynamically records the true daily high and low.
Levels extend in real time until a liquidity sweep occurs.
Once swept:
Line style switches to dashed.
Level freezes permanently.
Optional clean labels that follow price until mitigation.
Configurable history depth.
PDH / PDL calculation, sweep detection, level freezing, and labeling behavior are original implementations.
2. HTF High / Low Sweep Levels — Original Logic
Tracks High / Low of any user-defined higher timeframe (default: 4H).
Levels extend forward and freeze after being swept.
Optional dynamically positioned labels.
Independent history controls.
HTF sweep logic and level lifecycle management are original to this script.
3. Fair Value Gaps (FVG) & Balanced Price Range (BPR)
Detection of bullish and bearish Fair Value Gaps using classic three-candle displacement logic.
Configurable filters:
Lookback window
Minimum gap size
Mitigation models (full, partial, or none)
Automatically highlights the nearest active FVG relative to price.
Marks Balanced Price Ranges (BPR) where bullish and bearish gaps overlap.
Credits / Inspiration
Fair Value Gap (FVG) and Balanced Price Range (BPR) concepts commonly used in institutional and ICT-style market structure methodologies.
4. Killzones (Sessions)
Time-based session boxes with dynamic high/low expansion.
Custom session times and colors.
Designed to integrate cleanly with PDH and HTF levels.
Credits / Inspiration
Killzone session concepts (Asia, London, New York).
5. Multi-Session Framework & Volume Profile
Up to six configurable global trading sessions.
Each session supports:
Visual box / area / line rendering
Session high and low
Optional Volume Profile
Volume Profile includes:
Point of Control (POC)
Value Area High / Low (VAH / VAL)
Low Volume Nodes (LVN)
Optional session status table (open / closed).
Credits / Inspiration
Session profiling and Market Profile / Volume Profile theory.
6. Auto Fibonacci Retracement
Automatic Fibonacci projection based on ZigZag pivots.
Dynamic deviation using ATR.
Supports extensions, custom levels, labels, and background fills.
Credits
Uses TradingView’s official ZigZag library (TradingView/ZigZag).
7. Opening Gaps (NWOG / NDOG)
New Week Opening Gap (NWOG)
New Day Opening Gap (NDOG)
Optional Consequent Encroachment (CE) and midpoint logic.
Historical gap management with cleanup routines.
Credits
Opening gap and consequent encroachment concepts used in institutional price delivery models.
8. HTF Candle Overlay (Advanced)
Higher timeframe candle reconstruction on lower timeframe charts.
Supports:
Multiple HTFs
Liquidity sweeps
Midpoints
FVGs and volume imbalances
HTF timers and bias filtering
Credits / Inspiration
Higher timeframe candle overlay and liquidity-based market structure methodologies.
9. SMT Divergence
Detection of Smart Money Technique (SMT) divergence between correlated instruments.
Pivot-based relative strength and weakness comparison.
Visual marking of bullish and bearish SMT conditions.
Credits
SMT divergence concept (inter-market analysis).
Design Philosophy
No trade signals.
No execution automation.
No repainting logic for decision levels.
State-aware drawings with controlled lifecycle management.
Built for discretionary traders prioritizing:
Market structure
Liquidity behavior
Higher timeframe bias
Session context
Usage, Visibility & Protection
Data Source & Instrument Note
Higher timeframe ranges (such as 4H highs and lows) may differ between futures and CFD instruments due to differences in data sources, session times, and candle construction.
This indicator calculates all levels based strictly on the selected symbol and its native data feed.
Users should be aware that HTF ranges and sweep behavior may not align perfectly across different instrument types, even when tracking the same underlying market.
This indicator is published as Public with Protected source code.
The script is fully usable by the public on TradingView charts.
Source code access, copying, modification, or derivative redistribution is not permitted.
The script is provided for personal, educational, and analytical use only.
It is not intended for commercial redistribution, resale, or inclusion in paid products or services.
Intellectual Property & Credits
PDH / PDL and HTF sweep systems are original implementations owned by the author.
Other components represent integrations or adaptations of publicly known trading concepts, credited at a conceptual level.
The script is built using original code and publicly documented methodologies only.
It does not contain or reuse any private, paid, or proprietary indicators or scripts.
Disclaimer
This script does not constitute financial advice and does not provide trade signals.
Trading involves risk. Users are solely responsible for their trading decisions and risk management.
Best settings for personal use :
imgur.com
Auto Decision Box PRO Auto Decision Box PRO
Auto Decision Box PRO is a rule-based market structure framework that identifies balance, expansion, breakout continuations, and failed breakout reversals using adaptive volatility and higher-timeframe structure logic.
The indicator automatically builds decision zones (“boxes”) after impulse moves and consolidation, then analyzes how price reacts around these zones to generate structured breakout and reversal signals.
By defining clear rules for balance, expansion, confirmation, and failure, this framework reduces subjectivity and allows traders to study repeatable market behavior.
Core Logic
Automatically builds structure boxes after impulse moves and periods of balance
Adaptive logic adjusts box size based on current volatility
Supports both breakout continuation and failed breakout reversal entries
Higher-timeframe box construction with lower-timeframe execution
Optional VWAP + EMA trend alignment and Supertrend filtering
Detects fake breakouts with delayed failure confirmation
Optional volume filter for breakout strength
Configurable ATR-based or fixed-value risk management
Optional RTH session filtering
All entries are confirmed by candle close; no discretionary drawing required
Strategy Behavior
Breakout entries occur only after confirmed structure breaks
Reversal entries trigger only after defined breakout failure behavior
Fake breakouts are filtered and can trigger early exits
Logic adapts dynamically to changing volatility conditions
Designed for structured decision-making, not prediction
This script does not place trades automatically; it is intended for analysis, backtesting, and discretionary execution support
Intended Use
Futures, indices, and liquid intraday markets
Traders seeking structure-based decision zones
Study breakout vs. rejection behavior
Backtesting and rules-driven execution frameworks
Access
Auto Decision Box is offered as a TradingView invite-only script.
Subscription management and billing are handled externally.
Ongoing Development
This script is actively maintained and updated with:
Continued logic refinement
Structural improvements
Additional filters and confirmations
Quality-of-life updates based on user feedback
Disclaimer
For educational and informational purposes only.
Not financial advice. Trading involves risk; past performance is not indicative of future results.
Use at your own discretion.
Step-by-Step Guide to Using Auto Decision Box PRO
Step 1: Understand What the Strategy Shows
Decision Box: Orange high/low lines with translucent fill, based on 15m “balance bars” after impulses. Box size uses ATR(20) and adapts to volatility. Manual override is available.
Supertrend (optional): Red = bearish, lime = bullish. Acts as entry filter.
Signals & Labels:
Breakout entries: BRC LONG / BRC SHORT
Reversal entries: REV LONG / REV SHORT
Rejection labels: LBR / SBR (optional)
Bar colors indicate failed breakouts (optional)
Static daily label: “Auto Decision Box” reminder
Trades: Simulated only (pyramiding=1, fixed quantity=1). Exits based on TP/SL.
Stats Table: Shows trades, wins/losses, and percentages for educational purposes.
Filters: Session limits, trend, Supertrend, volume, fake break detection.
Boxes form automatically after impulse → balance periods.
Step 2: Customize Settings
Box setup: Timeframe, ATR, impulse multiplier
Balance bars: Adaptive/manual override
Session filter: Enable/disable, set minutes after open
Modes: Breakouts & reversals
Risk management: ATR-based TP/SL or fixed values
Filters: Trend, Supertrend, volume, fake break
Appearance: Show/hide signals, labels
Strategy tab: Adjust quantity, capital, commission for backtesting
Step 3: Interpret and Use
Breakouts: Confirmed cross above box high → long; below low → short
Reversals: Fade fake breakouts (brief break above/below then reject)
Entries only during filtered sessions
Exits occur on TP/SL or failure detection
Focus on studying structure and behavior; performance varies by market and timeframe
Step 4: Alerts
Alerts available for entries and rejections
Add alerts via right-click → Add Alert → Select strategy → Frequency: Once per bar
Notifications via app/email
Step 5: Troubleshooting
No boxes/signals? Verify 15m data, session, and filters
Missing labels/colors? Enable in settings
Backtest skewed? Include commission/slippage
Limitations: Intraday/RTH focus; pyramiding=1
ADR**Overview**
This indicator displays the **Average Daily Range (ADR)** and **ADR Percentage** in a customizable table on your chart.
While the standard ATR (Average True Range) is a popular metric for volatility, it accounts for price gaps (e.g., overnight moves). **ADR**, on the other hand, strictly measures the average distance between the **High** and **Low** of price bars, completely ignoring gaps.
**Why use ADR instead of ATR?**
* **Day Trading:** For intraday traders (Forex, Crypto, Futures), ADR is often preferred because it calculates the "tradable" range of the day. It answers the question: *"On average, how much does this asset move from High to Low?"*
* **Target Setting:** ADR is excellent for projecting daily highs and lows. If price has already moved 100% of its ADR, the statistical probability of further extension decreases.
* **Pure Volatility:** It filters out the noise of overnight gaps to show pure intraday volatility.
**Calculation Logic**
* **ADR:** Calculated using a Simple Moving Average (SMA) of the `High - Low` range over the specified length.
* Formula: `SMA(High - Low, Length)`
* **ADR%:** Shows the ADR relative to the current price.
* Formula: `(ADR / Current Close) * 100`
**Features**
* **Clean Dashboard:** A minimalist table displays the ADR value and the ADR %.
* **Customizable:** You can change the calculation length (default is 14) and move the table to any corner of the chart (Top/Bottom, Left/Right) to fit your workspace.
**Settings**
* **ADR Length:** The lookback period for the average (Default: 14).
* **Display Position:** Choose where the table appears on your screen.
CRT Market Structure Toolkit v2What This Script Does
CRT Market Structure Toolkit v2 is a contextual market analysis tool designed to help traders visualize liquidity, market structure, and session-based behavior on the chart.
This script does not generate trade signals and does not automate entries or exits.
Its purpose is to provide objective reference levels and market context that traders can integrate into their own discretionary trading models.
Why This Is NOT a Simple Indicator Mashup
Although this script combines multiple analytical components, each module serves a specific role within a single, unified market structure framework.
All components are designed to work together to answer three core questions:
Where is liquidity located?
When has liquidity been taken (swept)?
During which sessions is price more likely to expand or react?
This makes the script a cohesive toolkit, not a random collection of indicators.
Core Concepts Used
This script is based on widely used market structure and liquidity concepts, including:
Previous Day High / Low (daily liquidity pools)
Higher Timeframe Highs & Lows
Liquidity sweeps (wick-based stop runs)
Fair Value Gaps (price imbalance)
Balanced Price Ranges (overlapping imbalances)
Session timing and volatility windows (Killzones)
Module Explanation
1. Previous Day High / Low (PDH / PDL – New York Session)
Tracks the full 24-hour New York trading day
Projects previous day highs and lows forward
Detects when price wicks above or below these levels
Swept levels remain visible and change style for clarity
These levels are commonly used to identify daily liquidity targets.
2. Higher Timeframe Highs & Lows
Allows the user to select any higher timeframe (e.g. 4H)
Projects completed HTF highs and lows onto lower timeframes
Detects liquidity sweeps on these HTF levels
Each level maintains its own sweep state
This helps traders align lower timeframe execution with higher timeframe structure.
3. NY Midnight Open
Marks the New York midnight opening price
Acts as a daily equilibrium reference
Resets automatically every New York trading day
This level is often used for bias and mean reversion analysis.
4. Fair Value Gap (FVG) Detection & Nearest FVG Selection
Identifies bullish and bearish Fair Value Gaps using a 3-bar displacement model
Filters FVGs based on:
Lookback period
Minimum price gap
User-defined mitigation rules
Displays only the nearest valid FVG to current price
Detects Balanced Price Ranges (BPR) when bullish and bearish FVGs overlap
This module helps visualize price imbalance and potential reaction zones, not entries.
5. Killzones (Session-Based Analysis)
Highlights user-defined time windows (sessions)
Draws dynamic boxes that expand with price
Helps traders focus on periods where volatility and liquidity are typically higher
Sessions are fully configurable.
Liquidity Sweep Configuration
Lower Timeframe (LTF) sweeps can be filtered by specific hours or minute ranges, allowing traders to focus only on liquidity events relevant to their strategy.
Daily PDH / PDL levels are fixed to the full New York trading day and are not adjustable, ensuring consistency.
How This Script Is Intended To Be Used
This script is meant to be used as a visual decision-support tool, alongside:
Price action analysis
Risk management rules
A personal trading plan
It does not replace trader judgment and should not be used in isolation.
Disclaimer
This script is provided for educational and analytical purposes only.
It is not a signal indicator, does not provide trading advice, and does not guarantee any trading outcome.
All trading decisions and associated risks remain entirely the responsibility of the user.
The developer assumes no liability for losses or damages resulting from the use of this script.
Final Notes for Moderation
This script is original in structure and implementation
All components are intentionally integrated into a single market structure framework
Weekly IR Breakout SignalsInspired by XO (@Trader_XO) on CT for his trading strategy
and special thanks to REBO (@@R3BOOO) for putting it together in a cheat sheet and sharing it
contact me on X: @neuromancer0x
-------------------------------------------
Timeframe Recommendations:
1H chart - Day trading (5-10 signals/month)
4H chart - Swing trading (2-5 signals/month) ⭐ Best
Daily chart - Position trading (1-2 signals/month)
-------------------------------------------
When Signals Appear:
Monday: No signals (just setting up IR)
Tuesday-Friday: Watch for breakouts
Max 1 LONG + 1 SHORT per week (indicator enforces this)
-------------------------------------------
Risk Management:
Risk 0.5-1% per trade
Never risk more than 2% in one day
If 2 losses in a row → reduce size or pause
-------------------------------------------
🔔 Setting Up Alerts
Click "Create Alert" (⏰ icon)
Condition: Select "🟢 LONG Entry" or "🔴 SHORT Entry"
Alert name: "Weekly IR Signal"
Set to: "Once Per Bar Close"
Send to: Phone/Email/App
ATR with History (Red/Yellow Style)Gives you last 20 candles ATR (Red Line) , and averages the last 2 weeks' ATR at your current time (Yellow Line)
15 Zaman Kutusu ve 10 Zaman Acilisi15 Range Boxes & 10 Open Lines
This indicator is a comprehensive technical analysis tool designed to track specific time intervals (Sessions, Killzones) and critical opening prices on your chart.
Key Features:
15 Custom Range Boxes: Individual settings for color, time, and labels.
10 Open Price Lines: Track daily, weekly, or session opens.
Smart History Limit: "Son X Kutuyu Goster" feature preventing lag and flickering.
Pips Display: Automatically calculates and displays the range width in pips.
Minimalist Mode: Hides details when "Cok Kucuk" label size is selected.
Language: Fully Turkish menu settings.
Note: Inspired by Nephew Sam's concept, coded from scratch with performance optimizations and additional features.
DISCLAIMER This indicator is for educational purposes only. It does not constitute financial advice or trading signals. Use at your own risk.
Range Finder Speed CodingThis indicator is based on a Range Filter concept and helps traders identify market direction and strength.
It provides clear information about candle structure, including candle count and range behavior, which helps in understanding price movement more accurately.
The indicator is useful for spotting trend continuation and potential entry zones in ranging and trending markets.
Best suited for intraday and swing trading.
Works well on Forex, Crypto, and Stock markets.
Disclaimer:
This indicator is for educational purposes only. Trading involves risk. Please use proper risk management.
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 🤙
StO Price Action - Daily Outside BarShort Summary
- Outside Bar indicator with multiple range calculation algorithms
- Highlights where the current range fully engulfs the previous
- Works with Daily candles in Daily, H4, and H1 timeframes only
- Highlights the current bar when it engulfs the previous bar according to the selected method
Full Description
Overview
- Identifies bars where the current period's range fully engulfs the prior period's range
- Offers three algorithms for defining the engulfing range:
- High/Low: uses absolute high and low values
- Open/Close: considers candle direction (bull/bear) and compares opens and closes
- Open/Close II: stricter version with exclusive inequalities for engulfing
- Engulfing behavior is detected automatically and highlighted for easy recognition
- Works on multiple markets but restricted to D, H4, and H1 charts for accuracy
Controls
- Year lookback (YLB) configurable to filter older bars
- Custom background color for highlighting Outside Bars
- Simple toggle interface with minimal chart clutter
Visual Representation
- Highlights engulfing bars with configurable background color
- Color transparency adjustable for clarity
Usage
- Use to identify strong market momentum or potential reversals
- Helps spot high-probability setups based on engulfing price action
Notes
- Only compatible with Daily, H4, and H1 timeframes
- Non-repainting: once an Outside Bar is drawn, it will not adjust retroactively
- Best used as a market structure reference not a direct trade signal
Tokyo Sessions HighlighterOverview
This indicator provides a clean, visual representation of the Asian (Tokyo) trading session by highlighting its specific price range. It is designed to help traders identify the initial intraday range and key liquidity levels established during the Tokyo open.
Features
Dynamic Range Box: Automatically plots a box from the session's highest high to its lowest low.
Real-Time Updates: The box height and price labels update live as new session extremes are reached during the designated hours.
Professional Aesthetic: Features a minimalist gray fill, solid black borders, and black text for a clean, professional look on both light and dark chart themes.
Instant Data: Displays a label at the bottom of the box showing the exact price range in the format: Tokyo (Lowest Value - Highest Value).
How To Use
Settings: Adjust the Tokyo Session Time and Timezone in the indicator inputs to match your broker's server time or local requirements.
Strategy: Use the highlighted range to identify potential breakouts or to treat the session high and low as institutional liquidity zones for the London and New York sessions.
Customization: You can adjust the colors and transparency of the box through the script settings menu.
DAX 9-10 Breakout Strategy IndicatorOpening Hour Breakout (ORB) indicator for intraday trading.
WHAT IT DOES:
• Identifies the price range of a specific hour (default: 9:00-10:00)
• Detects breakout direction (Long/Short) when price breaks above HIGH or below LOW
• Automatically calculates Take Profit and Stop Loss zones based on range size
• Tracks trade outcome (Win/Lose) when TP or SL is hit
HOW TO USE:
1. Set the session hour according to your chart's timezone
2. Wait for the session range to form (yellow box)
3. Enter on breakout above HIGH (Long) or below LOW (Short)
4. TP and SL levels are automatically calculated
DEFAULT SETTINGS:
• TP Multiplier: 1.41x range (Risk:Reward ≈ 1:2.7)
• SL Multiplier: 0.52x range
FEATURES:
• Works on any timeframe (H1, M15, M30, etc.)
• Visual zones for session range, TP, and SL
• Price labels for all key levels
• Entry arrows and direction letters (L/S)
• Win/Lose markers (W/X) when trade closes
• Fully customizable - show/hide any element
• Info panel with live status and R:R ratio
• Alert conditions for Entry, TP hit, SL hit
BEST USED ON:
• DAX (Germany 40)
• Other indices: US30, US500, NAS100
• Forex majors during London/NY open
NOTE: This is an indicator for visual analysis. Use the Strategy version for backtesting.
Golden Session ORB - Execution & Visualization Tool🎯 Optimize Your Execution with Golden Session ORB
The Golden Session ORB is a technical execution tool designed for traders who specialize in Opening Range Breakouts. Its primary goal is to provide a clean, professional visualization of liquidity levels across the three most critical trading sessions: Asia (18:00), NYC Pre-Market (08:00), and the Wall Street Open (09:30).
This script is not an automated signal system. It is a decision-support tool that manages range levels and visual structure, allowing the trader to focus exclusively on price action analysis and high-quality execution.
⏱️ Recommended Timeframes For optimal performance and precise box formation, this indicator should be used on:
1 Minute (1m): Ideal for observing the fine details of range formation and breakout precision.
15 Minutes (15m): Ideal for a clearer structural perspective of the session’s development.
💎 Key Features:
Automatic Multi-Session Structure: Automatically identifies and plots support and resistance levels from the opening minutes of each session.
Dynamic Extended Boxes: Ranges project forward automatically to help you identify key supply and demand zones throughout the day.
"Intention Candle" Visual Aid (Optional): The script highlights candles that show a confluence of volume and trend alignment (EMAs).
Note: These highlighted candles are NOT buy/sell alerts. They are a visual guide to help you identify moments of potential interest based on your own criteria.
📊 Backtesting & Risk Management This tool is perfect for manual backtesting, allowing you to study how price historically reacts to each session's levels.
Trading Recommendation: While opening range breakouts can lead to massive expansions, markets remain volatile. It is highly recommended to secure partial profits during the move and actively manage your risk to protect your capital from sudden price reversals.
Range Indicator Golden Pocket, Liquidity, FairValueGapOverview
This indicator is a comprehensive institutional market structure toolkit. It is designed to identify high-probability reversal zones by merging three powerful technical analysis concepts: Fibonacci Golden Pockets (61.8% - 65%), Liquidity Pool Analysis (Swing Failure Patterns), and Fair Value Gaps (FVG). By automating the detection of price inefficiencies and "stop runs," it helps traders navigate complex price action with objective, rule-based confirmation.
What the Script Does
The script continuously monitors a user-defined lookback period to define a trading range. Within this range, it dynamically plots:
Golden Pockets: High-confluence retracement zones (calculated as 0.35 - 0.382 internal range levels).
Liquidity Zones: Highlighted regions at the absolute high and low (Top/Bottom 5%) where institutional orders and retail stops are typically concentrated.
Swing Failure Patterns (SFP): Real-time detection of liquidity grabs where price breaches a range extreme but fails to close outside, signaling a potential trap.
Fair Value Gaps (FVG): Visualizes 3-candle price imbalances, showing areas of aggressive buying or selling that often act as future magnets or support/resistance.
2-Candle Confirmation: A momentum-based filter requiring a candle-close confirmation before a reversal signal is generated.
For Whom is it?
Smart Money Concepts (SMC) & ICT Students: Traders looking for automated liquidity sweeps and market inefficiencies.
Fibonacci & Mean Reversion Traders: Those seeking a clean, professional visualization of the Golden Pocket across multiple timeframes.
Systematic Day Traders: Who require strict price-action confirmation (SFP and 2-candle rules) to remove emotional bias from their entries.
Functions and Input Options
1. Market Structure & Visuals
Lookback Period (Default: 100): Defines the window for calculating the range extremes.
Box Offset Right (Default: 50): Extends all zones into the future for better anticipatory trading.
Show Price Lines & Labels: Displays the exact price for every zone boundary on the right axis for precise execution.
2. Fair Value Gap (FVG) Settings
Show Fair Value Gaps: A toggle to enable/disable the plotting of price imbalances.
FVG Extension (Default: 10): Determines how many bars into the future the FVG box remains visible.
Custom Colors: Separate color inputs for Bullish (Gap Up) and Bearish (Gap Down) inefficiencies.
3. Professional Alert System
The script includes five specific alert conditions:
GP Touch: Early warning when price enters a Golden Pocket.
2-Candle Pattern: Confirmed momentum shift within a Golden Pocket.
SFP Long/Short: Alerts when a Liquidity Grab (Swing Failure) is confirmed at the range high or low.
Transparency and Compliance (Moderator Info)
Non-Repainting Logic: All signals (SFP, 2-Candle, and FVG) are calculated and triggered based on confirmed candle closes. Drawings use barstate.islast purely for visual efficiency without altering historical data integrity.
Educational Context: The script visualizes well-known market principles (Fibonacci, SFPs, and FVGs) to aid traders in their analysis; it does not provide automated financial advice or "black-box" buy/sell signals.
Resource Management: Optimized for Pine Script v5, using efficient array and box handling to ensure smooth performance even on lower timeframes.
Range Breakout Statistics [Honestcowboy]⯁ Overview
The Range Breakout Statistics uses a very simple system to detect ranges/consolidating markets. The principle is simple, it looks for areas where the slope of a moving average is flat compared to past values. If the moving average is flat for X amount of bars that's a range and it will draw a box.
The statistics part of the script is a bit more complicated. The aim of this script is to expand analysis of trading signals in a different way than a regular backtest. It also highlights the polyline tool, one of my favorite drawing tools on the tradingview platform.
⯁ Statistics Methods
The script has 2 different modes of analyzing a trading signals strength/robustness. It will do that for 2 signals native to the script.
Upper breakout: first price breakout at top of box, before max bars (100 bars by default)
Lower breakout: first price breakout at bottom of box, before max bars
The analysis methods themselves are straightforward and it should be possible for tradingview community to expand this type of analysis to other trading signals. This script is a demo for this analysis, yet some might still find the native signals helpful in their trading, that's why the script includes alerts for the 2 native signals. I've also added a setting to disable any data gathering, which makes script run faster if you want to automate it.
For both of the analysis methods it uses the same data, just with different calculations and drawing methods. The data set is all past price action reactions to the signals saved in a matrix. Below a chart for explaining this visually.
⯁ Method 1: Averages Projection
The idea behind this is that just showing all price action that happened after signal does not give actionable insights. It's more a spaghetti jumble mess of price action lines. So instead the script averages the data out using 3 different approaches, all selectable in the settings menu.
Geometric Average: useful as it accurately reflects compound returns over time, smoothing out the impact of large gains or losses. Accounts for volatility drift.
Arithmetic Average: a standard average calculation, can be misleading in trading due to volatility drift. It is the most basic form of averaging so I included it.
Median: useful as any big volatility huge moves after a signal does not really impact the mean as it's just the middle value of all values.
These averages are the 2 lines you will find in the middle of the projection. Having a clear difference between a lower break average and upper break average price reaction can signal significance of the trading signal instead of pure chaos.
Outside of this I also included calculations for the maximum and minimum values in the dataset. This is useful for seeing price reactions range to the signal, showing extreme losses or wins are possible. For this range I also included 2 matrices of highs and lows data. This makes it possible to draw a band between the range based on closing price and the one using high/low data.
Below is a visualisation of how the averages data is shown on chart.
⯁ Method 2: Equity Simulation
This method will feel closer to home for traders as it more closely resembles a backtest. It does not include any commissions however and also is just a visualisation of price reaction to a signal. This method will simulate what would happen if you would buy at the breakout point and hold the trade for X amount of bars. With 0 being sell at same bar close. To test robustness I've given the option to visualise Equity simulation not just for 1 simulation but a bunch of simulations.
On default settings it will draw the simulations for 0 bars holding all the way to 10 bars holding. The idea behind it is to check how stable the effect is, to have further confirmation of the significance of the signal. If price simulation line moves up on average for 0 bars all the way to 10 bars holding time that means the signal is steady.
Below is a visualisation of the Equity Simulation.
⯁ Signal filtering
For the boxes themselves where breakouts come from I've included a simple filter based on the size of the box in ATR or %. This will filter out all the boxes that are larger top to bottom than the ATR or % value you setup.
⯁ Coloring of Script
The script includes 5 color themes. There are no color settings or other visual settings in the script, the script themes are simple and always have colors that work well together. Equity simulation uses a gradient based on lightness to color the different lines so it's easier to differentiate them while still upper breaks having a different color than lower breaks.
This script is not created to be used in conjunction with other scripts, it will force you into a background color that matches the theme. It's purpose is a research tool for systematic trading, to analyse signals in more depth.
Metaverse color theme:
⯁ Conclusion
I hope this script will help traders get a deeper understanding of how different assets react to their assets. It should be possible to convert this script into other signals if you know how to code on the platform. It is my intention to make more publications that include this type of analysis. It is especially useful when dealing with signals that do not happen often enough, so a regular backtest is not enough to test their significance.
CRT Scribe [Hammer Geek]CRT Scribe — Candle Range Theory Sweep Tracker (HTF → LTF)
A tool for mapping high-timeframe Candle Range Theory sweeps onto any lower chart and tracking their key price objectives.
Core Function
Detects Candle Range Theory (CRT) liquidity sweeps on a user-selected higher timeframe
Plots and tracks CRT target levels automatically on any lower timeframe
What It Marks on the Chart
When a valid HTF sweep forms and the candle closes:
Broom emoji at the sweep high/low
Triangle marker showing sweep direction
Signal candle range box projected forward in time
Three CRT targets, each labeled with TF tag:
Signal Target
Reference Target (midpoint of prior HTF candle)
Trend Target (50% sweep → prior swing)
Labels update dynamically to show Target Hit when tagged by price.
Tracking Logic
Targets remain active until:
✔ All three are hit, then auto-clear, or
✔ A new valid HTF sweep replaces them
Optional Enhancements (Toggle Control)
Opposite-Color Mode
Only triggers sweeps if the close is opposite color vs prior candle
Directional Persistence Mode
Ignores same-direction sweeps unless they push a new extreme
(higher-high for bearish, lower-low for bullish)
Purpose
Use high-timeframe liquidity sweeps as:
Bias anchors
Objective levels
Price magnets
Lower-timeframe entry/location guides
*** This is not financial advice, this is not trading advice, I'm not even guaranteeing that this is good candle range theory.
MidZone Breakout Pro 🚀 MidZone Breakout Pro — Smart Balance Zone Signals
🧭 Equilibrium-Based Market Insight
MidZone Breakout Pro identifies key balance levels in the market and highlights directional opportunities when price decisively moves away from equilibrium.
📐 Dynamic Midpoint Zone Mapping
Automatically plots a central price balance zone derived from recent market ranges, helping traders visualize fair value and expansion areas.
🎯 Clear Buy & Sell Signals
Generates clean bullish and bearish signals when price exits the balance zone with momentum.
🎨 High-Visibility Zone Visualization
Color-coded zones, background shading, and bold signal markers provide instant clarity without chart clutter.
🎚 Customizable Sensitivity
Adjustable lookback period and zone width allow seamless adaptation across scalping, intraday, and swing trading.
🕰 Non-Repainting Signals
All signals are calculated using confirmed price action and remain stable on historical charts.
⚡ Lightweight & Fast Performance
Optimized design ensures smooth performance across all instruments and timeframes.
🛠 How to Use (Safe Version)
📉 **Buy Signal**: Appears when price moves strongly above the balance zone
📈 **Sell Signal**: Appears when price moves strongly below the balance zone
🟨 **Neutral Zone**: Indicates consolidation or equilibrium conditions
Best used in combination with trend direction, support/resistance, or volume confirmation.
⚠️ Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice. Always apply proper risk management.






















