Motif-Motif Chart
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
Ripstercombo📊 Ripster + RVOL + Saty ATR — Options Trading Dashboard
This script is an all-in-one market context dashboard for options traders.
It combines trend direction, volatility, participation, and remaining range into a simple visual layout so you can decide when to trade, what direction to trade, and when to stop trading.
This indicator is designed for:
0DTE options
Short-dated directional options
Index ETFs (SPY / QQQ / IWM)
Momentum and trend-following traders
🔝 Saty ATR Levels (Top Table)
The Saty ATR table shows how much of today’s move is already used and where key volatility levels sit.
It displays:
Day Range vs ATR %
→ how much of today’s normal range is already completed
Calls / Puts trigger levels
±1 ATR targets
Example:
Day Range ($4.68) is 54.5% of ATR ($8.59)
Calls > $618.31 | +1 ATR $624.87
Puts < $614.25 | -1 ATR $607.69
How to read it:
< 35% ATR → Market hasn’t moved yet (wait)
35–80% ATR → Best trading window
> 85–90% ATR → Late day (avoid new premium buys)
📈 LT (Long-Term) Trend Table
Shows multi-timeframe Ripster trend bias:
1H
Daily (two EMA structures)
Weekly (two EMA structures)
Each column shows Bullish / Bearish.
Rule:
Trade in the direction where most LT boxes agree.
⚡ ST (Short-Term) Timing Table
Shows:
Price Action
Ripster Clouds 34/50
Ripster Clouds 5/12
Used for entry timing, not bias.
Rule:
Best entries happen when ST agrees with LT.
If ST disagrees → wait (avoid chop and theta decay).
🔊 RVOL Table (Participation)
Shows:
Current candle volume
Current RVOL %
Previous RVOL %
Color-coded:
🟥 ≥ 200% → Strong momentum
🟧 ≥ 100% → Active
🟨 < 100% → Low participation
Rule:
RVOL confirms whether moves have real participation.
📏 ATR Levels on Chart
Plots:
Previous close
Trigger levels
±1 ATR
±2 ATR (optional)
These are reaction zones, not predictions.
Used for:
Entries on pullbacks
Profit targets
Risk management
🎛 Built-In Options Presets
Options Scalper
Clean layout
Focus on:
DTR vs ATR %
RVOL
LT + ST alignment
Best for intraday momentum and fast trades
Options Swing
Full context
ATR extensions enabled
Best for 2–10 DTE directional trades
0DTE Only
Ultra-focused
Designed to avoid late-day premium decay
Ideal for same-day options
🧠 Options Cheat Sheet (Quick Rules)
DTR vs ATR %
< 35% → Wait
35–80% → Tradeable
85% → Late day (manage exits)
RVOL
< 100% → Fakeout risk
≥ 150% → Momentum conditions
LT Table
Mostly Bullish → Calls only
Mostly Bearish → Puts only
Mixed → Chop (avoid buying premium)
ST Table
Aligns with LT → Entry window
Disagrees → Wait
ATR Levels
Don’t chase mid-range
Enter near trigger / ATR zones
Take profits into next ATR band
🎯 Core Principle
Trade only when Direction (LT), Timing (ST), Volatility (ATR), and Participation (RVOL) agree.
This script does not predict price.
It helps you avoid bad trades, reduce over-trading, and press high-quality setups.
⚠️ Disclaimer
This indicator is provided for educational purposes only.
It is not financial advice. Options trading involves significant risk.
You are fully responsible for your own trading decisions and risk management.
Ripstercombo🔹 ABOUT THIS INDICATOR
Ripster + RVOL + Saty ATR – Options Dashboard is an all-in-one market context tool designed for options traders.
It combines:
Trend direction (multi-timeframe bias),
Entry timing (short-term structure),
Participation (relative volume),
Volatility context (ATR levels),
and DTR vs ATR % to show how much of the day’s expected move is already used.
The goal is not prediction, but decision quality — helping traders avoid low-probability conditions and press trades only when structure, volatility, and participation align.
This indicator works especially well for:
0DTE options
Short-dated directional trades
Index ETFs (SPY / QQQ / IWM)
Futures-style momentum setups
🔹 HOW THIS TOOL IS MEANT TO BE USED
This script answers four questions every options trader should ask:
Is there enough range left today to trade?
→ DTR vs ATR %
Is there real participation behind the move?
→ RVOL table
What direction has the higher probability?
→ LT (Long-Term) table
Is now a good time to enter?
→ ST (Short-Term) table + ATR levels
Trades are highest quality when all four agree.
🔹 QUICK START (OPTIONS)
0DTE / intraday scalping
→ Select preset “0DTE Only”
Directional options (2–10 DTE)
→ Select preset “Options Swing”
Use Master Labels Toggle to instantly declutter the chart.
🔹 IMPORTANT NOTES
ATR levels are reaction zones, not predictions.
RVOL confirms participation — it does not predict direction.
DTR vs ATR % helps prevent late entries and theta decay traps.
This tool is designed to filter bad trades, not force trades.
⚠️ DISCLAIMER
This indicator is provided for educational and informational purposes only.
It does not provide financial, investment, or trading advice.
The author makes no guarantees regarding profitability or accuracy.
All trading involves risk, especially options trading, which can result in rapid and substantial losses.
You are solely responsible for your own trading decisions and risk management.
By using this indicator, you acknowledge that:
You understand the risks involved,
You accept full responsibility for any trades taken,
Past performance does not guarantee future results.
🧠 FINAL THOUGHT
Trade only when direction, timing, volatility, and participation agree.
Avoid trades when even one of them disagrees.
GB-Swing by AlgoKingsGB-Swing 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-SWING?
GB-Swing is a swing-structure analysis indicator that identifies 3-bar or 5-bar swing highs and swing lows and filters them using Goldbach / CE time-based calculations. The script highlights only those swing points that align with predefined mathematically significant time values, allowing focused study of price behavior around structurally and temporally aligned points.
This indicator does not generate trade signals. It is designed to assist in discretionary market analysis by visualizing swing structure in combination with time-based conditions.
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
SWING STRUCTURE DETECTION
GB-Swing identifies swing highs and swing lows using classic bar-based structure logic:
5-bar swings (default): A central bar is confirmed as a swing high or low only when surrounded by sufficient higher or lower bars, producing more selective swing points.
3-bar swings: A faster, less restrictive swing definition for users who prefer more frequent structure points.
Swing detection is based solely on price structure and does not rely on indicators, oscillators, or momentum calculations.
GOLDBACH / CE TIME MATCHING
Each detected swing is evaluated against a set of Goldbach / CE numbers using the candle timestamps surrounding the swing point.
Matching logic tests multiple time relationships:
-Candle minute
-Hour + minute
-Absolute difference between hour and minute
-Matches may be exact or approximate (±1 tolerance). Only swings with at least one valid match are displayed.
Users may select:
-A built-in master list of GB/CE numbers, or
-A custom comma-separated list, automatically filtered against the master list to prevent invalid values.
TIMEFRAME AND TIMEZONE CONTROL
Swing detection is performed on a user-defined Swing timeframe. The chart timeframe must be less than or equal to the selected Swing timeframe.
Goldbach calculations are performed using a dedicated timezone (New York or Zurich), independent of the chart’s display timezone. This allows consistent time-based analysis across different chart configurations.
OPTIONAL LIQUIDITY LEVEL TRACKING
When enabled, the indicator projects horizontal levels from qualifying swing highs or lows:
-Levels extend forward in time until price trades through them
-Once price interacts with a level, it is marked as taken
-Taken levels are visually differentiated using line style changes
-Separate history limits are maintained for swing points and liquidity levels
-This feature is optional and can be disabled entirely.
WHY CLOSED-SOURCE?
This script protects proprietary implementation details, including:
-Custom Goldbach / CE matching logic across multiple time relationships
-Multi-bar swing confirmation logic with edge-case handling
-Timezone-independent timestamp evaluation
-Efficient history management for swings and liquidity levels
-The indicator focuses on analytical behavior rather than exposing internal algorithms.
HOW TO USE
Setup:
-Apply GB-Swing to any supported market
-Select a Swing timeframe greater than or equal to your chart timeframe
-Choose 3-bar or 5-bar swing logic
-Enable either the full GB/CE list or a custom list
-Adjust visual and liquidity settings as desired
Interpretation:
-Swing highs and swing lows are displayed only when time conditions are met
-Upward swings are drawn below price, downward swings above price
-Displayed numbers represent matched GB/CE values
-Liquidity lines represent potential areas of interest, not trade levels
SETTINGS EXPLAINED
Swing:
-Timeframe: Timeframe used for swing detection
-Swing Type: 3-bar or 5-bar structure
-History: Number of swings retained on chart
Goldbach / CE:
-All GB/CE: Enables the built-in master list
-GB/CE List: Custom comma-separated values
-Timezone: Reference timezone for calculations
Display:
-Marker: Enable or disable swing markers
-Numbers: Show or hide GB/CE values
-Text Size: Label size
-Colors: Up and down swing colors
Liquidity:
-Liquidity: Enable or disable level projection
-Color: Liquidity line color
-History: Number of liquidity levels retained
UPDATES
This script is actively maintained. Updates are distributed through TradingView’s native update system. For questions or discussion, please use the comment section below.
GB-Numbers by AlgoKingsGB-Numbers 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-NUMBERS?
GB-Numbers displays Goldbach mathematical time windows directly on the chart, marking both historical bars and future time periods where time components align with selected Goldbach numbers. Unlike other Goldbach indicators that filter price patterns, this tool shows pure time analysis - when mathematical harmonics occur regardless of price action.
Example: If minute=23 at current bar, label displays "23". If next bar at 11:35 will have minute=35, indicator projects label 60 bars forward showing when this time window will occur.
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 custom subset via comma-separated list for both Future and History modes.
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:
Two matching modes available:
EXACT MODE:
Number matches if ANY time component exactly equals Goldbach number:
if (m == n) or (h == n) or (h+m == n) or (|h-m| == n)
→ Exact match, display number
ALL MODE (±1 tolerance):
Number matches if ANY time component equals Goldbach number ±1:
if (m == n±1) or (h == n±1) or (h+m == n±1) or (|h-m| == n±1)
→ Near match, display number
Technical implementation:
gbMatch() function tests single number against timestamp's four components. gbMatches() loops through number array, calls gbMatch() for each, returns three arrays: all matches, exact matches, approximate matches. Display uses exact or all based on mode setting.
2. FUTURE TIME PROJECTION
Projects Goldbach matches up to 60 bars into the future:
INITIALIZATION PHASE:
When reaching barstate.islastconfirmedhistory (end of historical data), algorithm performs forward scan:
- Loops from bars_back=-1 to bars_back=-60
- Calls time("", bars_back=idx) to get future timestamps
- Tests each timestamp against selected Goldbach numbers
- Creates labels at future bar positions showing matching numbers
REAL-TIME UPDATES:
On each new bar during live trading (barstate.islast):
- Tests single timestamp 60 bars ahead (time("", bars_back=-60))
- Creates new label if matches found
- Purges oldest future label if it reached current time (last.t <= time)
- Updates all future label y-coordinates to current high for visibility
Rolling window:
Maintains constant 60-bar forward projection. As chart progresses, oldest future label converts to current bar, new label added 60 bars ahead, creating rolling wave of future time windows.
Visual management:
Future labels positioned at high price for visibility. On each bar, all future labels updated to current high (set_y(high)) so they remain visible as price moves. When future bar becomes current, label deleted from nexts array.
3. HISTORICAL BAR MARKING
Marks past bars where Goldbach matches occurred:
DETECTION:
On each new bar (time != previous time):
- Tests current bar timestamp against historical Goldbach array
- If matches found, creates label at bar's high
- Label text contains matched numbers sorted descending, newline-separated
ARRAY MANAGEMENT:
Maintains rolling history array with configurable size (0-400 bars):
- Unshifts new Bar object (contains timestamp and label reference)
- When array exceeds history limit, pops oldest and deletes label
- Enables dynamic history depth adjustment without performance degradation
VERTICAL OFFSET:
Optional vertical offset parameter (0-9) adds newlines to label text, pushing numbers higher above bar. Each increment adds one newline, creating visual separation when multiple indicators overlap.
Difference from future:
Historical labels remain at creation coordinates. Future labels dynamically adjust to current high. Historical mode optional (can be disabled), future mode default enabled.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- 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
- Future projection engine: Rolling 60-bar forward scan using time("", bars_back=-idx) with dynamic label positioning (set_y updates), purge logic (last.t <= time), and initialization phase optimization (single loop on islastconfirmedhistory vs bar-by-bar processing)
- Dual-mode matching: Separate exact and approximate match arrays with user-selectable filtering, requiring complex conditional logic in gbMatch() that tests four time components with tolerance windows
- Label lifecycle management: Two independent Bar arrays (nexts for future, bars for history) with different update patterns - futures update y-coordinate every bar, history remains static, futures purge by timestamp comparison, history purges by array size
- Timezone abstraction: Single timezone parameter affects all time component calculations (minute, hour extraction) uniformly across historical and future projections
Standard time indicators show current time only. This script provides dual-timeline analysis with mathematically filtered time windows across past and future.
TECHNICAL COMPONENTS
Core structures:
- Bar Object: Container for timestamp (t) and label reference, used in both bars (history) and nexts (future) arrays
- Goldbach arrays: nextGbArray (user-selected for future), barGbArray (user-selected or all 23 for history)
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
Future projection:
- Initialization: for idx = -1 to -60: test time("", bars_back=idx)
- Live update: test time("", bars_back=-60) on each new bar
- Purge: if (nexts.last().t <= time) pop and delete
- Position update: for all nexts: set_y(high)
Historical marking:
- Detection: if (time != t0) test gbMatches(barGbArray, time, timezone)
- Creation: label.new(time, high, matches.join(" "))
- Purge: if (bars.size() > barHistory) pop and delete
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. Configure Future section: Enable, select Exact/All mode, enter GB/CE numbers, choose color
4. Configure History section: Enable, select Exact/All mode, enter GB/CE numbers or enable "All GB/CE", set history depth, choose color
5. Adjust Text Size and Vertical Offset as needed
Chart Timeframe:
Works on any timeframe. Lower timeframes (1m-5m) show more frequent matches. Higher timeframes (1H-Daily) show fewer, potentially more significant time windows.
Interpretation:
FUTURE (Blue labels by default):
- Labels appear up to 60 bars ahead of current bar
- Numbers show which Goldbach numbers will match at that future time
- Labels move vertically with price to stay visible
- When future bar becomes current, label disappears
- Used for anticipating upcoming mathematical time windows
HISTORY (Gray labels by default):
- Labels appear on past bars where Goldbach matches occurred
- Numbers show which Goldbach numbers matched at that time
- Labels remain at bar's high price (static)
- Quantity controlled by History parameter (0-400 bars)
- Used for reviewing past mathematical time windows
Label content:
Single number (e.g., "23") = One time component matched one Goldbach number
Multiple numbers (e.g., "35 50") = Multiple time components matched different Goldbach numbers, displayed vertically stacked
No label = No Goldbach matches at that timestamp
SETTINGS EXPLAINED
Settings:
- Timezone: Choose New York or Zurich for time component calculation (chart timezone does not affect this)
- Text Size: Label text size for all numbers (Tiny, Small, Normal, Large)
Future:
- Enable: Show/hide future time projection (60 bars ahead)
- Exact: Enable for exact matches only, disable for ±1 tolerance
- GB/CE List: Comma-separated Goldbach numbers to test for future bars (e.g., "23,35")
- Color: Label color for future time windows
History:
- Enable: Show/hide historical bar marking
- Exact: Enable for exact matches only, disable for ±1 tolerance
- All GB/CE: Enable to test all 23 master Goldbach numbers
- GB/CE List: Disable "All GB/CE" to enter custom comma-separated list (e.g., "23,35")
- History: Number of past bars to show (0-400)
- Color: Label color for historical markings
- Vertical Offset: Adds newlines above numbers (0-9), pushes labels higher for multi-indicator setups
Timezone selection:
New York (America/New_York) = EST/EDT timezone
Zurich (Europe/Zurich) = CET/CEST timezone
Chart display timezone does not affect Goldbach calculations. You can view charts in any timezone while calculating Goldbach numbers in New York or Zurich time.
Exact vs All mode:
- Exact: Stricter, only shows exact matches (m=n, h=n, h+m=n, |h-m|=n)
- All: Looser, shows exact and near matches (±1 tolerance)
- Future and History have independent mode settings
Custom number selection:
Enter numbers separated by commas with no spaces: 23,35,50,77
Invalid numbers (not in master list of 23) automatically filtered out
Minimum: 1 number
Maximum: all 23 numbers (or enable "All GB/CE" for History)
Common Configurations:
- ICT Focus: Future enabled with "23,35", History disabled (clean chart, anticipatory)
- Full Analysis: Future enabled with "23,35", History enabled with "All GB/CE", History=60
- Research Mode: Future disabled, History enabled with custom numbers, History=400 (maximum lookback)
- Minimal: Both Future and History enabled with same short list like "35,65", History=20
Vertical offset usage:
If running multiple indicators that create labels at highs, use Vertical Offset to separate GB-Numbers labels. Each increment adds one newline, pushing labels progressively higher. Useful when combining with GB-Evolve or other label-based indicators.
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
GB-FVG by AlgoKingsGB-FVG 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-FVG?
GB-FVG identifies Fair Value Gaps that form during Goldbach mathematical time windows. Unlike standard FVG indicators that display all price imbalances, this tool filters for gaps created at specific time harmonics based on Goldbach number theory, highlighting institutional order flow events that occur during mathematically significant moments.
Example: At 11:35 (minute=35, hour=11, sum=46, difference=24), if minute matches Goldbach number 35 AND a three-candle gap forms, the indicator displays this FVG. Standard gaps forming at non-Goldbach times are ignored.
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
1. THREE-CANDLE FVG DETECTION
Identifies price imbalances using precise gap analysis:
BULLISH FVG:
Candle 3 (two bars back) high < Candle 1 (current) low = Gap between bars that price never traded
BEARISH FVG:
Candle 3 (two bars back) low > Candle 1 (current) high = Gap between bars that price never traded
Technical implementation:
- Uses request.security with lookahead_on to access confirmed bar data (high , low , high , low )
- For bullish FVG: Gap top = low , Gap bottom = high
- For bearish FVG: Gap top = low , Gap bottom = high
- Detects new FVGs when time exceeds previous time (new bar completed on indicator timeframe)
Bar array management:
Maintains rolling array of 10 most recent bars from indicator timeframe. On each security.isNew event, unshifts new bar and pops oldest. Enables lookback for three-bar pattern comparison without repeated security calls.
Higher timeframe precision:
When indicator timeframe exceeds chart timeframe (e.g., 1H FVG on 5m chart), hCtf and lCtf methods search backward through chart bars to find exact bar that created gap extreme, providing precise visual placement.
2. GOLDBACH TIME FILTERING
Only displays FVGs that form during Goldbach number time windows:
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. Users can select all numbers or specify custom subset.
TIME COMPONENT CALCULATION:
For middle bar of three-candle pattern (bar that created the gap), algorithm extracts four components in selected timezone:
- 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
MATCHING LOGIC:
FVG only drawn if middle bar timestamp matches ANY Goldbach number ±1:
if (m == n) or (h == n) or (h+m == n) or (|h-m| == n)
→ Exact match, FVG qualifies
if (m == n±1) or (h == n±1) or (h+m == n±1) or (|h-m| == n±1)
→ Near match, FVG qualifies
Example: At 14:35, if user selected Goldbach 35:
- m = 35 → Exact match → FVG qualifies
- Gap drawn with label "35"
Filter effectiveness:
Standard FVG indicator might show 50+ gaps on 5m chart. GB-FVG shows only 5-10 gaps that align with Goldbach timing, reducing noise and highlighting mathematically significant imbalances.
3. MITIGATION TRACKING
Monitors gap fill status with body-based or wick-based options:
MITIGATION TYPES:
- Body Close: FVG considered filled when candle closes inside gap
- Wick Touch: FVG extends until touched (when "Mitigate on body close" disabled)
STATE MANAGEMENT:
- Active: Gap unfilled, box extends to future (x2 = time + offset)
- Mitigated: Price closed inside gap, box stops at mitigation bar
Progressive tracking:
On each new bar from indicator timeframe, if "Mitigate on body close" enabled:
- Bullish FVG: if close <= gap.bottom, set isMit=true, x2=time
- Bearish FVG: if close >= gap.top, set isMit=true, x2=time
Visual consequences:
Active FVGs extend dynamically to future bars. Mitigated FVGs freeze at mitigation point. Unlike standard FVG indicators that show partial fills, GB-FVG uses binary state (active/mitigated).
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Goldbach filtering integration: Combines gbMatches() function with FVG detection, testing middle bar timestamp (s2.t) against user-selected Goldbach array, only creating Fvg object when matches found
- Multi-timeframe precision: hCtf and lCtf methods that search through chart bars using offset calculations (ctfBarCount * idx) and mintick rounding to locate exact bar that created higher timeframe gap extreme
- Bar array synchronization: Security object maintains rolling 10-bar array with isNew flag coordination, preventing duplicate processing while enabling three-bar lookback without repeated security calls
- Time component matching: gbMatch function implementing four-component test (m, h, h+m, |h-m|) with ±1 tolerance against each Goldbach number, returning match status and exact/approximate classification
- Mitigation state machine: isMit flag with body-close detection (close <= l for bullish, close >= h for bearish) that freezes box extension (x2) at mitigation timestamp rather than current time
Standard FVG indicators show all gaps. GB-FVG adds Goldbach timing layer requiring complex timestamp extraction, component arithmetic, and match filtering before gap visualization.
TECHNICAL COMPONENTS
Core structures:
- Bar Object: Stores OHLC and timestamp for single bar from indicator timeframe
- Security Object: Manages request.security calls, maintains Bar array (size=10), tracks isNew flag, provides hCtf/lCtf precision methods
- Fvg Object: Contains gap coordinates (x, h, x2, l), Goldbach numbers text, isMit state, box drawing object
- Option Object: Centralized settings for timezone, Goldbach array, history, colors, mitigation type
Goldbach matching:
- gbMatch(n, t, timezone): Tests single Goldbach number against single timestamp's four components with ±1 tolerance
- gbMatches(nArray, t, timezone): Tests array of Goldbach numbers against timestamp, returns arrays
FVG detection:
- Bullish: if (s3.h < s1.l and gbMatches(array, s2.t) has matches) create FVG
- Bearish: if (s3.l > s1.h and gbMatches(array, s2.t) has matches) create FVG
- Label: Goldbach numbers joined with commas (e.g., "23,35,65")
Mitigation:
- if (sBodyMit and close inside gap) set isMit=true, x2=close_time
- if (not sBodyMit) always extend to future: x2 = time("", bars_back = -4)
HOW TO USE
Setup:
1. Apply to any chart (works on all symbols and timeframes)
2. Select FVG Timeframe (must be >= chart timeframe)
3. Choose Timezone (New York or Zurich) for Goldbach calculation
4. Select "All GB/CE" to use all 23 numbers, or enter custom list
5. Enter custom numbers as comma-separated values (e.g., "23,35,65,77")
6. Enable/disable "Mitigate on body close" for mitigation behavior
Chart Timeframe Requirements:
Chart timeframe must be equal to or lower than FVG Timeframe setting. For 1H FVG analysis, use 1H or lower chart (5m, 15m, 30m, 1H all valid). Cannot use 4H chart for 1H FVG.
Interpretation:
- Green box = Bullish FVG at Goldbach time (gap up, unfilled)
- Red box = Bearish FVG at Goldbach time (gap down, unfilled)
- Numbers in box = Goldbach numbers that matched middle bar timestamp
- Box extends right = Active FVG (not yet mitigated)
- Box stops = Mitigated FVG (price closed inside gap)
- Multiple numbers = Multiple time components aligned with different Goldbach numbers
Visual placement:
Box spans from gap bottom to gap top vertically. Horizontally spans from gap formation bar to current time (active) or mitigation bar (filled). Numbers display at right edge of box.
SETTINGS EXPLAINED
Settings:
- Timeframe: Select FVG detection timeframe (any timeframe >= chart TF valid)
- Timezone: Choose New York or Zurich for Goldbach time component calculation
- 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,65,77")
- History: Number of FVGs to display (default: 9)
- Text Size: Label text size for Goldbach numbers (Auto, Tiny, Small, Normal, Large)
- Text: Text color for Goldbach number labels
- Up: Box color for bullish FVGs
- Down: Box color for bearish FVGs
- Mitigate on body close: Enable to stop box extension when price closes inside gap, disable to extend until current time
Timeframe selection:
Must select timeframe equal to or higher than chart. Examples:
- Chart 5m, FVG 15m = Valid
- Chart 5m, FVG 1H = Valid
- Chart 1H, FVG 15m = Invalid (error message shown)
Timezone selection:
New York (America/New_York) = EST/EDT timezone
Zurich (Europe/Zurich) = CET/CEST timezone
Chart display timezone does not affect Goldbach calculations. You can view charts in Tokyo time while calculating Goldbach numbers in New York time.
Custom number selection:
Enter numbers separated by commas with no spaces: 23,35,65,77
Invalid numbers (not in master list of 23) automatically filtered out
Minimum: 1 number (or enable "All GB/CE")
Maximum: all 23 numbers
Mitigation behavior:
- Enabled: Boxes stop extending when price closes inside gap (recommended for cleaner chart)
- Disabled: Boxes extend to current time regardless of fills (shows all historical gaps)
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
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
Cycles by AlgoKingsCycles 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 ARE CYCLES?
Cycles visualizes institutional time windows and key opening price levels. Instead of analyzing price patterns, this indicator segments the trading day into institutional order flow periods (90-minute, 30-minute, 10-minute cycles) and marks significant opening prices (session, daily, weekly, monthly, yearly) that often act as reference points for intraday price action.
Example: The 09:30 open price marks the start of regular US equity trading and often serves as a pivot level throughout the day. The London 1 (LN 1) 90-minute cycle from 02:30-04:00 EST represents the first institutional accumulation window.
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
1. INTRADAY CYCLE SEGMENTATION
Divides the trading day into institutional time windows:
ASIA SESSION:
18:00-02:30 EST (overnight session before London open)
90-MINUTE CYCLES:
Nine windows per trading day aligned with ICT methodology:
- LN 1, LN 2, LN 3: London session (02:30-04:00, 04:00-05:30, 05:30-07:00)
- AM 1, AM 2, AM 3: New York AM session (07:00-08:30, 08:30-10:00, 10:00-11:30)
- PM 1, PM 2, PM 3: New York PM session (11:30-13:00, 13:00-14:30, 14:30-16:00)
Technical implementation:
- 90m detection: Calculates ((hour * 60 + minute) - 150) % 90 == 0 to identify cycle boundaries from 02:30 EST baseline
- Session boundaries: Tracks inSession flag using time("", "0230-1600", gTimezone) to detect entry/exit from trading window
- Index tracking: Maintains counter (1-9) to assign sequential names (LN 1, AM 2, etc.) and color rotation (A/M/D pattern)
Color coding:
Each 90m cycle alternates three colors in A-M-D pattern (Accumulation-Manipulation-Distribution phases based on ICT concepts)
30-MINUTE CYCLES:
27 windows per trading day (2:30-16:00 EST), color-coded in A-M-D triplet pattern
10-MINUTE CYCLES:
81 windows per trading day (2:30-16:00 EST), single color for all
Cycle visualization:
- Box backgrounds highlight time ranges
- High/low tracked dynamically as cycle forms
- EQ (equilibrium) line at midpoint for 90m cycles
- Borders (optional) delineate cycle boundaries
2. OPENING PRICE TRACKING
Marks key opening levels that serve as institutional reference points:
SWING OPENS:
- Year Open: First price of calendar year
- Quarter Open: First price of Q1, Q2, Q3, Q4
- Month Open: First price of calendar month
- Week Open: First price of Sunday 18:00 EST (Monday for crypto)
INTRADAY OPENS:
- 00:00 Open: Midnight EST (new trading day for 24h markets)
- 09:30 Open: US equity market open
- Current Cycle Open (C.O): Opening price of most recent 90m cycle
Technical implementation:
- Period opens: Uses request.security to detect new bar on higher timeframe (time != previous time )
- Timed opens: Pattern matches hour/minute (e.g., hour==9 and minute==30 for 09:30)
- Line extension: Opens extend right dynamically (end = time + offset) to stay visible
History parameter controls how many previous opens to display per type.
3. OVERLAP CONSOLIDATION
When multiple opens share the same price level, consolidates into single visual:
ALGORITHM:
At barstate.islast, compares all active Level objects by price coordinate. When match found, merges labels into combined text with bullet separator (e.g., "M.O, W.O •" indicates Month Open and Week Open coincide). Lower precedence level undrawn, higher precedence level preserves visual with concatenated tooltip.
This prevents chart clutter when weekly, monthly, or quarterly opens align at same price.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- 90m cycle detection: Custom time arithmetic ((hour * 60 + minute) - 150) % 90 == 0 that calculates exact 90-minute boundaries from 02:30 baseline, with session boundary detection to exclude overnight periods
- Cycle index management: State machine that resets index to 1 on session start, increments through 1-9, applies modulo arithmetic for color rotation (index % 3), and assigns sequential names based on position
- Dynamic range tracking: Real-time high/low updating during cycle formation (h = math.max(h, high), l = math.min(l, low)) with isFinal flag transition when cycle completes
- Timed open detection: Pattern matching on hour/minute combinations with timezone conversion (gTimezone = "America/New_York") and proper handling of 24h markets vs traditional session starts
- Overlap consolidation: Price-based comparison of all Level objects at barstate.islast, string concatenation of names, selective undrawing to maintain single visual per price level
- Day of week positioning: Complex time offset calculations (newNoonTime = time - D/2, newMidTime for Sunday handling) to center labels at day midpoints considering crypto 24/7 vs traditional market schedules
Standard cycle indicators show fixed time periods. This script provides ICT-aligned institutional windows with smart label management and multi-timeframe open tracking.
TECHNICAL COMPONENTS
Core structures:
- Security Object: Stores timeframe data (open, time, time ) from request.security calls, maintains isNew flag for cycle detection
- Range Object: Represents cycle box with coordinates (start, end, h, l), isFinal state, drawing objects (box, label, eq line)
- Level Object: Represents open price line with coordinates (price, start, end, startCtf), isFinal state, drawing objects (line, label)
- Option Object: Centralized settings container with cycle-specific overrides for colors, styles, history counts
Cycle detection patterns:
- 90m: if (security.isNew and ((hour * 60 + minute) - 150) % 90 == 0 and inSession)
- 30m: if (security.isNew and inSession), index cycles 1-2-3 for color
- 10m: if (security.isNew and inSession)
- Period opens: if (security.isNew) on higher timeframe
- Timed opens: if (security.isNew and hour == h and minute == m)
Extension logic:
- Ranges: end = time, h = max(h, high), l = min(l, low) while not isFinal
- Levels: end = time + offset (offset = ctfSeconds * 12000 for far-right placement)
HOW TO USE
Setup:
1. Apply to intraday chart (works best on 1m-30m timeframes)
2. Enable/disable cycle types in Time Cycles section
3. Enable/disable open types in Opens section
4. Configure History to control how many days/periods to show
5. Adjust colors and line styles to preference
Chart Timeframe Requirements:
Designed for intraday charts (seconds to 30m). Higher timeframes (1H+) will show opens but cycles may not display properly.
Interpretation:
CYCLES (Box Backgrounds):
- ASIA = Gray box covering 18:00-02:30 EST
- LN 1/2/3 = Blue/Red/Green boxes (London 90m cycles)
- AM 1/2/3 = Blue/Red/Green boxes (NY morning 90m cycles)
- PM 1/2/3 = Blue/Red/Green boxes (NY afternoon 90m cycles)
- 30m/10m = Smaller nested cycles within 90m windows
- EQ line = 50% equilibrium level within 90m cycle range
OPENS (Horizontal Lines):
- C.O = Current 90m cycle open (most recent)
- 00:00 = Midnight EST open
- 09:30 = US equity market open
- W.O = Week open (Sunday 18:00)
- M.O = Month open
- Q.O = Quarter open
- Y.O = Year open
- Bullet (•) in label = Multiple opens at same price
DAY OF WEEK:
- Labels at chart bottom (Monday, Tuesday, etc.)
- Vertical dividers at midnight (optional)
SETTINGS EXPLAINED
Time Cycles:
- Asia: Enable/disable Asia session box (18:00-02:30 EST) with color picker
- 90m Cycle: Enable/disable 90m windows with three color pickers (A/M/D phases)
- 90m EQ: Show/hide equilibrium line at midpoint of 90m cycles
- 30m Cycle: Enable/disable 30m windows with three color pickers
- 10m Cycle: Enable/disable 10m windows with single color
- Label: Size for cycle names (LN 1, AM 2, etc.)
- Border: Show/hide cycle box outlines with style picker
- History (Days): Number of days to show cycles (0-4)
Opens:
- Label: Color and size for all open price labels
- Line Width: Thickness for all open price lines
- Current Cycle: Enable/disable C.O (current 90m cycle open)
- 00:00: Enable/disable midnight open with color and history count
- 09:30: Enable/disable equity market open with color and history count
- Week: Enable/disable weekly open with color and history count
- Month: Enable/disable monthly open with color and history count
- Quarter: Enable/disable quarterly open with color and history count
- Year: Enable/disable yearly open with color and history count
History count determines how many previous opens to display (e.g., History=2 for Weekly shows this week and last week's opens)
Day of Week:
- Day: Enable/disable day name labels at chart bottom
- Divider: Enable/disable vertical lines at midnight boundaries with style picker
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.
Asia range + liquidity and PDH/PDLThis comprehensive ICT indicator automatically plots a fully customizable Asian Range with 'smart' liquidity rails that terminate on wick contact, alongside Previous Day High/Low (PDH/PDL) levels featuring a unique 'body-break' stop logic, all while offering complete style control and a 'clean history' mode to display only the current session's key levels."
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)
Advanced Trend finder by S B PrasadAdvanced Trend finder – by S B Prasad
A Professional Multi-Engine Trend, Breakout & Scalping System
Advanced Trend Navigator is a powerful all-in-one trading indicator that fuses smart EMA trend detection, adaptive multi-filters, ribbon trend analysis, automatic trend channels, divergence detection, and built-in SL/Target projection into a single, visually intuitive system.
It is engineered for both scalpers and swing traders, with special optimization for 1-minute and 5-minute charts, while remaining highly reliable on higher timeframes.
🔹 What Makes This Indicator Unique?
Unlike single-logic indicators, Advanced Trend Navigator uses a dual-engine + structure-based approach:
EMA Smart Signal Engine → detects trend, reversals, and momentum shifts
Ribbon + Trend Channel Engine → confirms structure, breakouts, and continuation
Adaptive Filters + Divergence → remove noise and boost confidence
Risk Engine (SL/TP) → projects structured trade exits
This confluence-based design dramatically reduces false signals.
🔹 Core Features
1️⃣ Smart EMA Trend Engine
Dual EMA crossover system (Fast & Slow)
Automatic optimization for 1-minute timeframe
Detects:
Trend direction
Trend reversals
Momentum shifts
2️⃣ Multi-Layer Signal Filters
Signals are validated using a powerful adaptive filter stack:
Volume Filter (above-average volume confirmation)
RSI Filter with dynamic buy/sell thresholds
Bollinger Bands (overbought / oversold zones)
Momentum Filter (ROC-based strength detection)
Volatility Adaptation (ATR-based regime detection)
These filters dramatically reduce noise and false entries.
3️⃣ RSI Divergence Detection (1-Minute Optimized)
Bullish and bearish divergence detection
Automatic confidence boost when divergence appears
Helps identify early reversals and exhaustion zones
4️⃣ Enhanced Signal Logic
Signals are generated using a confluence of:
EMA crossovers
Candle direction
Volume + RSI + BB + Momentum
Divergence + trend-change logic
Separate logic is used for:
1-minute scalping
Higher-timeframe trend trading
5️⃣ Ribbon Trend System (CoraWave + LazyLine)
Advanced smoothed ribbon using:
CoraWave (fast line)
LazyLine (slow line)
Dynamic color-changing trend visualization
Ribbon fill highlights:
Strong bullish zones
Strong bearish zones
Neutral / transition phases
6️⃣ Automatic Trend Channel
Pivot-based dynamic trend channels
ATR-adjusted channel width
Auto-extended support & resistance structure
Visual map of evolving trend direction
7️⃣ Buy / Sell Breakout Signals (No-Spam Logic)
Signals only when:
Ribbon trend agrees
Price breaks channel boundaries
Built-in cooldown filter to prevent over-trading
Separate engine from EMA signals for dual confirmation
8️⃣ Built-In SL / Target Projection
Automatic Stop-Loss based on channel boundary
Risk-based Target 1 and Target 2 (R-multiples)
Dynamic plotting of:
SL line
Target 1 line
Target 2 line
9️⃣ Smart Time & Profit Projection
ATR-based time-to-move estimation
Dynamic profit potential estimation
Displays:
Expected move duration (minutes)
Approximate profit projection
🔟 Confidence Scoring System
Dynamic confidence % for each signal
Automatically increases when:
Divergence is detected
Bollinger extremes are triggered
🎨 Visual & Usability Features
Color-coded:
EMA lines
Ribbon trend
Trend channels
Background trend bias
Dynamic:
LONG / SHORT arrows
Signal labels with confidence + projection
Current trend status box
🔔 Alerts Included
EMA-based LONG / SHORT alerts
Ribbon fast/slow trend change alerts
Channel breakout BUY / SELL alerts
Alert messages include:
Symbol
Confidence %
Time projection
⚡ Recommended Presets
🟢 1-Minute Scalping
Fast EMA: 3 | Slow EMA: 8
Volume Filter: ON (1.1)
RSI: ON
Bollinger Bands: ON
Momentum: ON
Volatility Adaptation: ON
Ribbon: 10 / 3 / 15
Channel: Pivot 5 | ATR 14 | Width 1.5
Cooldown: 20
Targets: 1R & 2R
🔵 5-Minute Scalping (Author Preset)
Fast EMA: 5 | Slow EMA: 13
Volume Filter: ON (1.2)
RSI: OFF
Bollinger Bands: ON
Momentum: OFF
Volatility Adaptation: OFF
Ribbon: 12 / 3 / 18
Channel: Pivot 7 | ATR 14 | Width 1.7
Cooldown: 25
Targets: 1R & 2.5R
🟣 Swing Trading (15m–1H)
Fast EMA: 9 | Slow EMA: 21
Filters: All OFF
Ribbon: 15 / 5 / 25
Channel: Pivot 10 | ATR 14 | Width 2.0
Cooldown: 40
Targets: 1.5R & 3R
🎯 How to Trade This Indicator
BUY Setup:
Fast EMA > Slow EMA
Ribbon is green and rising
Price breaks above upper channel
Volume filter passes
Buy arrow appears
SELL Setup:
Fast EMA < Slow EMA
Ribbon is red and falling
Price breaks below lower channel
Volume filter passes
Sell arrow appears
❌ Avoid Trades When
Ribbon is flat or mixed colors
Channel is very narrow
Price is inside the channel
Volume filter fails
Market is extremely choppy
⚠️ Disclaimer
This indicator is a technical analysis tool, not financial advice.
Always use proper risk management and confirm signals with market context.
Past performance does not guarantee future results.
ICC Market Structure and Phase TrackingICC Market Structure and Phase Tracker
ICC Market Structure and Phase Tracker is a visual market-structure indicator based on the Indication → Correction → Continuation (ICC) framework — a structured approach to analyzing break-of-structure, pullback, consolidation, and trend-continuation phases.
The script focuses on identifying structural phases, key levels, and phase transitions across multiple timeframes, providing clear contextual market structure information.
What the Indicator Identifies
The indicator tracks complete market-structure cycles by classifying price action into the following phases:
Indication — initial structural break or trend initiation
Correction — pullback, retracement, or consolidation following the break
Continuation — expansion or impulse in the direction of structure
Neutral / No Setup — periods without valid structural conditions Each phase is visually distinguished on the chart for fast, at-a-glance structural awareness.
CORE FEATURES
Market Structure & Phase Tracking
Automatic detection of structural breaks, corrections, consolidations, and continuations
Background shading to clearly distinguish phases
Invalidation logic to identify failed or broken structures Multi-Timeframe Context
Optional higher-timeframe (HTF) structure displayed on lower-timeframe charts
HTF indication levels shown as reference lines
HTF phase and context displayed in the information table Structure Event Visualization
Visual markers for continuation and optional reversal structures
Clear visual separation between trend-aligned and counter-structure events
Reversal structure visualization can be enabled or disabled in settings Volatility-Aware Structure Zones
Structure-based support and resistance zones
Optional ATR-based zone sizing that adapts to market volatility
Configurable historical zones (0–3) with visual hierarchy Information Table
Displays current ICC phase, indication level, consolidation status, and HTF context
Designed for quick reference without relying solely on chart visuals Alerts
Alerts trigger only when corresponding visual conditions appear on the chart
Includes alerts for ICC phases, continuation structures, and optional reversals Configuration Overview
Auto Profiles for different trading contexts (Scalping, Intraday, Swing, Entry)
Manual controls for swing length, consolidation behavior, and volatility settings
Higher-timeframe controls for filtering and visual alignment
Reversal toggle to enable or disable counter-structure visualization Default settings are intended as reasonable starting points and can be adjusted for different instruments and timeframes.
Intended Use
This script is designed as a market-structure and contextual analysis tool.
Users are expected to apply their own analysis, validation, and risk management when interpreting the displayed structure.
Feedback
Bug reports, edge cases, and constructive feedback are welcome.
The project is actively refined with a focus on structure clarity, phase accuracy, and multi-timeframe usability.
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.
Advanced Trend Navigator by S B PrasadAdvanced Trend Navigator – by S B Prasad
A Professional Multi-Engine Trend & Breakout Trading System
Advanced Trend Navigator is a powerful, all-in-one trading indicator that combines smart EMA trend detection, adaptive filters, ribbon trend analysis, automatic trend channels, divergence detection, and built-in SL/Target projection into a single, visually intuitive system.
It is designed for both scalpers and swing traders, with special optimization for 1-minute charts and robust performance on higher timeframes.
🔹 Core Features
1️⃣ Smart EMA Trend Engine
Dual EMA crossover system (Fast & Slow)
Automatic optimization for 1-minute timeframe
Detects:
Trend direction
Trend reversals
Momentum shifts
2️⃣ Multi-Layer Signal Filters
Signals are validated using a powerful filter stack:
Volume Filter (above-average volume confirmation)
RSI Filter with dynamic buy/sell thresholds
Bollinger Bands (overbought / oversold zones)
Momentum Filter (ROC-based strength detection)
Volatility Adaptation (ATR-based regime detection)
These filters dramatically reduce false signals and noise.
3️⃣ RSI Divergence Detection (1-Minute Optimized)
Bullish and bearish divergence detection
Automatic confidence boost when divergence appears
Helps identify early trend reversals and exhaustion zones
4️⃣ Enhanced Signal Logic
Signals are generated using a confluence of:
EMA crossovers
Candle direction
Volume + RSI + BB + Momentum
Divergence + trend-change logic
Separate logic is used for:
1-minute scalping
Higher-timeframe trend trading
5️⃣ Ribbon Trend System (CoraWave + LazyLine)
Advanced smoothed ribbon using:
CoraWave (fast line)
LazyLine (slow line)
Dynamic color-changing trend visualization
Ribbon fill highlights:
Strong bullish zones
Strong bearish zones
Neutral / transition phases
6️⃣ Automatic Trend Channel
Pivot-based dynamic trend channels
ATR-adjusted channel width
Auto-extended support & resistance structure
Visual map of evolving trend direction
7️⃣ Buy / Sell Breakout Signals (No-Spam Logic)
Signals only when:
Ribbon trend agrees
Price breaks channel boundaries
Built-in cooldown filter to prevent over-trading
Separate engine from EMA signals for dual confirmation
8️⃣ Built-In SL / Target Projection
Automatic Stop-Loss based on channel boundary
Risk-based Target 1 and Target 2 (R-multiples)
Dynamic plotting of:
SL line
Target 1 line
Target 2 line
9️⃣ Smart Time & Profit Projection
ATR-based time-to-move estimation
Dynamic profit potential estimation
Displays:
Expected move duration (minutes)
Approximate profit projection
🔟 Confidence Scoring System
Dynamic confidence % for each signal
Automatically increases when:
Divergence is detected
Bollinger extremes are triggered
🎨 Visual & Usability Features
Color-coded:
EMA lines
Ribbon trend
Trend channels
Background trend bias
Dynamic:
LONG / SHORT arrows
Signal labels with confidence + projection
Current trend status box
🔔 Alerts Included
EMA-based LONG / SHORT alerts
Ribbon fast/slow trend change alerts
Channel breakout BUY / SELL alerts
Alert messages include:
Symbol
Confidence %
Time projection
🛠 Recommended Usage
Scalping:
1-minute or 3-minute charts
Enable Volume, RSI, Momentum, and Volatility filters
Intraday / Swing Trading:
5-minute to Daily charts
Use EMA + Ribbon + Channel confluence
5-Minute Scalping Settings
(High-probability intraday trades)
🔹 EMA Settings
Fast EMA: 5
Slow EMA: 13
🔹 Filters
Volume Filter
Use Volume Filter: ✅ ON
Volume Threshold: 1.2
RSI Filter
Use RSI Filter: ❌ OFF
(Turn ON only in very choppy markets)
RSI Length: 14
RSI Buy Level: 30
RSI Sell Level: 70
Bollinger Bands
Use Bollinger Bands: ✅ ON
BB Length: 20
BB Multiplier: 2.0
Momentum Filter (ROC)
Use Momentum: ❌ OFF
(Turn ON only for breakout-only trading)
Momentum Length: 3
Momentum Threshold %: 0.10
Volatility Adaptation
Use Volatility Adaptation: ❌ OFF
(Enable only for highly volatile stocks / crypto)
Volatility Multiplier: 1.5
🔹 Ribbon Settings
Fast Length: 12
Fast Smooth: 3
Slow Length: 18
Show Ribbon Fill: ✅ ON
🔹 Trend Channel
Pivot Length: 7
ATR Length: 14
Channel Width (ATR): 1.7
🔹 Buy / Sell Signals
Show Buy / Sell Signals: ✅ ON
Signal Cooldown (Bars): 25
🔹 SL / Target Projection
Show SL / Target Projection: ✅ ON
Target 1 (R): 1.0
Target 2 (R): 2.5
🔹 Visual / Display (Optional)
Show BB on Chart: ❌ OFF (keep chart clean)
Background Transparency: 80
Value to Display: Time (recommended for scalping)
🎯 How to Trade (5-Minute Mode)
Take BUY when:
Fast EMA > Slow EMA
Ribbon is green + rising
Price breaks above upper channel
Volume filter passes
Buy arrow appears
Take SELL when:
Fast EMA < Slow EMA
Ribbon is red + falling
Price breaks below lower channel
Volume filter passes
Sell arrow appears
❌ Avoid Trades When
Ribbon is flat or mixed colors
Channel is very narrow
Price is inside the channel
Volume filter fails
⚠️ Disclaimer
This indicator is a technical analysis tool, not financial advice.
Always use proper risk management and confirm signals with market context.
Past performance does not guarantee future results.
Predictive Emini Dynamics] ENHANCED - Price Cascade Focus v2201A smart-money + market-dynamics Cascade trading system that predicts short-term direction, highlights high-probability zones, and filters bad trades.
Core functions
1. Market Structure (SMC)
Detects FVGs, Order Blocks, BOS, CHoCH
Shows where institutions likely buy/sell
Auto-removes zones when mitigated
2. Liquidity Logic
Tracks Asia / London / NY highs & lows
Detects liquidity sweeps
Identifies cascade sweeps (multi-session stop hunts → high conviction reversal)
Warns on fakeouts (both sides swept = stay out)
3. Direction Prediction Engine
Scores bullish vs bearish using:
Momentum
Volume pressure
Delta
Absorption
Sweeps
Structure breaks
Outputs:
Forecast: BULL / BEAR / NEUTRAL
Strength % (confidence)
4. Trade Signal System
Only triggers trades when:
Forecast strength is high
Volume confirms (RVOL)
EMA trend aligns
Candle confirms
Not in danger zone
Auto-sets:
Stop (ATR based)
Target (R multiple)
5. Danger Zone Filter (very important)
Blocks trading when:
Low volume
Low volatility
Tight range
Lunch hours
This prevents chop and overtrading.
6. Sessions & Context
Draws Asia, London, NY boxes
Helps you know when moves are likely to happen
7. Stats Table (decision panel)
One glance tells you:
Trade or wait
Direction & confidence
Trend, momentum, pressure
Session
Danger status
This indicator waits for smart money to grab liquidity, confirms direction with momentum + volume + structure, blocks bad conditions, then signals only high-probability trades.
Pair with my Pulse system for best results
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.
[TehThomas] - Aligned Timeframe Liquidity Sweeps█ OVERVIEW
The Liquidity Sweeps ICT MTF indicator automatically detects and visualizes buyside and sellside liquidity levels based on higher timeframe (HTF) swing points. Designed specifically for traders using Smart Money Concepts and ICT (Inner Circle Trader) methodology, this tool helps identify where institutional players are likely hunting liquidity before making directional moves.
█ KEY FEATURES
✓ Automatic ICT-Aligned Timeframe Selection
• Intelligently selects the higher timeframe based on your current chart
• Follows ICT's recommended correlations (5min→1h, 15min→4h, 1h→Daily, etc.)
• No manual timeframe selection needed - adapts automatically
✓ Precise Liquidity Level Placement
• Lines start exactly at the LTF candle that created the HTF swing point
• Searches backwards through historical data to find exact placement
• Eliminates guesswork about where institutional orders cluster
✓ Real-Time Sweep Detection
• Solid lines indicate untouched liquidity (active levels)
• Lines automatically turn dotted when price sweeps through them
• Swept lines stop at the exact bar of the sweep (clean visualization)
• Both wicks and candle bodies trigger sweep detection
✓ Fully Customizable Per Timeframe
• Individual swing detection settings for each HTF (1m, 15m, 1h, 4h, D, W, M)
• Adjust sensitivity to show major levels only or capture granular liquidity pools
• Customizable colors and line width
• Organized settings groups for easy navigation
█ HOW IT WORKS
The indicator identifies swing highs and swing lows on a higher timeframe using pivot point detection. These swing points represent areas where stop-loss orders from retail traders concentrate, creating "liquidity pools" that smart money targets.
Timeframe Alignment (Automatic):
• 15s chart → 1min HTF
• 1min chart → 15min HTF
• 5min chart → 1hour HTF
• 15min chart → 4hour HTF
• 1hour chart → Daily HTF
• 4hour chart → Weekly HTF
• Daily chart → Monthly HTF
Swing Detection:
The indicator uses customizable left/right bar counts to identify valid swing points on the HTF. Default values are optimized per timeframe (e.g., 10 bars for 1h, 5 bars for Daily), but can be adjusted to your preference.
Visualization:
• Green lines = Buyside liquidity (swing highs where long stops sit)
• Red lines = Sellside liquidity (swing lows where short stops sit)
• Solid style = Untouched liquidity
• Dotted style = Swept liquidity
█ SETTINGS
Swing Detection Group:
• Swing Bars - 1 Minute: Default 5 bars
• Swing Bars - 15 Minutes: Default 8 bars
• Swing Bars - 1 Hour: Default 10 bars
• Swing Bars - 4 Hours: Default 6 bars
• Swing Bars - Daily: Default 5 bars
• Swing Bars - Weekly: Default 3 bars
• Swing Bars - Monthly: Default 2 bars
Tip: Increase values for cleaner charts with major levels only. Decrease for more sensitive detection.
Display Group:
• Buyside Liquidity Color: Default green
• Sellside Liquidity Color: Default red
• Line Width: Adjustable 1-5
█ HOW TO USE
Reading the liquidity levels:
🟢 Green solid line = Untouched buyside liquidity (potential magnet for price)
🔴 Red solid line = Untouched sellside liquidity (potential magnet for price)
🟢 Green dotted line = Swept buyside liquidity (bulls trapped)
🔴 Red dotted line = Swept sellside liquidity (bears trapped)
Trading Applications:
1. Liquidity Grab Reversals: Watch for sweeps followed by immediate reversals
2. Stop Hunt Detection: Multiple sweeps often precede strong counter-moves
3. Target Identification: Use untouched levels as potential price magnets
4. Market Structure Analysis: Understand institutional order flow
5. Confluence Zones: Combine with order blocks, FVGs, or other ICT concepts
Best Practices:
• Focus on liquid markets (major FX pairs, indices, large-cap stocks)
• Consider higher timeframe trend - sweeps against trend are higher probability
• Look for liquidity clusters (multiple levels close together)
• Wait for confirmation after sweeps before entering
• Not all sweeps result in reversals - context matters
█ TRADING STRATEGY EXAMPLES
Liquidity Sweep Reversal:
1. Identify untouched liquidity level
2. Wait for price to sweep through (line turns dotted)
3. Look for reversal price action (engulfing, rejection)
4. Enter in reversal direction with stop beyond the sweep
5. Target next liquidity level or structure
Liquidity-to-Liquidity:
1. Price sweeps sellside liquidity (red dotted)
2. Enter long positions
3. Target buyside liquidity above (green solid)
4. Exit when buyside liquidity is swept
█ IDEAL FOR
• ICT Methodology Traders
• Smart Money Concept Practitioners
• Liquidity-Based Strategies
• Multi-Timeframe Analysis
• Price Action Traders
• Stop Hunt Avoidance
█ TECHNICAL SPECIFICATIONS
• Maximum Lines: 500
• Lookback Range: Up to 1000 bars for precise placement
• Compatible: All markets and timeframes
• Data: Works on both real-time and historical bars
█ NOTES & DISCLAIMERS
• This indicator is a tool for analysis, not a standalone trading system
• Always use proper risk management and combine with other analysis
• Performance may vary across different markets and conditions
• Based on ICT concepts - familiarity with Smart Money trading is recommended
█ LIQUIDITY FOR SINGLETIMEFRAMES
If you prefer normal liquidity lines you can use my other free liquidity indicator
PDH / PDL / PMH / PML ScannerThis script will let you list stocks and it will show you which are above previous day high and low and what the trend is. I am still fine tuning the premarket levels as they are giving me a harder time.






















