Market Regime Flip (Dunk)This indicator is a trend regime flip tool built on top of MACD. Instead of reacting to every little wiggle, it waits for several bars in a row where the MACD stays either above or below zero (by default, 3 consecutive bars). When the MACD has been above zero for 3 bars, it declares a bull regime and marks that bar on the price chart with a green “BULL” triangle above the candle. When the MACD has been below zero for 3 bars, it declares a bear regime and marks that bar with a red “BEAR” triangle below the candle. It also lightly colors the chart background green in bull regimes and red in bear regimes, so you can see at a glance which side of the market you’re in.
In other words, it turns the MACD’s usual “above/below zero” behavior into a clean, slower-changing on/off regime switch. Instead of giving you constant signals, it focuses on the moments where momentum truly shifts and sticks around for a few bars, helping you avoid getting faked out by single-bar noise. The alerts are wired to those flip moments, so you can get notified when the market transitions from bearish to bullish (or vice versa) according to this MACD-based regime logic.
Candlestick analysis
MSS + Multi FVG TrackerMSS + Multi FVG Tracker
Description
An advanced institutional trading tool that combines Market Structure Shift (MSS) detection with multi-level Fair Value Gap (FVG) tracking. This indicator identifies breakouts of previous swing highs/lows on higher timeframes, then systematically tracks and validates multiple FVGs within each trend direction, generating precise entry signals when price respects the gap structure.
How It Works
Higher Timeframe Trend Detection
The indicator analyzes a higher timeframe (default 15-minute) to determine the overall bias, displaying background colors that show bullish or bearish directionality. This ensures you only trade with institutional trend direction.
Market Structure Shift (MSS/BOS)
When price closes above a previous swing high (in uptrends) or below a previous swing low (in downtrends), a BOS (Break of Structure) is marked with a line and label. This signals that the institutional structure has shifted and a new trend impulse is beginning.
Multi-Level FVG Tracking
Once an MSS occurs:
The indicator begins scanning for Fair Value Gaps (gaps between candles where no trading occurred)
Bullish FVGs: Gaps above the closing price of a bearish candle (low > high )
Bearish FVGs: Gaps below the closing price of a bullish candle (high < low )
Multiple FVGs are tracked simultaneously (up to 5 configurable) across the same impulse
Intelligent FVG Validation
Each FVG is continuously monitored:
Invalidated: If price closes through the gap (below a bullish FVG or above a bearish FVG), it's automatically deleted
Touched: If price enters the gap zone, it's marked as "touched"
Signal Generated: When a touched FVG shows strong directional confirmation (bullish candle closing above the FVG top, or bearish candle closing below the FVG bottom), a LONG or SHORT signal is triggered
Key Features
HTF Trend Confirmation: Only trades aligned with higher timeframe bias (eliminates counter-trend noise)
Multi-FVG Architecture: Tracks up to 5 gaps per trend impulse simultaneously
Automatic Gap Invalidation: Removes FVGs that break below/above, keeping only valid levels
Smart Signal Generation: Entry signals require both FVG respect + directional confirmation
Color-Coded Structure: Bullish signals in green, bearish in red with instant visual clarity
Background Trend Visualization: Subtle background shading shows HTF bias at all times
Customizable Parameters: Adjust swing period, HTF timeframe, and max FVGs to track
Ideal For
ICT Smart Money traders using FVG + MSS methodologies
Institutional order flow analysts trading market structure
Multi-timeframe traders looking for confluence-based entries
Scalpers to swing traders on 5-minute to 1-hour charts
Anyone seeking high-probability setups with clear invalidation rules
Trading Applications
Scalp FVG reversals: Enter when price respects a touched FVG with confirmation
Trade impulses with structure: Follow MSS with FVG confluence for institutional-grade entries
Identify pullback opportunities: Track multiple FVGs during retracements for re-entry zones
Confirm breakout validity: Only take breaks when aligned with HTF trend + FVG structure
Avoid false breakouts: Invalidated FVGs signal that the move is losing structure
How to Use
Wait for the MSS: Background color shift + BOS line confirms market structure break
Monitor FVG Creation: Boxes appear as gaps form within the new impulse
Watch for Invalidation: Red boxes disappear if price breaks the gap—signal invalid
Wait for Touch + Confirmation: FVG must be touched AND show strong directional candle
Take the Signal: Triangle entry markers appear with audio/visual alerts
Clear Risk Management: Use the invalidated FVG level as your stop loss
Signal Strength Indicators
Strongest Setup: Multiple FVGs created + one respects while others invalidate (shows structure)
Medium Setup: Single FVG touched and confirmed
Weaker Setup: Quick touch with weak confirmation candle (wait for better structure)
Customization Options
HTF Timeframe: Change from 15-min to 5, 30, 60 min or higher for different trading styles
Swing Period: Adjust from 10 bars for faster detection to 20+ for structural shifts
Max FVGs: Track 1-5 simultaneous gaps (lower = cleaner, higher = more opportunities)
Colors: Customize bullish/bearish colors to match your chart theme
Default Settings Optimized For
NASDAQ futures and liquid forex pairs
5-minute to 1-hour timeframe trading
Smart Money / ICT methodology
High-probability impulse + gap trading
Pro Tips
The cleaner your chart (fewer invalidated FVGs), the stronger the structural move
Multiple valid FVGs in one impulse suggest institutional accumulation/distribution
HTF background color changes are early warnings of trend structure shift
Best setups occur when 2-3 FVGs exist and one shows clear confirmation
Equal Highs/Lows Multi-Pivot [Julio]Equal Highs/Lows Multi-Pivot
Description
A sophisticated multi-timeframe pivot analysis tool that detects and highlights equal highs and equal lows across four different pivot lengths simultaneously. This indicator identifies price levels where the market creates identical extremes, a powerful signal of institutional support/resistance and potential reversal or breakout zones.
How It Works
Four Independent Pivot Streams
Pivot 1 (Intraday - 2 bars): Ultra-fast level detection for scalpers
Pivot 2 (Session - 4 bars): Short-term swing levels
Pivot 3 (Daily - 6 bars): Medium-term structural levels
Pivot 4 (Weekly - 9 bars): Long-term institutional levels
Equal High (EQH) Detection
Compares consecutive swing highs and draws a line when two highs are nearly identical within a defined threshold. The indicator uses ATR-based confluence to determine "equality," filtering out noise while catching true market structure.
Equal Low (EQL) Detection
Same logic applied to swing lows, identifying support zones where price repeatedly fails to break below previous lows.
Key Features
Four Simultaneous Timeframes: Analyze intraday, session, daily, and weekly structures all on one chart
ATR-Based Confluence Threshold: Automatically adjusts sensitivity based on current volatility (no fake signals)
Color-Coded Levels: Each pivot length has distinct colors for instant visual identification
Highs: Red, Orange, Yellow, Fuchsia
Lows: Green, Blue, Aqua, Purple
Confirmation Mode: Optional setting to wait for full pivot confirmation before marking levels
Customizable Alert Zones: Toggle individual pivot lengths on/off to reduce clutter
Smart Label Positioning: Labels auto-center between the two equal pivots for clarity
Ideal For
Swing traders tracking support/resistance across multiple timeframes
Scalpers identifying micro-structure for quick entries and exits
Market structure analysts studying institutional price action patterns
Multi-timeframe traders needing confluence from intraday to weekly levels
Anyone trading 1-minute to 4-hour charts
Trading Applications
Identify strong support/resistance zones: Equal levels = confirmed institutional levels
Confirm trend reversals: Multiple equal lows = strong accumulation zone; multiple equal highs = distribution
Plan entries with precision: Enter near equal levels for higher probability setups
Detect liquidity concentration: Where price repeatedly tests the same level
Multi-timeframe confluence: Look for equal levels across multiple pivot lengths for ultra-strong zones
How to Use
Identify the equal levels: Color-coded lines instantly show where price creates matching extremes
Check for confluence: Strong setups occur where multiple pivot lengths align
Wait for price action: Watch for breakouts through equal levels or reversals at these zones
Enter with structure: Use equal levels as entry/exit triggers combined with your trading methodology
Manage with confidence: These levels mark institutional decision points
Customization Options
Adjust pivot lengths to match your preferred timeframe structure
Set ATR threshold sensitivity (lower = stricter equality, higher = more signals)
Toggle confirmation mode for additional filter
Enable/disable individual pivot streams to reduce visual clutter
Customize colors to match your chart theme
Default Settings Optimized For
NASDAQ futures and liquid forex pairs
Intraday and swing trading (1-minute to 4-hour charts)
Smart Money / ICT trading methodologies
Volatility-adjusted confluence detection
Asia & London Session Boxes (NY Time) + 4H SwingsAsia & London Session Boxes + 4H Swings
Description
A multi-timeframe session analysis tool designed for forex and futures traders operating on NY time. This indicator visualizes major trading sessions with automatic high/low range boxes while simultaneously tracking 4-hour swing levels, giving you a complete picture of institutional trading activity and key price levels.
How It Works
Session Boxes (NY Time Zone)
Asia Session (20:00 – 00:00 NY): Blue-shaded box marking the complete range from open to close
London Session (02:00 – 06:00 NY): Yellow-shaded box capturing the high-volatility London open
Each session box automatically records the highest high and lowest low during that timeframe, providing instant reference for session extremes and potential supply/demand zones.
4-Hour Swing Levels
Detects swing highs and lows on a 30-minute timeframe for ultra-responsive level identification
Red lines: Swing highs (resistance levels)
Green lines: Swing lows (support levels)
Lines extend to the right for continuous monitoring
Auto-removes touched levels: When price breaches a swing, it automatically deletes that level to keep your chart clean and focused on active levels
Key Features
Session-Based Trading Analysis: Identify which session created important price levels and ranges
Multi-Timeframe Architecture: Analyzes 30-minute swings while tracking 4-hour patterns on your current chart
Smart Level Cleanup: Touched swings automatically remove themselves, eliminating clutter
NY Time Conversion: All times automatically adjust to your NY timezone for consistency
Institutional Perspective: View exactly where institutions are trading during major session hours
Zero Lag Detection: Real-time identification of swing extremes
Ideal For
Forex traders (especially EUR/USD, GBP/USD) targeting session breakouts
Scalpers and swing traders needing precise support/resistance levels
Market structure traders analyzing institutional price action
Session traders looking to trade Asia/London opens
1-minute to 4-hour timeframe charts
Trading Applications
Trade Asia session breakouts into London
Identify liquidity zones from previous sessions
Detect swing extremes for entry/exit planning
Confirm trend direction using multi-session structure
Find support/resistance on intraday pullbacks
Default Settings Optimized For
NASDAQ futures and forex pairs
Scalping and short-term swing trading
NY timezone trading (automatically converts UTC-4)
30-minute swing detection for precise level identification
RT-Custom Clouds|RSI|HMA|GPIntroduction
The RT-Custom Clouds|RSI|HMA|GP indicator is a multipurpose toolkit that combines custom Ichimoku clouds, custom RSI-based overlays, RSI Top/Bottom signals, Hull Moving Averages and automated Fibonacci Golden Pocket zones into a single indicator. It is designed to give traders flexible ways to view trend, momentum, and key zones on the chart.
This publication walks through each major component of the RT-Custom Clouds|RSI|HMA|GP indicator and how traders commonly use them.
Custom Ichimoku Clouds
The top section of RT Custom Clouds focuses on Ichimoku-style clouds. Traders can choose between different cloud variants and control whether they want the full Ichimoku toolkit or only the cloud itself on the chart.
A single toggle controls the cloud display: Cloud Only (All Versions) - When enabled, only the selected cloud is displayed. Core Ichimoku lines are hidden so traders who prefer a clean cloud view can keep their charts simple. Traders can select between three cloud styles: Josh Olszewicz Cloud (Preferred) - Uses a doubled parameter set inspired by the well-known Ichimoku variant popularized by Josh Olszewicz.
Standard Cloud - Uses the classic Ichimoku settings familiar from most charting platforms.
Custom Cloud - Allows full control over the main Ichimoku inputs:
Custom Conversion Line Length
Custom Base Line Length
Custom Leading Span Length
Custom Displacement
These options let traders move between a standard Ichimoku view, a doubled parameter variant, or a fully customized configuration tuned to their own style.
Custom RSI X's and RSI Bot Signals
The RT-Custom Clouds|RSI|HMA|GP indicator also includes an RSI X overlay that plots RSI information directly onto price candles instead of keeping it in a separate lower pane. This makes it easier to see momentum shifts and extended conditions without constantly looking down at another indicator. RSI Colors
Instead of drawing RSI as a line, the tool places colored X markers on candles to reflect RSI behavior. These markers use an adapted version of the Rainbow Trends color system. To keep candle colors and RSI markers visually distinct, the original Rainbow Trends color code is inverted for RSI. This inversion helps traders quickly distinguish between the underlying trend colors and the RSI-driven overlays: RSI Settings
The RSI section includes a focused set of options to tune how the X markers behave and how the RSI Bot interprets momentum:
RSI "X" Marker Sensitivity - Adjusts how sensitive the X markers are to RSI changes. Higher or lower values will change how often markers appear.
RSI Length - Controls how many candles are used when calculating RSI. The default value is similar to traditional 14-period RSI, but can be adjusted.
RSI Markers On/Off - Toggles the colored X markers on or off.
RSI Top/Bottom Signals On/Off - Toggles the RSI Bot signals that mark potential tops and bottoms.
RSI Overbought On/Off - Enables or disables overbought style X markers.
RSI Oversold On/Off - Enables or disables oversold style X markers.
RSI Bot - Tops And Bottoms
Over time, traders using this tool wanted a way to summarize longer stretches of RSI activity into clear signals. The RSI Top/Bottom Bot does this by watching runs of RSI X markers and waiting for those runs to pause.
Conceptually, the RSI Bot: Monitors when a strong sequence of RSI X markers is printing in one direction.
Waits for a candle where no RSI X marker appears after that run.
Marks that candle as a potential RSI Top or RSI Bottom, since the prior RSI pressure has paused and a reversal may start. These signals can be tied to TradingView alerts using standard alert conditions so traders can monitor major shifts in RSI behavior without watching every bar. Alerts can be set for either RSI Top signals or RSI Bottom signals. Hull Moving Average (HMA)
The RT-Custom Clouds|RSI|HMA|GP indicator also includes a Hull Moving Average component inspired by early users of Rainbow Trends tools who relied on tuned HMAs for trend context. The HMA implementation follows common definitions of the Hull Moving Average and can be configured with user-defined lengths. Many traders using this tool treat the HMA as a secondary trend filter or confirmation layer alongside other Rainbow Trends indicators. For example: Watching whether price is trading above or below a longer HMA to frame bullish or bearish bias.
Studying how price interacts with the HMA during extended trends or range rotations.
HMA Cross Alerts And Divergences
The tool can also draw and alert on HMA cross events and divergence style patterns: HMA Cross Alerts - Alerts can be configured when price or multiple HMAs cross, allowing traders to automate notifications for potential trend shifts.
HMA Divergences - An optional divergence mode looks for conditions similar to RSI divergence style setups, but applied to the HMA logic. These are intended as context layers around trend behavior, not as automatic entry and exit rules.
HMA Settings
The HMA module of this indicator can be tuned to meet each trader's preference.
Plot HMA - On/Off - Toggles the HMA Line on/off.
HMA Alerts - On/Off - Toggles HMA Alerts on/off.
Plot HMA Alerts - On/Off - Toggles HMA Alerts on/off.
Plot Divergences - On/Off - Toggles Divergences on/off so the trader can choose which specific ones they want to display.
HMA Period - Adjusts the period of candles the HMA is calculated off of.
HMA Source - Changes the base calculation of the HMA.
Pivot Lookbacks - Adjusts the candle lookback range for the HMA Divergences.
Max/Min of Lookback Range - Adjusts the min & max lookback range for the HMA Divergences. Fibonacci Golden Pockets
The RT-Custom Clouds|RSI|HMA|GP indicator also includes an automated Fibonacci Golden Pocket module. Instead of manually drawing Fibonacci retracements and marking the Golden Pocket region for each swing, the tool scans the chart and plots these zones for the trader.
The Golden Pocket module can be configured using:
Golden Pocket On/Off - Toggles automatic plotting of golden pocket zones.
Golden Pocket Colors - Controls line and fill appearance so zones can be made more or less prominent.
Lookback Period - Defines how far back the algorithm studies price action when searching for swings and drawing golden pocket zones.
Invert Fibs - Inverts the Golden Pocket measurement.
Extend Lines - Allows for the Fib lines to be plotted further across the chart.
Display Prices/Levels - Toggles plotting of the prices and Fib levels on and off. Some traders prefer to work with both traditional and inverted golden pockets at the same time. This can be done by adding RT Custom Clouds to the chart twice, running one instance with standard golden pocket settings and the second instance with inverted settings.
How Traders Commonly Use The RT-Custom Clouds|RSI|HMA|GP Indicator
Because the RT-Custom Clouds|RSI|HMA|GP indicator offers several tools into a single script, traders often use it as a multipurpose context layer rather than a one-dimensional indicator. Common patterns include: Using custom Ichimoku clouds to frame overall trend and support or resistance zones.
Overlaying RSI X markers and RSI Top/Bottom signals onto price to highlight momentum shifts and exhaustion areas.
Adding HMA and HMA cross alerts as a secondary trend confirmation tool.
Letting the Golden Pocket module continuously plot Fibonacci based zones to study how price reacts around them over time.
In all cases, RT Custom Clouds is designed to provide structured context that can be combined with other Rainbow Trends tools, price action, and volume analysis.
Important Note
The RT-Custom Clouds|RSI|HMA|GP indicator is intended to provide additional context around trend structure, momentum, and potential support or resistance zones. It is not a standalone signal generator and should always be used together with your own analysis, testing, and risk management. Historical examples or past interactions with clouds, RSI markers, HMAs, or golden pockets do not guarantee future results.
🐋 Tight lines and happy trading!
Engulfing CandlesEngulfing Candles highlights two tiers of engulfing structures on the chart:
Strong Engulfing – aggressive, high-conviction outside bars where the real body completely dominates the previous candle.
Regular Engulfing – clean outside bars that still show control, but with looser body conditions.
Both are plotted as dots directly on the price so you can quickly spot liquidity sweeps and potential reversal/continuation zones.
1. Strong Engulfing (Body + Outside Bar)
Concept:
A Strong Engulfing candle is a strict outside bar that both sweeps liquidity and shows decisive control in the body (current body fully covers the previous body).
Strong Bullish Engulfing
Plotted as a solid red dot above the bar.
2. Regular Engulfing (Outside Bar Only)
Concept:
Regular Engulfing marks strict outside bars that still show control, but without requiring the current body to completely engulf the prior body. They are weaker than Strong but still useful context for structure and liquidity sweeps.
Regular Bullish Engulfing
Plotted as a faded red dot above the bar.
3. Inputs & Customization
Strong Engulfing group
Show Strong Bullish Engulfing
Show Strong Bearish Engulfing
Max Upper Wick: Body (Bullish)
Controls how long the upper wick can be relative to the body for strong bullish signals.
Max Lower Wick: Body (Bearish)
Controls how long the lower wick can be relative to the body for strong bearish signals.
Regular Engulfing group
Show Regular Bullish Engulfing
Show Regular Bearish Engulfing
Require Previous Candle Opposite Color
When enabled, regular engulfing requires a color flip (e.g., red → green for bullish engulfing).
SPY EMA + VWAP Day Trading Strategy (Market Hours Only)//@version=5
indicator("SPY EMA + VWAP Day Trading Strategy (Market Hours Only)", overlay=true)
// === Market Hours Filter (EST / New York Time) ===
nySession = input.session("0930-1600", "Market Session (NY Time)")
inSession = time(timeframe.period, "America/New_York") >= time(nySession, "America/New_York")
// EMAs
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
// VWAP
vwap = ta.vwap(close)
// Plot EMAs & VWAP
plot(ema9, "EMA 9", color=color.green, linewidth=2)
plot(ema21, "EMA 21", color=color.orange, linewidth=2)
plot(vwap, "VWAP", color=color.blue, linewidth=2)
// ----------- Signals -----------
long_raw = close > ema9 and ema9 > ema21 and close > vwap and ta.crossover(ema9, ema21)
short_raw = close < ema9 and ema9 < ema21 and close < vwap and ta.crossunder(ema9, ema21)
// Apply Market Hours Filter
long_signal = long_raw and inSession
short_signal = short_raw and inSession
// Plot Signals
plotshape(long_signal,
title="BUY",
style=shape.labelup,
location=location.belowbar,
color=color.green,
size=size.small,
text="BUY")
plotshape(short_signal,
title="SELL",
style=shape.labeldown,
location=location.abovebar,
color=color.red,
size=size.small,
text="SELL")
// Alerts
alertcondition(long_signal, title="BUY Alert", message="BUY Signal (Market Hours Only)")
alertcondition(short_signal, title="SELL Alert", message="SELL Signal (Market Hours Only)")
2-Wick OB Hold + Retest (NY) — @TheTraderGuyZzzThis indicator implements a mechanical version of a “2‑wick order block hold and retest” setup on the NY session, designed for systematic testing rather than discretionary execution.
## What it does
- Automatically detects bullish and bearish order blocks after an impulsive move, then looks for two consecutive wick‑holds at the distal level with a clean confirmation candle closing away from the zone.
- Tracks whether the retest is “immediate” (price stays inside the OB and fills quickly) or “non‑immediate” (price closes away first, then later gives a one‑wick retest), and triggers a single limit‑style entry at the distal.
- Uses fixed, user‑defined stop and target in points (default 20×20) and enforces a maximum number of trades per NY session to keep results realistic.
## How to use it
- Apply on a 1‑minute Heikin‑Ashi chart for the instrument you trade, with the default NY session time filter.
- Connect your own risk management or use it as a signal‑only tool alongside separate execution logic; the script does not place real orders.
- The built‑in stats table shows live performance of all closed trades: win rate, average winning/losing points, average trade duration in minutes, trade count, and cumulative net points, so you can quickly see whether the setup has an edge on your market and timeframe.
RSI Swing + VWAP + EMA + Camarilla + PDH/PDL+CPRThis script provide the follwing -
1. Daily CPR level
2. Camarilla S3/R3
3. Previous Day High/Low (PDH/PDL)
4. Dynamic VWAP
5. Dynamic EMA 20/200
6. Dynamic RSi Swing
Time (H1/H4)On low-period time charts (such as 5 minutes), mark the 1-hour (H1) and 4-hour (H4) times with colored shaded boxes.
(H1/H4) ._.
PIPSTA - ORB# PIPSTA - ORB - Complete Explanation
This is a sophisticated **Opening Range Breakout (ORB)** indicator for TradingView that tracks price movements during the first minutes of a trading session and identifies breakout opportunities.
---
## 🎯 Core Concept: What is ORB?
**Opening Range Breakout** is a trading strategy based on the idea that the first minutes of trading establish key support/resistance levels. When price breaks above (bullish) or below (bearish) these levels with conviction, it often signals a strong directional move for the rest of the session.
---
## 📊 Key Features
### 1. **Multi-Stage ORB Tracking**
The indicator tracks **4 different opening ranges simultaneously**:
- **ORB 5**: First 5 minutes (fastest, most volatile)
- **ORB 15**: First 15 minutes (balanced signals)
- **ORB 30**: First 30 minutes (more reliable)
- **ORB 60**: First 60 minutes (slowest, most confirmed)
Each stage establishes a **High** and **Low** level. The active ORB (usually the largest completed one) is used for breakout detection.
---
### 2. **Breakout Detection System**
**How it works:**
- Monitors when price closes **above ORB High** (bullish breakout) or **below ORB Low** (bearish breakout)
- Requires a **buffer** (default 0.2%) to filter false breakouts
- Tracks **cycles**: Breakout → Retest → Re-breakout sequences
- Shows labels on chart marking breakouts with cycle numbers
**Signal Modes:**
- **First Only**: Shows only the first breakout in each direction per day
- **Track Cycles**: Shows multiple breakouts as price oscillates (up to configurable max cycles)
---
### 3. **Advanced Filtering**
The indicator includes **optional filters** to improve signal quality:
#### **Volume Filter**
- Compares current volume to moving average
- Requires volume ≥ X multiplier (default 1.5×) for breakout confirmation
- **Strong Volume Override**: If volume exceeds threshold (default 2×), bypasses other filters
#### **Trend Filter**
- Multiple methods: VWAP, EMA, SuperTrend, or combinations
- Only shows breakouts **aligned with the trend**
- Prevents counter-trend trades with lower success rates
#### **FVG (Fair Value Gap) Filter**
- Detects price gaps from strong momentum moves
- Requires breakout to occur near a FVG for confirmation
- Shows FVG boxes on chart (optional)
#### **Higher Timeframe (HTF) Bias**
- Checks daily/4H/weekly trend before taking breakouts
- Displays HTF bias in dashboard (✅ Aligned / ⚠️ Counter-Trend)
- Doesn't block signals—just warns you
---
### 4. **Retest & Failed Break Detection**
**Retest Logic:**
- After breakout, if price returns to ORB level → shows "🔁 RETEST" label
- Tracks minimum distance traveled (default 0.5%) to avoid labeling tiny bounces
- Useful for re-entry opportunities
**Failed Breaks:**
- If price breaks out but returns inside range within X bars (default 5) → marks as "⚠️ FAILED BREAK"
- Helps identify weak breakouts quickly
- Adjusts cycle count accordingly
---
### 5. **Risk Management & Position Sizing**
#### **Automatic Target/Stop Calculation**
**Stop Loss Methods:**
1. **Smart Adaptive** (Recommended): Adjusts to volatility automatically
2. **ATR-Based**: Uses Average True Range with multiplier
3. **ORB %**: Fixed percentage beyond ORB level
4. **Swing**: Places at recent swing high/low
5. **% Based**: Simple percentage from entry
**Take Profit Targets:**
- **TP1** (1R): Conservative target, 1:1 risk/reward
- **TP1.5** (1.5R): Intermediate target
- **TP2** (2R): Standard target for most traders ⭐
- **TP3** (3R): Extended target for strong trends
*R = Risk units (1R = distance from entry to stop loss)*
#### **Position Sizing Calculator**
Automatically calculates:
- **Max shares** to buy based on your risk tolerance
- **Position value** in dollars
- **Risk amount** (max loss if SL hit)
- **Risk/Reward ratio** for the trade
**Risk Modes:**
- **$ Amount**: Risk fixed dollar amount per trade (e.g., $150)
- **% of Account**: Risk percentage of total account (e.g., 1% of $25,000 = $250)
**Safety Limits:**
- Max position size % of account (prevents over-leverage)
- Multi-currency support with live exchange rates
---
### 6. **Real-Time Dashboard**
Displays comprehensive trade information:
**Session Status:**
- Market open/closed status
- Session type (Regular/Extended Hours/Pre-Market)
- Current ORB stage and completion status
**ORB Metrics:**
- Range size ($0.50, 2.5% width)
- Volatility meter (🔥🔥🔥 Extreme / 🔥 Medium / ⚪ Low)
- Volume status (if filter enabled)
- Trend direction (if filter enabled)
- HTF bias
**Trade Setup (when breakout occurs):**
- Entry price
- Stop Loss ($ and %)
- Target prices (TP1, TP1.5, TP2, TP3) with percentages
- Risk/Reward ratio
- Position size (shares and $ value)
- Risk amount
**Session Statistics:**
- Wins/Losses count
- Win rate %
- Total R earned
- Best/Worst trade
---
### 7. **Visual Elements**
**On Chart:**
- **Colored bands** showing active ORB levels (High/Low/Mid)
- **Breakout labels** (🔼 BREAKOUT UP, 🔽 BREAKOUT DOWN)
- **Retest labels** (🔁 RETEST UP/DOWN)
- **Failed break labels** (⚠️ FAILED BREAK)
- **TP/SL lines** extending from entry point
- **Edge labels** showing which ORB stage is active
- **FVG boxes** (if enabled)
**Customizable:**
- Colors for each ORB stage
- Label sizes (Tiny/Small/Normal/Large/Huge)
- Label format (Simple vs Detailed)
- Background transparency
- Line styles
---
## ⚙️ Session Management
**Session Modes:**
- **Auto-Detect**: Uses symbol's native exchange hours (recommended)
- **New York**: NYSE/NASDAQ (09:30-16:00 EST)
- **London**: LSE (08:00-16:30 GMT)
- **Tokyo**: TSE (09:00-15:00 JST)
- **Sydney**: ASX (10:00-16:00 AEST)
- **Frankfurt**: XETRA (09:00-17:30 CET)
- **Custom**: Define your own hours
**Extended Hours Support:**
- Include pre-market (04:00-09:30) and after-hours (16:00-20:00)
- ORB tracking works during extended hours
- Dashboard shows appropriate status
---
## 🎵 Workflow Example
1. **Market opens at 09:30**
2. **First 5 minutes**: ORB5 builds (tracks High/Low)
3. **At 09:35**: ORB5 completes → becomes active
4. **At 09:45**: ORB15 completes → becomes active (takes priority)
5. **Price action**: Close above ORB15 High + buffer → **BREAKOUT UP**
6. **Indicator displays**:
- 🔼 BREAKOUT UP label on chart
- Entry line at ORB High
- TP1/TP2/TP3 lines calculated
- SL line below entry
- Dashboard shows trade parameters
- Position size calculated
7. **Price returns to ORB**: Shows 🔁 RETEST label
8. **If TP2 hit**: Lines freeze, dashboard updates, session stats increment
---
## ⚠️ Important Notes
### **Limitations:**
- May produce false signals in choppy/ranging markets
- Best on **5-minute charts** during **regular trading hours**
- Requires **liquid stocks** (>1M daily volume)
- Not suitable for all market conditions
### **Best Practices:**
- **Paper trade first** to understand signals
- Use proper risk management (1-2% risk per trade)
- Combine with overall market analysis
- Recommended: Track Cycles mode with Volume + Trend filters
### **Timezone Fix:**
If ORB appears 1 hour off:
- Right-click chart → Settings → Symbol → Timezone
- Set to exchange timezone (e.g., America/New_York for NYSE)
---
## 🔔 Alert System
Configurable alerts for:
- Breakout UP/DOWN
- Retest UP/DOWN
- Failed breaks
- Stage completion
All alerts include ticker, price, and ORB stage information.
---
## 💡 Credits & Purpose
**Based on:** Mark Fisher's Opening Range Breakout concept
**Enhanced with:** Modern technical analysis techniques
**Purpose:** Educational and informational—not financial advice
**Author:** OrenLuxy
**Disclaimer:** Trading involves substantial risk. Past performance doesn't guarantee future results. Always do your own research.
---
This indicator is a **complete ORB trading system** with institutional-grade risk management, multi-filter confirmation, and comprehensive position sizing—all automated and visualized in real-time. Perfect for day traders who want a systematic approach to opening range breakouts.
Bitcoin Power Law Deviation Z-ScoreIntroduction While standard price charts show Bitcoin's exponential growth, it can be difficult to gauge exactly how "overheated" or "cheap" the asset is relative to its historical trend.
This indicator strips away the price action to visualize pure Deviation. It compares the current price to the Bitcoin Power Law "Fair Value" model and plots the result as a normalized Z-Score. This creates a clean oscillator that makes it easy to identify historical cycle tops and bottoms without the noise of a log-scale chart.
How to Read This Indicator The oscillator centers around a zero-line, which represents the mathematical "Fair Value" of the network. 0.0 (Center Line): Price is exactly at the Power Law fair value. Positive Values (+1 to +5): Price is trading at a premium. Historically, values above 4.0 have coincided with cycle peaks (Red Zones). Negative Values (-1 to -3): Price is trading at a discount. Historically, values below -1.0 have been excellent accumulation zones (Green/Blue Zones).
The Math Behind the Model This script uses the same physics-based Power Law parameters as the popular overlay charts: Formula: Price = A * (days since genesis)^b Slope (b): 5.78 Amplitude (A): 1.45 x 10^-17 The "Z-Score" is calculated by taking the logarithmic difference between the actual price and the model price, divided by a standard scaling factor (0.18 log steps).
How to Use Cycle Analysis: Use this tool to spot macro-extremes. Unlike RSI or MACD which reset frequently, this oscillator provides a multi-year view of market sentiment. Confluence: This tool works best when paired with the main "Power Law Rainbow" chart overlay to confirm whether price is hitting major resistance or support bands.
Credits Based on the Power Law theory by Giovanni Santostasi and Corridor concepts by Harold Christopher Burger .
Disclaimer This tool is for educational purposes only. Past performance of a model is not indicative of future results. Not financial advice.
XAUUSD 9/1 and 6/4 ZONE LINE (Buy zone and SELL zone)When trading the XAUUSD pair, I noticed that gold often reverses from price levels ending with the digits 9/1 and 6/4. Because of this pattern, I began drawing lines based on these price endings and integrating them into my trading strategy. When combined with other trading methods, these levels provided strong and consistent results.
Feel free to try it yourself — just make sure to analyze the market carefully before entering any trade!
Viprasol Elite Advanced Pattern Scanner# 🚀 Viprasol Elite Advanced Pattern Scanner
## Overview
The **Viprasol Elite Advanced Pattern Scanner** is a sophisticated technical analysis tool designed to identify high-probability double bottom (DISCOUNT) and double top (PREMIUM) patterns with unprecedented accuracy. Unlike basic pattern detectors, this elite scanner employs an AI-powered quality scoring system to filter out false signals and highlight only the most reliable trading opportunities.
## 🎯 Key Features
### Advanced Pattern Detection
- **DISCOUNT Patterns** (Double Bottoms): Identifies bullish reversal zones where price may bounce
- **PREMIUM Patterns** (Double Tops): Detects bearish reversal zones where price may decline
- Multi-point validation system (5-point structure)
- Symmetry analysis with customizable tolerance
### 🤖 AI Quality Scoring System
Each pattern receives a quality score (0-100) based on:
- **Symmetry Analysis** (32% weight): How closely the two bottoms/tops match
- **Trend Context** (22% weight): Strength of the preceding trend using ADX
- **Volume Profile** (22% weight): Volume confirmation at key points
- **Pattern Depth** (16% weight): Significance of the pattern's price range
- **Structure Quality** (16% weight): Overall pattern formation quality
Quality Grades:
- ⭐ **ELITE** (88-100): Highest probability setups
- ✨ **VERY STRONG** (77-87): Strong trade opportunities
- ✓ **STRONG** (67-76): Valid patterns with good potential
- ○ **VALID** (65-66): Acceptable patterns meeting minimum criteria
### 🎯 Intelligent Target System
Three target modes per pattern direction:
- **Conservative**: 0.618 Fibonacci extension (safer, closer targets)
- **Balanced**: 1.0 extension (moderate risk/reward)
- **Aggressive**: 1.618 extension (higher risk/reward)
Targets automatically adjust based on pattern quality score.
### 🔧 Advanced Filtering Options
- **Volatility Filter (ATR)**: Excludes patterns during extreme volatility
- **Momentum Filter (ADX)**: Ensures sufficient trend strength
- **Liquidity Filter (Volume)**: Confirms adequate trading volume
### 📊 Pattern Lifecycle Management
- Real-time neckline tracking with extension multiplier
- Pattern invalidation after extended wait period
- Breakout/breakdown confirmation
- Reversal detection (pattern failure scenarios)
- Target achievement tracking
### 🌈 Premium Visual System
- Color-coded quality levels
- Cyber-themed color scheme (Neon Green/Hot Pink/Purple/Cyan)
- Transparent fills for pattern zones
- Dynamic labels with pattern information
- Elite dashboard showing live pattern stats
## 📈 How To Use
### Basic Setup
1. Add indicator to your chart
2. Enable desired patterns (DISCOUNT and/or PREMIUM)
3. Adjust quality threshold (default: 65) - higher = fewer but better signals
4. Set your preferred target mode
### Trading DISCOUNT Patterns (Bullish)
1. Wait for pattern detection (labeled points 1-4)
2. Check quality score on dashboard
3. Entry on breakout above neckline (point 5)
4. Stop loss below the lowest bottom
5. Target shown automatically based on your mode
6. ⚠️ Watch for pattern failure (break below bottoms = SHORT signal)
### Trading PREMIUM Patterns (Bearish)
1. Wait for pattern detection (labeled points 1-4)
2. Check quality score on dashboard
3. Entry on breakdown below neckline (point 5)
4. Stop loss above the highest top
5. Target shown automatically based on your mode
6. ⚠️ Watch for pattern failure (break above tops = LONG signal)
## ⚙️ Input Settings Guide
### 🔍 Detection Engine
- **Left/Right Pivots**: Higher = fewer but cleaner patterns (default: 6/4)
- **Min Pattern Width**: Minimum bars between bottoms/tops (default: 12)
- **Symmetry Tolerance**: Max % difference allowed between levels (default: 1.8%)
- **Extension Multiplier**: How long to wait for breakout (default: 2.2x pattern width)
### ⭐ Quality AI
- **Min Quality Score**: Only show patterns above this score (default: 65)
- **Weight Distribution**: Customize what matters most (symmetry/trend/volume/depth/structure)
### 🔧 Filters
- **Volatility Filter**: Avoid choppy markets (recommended: ON)
- **Momentum Filter**: Ensure trend strength (recommended: ON)
- **Liquidity Filter**: Volume confirmation (recommended: ON)
### 💎 Target System
- Choose target aggression for each pattern type and direction
- Higher quality patterns get adjusted targets automatically
## 🎨 Visual Customization
- Adjust colors for DISCOUNT/PREMIUM patterns
- Set quality-based color coding
- Customize label sizes
- Toggle dashboard visibility and position
- Show/hide historical patterns
## 🚨 Alert System
Set up TradingView alerts for:
- 🚀 **LONG Signals**: DISCOUNT breakout, PREMIUM failure
- 📉 **SHORT Signals**: PREMIUM breakdown, DISCOUNT failure
- ✅ **Target Achievement**: When price hits your target
## 💡 Pro Tips
1. **Higher Timeframes = Better Signals**: Patterns on 4H, Daily, Weekly are more reliable
2. **Quality Over Quantity**: Focus on ELITE and VERY STRONG grades
3. **Combine with Trend**: DISCOUNT in uptrend, PREMIUM in downtrend = best results
4. **Watch Pattern Failures**: Failed patterns often provide strong counter-trend signals
5. **Adjust for Your Style**: Intraday traders use Conservative, swing traders use Aggressive
## 🔒 Pattern Invalidation
Patterns become invalid if:
- No breakout/breakdown within extension period
- Support/resistance levels are broken prematurely
- Pattern shown in faded colors = no longer active
## ⚠️ Risk Disclaimer
This indicator is a tool for technical analysis and does not guarantee profitable trades. Always:
- Use proper risk management
- Combine with other analysis methods
- Never risk more than you can afford to lose
- Past performance does not indicate future results
Zig Zag & Trendlines with Dynamic Threshold ATRPercentage Zig Zag with Dynamic Threshold
This Pine Script indicator is an advanced Zig Zag tool that identifies and tracks price pivots based on a percentage move required for reversal, offering a clear visual representation of volatility-adjusted trends.
Core Functionality (The Reversal Threshold):
Unlike standard Zig Zag indicators that use a fixed price difference, this indicator calculates the required reversal size (%X) dynamically using the Average True Range (ATR).
It calculates the ATR as a percentage of the current price (ATR%).
The final threshold is this ATR% multiplied by a user-defined factor (default 3x).
This means the reversal threshold is wider during volatile periods and narrower during quiet periods, adapting automatically to market conditions. Users can optionally revert to a fixed percentage if desired.
Trend Extension Lines:
The indicator draws two unique, dynamic trend lines connecting the last two significant Highs and the last two significant Lows. Crucially, these lines do not wait for the entire Zig Zag leg to confirm:
If the price is actively forming a new up-leg, the High Extension Line connects the last confirmed High to the current extreme high of the active move.
The Low Extension Line functions similarly for the downtrend.
This feature allows the user to visualize dynamic support and resistance levels based on the current, active trend structure defined by the percentage threshold.
EMA Scalp PRO ema cros+heikin-ashi-vol-atr EMA Scalp PRO – indicator is a visual scalping helper designed mainly for crypto pairs on lower timeframes (10–30m). It is NOT an automated trading strategy but a trend and momentum signal tool that helps the user take more disciplined entries.
Core logic:
• Core signals when EMA 9 crosses EMA 21 (bullish or bearish crossover)
• Higher–timeframe trend filter with EMA 144 and optional EMA 200
• Momentum filter with RSI
• Liquidity/volume filter using Volume SMA with a dynamic multiplier
• Directional filter using Heikin Ashi trend (bull / bear)
• Consolidation detection with ATR, EMA distance and ADX, plus a separate breakout condition
• Cooldown bars after each signal to reduce overtrading and noise
The script plots:
• Long / Short signals with labels directly on the chart
• Exit signals when EMA 9 makes a reverse crossover against EMA 21
• An information table (mode, trend, market state, ATR ratio, RSI, volume, etc.) to quickly assess current market conditions
Important:
• This indicator is strictly for educational and informational purposes.
• It does NOT provide financial or investment advice.
• The user must apply their own risk management (position sizing, SL/TP) and always test the tool on historical data or in paper trading before using it in live markets.
Sammy Buy/Sell Signals (OneLine Version)Sammy's buy/sell signals one line version. Very simple to follow what's going up and down.
SNP420/TRCS_MASTERMicro Body Candle Highlighter is a visual tool for TradingView that continuously scans the active timeframe and highlights all candles with an extremely small body.
For every bar (including the currently forming one), the indicator compares the absolute distance between Open and Close to a user-defined threshold in ticks (default: 1 tick, based on syminfo.mintick).
If the candle’s body size is less than or equal to this threshold, the indicator draws a red frame around the candle – either around the body only or the full high-to-low range, depending on user settings.
Optionally, the indicator can also trigger alerts whenever such a “micro body” candle is detected, allowing traders to react immediately to potential indecision, pauses, or micro-reversals in price action.
author: SNP_420
project: FNXS
ps: Piece and love
8am H1 High/LowThis indicator labels and produces horizontal lines indicating 1 hour liquidity levels.
MAT's Equal Highs and Lows IndicatorEqual highs and lows indicator. This is an indicator that marks out equal highs and lows within the market, wich can be a strong draw on liquidity.






















