Fibonacci EMA/SMA SystemFibonacci EMA/SMA System
Overview
A clean, customizable moving average indicator built around Fibonacci-based EMA and SMA stacks. Designed for trend identification across multiple timeframes using mathematically harmonious period lengths. Enable one or more stacks based on your trading timeframe. Use Fast + Core for intraday/swing. Add Macro for higher timeframe context.
Stacks
Fast (8/13/21) — Momentum, short-term trend
Core (21/34/55) — Pullbacks, swing trading
Full Trend (13/21/34/55/89) — Trend strength, compression/expansion
Macro (55/89/144) — Position trading, regime context
Standard (20/50/100/200) — Traditional reference levels
Options
MA Type — EMA or SMA
Price Source — Close, HL2, HLC3, OHLC4, etc.
Uniform Color — Apply single color to all active lines
Individual Colors — Set unique color per line in each stack
Line Style — Solid or Dotted
Line Width — 1–4 pixels
Fill — Shaded area between outer EMAs
Labels — Period numbers displayed at line ends
Multitimeframe
Adaptive Structural Confluence Strategy POCHOLOCombination of several indicators with signals, it's just a test, it might be useful, I welcome your opinions
Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)Multi-Timeframe Inside Bar Breakout (4-Symbol Simultaneous)
Overview
Monitors 4 symbols across 4 timeframes simultaneously, displaying labeled alerts when all 4 symbols break out from inside bar compression on any tracked timeframe. See 15-minute, 30-minute, 60-minute, and daily breakouts all on one chart — complete multi-timeframe compression analysis.
When all 4 symbols compress into inside bars and then ALL break the same direction, you get clear directional confirmation across different timeframes. Perfect for Rob Smith's "The Strat" methodology and traders who use multi-timeframe analysis for entry confirmation.
🎯 Why This Matters
Multi-timeframe breakout confluence = stronger signals.
When SPY, QQQ, IWM, and DIA simultaneously:
✅ Compress into inside bars (bar )
✅ ALL break same direction (bar )
✅ Across multiple timeframes
You get layered confirmation — not just one timeframe saying "go," but multiple timeframes agreeing on direction.
Example: 15m breakout + 60m breakout + Daily breakout = alignment across timeframes.
✅ Key Features
✅ 4 Timeframes Tracked — Monitor 15m, 30m, 60m, Daily (fully customizable)
✅ 4 Symbols Per Timeframe — All must break together for signal
✅ Staggered Labels — Each timeframe displays at different distance (no overlap)
✅ Adaptive Positioning — Works on futures, stocks, forex, crypto
✅ Customizable Colors — Bullish/bearish colors with opacity control
✅ Alert-Ready — 8 alert conditions (bull/bear per timeframe)
✅ Works on Any Chart — See higher timeframe signals on lower timeframe charts
📊 How It Works
Inside Bar Check (Bar ):
All 4 symbols had inside bars (high < prior high AND low > prior low)
Breakout Check (Bar ):
Bullish: All 4 close > prior high
Bearish: All 4 close < prior low
Label Display:
📈IBSB 15 = Bullish breakout on 15-minute timeframe
📉IBSB D = Bearish breakout on daily timeframe
Each timeframe operates independently — you might see multiple timeframe labels on the same bar when breakouts align.
⚙️ Settings Guide
Symbols (Default: SPY, QQQ, IWM, DIA)
Customize to any 4 symbols
Popular: ES/NQ/YM/RTY (futures), XLF/XLK/XLE/XLV (sectors)
Timeframes (Default: 15, 30, 60, D)
Set any 4 timeframes to monitor
Examples: 5/15/60/240 (intraday stack), 60/D/W/M (swing stack)
Display Options:
Bullish/Bearish colors + opacity control
Label distance (% of bar range)
Stagger spacing (prevents overlap)
Max labels per timeframe (default: 25)
Debug Mode:
Shows which symbols are inside/breaking per timeframe
Useful for troubleshooting
🔔 Setting Up Alerts
Create alerts for any combination:
"IBSB Bull - TF1" (first timeframe bullish)
"IBSB Bear - TF4" (fourth timeframe bearish)
Set to "Once Per Bar Close" for confirmed signals
💡 Example Trading Approach
Note: Educational example, not trading advice.
Watch for compression across symbols on higher timeframes
IBSB label appears → all 4 broke same direction
Multiple timeframe labels = stronger confluence
Enter with your strategy using proper risk management
Example: Daily IBSB bullish + 60m IBSB bullish = aligned timeframes for potential long entry.
🎯 Why Multi-Timeframe Matters
Single timeframe breakout = one piece of data.
Multi-timeframe breakout = confirmation across time horizons.
When 15m, 60m, and Daily all show simultaneous 4-symbol breakouts → market structure aligning across timeframes.
🔧 Technical Details
✅ PineScript v6 (latest)
✅ Adaptive label positioning (scales with price)
✅ Smart staggering (prevents label overlap)
✅ Label management (max 500 total across timeframes)
✅ NA-safe logic (handles missing data)
✅ Works across all chart timeframes
⚠️ Important Disclaimers
Not financial advice: Educational and informational purposes only
No performance guarantees: Past breakouts don't predict future results
Risk management essential: Always use proper position sizing
Test before trading: Backtest and paper trade first
⚡ Quick Start
Add indicator to chart
Set symbols (default: SPY/QQQ/IWM/DIA)
Set 4 timeframes (default: 15/30/60/D)
Customize colors if desired
Create alerts (optional)
Watch for 📈IBSB or 📉IBSB labels with timeframe designation
📞 Support
Follow for updates and new indicators.
Questions? Leave a comment below — I respond to all feedback.
💬 Final Thoughts
Multi-timeframe compression breakouts with 4-symbol confirmation. Instead of monitoring dozens of charts manually, see all your timeframe breakouts in one place. When multiple timeframes align with simultaneous 4-symbol breakouts, you get clearer directional signals.
Use as one component of your analysis, combine with your risk management, and always trade with discipline.
Happy trading! 📈
Free and open-source for personal use. If you find this valuable:
👍 Like | 📝 Review | 🔔 Follow
Head & Shoulders Detector [HPT]Head & Shoulders Detector — Indicator Description
What It Does
The Head & Shoulders Detector automatically identifies one of the most reliable reversal patterns in technical analysis — the Head & Shoulders (bearish) and Inverted Head & Shoulders (bullish). Instead of manually scanning charts for these formations, the indicator does the heavy lifting by detecting valid patterns, drawing the structure, extending the neckline, and calculating precise price targets.
How It Works
1. Pivot Detection
The indicator continuously scans for swing highs and swing lows using a configurable lookback period. These pivots form the foundation for identifying the three peaks (or troughs) that make up the pattern.
2. Pattern Validation
For a valid Head & Shoulders (bearish reversal):
Three pivot highs where the middle peak (Head) is the highest
Left and Right Shoulders are approximately equal in height (within your tolerance setting)
Two pivot lows between the peaks form a neckline that's relatively horizontal
For a valid Inverted Head & Shoulders (bullish reversal):
Three pivot lows where the middle trough (Head) is the lowest
Left and Right Shoulders are approximately equal in depth
Two pivot highs between the troughs form the neckline
3. Neckline Projection
Once a pattern is detected, the indicator draws and extends the neckline forward — this is your key breakout level. The neckline slope is calculated dynamically, so angled necklines are handled correctly.
4. Price Target Calculation
The measured move target is automatically calculated using the classic method: the distance from the Head to the Neckline, projected in the breakout direction from the neckline break point.
5. Breakout Detection
The indicator monitors price against active necklines and triggers alerts when price closes beyond the neckline — confirming the pattern completion.
How To Use It
Let the pattern form — the indicator will alert you and draw the complete structure once all criteria are met (Left Shoulder → Head → Right Shoulder + valid neckline).
Watch the neckline — this is your trigger level. The pattern isn't "activated" until price breaks and closes beyond the neckline.
Use the target — the projected price target gives you a measured move objective for trade management.
Combine with context — H&S patterns carry more weight when they form at key levels (prior support/resistance, round numbers, or after extended trends).
Best Practices
Higher timeframes (30m, 4H, Daily) produce more reliable patterns than lower timeframes
Patterns forming after extended trends carry more reversal weight
Wait for neckline confirmation — the breakout signal — before entering
Use the target as a guide, not gospel — scale out or trail stops as price approaches
Combine with volume analysis if available — breakouts on volume are more reliable
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
ICT Market Session Levels NYThis indicator plots horizontal High and Low levels for the current Asia, London, and New York sessions, along with the New York Midnight Open. It also optionally shows only the current Day, Week, and Month High/Low levels. All labels stay aligned in one place (Left, Center, or Right), respect the selected timezone, and update in real time without drawing historical clutter. Designed to keep the chart clean and focused on the most relevant levels only.
FVG Scalping (HieuMinh)Script Description: Multi-Timeframe Trend & FVG Scalper
This indicator is a comprehensive technical analysis tool designed for scalpers and day traders who focus on price action and trend confluence. It combines dynamic trend tracking, imbalance identification, and multi-timeframe analysis into a single, clean interface.
Key Features:
Advanced Trend Visualization: Uses a multi-EMA system to define market direction. It includes a ribbon fill to visualize momentum and a customizable long-term moving average to help traders stay on the right side of the primary trend.
Automated Fair Value Gap (FVG) Detection: The script automatically identifies and highlights bullish and bearish price imbalances (Fair Value Gaps). These zones are plotted as visual boxes and can be extended to predict future areas of institutional interest or price magnets.
Interactive "Touch" Highlights: A unique feature that alerts traders when price action interacts with established FVG zones. The script visually modifies candle colors and adds signal markers when a "retest" or "touch" of an imbalance occurs, aiding in high-precision entries.
Multi-Timeframe Trend Dashboard: Includes an integrated on-screen table that monitors trend status across six different timeframes simultaneously (from 2-minute to 15-minute intervals). This allows traders to confirm that lower-timeframe scalps are aligned with higher-timeframe momentum without switching charts.
Visual Signal System: Provides clear "Long" and "Short" diamond markers based on momentum crossovers, designed to filter out market noise and focus on high-probability trend shifts.
Highly Customizable UI: Traders can toggle visibility for individual components (EMA lines, FVG boxes, labels, and dashboard) to maintain a clean workspace tailored to their specific strategy.
How to Trade with FVG Scalping (Hiếu Minh)
This indicator simplifies complex price action into color-coded signals. Here is the general strategy for identifying potential entries:
🔵 Finding Long Opportunities (Bullish Confluence)
Focus on buying when the market shows strength and institutional support.
The Setup: Look for the Multi-Timeframe Dashboard to show green status across several timeframes.
The Trigger: When price retraces into a Bullish FVG zone and the script identifies a successful test, the candle will turn Blue and a Blue Dot will appear below the bar.
Confirmation: Ideally, the "LONG" diamond signal should be visible, confirming that the short-term EMAs have crossed bullishly.
🟠 Finding Short Opportunities (Bearish Confluence)
Focus on selling when the market shows weakness and overhead resistance.
The Setup: Look for the Multi-Timeframe Dashboard to show red status, indicating a broad downtrend.
The Trigger: When price bounces into a Bearish FVG zone and meets resistance, the script will highlight the candle in Orange/Red and place a Red Dot above the bar.
Confirmation: Look for the "SHORT" diamond signal to appear, indicating that momentum has shifted back to the downside.
Deepsage1m + Tradingview15m Screener ComboThe Deepsage Consensus Screener — Long is a 1-minute momentum and trend confirmation indicator designed to generate high-quality long (buy) signals only when higher-timeframe market conditions are aligned.
The indicator combines a weighted multi-indicator scoring system (EMA, SMA, Ichimoku, MACD, RSI, ADX, volatility, volume, OBV, and VWAP) with a strict 15-minute consensus filter. Long signals are allowed only when the most recent confirmed 15-minute consensus state is BUY, ensuring trades are taken in the direction of broader market strength.
Deepsage1m + Tradingview15m Screener Combo (Shorts)The Deepsage Consensus Screener — Short is a 1-minute trend and momentum indicator built specifically for identifying short (sell) opportunities during bearish market conditions.
It uses the same weighted multi-indicator scoring engine (EMA, SMA, Ichimoku, MACD, RSI, ADX, volatility, volume, OBV, and VWAP) combined with a strict 15-minute consensus filter. Short signals are generated only when the most recent confirmed 15-minute consensus state is SELL, ensuring trades align with higher-timeframe bearish momentum.
Trendfilter Clouds + VWAP (M/Y) + Swing-VWAP + MTF Tages-EMAsEMA Clouds with VWAPs (Advanced Trend & Zone Filter)
This indicator is a visual trend and trading-zone framework built around EMA clouds, anchored VWAPs, and higher-timeframe EMAs.
It is designed to highlight high-probability trading zones, not to generate signals or orders.
What it does
Defines trend direction and structure
Highlights hot reaction zones for scalps and pullbacks
Provides objective mean-reversion areas via VWAP
Adds rebound EMAs for secondary trade opportunities
Everything is shown directly on the price chart with reduced visual noise.
Core Trading Zones
1. EMA Cloud Zones (Primary Trade Areas)
Fast EMA Cloud (8 / 16)
→ Scalp zone
→ Very short-term pullbacks and momentum reactions
→ Best used in strong trends
Slow EMA Cloud (15 / 30)
→ Main scalp & continuation zone
→ Higher-quality reactions than 8/16
→ Core area for trend-following trades
These EMA zones represent heated areas where price often reacts quickly.
Trades are typically taken inside or just at the edge of the cloud, not far away from it.
2. Swing-Anchored VWAP (Mean & Reversal Zone)
Anchored automatically to:
Last swing low in bullish trends
Last swing high in bearish trends
Acts as the active mean price of the current trend leg
How it’s used:
Price moves away from VWAP → wait
Price returns to VWAP → watch for rejection or reversal
Trades are taken only after confirmation, never blindly
VWAP is a reaction level, not an entry trigger.
3. Rebound EMAs (Secondary Trades)
Higher EMAs (e.g. 150 / 200) act as rebound zones
Used for:
Deeper pullbacks
Exhaustion moves
Late-session or final retracements
These are secondary opportunities, often taken after the main move has already played out.
Higher-Timeframe Context
Daily EMAs (10 / 20)
Shown weakly to avoid clutter
Used to:
Confirm higher-timeframe trend
Filter counter-trend scalps
Judge overall market pressure
They are context only, not scalp entries.
Monthly & Yearly VWAP (Optional)
Disabled by default
Can be enabled manually when needed
Used to identify:
Major long-term levels
Extreme deviations
Structural support / resistance
How to trade it (practical)
Trend direction
→ Defined by the slow EMA cloud (15/30)
Scalps
→ Inside 8/16 or 15/30 zones
→ In trend direction only
VWAP trades
→ Wait for price to reach VWAP
→ Trade rejection / reversal, not the touch
Rebound trades
→ At higher EMAs (150/200)
→ Only with clear exhaustion or structure
No trade
→ Price inside cloud with no direction
→ Conflicting EMA and VWAP context
Customization & Display
Toggle:
EMA clouds
Swing-VWAP
Monthly / Yearly VWAP
Daily EMAs
Adjustable:
EMA lengths
VWAP visibility
Line thickness and opacity
Single-pane overlay.
No external libraries.
Visual filter only.
Limitations
Not predictive
Requires confirmation and market context
High-impact news can temporarily invalidate zones
VWAP Timeframe Continuity (Multi-Period Anchored VWAP Alignment)Visualizes full timeframe continuity using anchored VWAPs from multiple periods — Yearly (12M), Quarterly (3M), Monthly, Weekly, Daily, 4H, 1H, 30m, and 15m (selectable).
Green candles & upper composite line:
Price above all selected VWAPs → strong bullish alignment
Red candles & lower composite line:
Price below all → strong bearish alignment
Gray/neutral: Mixed signals
Includes flip labels, customizable colors, and alerts when full continuity starts (up or down).
Great for trend confirmation, avoiding counter-trend trades, and spotting institutional bias across horizons. Toggle timeframes in settings to match your style!
(Pro tip: Longer anchors like Yearly/Quarterly carry more weight for swing/position trading.)
Multi-Timeframe Continuity Detector (4-Symbol FTFC)═══════════════════════════════════════════════════════════════════════════
📊 Multi-Timeframe Continuity Detector (4-Symbol FTFC)
═══════════════════════════════════════════════════════════════════════════
Detects when ALL 4 major market symbols show Full Time Frame Continuity (FTFC) across ALL selected timeframes simultaneously - a powerful signal of market-wide trend alignment.
Based on Rob Smith's "The Strat" methodology, this indicator helps traders identify periods of strong directional consensus across the entire market basket.
─────────────────────────────────────────────────────────────────────────
🎯 WHAT IT DETECTS
Full Time Frame Continuity occurs when a symbol's candles are all the same color (all green or all red) across multiple timeframes. This indicator takes it further by requiring ALL 4 symbols to be in FTFC simultaneously.
Default Configuration:
- Symbols: SPY, QQQ, DIA, IWM (customizable)
- Timeframes: 5min, 15min, 30min, 60min (intraday pack)
INTRADAY MODE (5/15/30/60):
🟢 When ALL 4 symbols show green candles across ALL 4 timeframes = I-FTFC UP
🔴 When ALL 4 symbols show red candles across ALL 4 timeframes = I-FTFC DOWN
CUSTOM MODE (60/D/W/M or any timeframes):
🟢 When ALL 4 symbols show green candles across ALL 4 timeframes = FTFC UP
🔴 When ALL 4 symbols show red candles across ALL 4 timeframes = FTFC DOWN
─────────────────────────────────────────────────────────────────────────
✨ KEY FEATURES
✅ Continuous Visual Display
Labels appear on EVERY bar where the condition is true - showing you the duration and strength of market alignment, not just when it starts.
✅ Intraday Pack Mode (Default: ON)
Automatically uses 5/15/30/60 minute timeframes optimized for intraday trading. Toggle OFF to use fully custom timeframes per symbol.
✅ Live vs Confirmed Mode
- Live Mode (ON): Shows forming higher-timeframe bars in real-time (repainting)
- Confirmed Mode (OFF): Waits for bar close (no repaint, cleaner historical view)
✅ Symbol Picker
Use the dropdown to easily select any 4 symbols - not limited to indices. Try sector ETFs, currencies, or crypto pairs.
✅ Dynamic Label Text
- "I-FTFC" when using Intraday Pack (5/15/30/60)
- "FTFC" when using custom longer timeframes (hourly/daily/weekly/monthly)
✅ Alert-Ready
Built-in alertconditions fire only when FTFC STARTS (edge detection), preventing alert spam while labels continuously display.
─────────────────────────────────────────────────────────────────────────
📈 HOW TO USE
1. Add indicator to any chart (works on any timeframe)
2. Labels plot continuously when all 4 symbols are in FTFC
3. Use as a filter: Only take trades in the direction of FTFC
4. Watch for reversals: FTFC flipping from green to red (or vice versa) shows market-wide momentum shift
VISUAL READING:
- Multiple consecutive labels = sustained market-wide trend
- Labels suddenly disappear = FTFC broke, alignment lost
- Color flip (green→red or red→green) = potential market reversal
─────────────────────────────────────────────────────────────────────────
💡 PRO TIP: DUAL VIEW SETUP
Want to see BOTH intraday and higher timeframe continuity simultaneously?
1. Add this indicator to your chart (Intraday Pack: ON) → Shows "I-FTFC" labels
2. Add it AGAIN to the same chart (Intraday Pack: OFF, set to D/W/M) → Shows "FTFC" labels
3. Now you'll see both intraday (5/15/30/60) and higher timeframe (D/W/M) continuity together
4. This lets you spot when BOTH short-term and long-term alignment occur - extremely powerful!
You can differentiate them by:
- The label text itself (I-FTFC vs FTFC)
- Adjusting colors per instance if desired
- Placing one instance above bars, one below (via settings)
─────────────────────────────────────────────────────────────────────────
⚙️ CUSTOMIZATION OPTIONS
Symbol Selection:
- Default: SPY, QQQ, DIA, IWM (US major indices)
- Customize to any 4 symbols via symbol picker
Timeframe Modes:
- Intraday Pack (Default): 5/15/30/60 minutes
- Custom Mode: Set any 4 timeframes per symbol (hourly, daily, weekly, monthly, etc.)
Display Modes:
- Live Intrabar: See forming bars in real-time (may repaint historically)
- Confirmed: Only show after bar close (no repaint, but slightly delayed)
─────────────────────────────────────────────────────────────────────────
⚠️ IMPORTANT NOTES
- This indicator shows CONTINUOUS display (not just edges) - this is intentional for visual strength assessment
- In Live Mode, historical bars may "repaint" as higher-timeframe bars develop - this is expected behavior
- Confirmed Mode eliminates repainting but signals appear slightly later
- Works on any chart timeframe (5min chart recommended for intraday pack)
- NA-safe: Won't trigger false signals on missing data
- Label text automatically changes: "I-FTFC" for intraday, "FTFC" for custom timeframes
─────────────────────────────────────────────────────────────────────────
🎓 ABOUT THE STRAT & FTFC
Full Time Frame Continuity is a concept from Rob Smith's "The Strat" - a price action methodology focused on timeframe alignment and actionable signals. FTFC indicates all higher timeframes are trending in the same direction, suggesting strong directional conviction.
This indicator extends the concept to multi-symbol baskets, showing when the ENTIRE market (or your selected basket) is in alignment.
─────────────────────────────────────────────────────────────────────────
💡 TRADING IDEAS
- Overlay on a 5-minute chart for best intraday visibility
- Use as a confirmation filter for other trading strategies
- Watch for FTFC breaking at key support/resistance levels
- Combine with your own entry signals for higher probability trades
- Set TradingView alerts to "Once Per Bar Close" for clean notifications
- Add indicator twice (intraday + higher TF) to spot multi-timeframe alignment
- Look for sustained runs of consecutive labels as high-conviction trend periods
─────────────────────────────────────────────────────────────────────────
📊 Free Tool from a Strat Trader
This indicator is provided free to the trading community. If you find it useful, please like, comment, and share!
For questions or feedback, reach out via TradingView messages.
Happy trading! 📈
═══════════════════════════════════════════════════════════════════════════
FVG by AlgoKingsFVG 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 FAIR VALUE GAPS?
Fair Value Gaps (FVGs) are price imbalances created when aggressive institutional order flow leaves gaps between consecutive candles. These gaps often act as magnetic zones where price returns to fill the imbalance before continuing in the original direction.
Example: Bullish FVG forms when candle 1's low is above candle 3's high, creating a gap that wasn't traded. Price often returns to fill this gap before moving higher.
UNDERLYING METHODOLOGY
This indicator combines four analytical layers:
1. THREE-CANDLE PATTERN DETECTION
Identifies FVGs using precise gap analysis:
BULLISH FVG:
Candle 1 (current) low > Candle 3 (two bars back) high = 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 compare high , low (candle 1) against high , low (candle 3)
- For bullish FVG: Gap top = low , Gap bottom = high
- For bearish FVG: Gap top = low , Gap bottom = high
- Detects new FVGs when time exceeds lastTime (new bar completed on indicator timeframe)
Higher timeframe precision:
When indicator timeframe exceeds chart timeframe (e.g., 1H FVG on 5m chart), the algorithm searches backward through chart bars to find the exact bar that created the gap extreme, providing precise entry points rather than using the timeframe's open time.
2. PARTIAL MITIGATION TRACKING
Advanced mitigation system tracks progressive gap fills:
MITIGATION TYPES:
- Wick: Price touches gap boundary (high >= gap for bearish, low <= gap for bullish)
- Body: Candle closes inside gap (close >= gap for bearish, close <= gap for bullish)
STATE MANAGEMENT:
- Unmitigated: Full gap remains (displays in green for bullish, red for bearish)
- Partially Mitigated: Price entered gap but not fully filled (split display: mitigated portion in gray, remaining in green/red)
- Fully Mitigated: Price completely filled gap (displays in gray)
Progressive update algorithm:
- priceMt variable tracks current mitigation level
- On each bar, compares new close/low (bullish) or close/high (bearish) against priceMt
- If deeper mitigation detected, updates priceMt and redraws box boundaries
- When priceMt reaches gap bottom (bullish) or gap top (bearish), marks isMt flag true
Visual updates:
- boxUnMt (unmitigated box) shrinks as priceMt advances
- boxMt (mitigated box) expands from opposite side
- Both boxes share same start/end times, meet at priceMt level
3. MULTI-TIMEFRAME AGGREGATION
Monitors up to 9 timeframes simultaneously:
TIMEFRAME ELIGIBILITY:
Only processes timeframes >= chart timeframe. If chart is 5m, can show 5m, 15m, 1H, 4H, Daily, etc. Cannot show 1m FVGs on 5m chart.
Seconds filter: Excludes seconds-based indicator timeframes when chart is 4H+ (prevents attempting to load 1s/5s data on Daily chart where it doesn't exist)
FVG ARRAY MANAGEMENT:
Each timeframe maintains independent array of FVG objects, sorted newest first. History parameter controls array size (default: 50). When array exceeds history limit, oldest FVG is removed and deleted.
4. TOUCH DETECTION AND VISUAL MANAGEMENT
Tracks when price revisits FVG zones:
TOUCH EVENTS:
Separate from mitigation, tracks when price enters FVG at all (isOutlineMt flag). Uses same logic as mitigation detection but sets flag on first touch regardless of depth.
Visual consequences:
- Before touch: Outline border displays in gray (bdUnWkColor)
- After touch: Outline border removed, indicates price acknowledged zone
- Extension behavior: If "Extend Unmitigated" enabled, only untouched FVGs extend right
BIAS FILTERING:
Optional filter to show only bullish, only bearish, or both (neutral) FVGs. Applied during FVG creation, prevents drawing filtered direction entirely.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Three-bar gap detection: Precise timestamp matching using time > lastTime to identify new bar completions across multiple timeframes simultaneously, with lookahead_on to access confirmed previous bar data
- Partial mitigation algorithm: Real-time priceMt tracking that compares current bar against existing gap levels, calculates progressive fill depth, updates box boundaries dynamically without redrawing entire object
- Higher timeframe precision: getHighestTime and getLowestTime functions that search backward through chart bars (using offset calculations: length * 3 for 3 bars back) to pinpoint exact bar that created gap extreme rather than using timeframe open
- Multi-state tracking: Complex state machine with isMt (fully mitigated), isOutlineMt (touched), and priceMt (current mitigation level) flags that determine visual rendering and extension behavior
- Dynamic visual updates: Box boundary adjustments (set_top/set_bottom) that maintain object references while changing coordinates, preventing flicker and preserving tooltips
Standard FVG indicators simply draw boxes between wicks. This script provides institutional-grade mitigation tracking with progressive fill monitoring and precise timestamp resolution.
TECHNICAL COMPONENTS
Core structures:
- Security Object: Stores timeframe data including high , low , high , low , time , time from request.security calls
- Fvg Object: Contains gap coordinates (h, l), mitigation level (priceMt), state flags (isMt, isOutlineMt), timestamps (startTime, endTime), and drawing objects (boxes, lines, labels)
- SecurityFvg Object: Manages array of Fvg objects for one timeframe, handles updates, mitigation checks, and history purging
Gap detection logic:
- Bullish: if (l1 > h3 and isBias(bias, Trend.up)) create FVG with h=l1, l=h3, priceMt=l1
- Bearish: if (l3 > h1 and isBias(bias, Trend.dn)) create FVG with h=l3, l=h1, priceMt=h1
- Timestamp precision: startTime = getHighestTime(h3) for bullish or getLowestTime(l3) for bearish on HTF
Mitigation detection:
- Bullish: if (close < priceMt or low < priceMt depending on type) update priceMt = min(close/low, priceMt)
- Bearish: if (close > priceMt or high > priceMt depending on type) update priceMt = max(close/high, priceMt)
- Full mitigation: if (priceMt <= gap.l for bullish or priceMt >= gap.h for bearish) set isMt = true
HOW TO USE
Setup:
1. Apply to any chart (works on all symbols and timeframes)
2. Enable/disable timeframes in settings (9 configurable slots)
3. Select Bias to filter FVG direction (Neutral, Bullish, Bearish)
4. Choose Mitigation Type (Wick for conservative, Body for confirmation)
5. Configure History to control how many FVGs display per timeframe
Chart Timeframe Requirements:
Indicator only shows FVGs from timeframes equal to or higher than chart timeframe. For 5m chart: can show 5m, 15m, 1H, 4H, Daily, Weekly, Monthly. Cannot show 1m FVGs.
Interpretation:
- Green box = Bullish FVG (unmitigated portion)
- Red box = Bearish FVG (unmitigated portion)
- Gray box = Mitigated portion
- Dashed line = 50% equilibrium level (EQ)
- Gray outline = Untouched FVG
- No outline = Price has touched FVG
- Label = Timeframe and direction (e.g., "5m +FVG" or "1H -FVG")
SETTINGS EXPLAINED
Options:
- Bias: Filter FVG direction (Neutral shows both, Bullish shows only green, Bearish shows only red)
- History: Number of FVGs to display per timeframe (default: 50)
- Mitigation Type: Wick (price touches) or Body (candle closes inside)
- EQ: Show/hide 50% equilibrium line
- 25/75%: Show/hide quarter lines within gap
- Label: Show/hide text labels with size and color options
- Unmitigated Border: Color and style for untouched FVG outlines
- Bullish/Bearish/Mitigated: Colors for gap fill states
- Remove Fully Mitigated: Auto-hide FVGs after complete fill
- Extend All: Keep all FVGs extending right (requires Remove Fully Mitigated)
- Extend Unmitigated: Only untouched FVGs extend right
Timeframes:
9 configurable timeframe rows, each with checkbox to enable/disable. Only timeframes >= chart timeframe will display. Default: Chart TF, 1m, 5m, 15m, 1H, 4H, Daily, Weekly, Monthly.
Common Configurations:
- Scalping: Enable chart TF, 1m, 5m with Mitigation Type = Wick
- Day Trading: Enable 5m, 15m, 1H, 4H with Mitigation Type = Body, History = 20
- Swing Trading: Enable 1H, 4H, Daily with Remove Fully Mitigated = false
- Bias Trading: Set Bias = Bullish during uptrends, Bearish during downtrends to reduce noise
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
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.
SMT Cycles by AlgoKingsSMT Cycles 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 SMT CYCLES?
This indicator identifies Smart Money Technique divergences using cycle-based analysis rather than standard timeframes. Cycles represent natural market rhythms (sessions, 90-minute institutional windows, true daily periods) that better align with institutional trading patterns than arbitrary timeframe bars.
Example: During the London session, NQ makes a new high but ES fails to follow = Bearish SMT divergence within the London cycle
UNDERLYING METHODOLOGY
This indicator combines four analytical layers:
1. AUTOMATIC CORRELATION MAPPING
Built-in correlation intelligence for 40+ pairs (identical to SMT Custom):
- Futures: NQ, ES, YM cross-correlation | GC/SI | 6E/6B
- Forex: EURUSD/GBPUSD/DXY(inverse) | AUDUSD/NZDUSD
- Stocks: MAG7 (META, NVDA, MSFT, etc.) vs NDX
- Crypto: BTCUSD/ETHUSD
Algorithm automatically mirrors contract types and exchange prefixes using regex-based parsing for futures contracts and micro variants.
2. CYCLE-BASED PERIOD DETECTION
Unlike standard timeframe analysis, this indicator uses market structure cycles:
SWING CYCLES (Position Trading):
- Yearly: 12-month institutional rebalancing periods
- Quarterly: 3-month earnings and fund rotation cycles
- Monthly: Calendar month institutional flows
- Weekly: 7-day swing trading cycles
- Daily: Standard 18:00-18:00 EST bars
- TrueDay: 00:00-00:00 EST for 24-hour markets (futures, forex, crypto)
INTRADAY CYCLES (Day Trading):
- Session: Asia (18:00-02:00), London (02:00-08:30), NY AM (08:30-12:00), NY PM (12:00-17:00) EST
- 90m: Three 90-minute windows per trading day (02:00-03:30, 03:30-05:00, etc.)
- 30m: 30-minute institutional order flow windows
- 10m, 3m, 1m: Scalping cycles for precise entry timing
Technical implementation:
- TrueDay calculation: Detects candle closes at exactly 00:00 EST using time modulo arithmetic on 24-hour markets. Differs from standard Daily bars which use futures settlement times (18:00 EST).
- Session detection: Regex pattern matching on hour/minute timestamps to identify cycle boundaries (e.g., h==2 and m==0 triggers Asia session end)
- 90m hierarchy: Groups sub-90m cycles (30m, 10m, 3m, 1m) under their parent 90m window using group timestamp tracking (gx field)
- Intermediate accumulation: For multi-bar cycles (TrueDay, Sessions, 90m), maintains running high/low (nh1, nl1) across constituent bars until cycle completion
3. MULTI-TIMEFRAME CYCLE ANALYSIS
Proprietary cycle synchronization:
- Tracks price structure across up to 11 configurable cycles simultaneously
- Maintains independent high/low tracking for each symbol pair using request.security()
- Compares previous cycle extremes (high , low ) across correlated pairs
- Timestamps divergence formations at chart timeframe precision
- Implements adaptive purge logic (1min to 12M) based on cycle type
4. DIVERGENCE CLASSIFICATION SYSTEM
Bullish SMT: Chart symbol makes lower low within cycle, correlated pair does NOT = Institutional buying pressure
Bearish SMT: Chart symbol makes higher high within cycle, correlated pair does NOT = Institutional selling pressure
Advanced features include level tracking (monitors when extremes are revisited), automatic extension until both levels violated, 90m hierarchy overlap filtering (hides sub-90m SMT within parent 90m window), and inverse correlation support for DXY relationships.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Cycle boundary detection: Custom logic for TrueDay calculation (00:00 EST candle close detection using modulo arithmetic on 24h markets), Session identification (time-based regex for Asia/London/NY periods), and 90m window calculation (minute offset from 02:00 EST baseline)
- Intermediate cycle accumulation: Complex state management for multi-bar cycles (Sessions, 90m, TrueDay) that build complete cycle values across constituent bars before finalizing
- 90m hierarchy system: Proprietary grouping algorithm (gtype, gca, gx fields) that links sub-90m cycles to parent windows for intelligent overlap filtering
- Automatic symbol mapping: Custom logic for 40+ correlation pairs including futures contract recognition and exchange inheritance
- Adaptive purge system: Cycle-specific memory management (1S to 12M) optimized through backtesting
- Multi-level tracking: Simultaneous monitoring of multiple active divergences across different cycle types with state management for "taken" levels
Standard SMT indicators use fixed timeframes. This script analyzes institutional cycles that don't align with standard bar periods, requiring complex time arithmetic and multi-bar aggregation logic.
TECHNICAL COMPONENTS
Core structures:
- Cycle Object: Tracks high/low/time for each cycle type with intermediate values (nh1, nl1) for multi-bar cycles and complete cycle values (h1, l1, t1) upon cycle completion
- CycleType Enum: Defines 11 cycle types (year, quarter, month, week, day, trueday, session, m90, m30, m10, m3, m1) with associated period strings and purge thresholds
- Point Object: Stores divergence formation data for chart symbol level and correlated symbol level with "taken" status tracking
- SMT Object: Visual representation with line extension, tooltip showing formation time (EST), and optional 90m group timestamp (gx) for hierarchy filtering
Cycle detection logic:
- TrueDay: Tests if hour==0, minute==0 at candle close OR day-of-week changes (with Monday exception for markets closed weekends)
- Session: Matches specific hour:minute combinations (16:30=Void, 02:00=Asia end, 06:30=London end, 11:00=NY AM end, 15:30=NY PM end)
- 90m: Calculates (hour*60 + minute - 120) % 90 == 0 to detect 90-minute boundaries from 02:00 EST baseline
HOW TO USE
Setup (Automatic Mode - Recommended):
1. Apply to chart of supported pair (see correlation list above)
2. Indicator automatically detects optimal comparison symbols
3. Enable/disable specific cycle categories (Swing or Intraday) in settings
4. Enable/disable individual cycles within each category
5. Adjust visual preferences (colors, line styles, labels)
Setup (Manual Mode):
1. Uncheck "Automatic Symbol Mode" in settings
2. Enter "Manual Symbol #1" (e.g., ES1! when chart shows NQ1!)
3. Optional: Enter "Manual Symbol #2" for three-way comparison
4. Check "Invert" if symbol is inversely correlated (e.g., DXY vs EURUSD)
Chart Timeframe Requirements:
- Swing cycles: Chart TF must be <= cycle period (e.g., Daily cycle requires 1H or lower chart)
- Intraday cycles: Chart TF must divide evenly into cycle (e.g., 90m cycle requires 30m, 15m, 10m, 5m, or lower chart)
- TrueDay: Automatically selected for 1H and below chart TF on 24-hour markets (futures, forex, crypto)
Interpretation:
- Blue lines = Bullish SMT (chart made lower low within cycle, correlated pair held higher). Potential reversal up.
- Red lines = Bearish SMT (chart made higher high within cycle, correlated pair stayed lower). Potential reversal down.
- Dots in labels = Multiple SMT signals overlap. Hover to see all cycles showing divergence.
SETTINGS EXPLAINED
Symbols:
- Automatic Symbol Mode: Uses built-in correlation intelligence (recommended)
- Manual Symbol #1/2: Override automatic selection
- Invert: For inverse correlations (DXY vs majors)
- Hide Exact Overlap: Removes duplicate signals with identical start/end times
- Hide 90m Hierarchy Overlap: Hides sub-90m SMT (30m, 10m, 3m, 1m) when contained within parent 90m window
- Hide All Overlap: Hides lower precedence SMT when start/end points overlap higher precedence SMT
Intraday Cycles (Enable/Disable per symbol):
- Session: Asia (18:00-02:00), London (02:00-08:30), NY AM (08:30-12:00), NY PM (12:00-17:00) EST
- 90m: Three 90-minute institutional windows per day
- 30m: 30-minute cycles
- 10m, 3m, 1m: Scalping cycles
- Each cycle has two checkboxes: left for Symbol #1, right for Symbol #2
Swing Cycles (Enable/Disable per symbol):
- Yearly: 12-month cycles
- Quarterly: 3-month cycles
- Monthly: Calendar month cycles
- Weekly: 7-day cycles
- Daily: Standard daily bars (18:00-18:00 EST) OR TrueDay (00:00-00:00 EST on 1H and below chart TF for 24h markets)
- Each cycle has two checkboxes: left for Symbol #1, right for Symbol #2
Display:
- Bull/Bear: Enable/disable directional signals
- Line colors, styles (solid/dashed/dotted), widths
- Label: Show/hide text labels with color and size options
- SMT formation time: Displays timestamp in tooltip (New York time)
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
Linear Regression Channel With Pearson's R (Multi Sigma & MTF)This indicator applies multi‑sigma linear regression across multiple institutional time horizons to quantify the line of best fit in equities and index markets. By combining multi‑timeframe presets with statistically derived deviation bands, it highlights trend structure, volatility expansion, and regime transitions with clarity.
What’s New in This Update
The original version of the indicator produced a linear regression channel with multiple deviation bands. However, the statistical values it displayed were not mathematically valid. The value labeled “r” was not Pearson’s correlation coefficient and could not be used to derive R² or any formal regression diagnostics.
This update introduces a fully correct statistical engine based on ordinary least squares (OLS).
NEW STATISTICAL OUTPUTS
• True Pearson’s r
• True R² (coefficient of determination)
• RSS (Residual Sum of Squares)
• TSS (Total Sum of Squares)
These values are mathematically valid, bounded, and directly tied to the regression line.
KEY IMPROVEMENTS
• Correct OLS intercept (removes the erroneous +slope term)
• Proper predicted values using ŷ = b₀ + b₁x
• Correct centering around the actual mean of the data
• Removal of correlation logic from the deviation engine
• Clean separation between statistical computation and volatility computation
• Regression channel visuals remain identical, but the underlying math is now fully accurate
These changes ensure that r and R² reflect true trend strength and model fit, enabling more reliable interpretation of long‑term and short‑term trend regimes.
CORE FEATURES (UNCHANGED)
• Auto‑Multi‑Timeframe presets aligned with institutional trend horizons
• Multi‑Sigma bands (+/‑1σ, +/‑2σ, +/‑3σ) for volatility structure and statistical extremes
• True least‑squares regression recalculated each bar
• Deviation mode toggle (Standard Deviation vs. Max Deviation)
• Full documentation and institutional use‑case examples available on GitHub
More information can be found here:
github.com
SMT Custom by AlgoKingsSMT Custom 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 SMART MONEY TECHNIQUE (SMT)?
SMT identifies divergences between correlated market pairs when one asset makes a new high/low but its correlated counterpart fails to do so. These divergences often signal institutional repositioning and potential reversal points.
Example: NQ makes a new high at 15,200 but ES fails to exceed its previous high = Bearish SMT divergence
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
1. AUTOMATIC CORRELATION MAPPING
Built-in correlation intelligence for 40+ pairs:
- Futures: NQ, ES, YM cross-correlation | GC/SI | 6E/6B
- Forex: EURUSD/GBPUSD/DXY(inverse) | AUDUSD/NZDUSD
- Stocks: MAG7 (META, NVDA, MSFT, etc.) vs NDX
- Crypto: BTCUSD/ETHUSD
Algorithm automatically mirrors contract types (perpetual/quarterly futures) and exchange prefixes using regex-based parsing. Recognizes quarterly contracts (NQU2025), micro contracts (MNQ, MES), and perpetual syntax (NQ1!).
2. MULTI-TIMEFRAME CYCLE ANALYSIS
Proprietary cycle detection algorithm:
- Tracks price structure across 9 configurable timeframes simultaneously
- Maintains independent high/low tracking for each symbol pair using request.security()
- Identifies cycle completions with time-synchronized bar analysis
- Implements adaptive purge logic (1min to Monthly) to balance historical context vs performance
Technical implementation compares previous period extremes (high , low ) across correlated pairs and timestamps divergence formations at chart timeframe precision.
3. DIVERGENCE CLASSIFICATION SYSTEM
Bullish SMT: Chart symbol makes lower low, correlated pair does NOT = Institutional buying pressure
Bearish SMT: Chart symbol makes higher high, correlated pair does NOT = Institutional selling pressure
Advanced features include level tracking (monitors when extremes are revisited), automatic extension until both levels violated, overlap filtering to remove redundant signals, and inverse correlation support for DXY relationships.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Automatic symbol mapping: Custom logic for 40+ correlation pairs including futures contract recognition (expiration codes, micro contracts) and exchange inheritance
- Cycle synchronization engine: Complex timestamp matching ensures divergences only flagged when both symbols' cycle periods align perfectly (prevents false signals from data lag)
- Adaptive purge system: Timeframe-specific memory management (1S to 12M) optimized through backtesting
- Multi-level tracking: Simultaneous monitoring of multiple active divergences with state management for "taken" levels
- Overlap intelligence: Algorithm determines when to hide/combine signals from different timeframes while preserving information in tooltips
Standard divergence indicators simply compare two moving averages. This script performs real-time institutional flow analysis across correlated instruments.
HOW TO USE
Setup (Automatic Mode - Recommended):
1. Apply to chart of supported pair (see correlation list above)
2. Indicator automatically detects optimal comparison symbols
3. Enable/disable specific timeframes in settings
4. Adjust visual preferences (colors, line styles, labels)
Setup (Manual Mode):
1. Uncheck "Automatic Symbol Mode" in settings
2. Enter "Manual Symbol #1" (e.g., ES1! when chart shows NQ1!)
3. Optional: Enter "Manual Symbol #2" for three-way comparison
4. Check "Invert" if symbol is inversely correlated (e.g., DXY vs EURUSD)
Interpretation:
- Blue lines = Bullish SMT (chart made lower low, correlated pair held higher). Potential reversal up.
- Red lines = Bearish SMT (chart made higher high, correlated pair stayed lower). Potential reversal down.
- Dots in labels = Multiple SMT signals overlap. Hover to see all timeframes.
SETTINGS EXPLAINED
Symbols:
- Automatic Symbol Mode: Uses built-in correlation intelligence (recommended)
- Manual Symbol #1/2: Override automatic selection
- Invert: For inverse correlations (DXY vs majors)
- Hide Exact Overlap: Removes duplicate signals with identical start/end times
- Hide All Overlap: Hides lower timeframe SMT within higher timeframe ranges
Timeframes:
- 9 configurable timeframe rows
- Toggle each symbol independently (Sym #1, Sym #2 checkboxes)
- Default: Chart TF, 1m, 5m, 15m, 1H, 4H, Daily, Weekly, Monthly
Display:
- Bull/Bear: Enable/disable directional signals
- Line colors, styles (solid/dashed/dotted), widths
- Label: Show/hide text labels with color and size options
- SMT formation time: Displays timestamp in tooltip (New York time)
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
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
Reversal Detector [Scalping-Algo]Reversal Detector - Volume-Based Price Structure Analysis
───────────────────────────────────────────
WHAT IT DOES
This indicator identifies potential reversal zones by analyzing price structure combined with volume. Instead of using traditional overbought/oversold readings or single candlestick patterns, it looks for a specific two-phase setup:
Phase 1 - Anchor Detection:
The script scans for bars where price closes beyond ALL previous bars in the lookback period. For a bullish setup, the close must be lower than every low of the past N candles (default 20). This represents an extreme extension, not just a "lower low." Volume on this bar should exceed 2x the average to confirm real participation.
Phase 2 - Confirmation:
After an anchor forms, the indicator waits for price to reverse back through the anchor bar's range. This must occur within a set number of bars (default 3). If price continues making new extremes instead, the setup is cancelled.
────────────────────────────────────────────────────────────────
HOW TO READ THE SIGNALS
B Labels (Green, below price) = Bullish reversal confirmed
S Labels (Red, above price) = Bearish reversal confirmed
Each signal shows a score from 3/5 to 5/5:
- 3/5 = Basic confirmation met
- 4/5 = Good volume on anchor or confirmation
- 5/5 = Strong volume + aligned with 200 EMA trend
Dashed Boxes = Pending setup waiting for confirmation
- Green box = Bullish setup in progress
- Red box = Bearish setup in progress
Status Panel (bottom right):
- Shows current state (Scanning / Bull Setup / Bear Setup)
- Countdown for confirmation window
- Current volume condition
────────────────────────────────────────────────────────────────
HOW TO USE
Entry Approach:
1. Wait for a confirmed signal (B or S label appears)
2. Higher scores (4/5 or 5/5) indicate better quality setups
3. Consider the overall trend context - signals aligned with the 200 EMA direction tend to work better
Stop Placement:
- For long entries: below the anchor bar's low
- For short entries: above the anchor bar's high
The boxes show you the anchor zone while waiting for confirmation, which can help visualize the invalidation level.
────────────────────────────────────────────────────────────────
SETTINGS
Structure Settings:
- Lookback Period (default 20): How many bars back to check for the breakout. Lower = more setups but less extreme. Higher = fewer but more significant extensions.
- Confirmation Bars (default 3): Maximum bars allowed for price to reverse. Tighter window = stricter filter.
Volume Settings:
- Use Volume Filter: Toggle volume requirement on/off
- Volume MA Length (default 20): Period for average volume calculation
- Anchor Volume Multiple (default 2.0): Required volume spike on anchor bar
- Confirm Volume Multiple (default 1.2): Volume threshold on confirmation bar
Visual Settings:
- Trend EMA Length (default 200): Used for trend alignment scoring
- Show Pending Setups: Display the dashed boxes for active setups
- Show Status Panel: Display the info table
- Colors and label size customization
────────────────────────────────────────────────────────────────
WHAT MAKES THIS DIFFERENT
The core idea is requiring price to break beyond EVERY bar in the lookback range, not just make a swing high/low. This filters out minor pullbacks and focuses on genuine extensions where price has moved significantly.
The two-phase approach (anchor then confirmation) helps avoid catching falling knives - you're not entering just because price is extended, but waiting for actual reversal evidence.
Volume integration adds another layer. The anchor bar needs elevated volume to confirm real selling/buying pressure, not just a gap or illiquid move.
────────────────────────────────────────────────────────────────
SUGGESTED USE
Works on any timeframe, but I find it most useful on 5-15 minute charts for intraday setups.
Combine with:
- Key support/resistance levels
- Higher timeframe trend direction
- Market context (avoid during major news)
The indicator identifies the pattern mechanically - it doesn't predict outcomes. Use proper position sizing and always have a stop loss plan.
────────────────────────────────────────────────────────────────
ALERTS INCLUDED
- Bullish Reversal
- Bearish Reversal
- Any Reversal
- Strong Bullish (4/5 or higher)
- Strong Bearish (4/5 or higher)
────────────────────────────────────────────────────────────────
MTF SMA Zones + EMA Trend (Bull & Bear) + EMA DisplayMTF SMA Zones + EMA Trend (Bull & Bear) + EMA Display
Color-Coded Merged Daily & Hourly RSIColor-Coded Merged Daily & Hourly RSI
you caN USE THIS TO BUY OR SELL
Bit Secure - Index Structure Engine (V1.0)
# 💎 Bit Secure – Index Structure Engine (Final Stable)
### *Professional Structure Trading Engine for Serious Traders*
**Bit Secure – Index Structure Engine** is a **high-performance institutional-style trading system** built for traders who demand **precision, structure, and control** — not random signals.
This is a **premium-grade execution engine**, designed to convert raw market data into **clean structure-based trading decisions** using a powerful blend of:
> EMA Structure • VWAP Logic • Session Control • Noise Filtering • Rule-Based Execution
---
## 🧠 What Makes It Premium?
Unlike basic indicators that flood charts with signals,
this system focuses on **quality over quantity**:
✔ Controlled trade frequency
✔ Institutional-style logic
✔ Structure-first execution
✔ Smart session timing
✔ Noise suppression
✔ Professional risk alignment
✔ Modular system design
✔ Rule-based discipline
---
## 🔥 Premium Feature Set
### 📊 Multi-Layer EMA Structure System
* EMA 5 → Momentum trigger
* EMA 9 → Market flow
* EMA 21 → Trend backbone
Used for:
* Direction bias
* Retest entries
* Trend continuation
* Structure validation
* Reversal filtering
---
### 🎯 CORE STRUCTURE SIGNALS (9–21)
**Professional trend execution model**
* Stable entries
* Clean structure signals
* Intraday optimized
* High reliability setups
Signals:
* BUY CORE
* SELL CORE
---
### ⚡ FAST EXECUTION MODE (5–21)
**High-speed scalping engine**
* Early entries
* Momentum capture
* Aggressive mode for active traders
* Optional execution layer
> Controlled via: `Enable FAST EMA 5-21`
---
### 🕘 PRIORITY OPENING SESSION ENGINE (Elite Feature)
**Institutional-style market open model**
* Active only on **5-min timeframe**
* Works between **09:15 – 09:45**
* One high-quality trade per day
* Retest + crossover structure logic
* Overtrading prevention system
* Daily trade lock mechanism
> Toggle: `Enable PRIORITY Opening Entry`
---
### 📉 VWAP NOISE FILTER (Smart Money Filter)
**Advanced congestion detection**
* VWAP proximity blocking
* Range-based filter logic
* Avoids chop zones
* Eliminates sideways noise
* Filters fake breakouts
* Improves win-rate quality
> Adjustable: `VWAP Block Range (Points)`
> Toggle: `Enable VWAP Noise Filter`
---
## 🧩 Professional Modular Control
Customize your trading style:
✅ Enable/Disable FAST mode
✅ Enable/Disable PRIORITY trades
✅ Enable/Disable VWAP filter
✅ Choose Priority EMA (EMA 9 / EMA 21)
✅ Adjust VWAP block zone
➡️ Fully adaptive to your trading personality
---
## 🎯 Best Market Applications
✔ Index Trading (NIFTY / BANKNIFTY / FINNIFTY)
✔ Intraday Trading
✔ Scalping
✔ Futures Trading
✔ Options Trading
✔ Structure Trading
✔ Momentum Trading
✔ Rule-Based Systems
✔ Professional Trading Models
---
## 🏆 Who This Is For
This indicator is for traders who:
✔ Want structure, not clutter
✔ Follow rules, not emotions
✔ Trade systems, not tips
✔ Believe in process
✔ Want consistency over excitement
✔ Think long-term, not jackpot
✔ Build discipline
✔ Respect risk management
---
## ⚠️ Professional Disclaimer
This is a **decision-support trading engine**, not a profit guarantee system.
Designed for traders who practice:
* Risk management
* Position sizing
* Discipline
* Psychology control
* Backtesting
* Forward testing
* Process-driven execution
---
## 🔐 Brand Promise
**Bit Secure Trading Systems** =
> Structure • Safety • Strategy • Stability • Sustainability • Success
---
## 🧬 Premium Brand Line
**Bit Secure – Index Structure Engine**
> Trade like a system. Not like a signal hunter.
Current Fractal High/Low (Dynamic) v2.3Current Fractal High/Low (Dynamic) v2.3 is an upgraded version of my original fractal HL tool.
It tracks the most recent swing fractal high/low and updates only after a true breakout, then lets the active levels follow the current extremes.
Features:
Dynamic fractal high/low levels that update only on confirmed breakouts
Optional historical fractal lines with adjustable length
Inline FH/FL labels on active levels
Multi–timeframe safe (arrays reset and bar index protected)
Breakout alerts for both fractal high and low
This script is the maintained successor of the free “Current Fractal High/Low (Dynamic)” (legacy version).
If you used the previous version, I recommend switching to this one and following my profile for future updates and tools.






















