STRAT + Timeframe Continuity + 50% RuleTheSTRAT is a multi-timeframe strategy that focuses on three primary components: Inside Bars, Directional Bars, and Outside Bars. The approach also emphasizes several key principles, including Full Time Frame Continuity, Broadening Formations, and the significance of Inside Bars.
Candlestick analysis
Neeson Vegas ChannelVegas Channel Indicator: A Comprehensive Multi-Timeframe Trend-Following System
Originality and Conceptual Foundation
This script implements an enhanced version of the classic "Vegas Tunnel" or "Vegas Channel" methodology, popularized by traders who follow the work associated with the "Vegas" technique. Its primary original contribution lies in its specific, rule-based multi-layered trend identification and visualization system. While the core uses well-known Exponential Moving Averages (EMAs), the originality is in the precise combination of periods and the strict, hierarchical logic for defining trend states and generating signals.
Unlike simpler moving average crossovers or single-tunnel systems, this script employs three distinct EMA pairs, each serving a unique purpose within the trend hierarchy:
Short-Term Momentum Pair (EMA 12 & 24): Acts as the primary signal trigger and momentum gauge.
Core Trend Tunnel (EMA 144 & 169): Serves as the central "channel" or "tunnel." A key visual and logical component is the shading between these two lines, which thickens and changes color with the trend, creating a dynamic channel.
Long-Term Foundation Pair (EMA 580 & 670): Represents the underlying, slower-moving trend foundation, providing context for the higher-timeframe bias.
The system's true innovation is its binary and exclusive trend definition logic. It does not rely on a single crossover. Instead, it defines a confirmed Uptrend only when both the short-term EMAs (12 and 24) are established above both lines of the core tunnel (144 and 169). Conversely, a Downtrend is confirmed only when both short-term EMAs are established below both core tunnel lines. This creates a high-confidence filter, reducing whipsaw signals that can occur when price oscillates around a single moving average.
Functionality, Implementation, and Usage
What It Does:
This indicator is a multi-timeframe trend identification and signal-generation tool. It visually condenses trend information from short, medium, and long-term perspectives onto a single chart. Its primary functions are:
Trend State Classification: It dynamically classifies the market into one of three states: Bull Trend (Blue), Bear Trend (Orange), or Sideways/Congestion (Gray). This is reflected in the chart's background color, the color of all EMA lines, and the fill of the central 144/169 channel.
Signal Generation: It plots discrete buy and sell arrows. A Buy Signal (blue upward triangle) appears the first bar the market transitions into the defined "Uptrend" state from a non-uptrend state. A Sell Signal (orange downward triangle) appears the first bar the market transitions into the defined "Downtrend" state.
Visual Structuring: It plots all six EMAs and prominently highlights the interaction zone between the 144 and 169 EMAs with a colored fill, making the "tunnel" a focal point for support/resistance and trend quality assessment.
How It's Implemented:
The logic is implemented through a clear sequence of conditional checks:
Calculation: All six EMAs are calculated based on user-definable periods (defaults as listed).
Trend Logic: The script continuously evaluates the position of EMA12 and EMA24 relative to EMA144 and EMA169 using strict AND conditions to define the uptrend and downtrend Boolean variables.
Signal Logic: A signal (buy or sell) is generated only on the change of the trend state. It uses a check of the form current_trend_state AND (NOT previous_bar_trend_state) to pinpoint the exact bar of transition.
Visual Feedback: All plot colors, the channel fill color, and the background color are unified and determined by the current trend state variable. Labels for the trend and each EMA line are drawn on the last bar for clarity.
How to Use It:
Traders employ this indicator primarily for trend-following and breakout confirmation. It is suited for swing trading or higher-timeframe positional trades rather than scalping, due to the lag inherent in its longer EMAs and its focus on confirmed states.
Trend Bias: The overall color scheme (blue/orange/gray background) provides an immediate, at-a-glance assessment of the dominant trend force. Trading in the direction of the colored background is considered aligned with the system's trend.
Signal Entry: The arrow signals are not meant for blind entry. They mark the point of a confirmed trend state transition.
A Buy Signal suggests the short-term momentum (12,24) has decisively broken above and established itself over the medium-term trend framework (144,169). This could be used as a trigger for long entries, preferably with the long-term EMAs (580,670) sloping upwards or flat, adding confluence.
A Sell Signal suggests the opposite breakdown.
Channel as Dynamic S/R: The filled area between EMA144 and EMA169 acts as a dynamic support zone in an uptrend and a resistance zone in a downtrend. Pullbacks into this "tunnel" that hold without triggering a sell signal (i.e., without both EMA12 & 24 closing back below both tunnel lines) can be viewed as potential continuation opportunities.
Filter for Other Systems: The clear trend state (uptrend/downtrend) can be exported or used as a filter for other trading systems or discretionary decisions, ensuring actions are only taken in the direction of the script's defined trend.
Core Computational Philosophy and Strategic Rationale
The script's logic is rooted in the philosophy of trend hierarchy and confirmation. It belongs to the category of Multi-Moving Average Convergence/Divergence Systems with State-Based Rules.
The 144/169 Tunnel: These numbers are derived from Fibonacci sequences (144, 169 is 12^2 and 13^2). They are believed by proponents to represent a natural rhythm or "heartbeat" of the market, defining a robust intermediate-term trend framework.
The 12/24 Pair: A standard fast-moving average pair commonly used to gauge short-term momentum and trigger entries.
The Strategic Innovation (Dual-Condition Crossover): The core idea is that a crossover of a single fast MA above a single slow MA can be false and noisy. By requiring both members of a fast pair to establish position relative to both members of a slower "tunnel" pair, the system demands a broader, more concerted move. This seeks to filter out weak, unsustainable breaks and only capture shifts in momentum strong enough to flip the entire short-term structure's position relative to the medium-term structure.
The 580/670 Pair: These very slow EMAs represent the "secular" trend. While not part of the direct signal logic, they provide critical context. A buy signal that occurs while price is above the 580/670 pair (which would be sloping up in a healthy bull market) carries more weight than one that occurs while price is below this long-term foundation, which might indicate a counter-trend rally.
In essence, this script is more than just moving averages on a chart. It is a systematic, rule-based framework for identifying when the market's short-term energy (12,24) has converged sufficiently to overcome and reposition itself against its medium-term equilibrium (144/169 tunnel), thereby signaling a high-probability phase change in trend, all while considering the backdrop of a long-term trend (580/670).
Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)
Overview
Monitors 4 symbols across 4 timeframes simultaneously, displaying labeled alerts when all 4 symbols break out from inside bar compression on any tracked timeframe. See 15-minute, 30-minute, 60-minute, and daily breakouts all on one chart — complete multi-timeframe compression analysis.
When all 4 symbols compress into inside bars and then ALL break the same direction, you get clear directional confirmation across different timeframes. Perfect for Rob Smith's "The Strat" methodology and traders who use multi-timeframe analysis for entry confirmation.
🎯 Why This Matters
Multi-timeframe breakout confluence = stronger signals.
When SPY, QQQ, IWM, and DIA simultaneously:
✅ Compress into inside bars (bar )
✅ ALL break same direction (bar )
✅ Across multiple timeframes
You get layered confirmation — not just one timeframe saying "go," but multiple timeframes agreeing on direction.
Example: 15m breakout + 60m breakout + Daily breakout = alignment across timeframes.
✅ Key Features
✅ 4 Timeframes Tracked — Monitor 15m, 30m, 60m, Daily (fully customizable)
✅ 4 Symbols Per Timeframe — All must break together for signal
✅ Staggered Labels — Each timeframe displays at different distance (no overlap)
✅ Adaptive Positioning — Works on futures, stocks, forex, crypto
✅ Customizable Colors — Bullish/bearish colors with opacity control
✅ Alert-Ready — 8 alert conditions (bull/bear per timeframe)
✅ Works on Any Chart — See higher timeframe signals on lower timeframe charts
📊 How It Works
Inside Bar Check (Bar ):
All 4 symbols had inside bars (high < prior high AND low > prior low)
Breakout Check (Bar ):
Bullish: All 4 close > prior high
Bearish: All 4 close < prior low
Label Display:
📈IBSB 15 = Bullish breakout on 15-minute timeframe
📉IBSB D = Bearish breakout on daily timeframe
Each timeframe operates independently — you might see multiple timeframe labels on the same bar when breakouts align.
⚙️ Settings Guide
Symbols (Default: SPY, QQQ, IWM, DIA)
Customize to any 4 symbols
Popular: ES/NQ/YM/RTY (futures), XLF/XLK/XLE/XLV (sectors)
Timeframes (Default: 15, 30, 60, D)
Set any 4 timeframes to monitor
Examples: 5/15/60/240 (intraday stack), 60/D/W/M (swing stack)
Display Options:
Bullish/Bearish colors + opacity control
Label distance (% of bar range)
Stagger spacing (prevents overlap)
Max labels per timeframe (default: 25)
Debug Mode:
Shows which symbols are inside/breaking per timeframe
Useful for troubleshooting
🔔 Setting Up Alerts
Create alerts for any combination:
"IBSB Bull - TF1" (first timeframe bullish)
"IBSB Bear - TF4" (fourth timeframe bearish)
Set to "Once Per Bar Close" for confirmed signals
💡 Example Trading Approach
Note: Educational example, not trading advice.
Watch for compression across symbols on higher timeframes
IBSB label appears → all 4 broke same direction
Multiple timeframe labels = stronger confluence
Enter with your strategy using proper risk management
Example: Daily IBSB bullish + 60m IBSB bullish = aligned timeframes for potential long entry.
🎯 Why Multi-Timeframe Matters
Single timeframe breakout = one piece of data.
Multi-timeframe breakout = confirmation across time horizons.
When 15m, 60m, and Daily all show simultaneous 4-symbol breakouts → market structure aligning across timeframes.
🔧 Technical Details
✅ PineScript v6 (latest)
✅ Adaptive label positioning (scales with price)
✅ Smart staggering (prevents label overlap)
✅ Label management (max 500 total across timeframes)
✅ NA-safe logic (handles missing data)
✅ Works across all chart timeframes
⚠️ Important Disclaimers
Not financial advice: Educational and informational purposes only
No performance guarantees: Past breakouts don't predict future results
Risk management essential: Always use proper position sizing
Test before trading: Backtest and paper trade first
⚡ Quick Start
Add indicator to chart
Set symbols (default: SPY/QQQ/IWM/DIA)
Set 4 timeframes (default: 15/30/60/D)
Customize colors if desired
Create alerts (optional)
Watch for 📈IBSB or 📉IBSB labels with timeframe designation
📞 Support
Follow for updates and new indicators.
Questions? Leave a comment below — I respond to all feedback.
💬 Final Thoughts
Multi-timeframe compression breakouts with 4-symbol confirmation. Instead of monitoring dozens of charts manually, see all your timeframe breakouts in one place. When multiple timeframes align with simultaneous 4-symbol breakouts, you get clearer directional signals.
Use as one component of your analysis, combine with your risk management, and always trade with discipline.
Happy trading! 📈
Free and open-source for personal use. If you find this valuable:
👍 Like | 📝 Review | 🔔 Follow
Head & Shoulders Detector [HPT]Head & Shoulders Detector — Indicator Description
What It Does
The Head & Shoulders Detector automatically identifies one of the most reliable reversal patterns in technical analysis — the Head & Shoulders (bearish) and Inverted Head & Shoulders (bullish). Instead of manually scanning charts for these formations, the indicator does the heavy lifting by detecting valid patterns, drawing the structure, extending the neckline, and calculating precise price targets.
How It Works
1. Pivot Detection
The indicator continuously scans for swing highs and swing lows using a configurable lookback period. These pivots form the foundation for identifying the three peaks (or troughs) that make up the pattern.
2. Pattern Validation
For a valid Head & Shoulders (bearish reversal):
Three pivot highs where the middle peak (Head) is the highest
Left and Right Shoulders are approximately equal in height (within your tolerance setting)
Two pivot lows between the peaks form a neckline that's relatively horizontal
For a valid Inverted Head & Shoulders (bullish reversal):
Three pivot lows where the middle trough (Head) is the lowest
Left and Right Shoulders are approximately equal in depth
Two pivot highs between the troughs form the neckline
3. Neckline Projection
Once a pattern is detected, the indicator draws and extends the neckline forward — this is your key breakout level. The neckline slope is calculated dynamically, so angled necklines are handled correctly.
4. Price Target Calculation
The measured move target is automatically calculated using the classic method: the distance from the Head to the Neckline, projected in the breakout direction from the neckline break point.
5. Breakout Detection
The indicator monitors price against active necklines and triggers alerts when price closes beyond the neckline — confirming the pattern completion.
How To Use It
Let the pattern form — the indicator will alert you and draw the complete structure once all criteria are met (Left Shoulder → Head → Right Shoulder + valid neckline).
Watch the neckline — this is your trigger level. The pattern isn't "activated" until price breaks and closes beyond the neckline.
Use the target — the projected price target gives you a measured move objective for trade management.
Combine with context — H&S patterns carry more weight when they form at key levels (prior support/resistance, round numbers, or after extended trends).
Best Practices
Higher timeframes (30m, 4H, Daily) produce more reliable patterns than lower timeframes
Patterns forming after extended trends carry more reversal weight
Wait for neckline confirmation — the breakout signal — before entering
Use the target as a guide, not gospel — scale out or trail stops as price approaches
Combine with volume analysis if available — breakouts on volume are more reliable
Unicorn A+ Setup dector No repaintNO REPAINT.
The Unicorn Model is a precision confluence indicator that identifies high-probability trade entries by detecting the overlap between Fair Value Gaps (FVGs) and Order Blocks (OBs) — a concept known in ICT methodology as the "Unicorn" setup. When institutional footprints align in the same zone, you get a stacked entry with multiple layers of confluence.
How It Works
1. Fair Value Gap Detection
The indicator automatically identifies imbalances in price where a gap exists between candle wicks — areas where price moved too fast and left "unfilled" space. These gaps act as magnets for price to return and rebalance.
2. Order Block Detection
Simultaneously, the indicator maps out Order Blocks — the last opposing candle before a significant move. These represent areas where institutional orders were placed and often act as support/resistance on retest.
3. Unicorn Zone = FVG + OB Overlap
When a Fair Value Gap and Order Block of the same directional bias overlap, the indicator highlights this confluence zone as a Unicorn. This is your highest-probability entry area — you're not trading just one concept, you're trading the intersection of two.
4. Entry Signals
When price taps into an active Unicorn zone and shows confirmation (bullish/bearish candle structure or wick rejection), the indicator plots:
Entry arrow (▲ for longs, ▼ for shorts)
Entry line at current close
Stop loss line just beyond the zone
Take profit line based on your selected R:R multiplier
How To Use It
Wait for a Unicorn zone to form — the indicator will alert you and highlight the zone in purple (bullish) or yellow (bearish).
Let price retrace into the zone — don't chase. The setup works when price returns to fill the imbalance.
Look for confirmation — the indicator triggers an entry signal when price shows rejection or closes favorably after tapping the zone.
Manage the trade using the plotted entry/stop/target levels, or use your own discretion based on market structure.
Best Practices
Works on any timeframe, but higher timeframes (15m, 1H, 4H) produce more reliable zones
Use in confluence with market structure (trend direction, key levels)
Unicorns that form at premium/discount levels or near session highs/lows carry extra weight
Mitigated zones auto-remove to keep your chart clean
Hammer Alert by Marcos TavaresIndicador que sinaliza quando uma vela martelo fecha próximo das médias móveis de 20 e 200
XAUSNIPERThis is for all subscribers
1. Use color candles
2. Use mitigation
3. Use lux algo structure shifts
Multi-Symbol Inside Bar Detector (4-Symbol Compression)Multi-Symbol Inside Bar Detector (4-Symbol Compression)
Overview
Detects simultaneous inside bars across 4 symbols in real-time — a signal of market-wide compression that may precede directional moves. When all 4 symbols are "inside" (trading within the prior bar's range), the market is consolidating.
Monitor SPY, QQQ, DIA, IWM (or any 4 symbols you choose) on a single timeframe. No more chart hopping. Designed for Rob Smith's "The Strat" methodology and price action traders who trade compression setups.
🎯 Why This Matters
Inside bars indicate compression and consolidation.
When all 4 major ETFs simultaneously compress into inside bars:
Market is consolidating within a range
Volatility is contracting (not expanding)
A directional move may follow (direction unknown)
This is NOT a directional signal — it's a consolidation detector. You determine direction based on your analysis. This indicator identifies WHEN compression exists across multiple symbols.
✅ Key Features
✅ 4-Symbol Monitoring — Track 4 symbols simultaneously on one timeframe
✅ Visual Alerts — Bar coloring + optional "4-Inside" labels
✅ TradingView Alerts — Get notified when all 4 go inside simultaneously
✅ Live vs Confirmed Mode — Toggle between real-time (repaints) or bar-close confirmation (no repaint)
✅ Customizable — Any 4 symbols, any timeframe, custom colors
✅ Debug Table — See which symbols are inside (troubleshooting)
📊 How It Works
Inside Bar Definition (Rob Smith Standards)
An inside bar forms when:
High < Prior High AND
Low > Prior Low
Current bar trades entirely within prior bar's range.
Technical Implementation
pinescriptisInside(h, l, ph, pl) =>
na(h) or na(l) or na(ph) or na(pl) ? false : (h < ph and l > pl)
NA-safe: Handles missing data gracefully
Strict comparison: Uses < and > (not <= or >=)
Rob Smith compliant: Tick-perfect inside bar detection per Strat methodology
4-Symbol Requirement
Signal fires when ALL 4 symbols are inside bars simultaneously. If only 3 are inside → no signal. All 4 must compress together.
⚙️ Settings Guide
Symbols
Default: SPY, QQQ, DIA, IWM (broad market coverage)
Customize: Click to change to ANY 4 symbols
Popular Combinations:
Futures: ES, NQ, YM, RTY
Sectors: XLF, XLK, XLE, XLV
Mega Caps: AAPL, MSFT, GOOGL, AMZN
Timeframe
Default: 60 (1-hour bars)
What it does: Applies SAME timeframe to all 4 symbols
Examples: 5 (5min), 15 (15min), D (Daily)
Live Intrabar Mode
ON (default): Shows forming bars in real-time (repaints until close)
OFF: Waits for bar close (no repaint, confirmed only)
Use ON for: Live monitoring, intraday setups
Use OFF for: Alerts, backtesting, confirmed signals
Display Options
Show Labels: Toggle "4-Inside" labels on/off
Inside Bar Color: Default yellow (customize)
Show Debug Table: See per-symbol status (for troubleshooting)
🔔 Setting Up Alerts
Right-click chart → "Add Alert"
Condition: Select this indicator
Frequency: "Once Per Bar Close" (recommended for confirmed mode)
Alert fires when all 4 symbols go inside simultaneously (edge detection, not every bar)
💡 Example Trading Approaches
Note: These are educational examples, not trading advice. Past compression patterns do not guarantee future directional moves.
Approach 1: Higher TF Compression → Lower TF Trigger
1H chart: 4-symbol inside bar forms (compression)
15m chart: Monitor for directional break
Await confirmation with your analysis before entry
Approach 2: Daily Compression → Intraday Entries
Daily chart: All 4 compress (consolidation)
1H chart: Monitor for range expansion
Use your directional bias to determine position
Approach 3: Sector Analysis
Use sector ETFs (XLF, XLK, XLE, XLV)
When all 4 compress → observe which breaks first
Analyze sector strength/weakness patterns
🎯 Why 4 Symbols?
Market coverage: When SPY, QQQ, DIA, and IWM all compress together, it indicates broad market consolidation across multiple market-cap segments.
SPY: S&P 500 (large caps)
QQQ: Nasdaq 100 (tech)
DIA: Dow 30 (blue chips)
IWM: Russell 2000 (small caps)
Using 4 major indices helps filter noise from single-symbol compression.
⚡ Quick Start
Add indicator to chart
Choose symbols (default: SPY/QQQ/DIA/IWM)
Set timeframe (default: 60min)
Toggle live mode (ON for real-time, OFF for confirmed)
Create alert (optional)
Yellow bars = all 4 inside
Use with your directional analysis
🔒 Technical Details
Code Quality
✅ PineScript v6 (latest)
✅ NA-safe logic (handles missing data)
✅ Rob Smith Strat standards (strict tick tolerance)
✅ No repainting (in confirmed mode)
✅ Efficient performance (max_bars_back=2)
✅ Open-source (educational transparency)
Repainting Behavior
Live Mode (ON): Repaints until bar closes (shows forming bars)
Confirmed Mode (OFF): No repaint, waits for bar close
Alert recommendation: Use Confirmed Mode to avoid false alerts
📞 Support
Follow me on TradingView for updates and new indicators.
Questions? Leave a comment below. I respond to all feedback.
⚠️ Important Disclaimers
Not financial advice: This indicator is for educational purposes and market analysis
No performance guarantees: Past patterns do not predict future results
Directional bias required: Inside bars indicate consolidation, not direction
Risk management essential: Always use proper position sizing and stops
Test before trading: Backtest on historical data and paper trade first
💬 Final Thoughts
Compression often precedes expansion, but direction remains uncertain. When multiple major indices compress simultaneously, it indicates market-wide consolidation. This indicator helps identify those moments across 4 symbols — no more chart hopping, easier pattern recognition.
Use it as one component of your analysis, combine with your directional methodology, and always manage risk appropriately.
Happy trading! 📈
Free and open-source for personal use. If you find this valuable:
👍 Like | 📝 Review | 🔔 Follow
Multi-Session H/L - Sweep & Grab v5# Multi-Session High/Low Levels with Liquidity Sweep & Grab Detection
## Overview
This indicator automatically identifies and plots the High and Low levels of key trading sessions (Asia, London, New York AM, New York PM) and Previous Day levels. It features advanced **Liquidity Sweep** and **Liquidity Grab** detection based on ICT/SMC methodology.
## Key Features
### 📊 Multi-Session Tracking
- **Asia Session** - Captures the Asian trading range
- **London Session** - Tracks the London open volatility
- **New York AM Session** - Monitors the NY morning session
- **New York PM Session** - Follows the afternoon price action
- **Previous Day High/Low** - Key daily reference levels
### 💧 Liquidity Detection (ICT/SMC Concepts)
**Liquidity Grab:**
- Detected when price **wicks through** a level but **closes back** inside
- Single candle event with rejection
- Often signals a potential reversal
- Label shows: `"Session H/L (Grab)"`
**Liquidity Sweep:**
- Detected when price **closes beyond** the level
- Indicates liquidity has been fully taken
- Label shows: `"Session H/L (Swept)"`
### 🎯 Visual Features
- Lines automatically **stop at the candle** where liquidity was grabbed or swept
- Different line styles for Active / Grabbed / Swept levels
- Customizable colors for each session
- Optional session background highlighting
- Information table showing all levels and their status
### ⚙️ Customization Options
- Adjustable session times for any timezone (GMT+0 to GMT+5)
- Calculation timeframe selection
- Line width and style settings
- Label size options
- Toggle each session on/off
- "Stop Line on Grab" option
### 🔔 Alerts
- Separate alerts for **Liquidity Grab** events
- Separate alerts for **Liquidity Sweep** events
- Available for all sessions and Previous Day levels
## How to Use
1. **Identify Key Levels:** The indicator automatically marks session highs and lows
2. **Watch for Liquidity Events:** Monitor when price approaches these levels
3. **Grab = Potential Reversal:** A liquidity grab (wick rejection) often signals smart money has collected orders and price may reverse
4. **Sweep = Liquidity Taken:** A sweep (close beyond level) confirms the liquidity pool has been cleared
5. **Plan Your Trades:** Use these levels in confluence with other SMC concepts like Fair Value Gaps (FVG) and Order Blocks (OB)
## Status Colors in Table
- 🟢 **Green (Active)** - Level has not been touched
- 🟠 **Orange (Grab)** - Wick touched the level, potential reversal zone
- 🔴 **Red (Swept)** - Close beyond level, liquidity fully taken
## Settings Explained
| Setting | Description |
|---------|-------------|
| Calculation Timeframe | Timeframe used for session calculations |
| Timezone | Your broker's timezone (GMT+0 to GMT+5) |
| Extend Lines | Extend active lines into the future |
| Stop Line on Grab | If enabled, lines stop when grabbed (not just swept) |
| Swept/Grab Line Style | Visual differentiation for liquidity events |
## Notes
- Works on all markets (Forex, Crypto, Stocks, Indices, Commodities)
- Best used on timeframes from 1min to 1H
- Session times are fully customizable to match your time zone
- The indicator respects the ICT/SMC definition where a **Grab** is a single-candle wick rejection and a **Sweep** involves price closing beyond the level
GB-Evolve by AlgoKingsGB-Evolve by AlgoKings
RISK DISCLAIMER: This indicator is an analytical tool for educational purposes only, not financial advice. Trading carries substantial risk of loss. This tool does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
WHAT IS GB-EVOLVE?
GB-Evolve identifies potential market turning points using Goldbach mathematical timing analysis combined with price pivot detection. The indicator marks bars where time components align with specific Goldbach numbers while simultaneously forming three-bar swing patterns, suggesting confluence between mathematical time cycles and price structure.
Example: At 11:23 (hour=11, minute=23, sum=34, difference=12), if minute matches Goldbach number 23 AND price forms a swing high, the indicator marks this as a potential pivot. If confirmed by subsequent bars, the label changes color.
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
1. GOLDBACH NUMBER MATCHING
Uses mathematical time component analysis based on Goldbach conjecture principles:
GOLDBACH NUMBER SET:
Master list of 23 key numbers: 0, 3, 11, 17, 29, 41, 47, 53, 59, 71, 83, 89, 97, 100, 7, 14, 23, 35, 44, 50, 56, 65, 77
These numbers represent temporal harmonics derived from number theory analysis. Users can select all numbers or specify custom subset via comma-separated list.
TIME COMPONENT CALCULATION:
For any given bar timestamp, algorithm extracts four components in selected timezone (New York or Zurich):
- Minute (m): Minute of hour (0-59)
- Hour (h): Hour of day (0-23)
- Sum (h + m): Addition of hour and minute
- Difference (|h - m|): Absolute difference between hour and minute
Example timestamp 14:35:
- m = 35
- h = 14
- h + m = 49
- |h - m| = 21
MATCHING LOGIC:
Number matches if ANY time component equals Goldbach number ±1 (tolerance window):
- Exact match: Component exactly equals Goldbach number
- Near match: Component equals Goldbach number ±1
Technical implementation:
if (m == n) or (h == n) or (h+m == n) or (|h-m| == n)
→ Exact match
if (m == n±1) or (h == n±1) or (h+m == n±1) or (|h-m| == n±1)
→ Near match
Multi-bar window: Algorithm checks current bar, previous bar, and next bar timestamps to identify matches across pivot formation window.
2. THREE-BAR PIVOT DETECTION
Identifies swing highs and swing lows using classic three-bar pattern:
SWING HIGH:
high < high (current bar makes higher high than previous)
Pattern confirmed when: high < high > high (middle bar exceeds both neighbors)
SWING LOW:
low > low (current bar makes lower low than previous)
Pattern confirmed when: low > low < low (middle bar below both neighbors)
STATE TRANSITIONS:
- Potential Pivot: Current bar creates new extreme (high < high or low > low)
- Confirmed Pivot: Three-bar pattern completes with middle bar as pivot
Label management:
When bar forms potential pivot, creates label with matching Goldbach numbers. If bar later exceeds this extreme, label deleted (pivot invalidated). If bar confirms three-bar pattern, label color changes from gray to green (bullish) or red (bearish).
3. DYNAMIC LABEL UPDATES
Sophisticated label lifecycle management:
CREATION PHASE:
When current bar exceeds previous bar (high < high or low > low):
- Calls gbMatches() to test all Goldbach numbers against time , time , and time("", bars_back = -1)
- Collects matching numbers into array
- Sorts descending for highs, ascending for lows
- Creates label with joined numbers as text
INVALIDATION PHASE:
One bar later, if new bar exceeds previous pivot:
- high >= high → Delete high label (pivot broken)
- low <= low → Delete low label (pivot broken)
This prevents false pivots from persisting on chart.
CONFIRMATION PHASE:
Two bars later, if three-bar pattern confirmed:
- high < high > high → Change high label color to red (bearish reversal confirmed)
- low > low < low → Change low label color to green (bullish reversal confirmed)
Array management maintains only 3 most recent bars to enable this state machine.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Goldbach matching engine: Custom gbMatch() function that tests four time components (m, h, h+m, |h-m|) against each Goldbach number with ±1 tolerance, implemented as nested conditional logic that processes 23 master numbers against multiple timestamp combinations
- Multi-bar window scanning: gbMatches() function that tests array of Goldbach numbers against array of timestamps (current, previous, next bars), using nested loops with break optimization when match found
- Goldbach number set: Proprietary selection of 23 specific numbers (0, 3, 11, 17, 29, 41, 47, 53, 59, 71, 83, 89, 97, 100, 7, 14, 23, 35, 44, 50, 56, 65, 77) derived from mathematical research
- State machine logic: Bar array management (size=3) with label lifecycle tracking through potential → invalidated/confirmed states, using get(1) and get(2) array indexing for historical bar access
- Label update mechanism: Dynamic textcolor changes (set_textcolor) without redrawing entire object, preserving label coordinates while updating visual state
Standard pivot indicators use price-only logic. This script combines mathematical time harmonics with price structure for confluence-based pivot identification.
TECHNICAL COMPONENTS
Core structures:
- Bar Object: Container for labelH (high label) and labelL (low label), maintained in 3-element rolling array
- Goldbach array: User-selected or full set of 23 master numbers, filtered through gbFilterArray() validation
Time component extraction:
- minute(time, timezone): Extracts minute component (0-59)
- hour(time, timezone): Extracts hour component (0-23)
- Arithmetic: h + m for sum, |h - m| for difference
Pivot detection:
- Potential: if (high < high) create label with gbMatches(gbArray, [time , time, time(-1)], timezone)
- Invalidation: if (high >= high ) delete label
- Confirmation: if (high < high > high ) change label color to red
HOW TO USE
Setup:
1. Apply to any chart (works on all symbols and timeframes)
2. Select Timezone (New York or Zurich) for Goldbach calculation
3. Choose "All GB/CE" to use all 23 numbers, or disable to enter custom list
4. Enter custom numbers as comma-separated values (e.g., "23,35,50")
5. Adjust text size and colors for labels
Chart Timeframe:
Works on any timeframe. Lower timeframes (1m-15m) show more frequent matches. Higher timeframes (1H-Daily) show fewer, potentially more significant confluences.
Interpretation:
- Gray label above bar = Potential swing high at Goldbach time (not yet confirmed)
- Gray label below bar = Potential swing low at Goldbach time (not yet confirmed)
- Red label above bar = Confirmed swing high (bearish reversal)
- Green label below bar = Confirmed swing low (bullish reversal)
- Numbers in label = Goldbach numbers that matched time components
- Multiple numbers = Multiple time components aligned with different Goldbach numbers
Label appearance:
Labels display at exact pivot point (high for swing highs, low for swing lows). Numbers sorted descending for highs, ascending for lows. Disappears if pivot invalidated by subsequent bar exceeding the extreme.
SETTINGS EXPLAINED
Settings:
- Timezone: Choose New York or Zurich for time component calculation (chart timezone does not affect this)
- All GB/CE: Enable to use all 23 master Goldbach numbers
- GB/CE List: Disable "All GB/CE" to enter custom comma-separated list (e.g., "23,35,44,50,77")
- Text Size: Label text size (Tiny, Small, Normal, Large)
- Potential Pivot: Label color for unconfirmed pivots (default: gray)
- Confirmed Pivot: Label colors for confirmed pivots (green for bullish, red for bearish)
Timezone selection:
New York (America/New_York) = EST/EDT timezone
Zurich (Europe/Zurich) = CET/CEST timezone
Your chart's display timezone does not affect Goldbach calculations. You can view charts in any timezone while calculating Goldbach numbers in New York or Zurich time.
Custom number selection:
Enter numbers separated by commas with no spaces: 23,35,50
Invalid numbers (not in master list of 23) automatically filtered out
Minimum: 1 number, Maximum: all 23 numbers
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
Buyer-Only Breakout Scanner (India)Buyer-Only Breakout Scanner designed for Indian markets (NIFTY, BANKNIFTY, stocks).
This indicator focuses ONLY on option buyers and avoids seller-dominated and sideways markets.
Logic used:
• Volatility compression using ATR contraction + Bollinger Band squeeze
• Breakout confirmation with volume expansion
• VWAP directional filter (institutional bias)
• EMA 9 & EMA 20 for momentum and trend alignment
• False breakout protection using candle strength, follow-through, wick rejection
• Seller absorption filter to avoid premium decay zones
Signals:
• CALL BUY – only when bullish breakout is strong and buyer-friendly
• PUT BUY – only when bearish breakout is strong and buyer-friendly
• EXIT – early warning to protect option premium
Best used on:
• 5-minute chart
• Intraday trading
• Index options (ATM / ITM)
This is an indicator for manual trading with alerts, not an auto-trading strategy.
Buyer-Only Breakout Scanner (India)Buyer-Only Breakout Scanner designed for Indian markets (NIFTY, BANKNIFTY, stocks).
This indicator focuses ONLY on option buyers and avoids seller-dominated and sideways markets.
Logic used:
• Volatility compression using ATR contraction + Bollinger Band squeeze
• Breakout confirmation with volume expansion
• VWAP directional filter (institutional bias)
• EMA 9 & EMA 20 for momentum and trend alignment
• False breakout protection using candle strength, follow-through, wick rejection
• Seller absorption filter to avoid premium decay zones
Signals:
• CALL BUY – only when bullish breakout is strong and buyer-friendly
• PUT BUY – only when bearish breakout is strong and buyer-friendly
• EXIT – early warning to protect option premium
Best used on:
• 5-minute chart
• Intraday trading
• Index options (ATM / ITM)
This is an indicator for manual trading with alerts, not an auto-trading strategy.
open,high,close,lowthis indicator will mark the previous day, week ,monthly candle (open, high, close and low)
Buyer-Only Breakout Scanner (India)Buyer-Only Breakout Scanner designed for Indian markets (NIFTY, BANKNIFTY, stocks).
This indicator focuses ONLY on option buyers and avoids seller-dominated and sideways markets.
Logic used:
• Volatility compression using ATR contraction + Bollinger Band squeeze
• Breakout confirmation with volume expansion
• VWAP directional filter (institutional bias)
• EMA 9 & EMA 20 for momentum and trend alignment
• False breakout protection using candle strength, follow-through, wick rejection
• Seller absorption filter to avoid premium decay zones
Signals:
• CALL BUY – only when bullish breakout is strong and buyer-friendly
• PUT BUY – only when bearish breakout is strong and buyer-friendly
• EXIT – early warning to protect option premium
Best used on:
• 5-minute chart
• Intraday trading
• Index options (ATM / ITM)
This is an indicator for manual trading with alerts, not an auto-trading strategy.
Options X-Level Lock Tracker (Weekly Fri PM)What this indicator is
Options X Lock Tracker is a weekly trade‑management dashboard for defined‑risk premium selling where the “trade thesis” is primarily about finishing on the correct side of a single level (X) by expiration. In this framework, X is the short strike (the “line”) you sell, and the goal is to remain on the correct side of X through settlement.
This script helps you:
Compute candidate PUT X and/or CALL X levels using a volatility‑based model,
Lock those X levels on specific weekdays (Mon/Tue/Wed),
Track touches/breaches during the week, and
Evaluate win/loss at weekly settlement.
Core features
1) X‑Level computation (PUT and/or CALL)
Can compute PUT X, CALL X, or both.
Can use a target delta approach or a 1‑sigma move approach.
Volatility input can be HV (log returns) or ATR, with configurable lookback lengths and caps/floors.
2) Expiry / settlement controls
Settlement is aligned to next Friday with a configurable timezone + settle hour/minute (e.g., Fri 16:00 New York).
3) Strike rounding + optional “snap”
Rounds strikes to your chosen strike increment (e.g., 5‑point spacing for index products).
Optional “snap” can align X to nearby prior daily/weekly key levels (H/L/C/Mid) rather than purely model output.
4) Locking workflow (Mon / Tue / Wed)
You can enable locking on Monday, Tuesday, and/or Wednesday.
Locks occur on the daily close (confirmed bar), and once locked, the level is held for the week.
5) Visual plotting
Plots the locked X levels as horizontal lines extended to the right:
PUT lines are solid, CALL lines are dashed, and
Lines are color‑coded by lock day (Mon/Tue/Wed).
6) Touch/Breach tracking
Tracks whether price touched/breached the locked X during the week (after the lock moment).
7) Friday settlement result (win/loss)
On Friday’s confirmed close, evaluates results:
Short PUT considered a win if settle > put strike
Short CALL considered a win if settle < call strike
8) Table dashboard (weekly “control panel”)
The table is meant to be your weekly at‑a‑glance tracker. For each lock day and each side it can show:
Locked strike (X),
“Now” distance from price,
Touch status,
Settle status (once Friday passes),
W% = a real‑time probability estimate (normal approximation).
Important: W% is a real‑time probability estimate, not a historical win‑rate backtest.
9) RSI context + RSI alerts
Optional RSI context in the table and RSI‑based bias framing.
Includes alert conditions for RSI crossing above/below 50 (useful for regime shifts).
Recommended chart setup / best practices
This tracker is intentionally built around daily locking, and is designed for 1D charts where the lock event is the daily close.
Make sure your settlement timezone/time matches the product you’re trading (and your intended settlement convention).
If you trade instruments with different strike spacing, update Strike increment accordingly.
Limitations / notes
Probability outputs (W%) are model estimates and can diverge from real option pricing (skew, kurtosis, jumps, event risk, liquidity, etc.).
This is a decision support / tracking tool. It is not an automated execution system, and it does not include slippage/fees in outcomes.
Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. Options involve substantial risk and are not suitable for all traders. Always use defined risk controls and trade within your plan.
Futures Trend SignalerWhat this indicator is
Futures Trend Signaler is a compact trend/bias dashboard built for futures (and any liquid symbol) that combines:
EMA trend alignment (EMA9 vs EMA21), and
Micro price positioning versus a higher‑timeframe EMA (e.g., 15s and 1s price relative to the 1m EMA9),
plus crossover markers on the chart to timestamp regime shifts.
It’s designed to answer, in seconds:
“Is the market in a bullish or bearish EMA structure?”
“Are the lower timeframes aligned with the higher timeframe?”
“When was the most recent bull/bear crossover?”
What it shows (table)
The table includes:
1m EMA9 vs EMA21
State: EMA9 > EMA21 / EMA9 < EMA21 / neutral
Bias: Bullish / Bearish / Neutral
“Last cross” context (so you know what the most recent regime shift was)
15s EMA9 vs EMA21
Same state/bias logic as the 1m row
1s EMA9 vs EMA21
Same state/bias logic as the 1m row
15s Price vs 1m EMA9
Shows whether micro price is above or below the 1m EMA9
1s Price vs 1m EMA9
Same, but even more “micro”
This structure gives you a quick “stacked timeframe” view:
1m EMA structure = your baseline regime,
15s/1s EMA structure = your momentum alignment,
15s/1s price vs 1m EMA9 = your immediate pressure/positioning vs the baseline.
What it plots (crossover markers)
For each EMA crossover set (1m, 15s, 1s), the script plots:
Bull cross marker (arrow up)
Bear cross marker (arrow down)
To keep the chart clean:
It keeps only the most recent bull cross and most recent bear cross per tracked timeframe.
When a new bull/bear cross happens, the prior marker of that same type/timeframe is removed.
Markers are differentiated by:
Color and/or a mini label on the marker (e.g., “1m”, “15s”, “1s”), so you can instantly tell which timeframe produced the signal.
Inputs / customization
Typical controls include:
Show/hide table
Table position + text size
Lower‑timeframe selections (so you can change 15s/1s if your symbol or plan doesn’t support seconds data)
Optional marker sizing / visibility settings (if you decide to expose them)
Recommended usage
Use the 1m EMA9/EMA21 as your baseline bias filter.
Use 15s & 1s EMA alignment to confirm momentum is in agreement before entries.
Use 15s/1s price vs 1m EMA9 as a quick “pressure” check (continuation vs mean‑reversion risk).
Use the most recent crossover markers to avoid trading into a fresh regime change without confirmation.
Limitations / notes
Seconds‑based signals require seconds data availability for your symbol/account. If not supported, switch those inputs to a higher LTF (e.g., 1m / 5m).
Because the indicator uses multi‑timeframe data, responsiveness can depend on your current chart timeframe and how often TradingView updates each series.
Disclaimer
This indicator is for educational/informational purposes only and does not constitute trading or investment advice. Futures trading involves substantial risk and can result in significant losses. Always manage risk and follow your plan.
Custom Timeframe Candles [Metrify]This script lets you build custom timeframe candles (like 7m, 11m, 2h, 3D, etc.) by manually aggregating price data from a lower chart timeframe.
While it doesn’t fully replace TradingView’s native custom TF — especially in terms of perfect timestamp alignment, it gives you a very close (same calculation) and practical alternative for analysis.
How it works
Candles are manually aggregated from the current chart timeframe
Instead of relying on request.security(), candles are constructed directly from the current chart data.
For best results, use a chart timeframe that is divisible and as close as possible to your custom timeframe
Example: Custom TF = 10m → use 5m chart (1m chart also works, but the gap will be larger and less efficient)
Smaller gaps = cleaner candles, better visual accuracy, and smoother updates
SPY 5m Scalper + Auto Exit 3PM ET5m chart scalper for Spy/QQQ. It uses the 9,21,50 ema and the vwap to time puts and calls while trading options, you can also use it on other stocks.
Blackbox - OnyxBlackbox - Onyx: Institutional Liquidity & Order Flow Engine
Retail traders look for patterns; Institutions hunt for liquidity. Blackbox - Onyx is not just a support/resistance indicator. It is an algorithmic trading architect designed to map out Institutional Footprints on your chart. It decodes the raw order flow of the market (XAUUSD, BTC, Forex) to identify where Smart Money has stacked their orders.
This script operates on a simple philosophy: "Price moves to hunt liquidity and fill imbalances."
1. 🔥 FIRE ORDER BLOCKS (Tier 1 - The Sniper) This is the highest probability zone (>85% Est. Winrate).
Logic: A FIRE OB is formed only when a Liquidity Sweep happens, followed by a violent displacement (Structure Shift) and validated by Macro Data (DXY).
Usage: These are "Limit Order" worthy zones. Banks often defend these levels aggressively.
Visual: Gold/Purple Solid Boxes.
2. ⭐ STAR ORDER BLOCKS (Tier 2 - The Standard) High-quality continuation zones (>75% Est. Winrate).
Logic: Unlike basic order blocks, the STAR engine requires a Dominant Candle Body (>55%), a verified Fair Value Gap (FVG), and a Micro-Structure Break.
Usage: Wait for confirmation (lower timeframe entry) before engaging.
Visual: Green/Red Transparent Boxes with "⭐".
3. 👻 GHOST PROTOCOL (Chart Cleanliness) Institutional trading requires a clear mind and a clear chart.
Feature: If price moves too far away from a STAR OB (Distance > 10x ATR), the algorithm automatically hides the zone to reduce cognitive load.
Auto-Resume: The zone will reappear automatically when price approaches it again. Do not panic if a box disappears; it is simply in "Ghost Mode" to keep your chart clean.
4. 🌍 MACRO FILTER (DXY Correlation) "The Chart is a shadow of Fundamentals."
If enabled, the script checks the Dollar Index (DXY) trend in the background. It filters out Bullish setups on XAUUSD/BTC if DXY is pumping, saving you from "Bull Traps."
5. 🐔 LIQUIDITY POOLS (PDH/PDL)
Displays Previous Day High (PDH) and Low (PDL).
Logic: These are the primary targets for price. We do not trade at these lines; we wait for price to sweep them and reverse.
Check the Dashboard: Look at the top-right panel. Is the flow Bullish or Bearish?
Identify the Zone:
If FIRE OB appears: Prepare for a high-probability reversal.
If STAR OB appears: Look for price to tap into the FVG and reject.
Ghost Protocol: If you see an empty chart, it means price is expanding. Wait for it to return to the "Ghost Zones."
Execution:
BUY at Bullish Order Blocks only if price is in a Discount (Cheap) area.
SELL at Bearish Order Blocks only if price is in a Premium (Expensive) area.
Target: Aim for the opposing liquidity pools (PDH/PDL) or the next unmitigated Order Block.
Show FIRE/STAR: Toggle visibility of specific tiers.
Ghost Protocol (ATR): Adjust how far price must be to hide the zones. Lower value = Cleaner chart.
DXY Filter: Highly recommended for XAUUSD and EURUSD traders.
Candle Quality: Filters out weak/doji candles from becoming Order Blocks.
DISCLAIMER: Trading involves substantial risk. This tool is an aid for liquidity analysis, not a financial advisor. Always manage your risk.
Built by an Architect. For the Architects.
PERRY the close of the 8:30 candle with give you the highs and lows of the wicks all the way across your chart and will clear automatically the next day
PaisaPani - Demo Performance (Silver)This indicator shows a DEMO performance snapshot
to explain how a rule-based framework behaves on charts.
It is NOT a live trading system.
It does NOT provide Buy/Sell signals.
No profit guarantees are implied.
🔹 Separate indicators are designed for different instruments
(Nifty, BankNifty, Silver etc.)
🔹 Intended to be used only on the mentioned timeframes
🔹 Focused on structure, discipline, and risk awareness
🔒 Full PaisaPani strategy is Invite-Only.
If you have any queries, you may message "ACCESS" on TradingView.
⚠ Disclaimer:
This demo is for educational purposes only.
Trading involves risk. Please use your own judgment.






















