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
Candlestick analysis
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.
8:30 Candle Wick Levels (Daily Reset)draws lines at top of wick and bottom of wick of close of the 8:30 5m candle
The Automatic Channel Revolution [8 Levels + Slicing]Stop wasting time manually drawing lines and start trading.
I present to the community Fimathe Master Pro, a unique tool designed to completely automate the Fimathe technique, eliminating subjectivity and human error when drawing channels.
Many traders miss entry timing while adjusting rectangles or manually calculating the 50% (slicing) levels. This script solves that instantly, creating a visual structure that is clean, professional, and objective for Day Trading (Indices, Forex, and Crypto).
๐ WHAT MAKES THIS SCRIPT UNIQUE?
Unlike other indicators that simply plot support and resistance lines, Fimathe Master Pro creates a Dynamic Block Structure:
Automatic Reference Channel: You define the time range (e.g., first 30 min or 1h), and the script automatically detects the High and Low, locking in the Reference Channel and Neutral Zone.
8-Level Expansion System (New): The indicator automatically projects 4 Levels Up and 4 Levels Down. You will never run out of targets during strong trend days again.
Visual Slicing (50%): The script automatically draws discrete dotted lines in the middle of each channel, allowing for precise "slicing" operations (sub-channel trading) without cluttering the chart.
Clean & Transparent Visuals: Developed with an intelligent transparency layer (92%), ensuring you can see the candles perfectly while identifying Buy and Sell zones.
โ๏ธ HOW TO CONFIGURE:
Session: Default is set to 0900-0930 (First 30 min). If you trade the Classic Fimathe (1 hour), simply change it in the settings to 0900-1000.
Slicing: Can be toggled on or off with a single click.
Colors: Fully customizable to fit your template (Dark or Light mode).
๐ฏ WHO IS THIS INDICATOR FOR?
Ideal for Price Action traders and students of the Fimathe technique who want to professionalize their screen and gain agility in decision-making.
If this script helped your market reading, please leave a BOOST (Like) and comment your suggestions below!
Ultimate Volume Dashboard & Signals V2๐ Clear Entry Criteria Summary
BUY Entry SELL Entry
โ
RVOL โฅ 1.5x โ
RVOL โฅ 1.5x
โ
Green Candle โ
Red Candle
โ
Strong Body (>50%) โ
Strong Body (>50%)
โ
Price > VWAP โ
Price < VWAP
โ
Price > EMA 50 โ
Price < EMA 50
โ
RSI 50-80 โ
RSI 20-50
โญ Extreme Vol = Strong Signal โญ Extreme Vol = Strong Signal
๐ Key Improvements
Cooldown Period - Prevents signal spam
EMA Filter - Additional trend confirmation
Candle Body Check - Filters weak/doji candles
Strong vs Regular Signals - Extreme volume = higher conviction
Entry/SL Levels - ATR-based levels displayed
Alert Conditions - Ready for notifications
Would you like me to add backtesting statistics or multi-timeframe confirmation?
//@version=5
indicator("Ultimate Volume Dashboard & Signals", overlay=true)
// ==========================================
// 1. SETTINGS & INPUTS
// ==========================================
// General Settings
lookback_len = input.int(20, "Volume Moving Average Length", group="Volume Settings")
rvol_thresh = input.float(1.5, "RVOL Threshold (Breakout Level)", step=0.1, group="Volume Settings")
// Trend Settings
use_vwap = input.bool(true, "Filter Signals using VWAP", group="Trend Filters")
rsi_len = input.int(14, "Momentum Length (RSI)", group="Trend Filters")
// Dashboard Settings
show_table = input.bool(true, "Show Dashboard", group="UI Settings")
table_size = input.string("Small", "Table Size", options= , group="UI Settings")
// ==========================================
// 2. CALCULATIONS
// ==========================================
// --- Volume Calculations ---
vol_ma = ta.sma(volume, lookback_len) // Average Volume
rvol = volume / vol_ma // Relative Volume (Current vs Average)
// --- Trend & Momentum Calculations ---
rsi_val = ta.rsi(close, rsi_len) // RSI Momentum
vwap_val = ta.vwap(close) // Volume Weighted Average Price
// Detect Volume Spikes (The "Upcoming" Momentum)
is_vol_spike = rvol >= rvol_thresh
// ==========================================
// 3. SIGNAL LOGIC
// ==========================================
// Bullish Signal Logic
// 1. Volume is significantly higher than average (Spike)
// 2. Candle is Green (Close > Open)
// 3. Price is above VWAP (Institutional Control)
// 4. RSI is rising but not completely maxed out (>50)
bull_trend = use_vwap ? (close > vwap_val) : true
buy_signal = is_vol_spike and close > open and bull_trend and rsi_val > 50 and rsi_val < 90
// Bearish Signal Logic
// 1. Volume Spike
// 2. Candle is Red (Close < Open)
// 3. Price is below VWAP
// 4. RSI is falling (<50)
bear_trend = use_vwap ? (close < vwap_val) : true
sell_signal = is_vol_spike and close < open and bear_trend and rsi_val < 50 and rsi_val > 10
// ==========================================
// 4. VISUALS ON CHART
// ==========================================
// Color Bars based on Volume Intensity
bar_color = is_vol_spike ? (close > open ? color.new(color.lime, 0) : color.new(color.red, 0)) : (close > open ? color.new(color.gray, 60) : color.new(color.gray, 60))
barcolor(bar_color)
// Plot Buy/Sell Labels
plotshape(buy_signal, title="BUY Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="VOL BUY", textcolor=color.white, size=size.small)
plotshape(sell_signal, title="SELL Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="VOL SELL", textcolor=color.white, size=size.small)
// Plot VWAP for reference
plot(use_vwap ? vwap_val : na, "VWAP", color=color.yellow, linewidth=1)
// ==========================================
// 5. DASHBOARD PANEL
// ==========================================
if show_table
// Define Table Size
t_size = table_size == "Tiny" ? size.tiny : table_size == "Small" ? size.small : table_size == "Normal" ? size.normal : size.large
text
// Create Table (Top Right)
var tbl = table.new(position.top_right, 2, 5, bgcolor=color.new(color.black, 50), border_color=color.gray, border_width=1, frame_color=color.gray, frame_width=1)
// --- Header ---
table.cell(tbl, 0, 0, "METRIC", text_color=color.white, bgcolor=color.new(color.blue, 20), text_size=t_size)
table.cell(tbl, 1, 0, "STATUS", text_color=color.white, bgcolor=color.new(color.blue, 20), text_size=t_size)
// --- Row 1: RVOL (Volume Strength) ---
rvol_color = rvol > 2.0 ? color.red : rvol > 1.0 ? color.green : color.gray
rvol_txt = rvol > 2.0 ? "EXTREME (" + str.tostring(rvol, "#.##") + "x)" : rvol > 1.0 ? "High (" + str.tostring(rvol, "#.##") + "x)" : "Low (" + str.tostring(rvol, "#.##") + "x)"
table.cell(tbl, 0, 1, "Rel Volume (RVOL)", text_color=color.white, text_size=t_size)
table.cell(tbl, 1, 1, rvol_txt, text_color=color.white, bgcolor=rvol_color, text_size=t_size)
// --- Row 2: Trend (VWAP) ---
trend_txt = close > vwap_val ? "BULLISH" : "BEARISH"
trend_col = close > vwap_val ? color.green : color.red
table.cell(tbl, 0, 2, "Trend (VWAP)", text_color=color.white, text_size=t_size)
table.cell(tbl, 1, 2, trend_txt, text_color=color.white, bgcolor=trend_col, text_size=t_size)
// --- Row 3: Momentum (RSI) ---
mom_txt = rsi_val > 50 ? "Positive" : "Negative"
mom_col = rsi_val > 50 ? color.green : color.red
table.cell(tbl, 0, 3, "Momentum", text_color=color.white, text_size=t_size)
table.cell(tbl, 1, 3, mom_txt, text_color=color.white, bgcolor=mom_col, text_size=t_size)
// --- Row 4: Signal Status ---
sig_txt = buy_signal ? "BUY NOW" : sell_signal ? "SELL NOW" : "WAIT"
sig_col = buy_signal ? color.lime : sell_signal ? color.red : color.gray
table.cell(tbl, 0, 4, "ACTION", text_color=color.white, bgcolor=color.new(color.white, 80), text_size=t_size)
table.cell(tbl, 1, 4, sig_txt, text_color=color.black, bgcolor=sig_col, text_size=t_size) clear entre based on code
Previous Daily Levels (PDH/PDL/PDO)A clean and precise indicator that plots the Previous Day's High, Low, and Open levels on your chart. These key reference points are essential for intraday traders and work seamlessly on any lower timeframe.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ KEY FEATURES
Accurate Origin Points โ Lines start exactly where the high/low/open occurred, not from an arbitrary point
Multi-Timeframe Compatible โ Works on any timeframe (1m, 5m, 15m, 1H, etc.)
Fully Customizable โ Individual colors, styles, and visibility for each level
Smart Labels โ Price labels positioned above/below lines to avoid overlap
Built-in Alerts โ Get notified when price crosses any level
Optional Info Table โ Quick reference panel showing all levels
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ LEVELS EXPLAINED
PDH (Previous Daily High) โ The highest price reached during the previous trading day. Often acts as resistance.
PDL (Previous Daily Low) โ The lowest price reached during the previous trading day. Often acts as support.
PDO (Previous Daily Open) โ The opening price of the previous trading day. Key reference for bias direction.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ SETTINGS
Previous Daily High (PDH)
Show/Hide PDH
Line Color
Line Style (Solid / Dashed / Dotted)
Line Width (1-4)
Extend Line (on/off)
Previous Daily Low (PDL)
Show/Hide PDL
Line Color
Line Style (Solid / Dashed / Dotted)
Line Width (1-4)
Extend Line (on/off)
Previous Daily Open (PDO)
Show/Hide PDO
Line Color
Line Style (Solid / Dashed / Dotted)
Line Width (1-4)
Extend Line (on/off)
Labels
Show/Hide Labels
Label Size (Tiny / Small / Normal / Large)
Label Offset โ Horizontal distance from current bar
Label Y Offset โ Vertical spacing from line (ATR-based)
Info Table
Show/Hide Table
Table Position (Top Left / Top Right / Bottom Left / Bottom Right)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ALERTS
Set alerts for any of the following conditions:
Price crosses above PDH
Price crosses below PDH
Price crosses above PDL
Price crosses below PDL
Price crosses above PDO
Price crosses below PDO
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก HOW TO USE
Support & Resistance
PDH and PDL often act as significant support/resistance levels. Watch for rejections or breakouts at these levels.
Daily Bias
Compare current price to PDO:
Price > PDO โ Bullish bias
Price < PDO โ Bearish bias
Breakout Trading
A clean break above PDH or below PDL with volume can signal continuation moves.
Mean Reversion
Look for failed breakouts and sweeps of PDH/PDL as potential reversal zones.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ NOTES
Best used on intraday timeframes (1m to 4H)
Levels update automatically at the start of each new trading day
Combine with volume analysis and market structure for best results
FS instant (extremo 4H) - R.AlvaradoFS Instant (4H Extremes) โ R. Alvarado automatically detects and marks Failure Swings (FS) at 4H highs and lows when they are formed during the final 15-minute candle (:45) of each 4-hour block, specifically at 00:45, 04:45, 08:45, 12:45, 16:45, and 20:45 New York time. The indicator runs exclusively on the 15-minute timeframe and evaluates whether that candle printed the high or low of the completed 4H candle using a configurable tick tolerance, instantly labeling the event at candle close. This tool is designed for traders who want to identify liquidity events and potential reversals (Failure Swings) in real time while aligning lower-timeframe execution with higher-timeframe structure, and should be used as a contextual aid rather than a standalone trading signal.
Pro Volume & Momentum Dashboard [CONFIRMED ENTRY v2.1]๐ฏ Key Upgrades in This Version:
1. 10-Point Confluence Scoring System
# Factor Description
1 Volume Spike RVOL โฅ threshold with directional candle
2 Volume Delta Buy vs Sell pressure analysis
3 VWAP Position Institutional fair value
4 200 EMA Macro trend alignment
5 EMA Stack 9 > 21 > 50 alignment
6 ADX Trend strength + direction
7 RSI Momentum confirmation
8 MACD Histogram momentum
9 HTF Trend Higher timeframe alignment
10 Candle Quality Strong body, minimal wicks
2. Confirmed Entry Logic
โ
Requires minimum 7/10 confluence score (adjustable)
โ
Waits for candle close to avoid fakeouts
โ
5-bar cooldown prevents duplicate signals
โ
Potential setups warned when score is 5-6/10
3. Risk Management
Auto-calculated Stop Loss (ATR-based)
Two Take Profit levels (TP1 & TP2)
Visual risk zones on chart
Risk/Reward ratio displayed
4. Higher Timeframe Confirmation
Checks 1H (or custom) timeframe trend
Ensures trade aligns with bigger picture
๐ How to Use:
Wait for โ CONFIRMED BUY/SELL label (not triangles)
Check dashboard for 7+/10 score
Entry: On signal candle close
Stop Loss: Red line below/above
Take Profit: Green lines (scale out at TP1, full exit TP2)
๐ฏ๏ธ Candlestick Patterns Added
Bullish Patterns (11 Total)
Pattern Description Strength
Bullish Engulfing Green candle engulfs prior red โญโญโญ Strong
Hammer Long lower wick at bottom โญโญ Medium
Morning Star 3-candle reversal pattern โญโญโญ Strong
Bullish Harami Small green inside large red โญโญ Medium
Piercing Line Opens gap down, closes above mid โญโญ Medium
Three White Soldiers 3 consecutive strong green candles โญโญโญ Strong
Dragonfly Doji Long lower wick, no body โญโญ Medium
Tweezer Bottom Equal lows at support โญโญ Medium
Bullish Marubozu Full body, no wicks โญโญโญ Strong
Rising Three Continuation after pullback โญโญ Medium
Bearish Patterns (11 Total)
Pattern Description Strength
Bearish Engulfing Red candle engulfs prior green โญโญโญ Strong
Shooting Star Long upper wick at top โญโญ Medium
Evening Star 3-candle reversal pattern โญโญโญ Strong
Bearish Harami Small red inside large green โญโญ Medium
Dark Cloud Cover Opens gap up, closes below mid โญโญ Medium
Three Black Crows 3 consecutive strong red candles โญโญโญ Strong
Gravestone Doji Long upper wick, no body โญโญ Medium
Tweezer Top Equal highs at resistance โญโญ Medium
Bearish Marubozu Full body, no wicks โญโญโญ Strong
Falling Three Continuation after pullback โญโญ Medium
Hanging Man Long lower wick at top โญโญ Medium
Linear Regression CVDHow to Read It:
Rising CVD: Aggressive buyers are in control (Market Buys > Market Sells).
Falling CVD: Aggressive sellers are in control (Market Sells > Market Buys).
Key Trading Strategy (Divergence):
The most powerful way to use CVD is to look for Divergences:
Bearish Divergence (Absorption): Price makes a New High, but CVD makes a Lower High.
Meaning: Price is rising, but aggressive buying power is drying up. Limit sellers are absorbing the buys. A reversal may be coming.
Bullish Divergence (Absorption): Price makes a New Low, but CVD makes a Higher Low.
Meaning: Price is dropping, but aggressive selling is weakening. Limit buyers are stepping in.






















