Fair Value Gap Suite Adrian V1.0.0Brief description
The “FVG Suite” identifies fair value gaps across multiple time units, evaluates them with a displacement score, optionally filters them according to market structure events (BOS/CHOCH), and provides context-based alerts for first touch, partial and full fills, and invalidation. The aim is to show only high-quality imbalances and trade them based on rules.
What makes the script unique (originality/added value)
Displacement score: Strength of the impulse movement as a combination of (body/ATR, range/ATR, volume Z-score).
MTF aggregator: FVGs from higher timeframes are collected, ranked, and displayed as zones on the active chart (including overlap clustering).
Structure context: Optionally, only FVGs after confirmed BOS/CHOCH in the trend direction, including premium/discount evaluation relative to the HTF range.
Adaptive invalidation: FVG expires after candles, opposing BOS or defined time (e.g., end of session).
Session/instrument filter: Time window (e.g., NY/LDN), minimum tick size, ATR-based minimum gap.
Smart fill logic: Distinguishes between first touch, partial fill (≥ %), full fill (100%); alarms per event.
Statistics overlay (optional): Hit rate/expectancy per TF & session for fine-tuning the filters.
How it works (conceptually)
FVG definition (3-candle pattern): Bullish if High < Low (bearish analog). Size = gap span in points.
Quality score:Score = w1*(|Body|/ATR) + w2*(Range/ATR) + w3*(Volume-Z), normalized to 0–100.
MTF scan: List of higher TFs: (customizable). Findings are merged, ranked, and displayed as zones with priority (color/opacity).
Context filter: Only FVGs that emerge after BOS/CHOCH in the direction of the current trend; optional exclusion in premium/discount areas.
Invalidation & alerts: A zone is considered active until the invalidation rule takes effect. Alerts are triggered upon: initial contact, partial/full filling, invalidation.
Important inputs
Min. FVG size: × ATRor ticks/points
Min. displacement score: (0–100)
MTF list:
BOS/CHOCH filter: On/Off (Lookback candles)
Session filter: NY/LDN/Asia (local time, weekend toggle)
Invalidation: maxBars = , Opposite BOS = On/Off, Session End = On/Off
Fill definitions: Partial fill ≥ % of the gap; Full fill = 100%
Overlay options: Zone color/transparency, HTF label, statistics overlay On/Off
Alerts (names & triggers)
FVG Suite – First Touch: Price touches an active FVG zone for the first time.
FVG Suite – Partial Fill: Partial fill ≥ configured threshold.
FVG Suite – Full Fill: Gap completely filled.
FVG Suite – Invalidated: Zone invalidated by rules. (Alert message contains: symbol, TF of the zone, direction, score, size, trigger rule.)
Use (best practices)
Trade in the trend direction with BOS/CHOCH filter; target counter-imbalances/liquidity pools.
Use session filters to avoid news spikes/illiquid periods.
Calibrate parameters for each market/TF (ATR/volume profiles differ).
Limitations
Structure labels can be reevaluated for new highs/lows (repainting of labels, not of FVG finds).
Spreads/news can generate “pseudo fills.”
Backtests/statistics are sample-dependent; no guarantee of results.
Changelog
v1.0 – First release (score model, MTF aggregator, BOS/CHOCH filter, fill alerts).
Credits
FVG concept: public ICT/SMC literature (general idea). Implementation/scoring, MTF ranking, smart fill logic: own development.
Note/disclaimer
No financial advice. For educational purposes only. Trading involves high risk; use stop losses and a fixed risk budget.
Cari dalam skrip untuk "smart"
Fair Value Gap Suite Adrian V1.0.0Brief description
The “FVG Suite” identifies fair value gaps across multiple time units, evaluates them with a displacement score, optionally filters them according to market structure events (BOS/CHOCH), and provides context-based alerts for first touch, partial and full fills, and invalidation. The aim is to show only high-quality imbalances and trade them based on rules.
What makes the script unique (originality/added value)
Displacement score: Strength of the impulse movement as a combination of (body/ATR, range/ATR, volume Z-score).
MTF aggregator: FVGs from higher timeframes are collected, ranked, and displayed as zones on the active chart (including overlap clustering).
Structure context: Optionally, only FVGs after confirmed BOS/CHOCH in the trend direction, including premium/discount evaluation relative to the HTF range.
Adaptive invalidation: FVG expires after candles, opposing BOS or defined time (e.g., end of session).
Session/instrument filter: Time window (e.g., NY/LDN), minimum tick size, ATR-based minimum gap.
Smart fill logic: Distinguishes between first touch, partial fill (≥ %), full fill (100%); alarms per event.
Statistics overlay (optional): Hit rate/expectancy per TF & session for fine-tuning the filters.
How it works (conceptually)
FVG definition (3-candle pattern): Bullish if High < Low (bearish analog). Size = gap span in points.
Quality score:Score = w1*(|Body|/ATR) + w2*(Range/ATR) + w3*(Volume-Z), normalized to 0–100.
MTF scan: List of higher TFs: (customizable). Findings are merged, ranked, and displayed as zones with priority (color/opacity).
Context filter: Only FVGs that emerge after BOS/CHOCH in the direction of the current trend; optional exclusion in premium/discount areas.
Invalidation & alerts: A zone is considered active until the invalidation rule takes effect. Alerts are triggered upon: initial contact, partial/full filling, invalidation.
Important inputs
Min. FVG size: × ATRor ticks/points
Min. displacement score: (0–100)
MTF list:
BOS/CHOCH filter: On/Off (Lookback candles)
Session filter: NY/LDN/Asia (local time, weekend toggle)
Invalidation: maxBars = , Opposite BOS = On/Off, Session End = On/Off
Fill definitions: Partial fill ≥ % of the gap; Full fill = 100%
Overlay options: Zone color/transparency, HTF label, statistics overlay On/Off
Alerts (names & triggers)
FVG Suite – First Touch: Price touches an active FVG zone for the first time.
FVG Suite – Partial Fill: Partial fill ≥ configured threshold.
FVG Suite – Full Fill: Gap completely filled.
FVG Suite – Invalidated: Zone invalidated by rules. (Alert message contains: symbol, TF of the zone, direction, score, size, trigger rule.)
Use (best practices)
Trade in the trend direction with BOS/CHOCH filter; target counter-imbalances/liquidity pools.
Use session filters to avoid news spikes/illiquid periods.
Calibrate parameters for each market/TF (ATR/volume profiles differ).
Limitations
Structure labels can be reevaluated for new highs/lows (repainting of labels, not of FVG finds).
Spreads/news can generate “pseudo fills.”
Backtests/statistics are sample-dependent; no guarantee of results.
Changelog
v1.0 – First release (score model, MTF aggregator, BOS/CHOCH filter, fill alerts).
Credits
FVG concept: public ICT/SMC literature (general idea). Implementation/scoring, MTF ranking, smart fill logic: own development.
Note/disclaimer
No financial advice. For educational purposes only. Trading involves high risk; use stop losses and a fixed risk budget.
FX4M by fx4_livingFX4M Simplified by fx4_living
1. Previous Period Framework
Selectable Period: Prior Daily, Weekly, or Monthly.
Range Box: Full high-to-low span of the prior period, shaded by up/down close.
Body Box: Open-to-close section within the range box.
High/Low Lines: Horizontal lines at the previous period’s high/low.
Equilibrium Line: Midpoint between the previous high and low.
2. Intraday Opening Lines
Plots reference price lines for:
Daily Open
(00:00 New York) Midnight Open
09:30 AM Open
13:30 PM Open
Current-Hour Open; plus Weekly/Monthly Opens when Weekly/Monthly is selected.
Each line has its own color, style, and time/price label.
3. Intraday High/Low Tracking
Marks the current day’s highest and lowest prices.
“D-H” and “D-L” labels with time in tooltip.
4. Accumulation Range
Definition: First one-third of the selected reference period.
Shows full range (high-to-low) and body (open-to-close), shaded by up/down close.
After it ends, the Accumulation High/Low/EQ are drawn as horizontal lines.
Optional alerts mark the first time the Accumulation High or Low is reached.
5. Accumulation Range Deviation Levels
After the Accumulation period ends, horizontal levels are drawn at ±0.5, ±1.0, ±1.5 … ±3.5 of the Accumulation range size from its High/Low. Optional small labels show the level value.
Optional alerts mark the first time each deviation level is reached.
6. Previous Period Hit Detection
Marks the first time price reaches the prior period’s High, Low, or Equilibrium during the current period.
Optional alerts are possible.
7. Pre-Market Zone
Marks 05:00–06:59 New York time with a shaded box and dotted midline; color reflects up/down close. The midline can extend forward.
Displayed on intraday charts up to 15 minutes.
8. Status Table
Daily High (time & price)
Daily Equilibrium (current deviation % and price)
Daily Low (time & price)
MWD Institutional order flow (optional): shows Daily/Weekly/Monthly closes vs. their respective opens (directional arrows in colored cells).
Customizable Watermark (optional).
Enjoy
fx4_living
SmartTrade - ALMCorpHello everyone! I’d like to introduce my creation—the Smart Trade indicator. I’ve identified certain patterns and discovered that specific moving averages, at certain deviations, can have a strong impact on price. So, what does this indicator do?
It uses the daily timeframe as the basis for displaying levels. For each cryptocurrency, a unique deviation coefficient is calculated for each level. Essentially, we take two deviation zones—the buy zone and the sell zone—treating them as 0 and 1, respectively. From there, we can plot internal levels based on the Fibonacci sequence.
To summarize:
The indicator displays two main zones (buy/sell).
It also shows internal Fibonacci levels, which exert strong influence on price movements.
For convenience, each level is marked with its corresponding numerical value.
Key Levels for Altcoins: The 0.25–0.5 Range and Imbalance
For many altcoins, the most critical levels are 0.25 and 0.5. Prices tend to stay within this range most of the time—breaking beyond these levels signals a market imbalance, which is usually short-lived.
Example Scenario:
Normal Movement: Price moves between 0.25 (support) and 0.5 (resistance).
Downside Break (Imbalance): If price falls below 0.25 into the buy zone (green area), the failure to hold 0.25 creates a strong imbalance. This typically forces price back up into its usual range.
Upside Break (Imbalance): Similarly, if price breaks above 0.5 (e.g., reaching 0.75), this also creates imbalance, and price tends to revert back down into its standard range.
Conclusion:
Most altcoins trade primarily between 0.25 and 0.5.
A breakout in either direction usually results in a temporary imbalance, which the market quickly corrects.
By recognizing these patterns, we can make more informed trading decisions.
Visualizing Imbalances – From Small to Large
In the chart above, I’ve highlighted all imbalances, ranging from minor to major.
Why This Indicator is Perfect for Spot Trading
I’ve developed a trading strategy for this indicator that displays:
Buy signals (with entry zones)
Average entry price
Sell signals
How the Buy Signals Work:
BUY 1 – Triggered when price touches the upper boundary of the buy zone.
BUY 2 – Activated when price reaches the middle of the buy zone.
BUY 3 – Executed when price tests the lower boundary of the buy zone.
This structured approach ensures you capitalize on optimal entry points while managing risk.
Understanding the Average Entry Line & Profit-Taking System
You may have noticed an additional line on the chart above, displayed alongside the buy signals. This is the average entry line, which represents your mean entry price—calculated based on executing equal-sized purchases at each buy signal (BUY 1, BUY 2, BUY 3).
Where to Sell? Smart Profit-Taking Rules
While precise entries are critical, knowing when to exit is equally important. Here’s how the system works:
Primary Take-Profit Level (0.375)
Historically, this level offers the optimal balance for quick profit-taking.
Adaptive Exit Strategy
If the position is unprofitable by the time of closure, the system automatically shifts the exit to the next higher level (0.5).
This ensures you lock in greater gains when the market favors your trade.
Advanced Performance Tracking & Asset Selection
The indicator provides comprehensive trade analytics, displayed in the bottom-right information panel:
Trade count tracking (total number of executed trades)
Cumulative profitability (combined returns across all trades)
Average profitability per trade (total returns ÷ trade count)
How to Leverage This Data
These metrics allow you to:
Identify high-potential assets
Example: Asset A shows 5% average profit/trade vs. Asset B with 40% → prioritize Asset B for spot trading.
Filter for optimal volatility
Higher average profitability often correlates with stronger momentum/volatility.
Multi-Market Utility
While designed for spot trading, the indicator’s imbalance detection (described earlier) also works for:
Futures market analysis
Entry point identification
SMZ Scanner 1H (Fib 0.618–0.786) — stableQuickly spot when your watchlist tickers enter high-probability Smart Money Zones. This scanner checks up to 40 symbols on 1-hour candles, using the 0.618–0.786 Fibonacci retracement of the latest impulse leg (based on swing highs/lows).
What it does:
• Scans your custom list of tickers (up to 40 at once).
• Identifies fresh bullish or bearish impulses.
• Marks when price enters the key Fib retracement zone.
• Sends one clean alert per bar with all tickers that just hit.
Perfect for:
Swing traders and intraday traders tracking Smart Money Zone re-entries without flipping through dozens of charts.
Angle Market Structure [BigBeluga]🔵 OVERVIEW
Angle Market Structure is a smart pivot-based tool that dynamically adapts to price action by accelerating breakout and breakdown detection. It draws market structure levels based on pivot highs/lows and gradually adjusts those levels closer to price using an angle threshold. Upon breakout, the indicator projects deviation zones with labeled levels (+1, +2, +3 or −1, −2, −3) to track price extension beyond structure.
🔵 CONCEPTS
Adaptive Market Structure: Uses pivots to define structure levels, which dynamically angle closer to price over time to capture breakouts sooner.
Breakout Acceleration: Pivot high levels decrease and pivot low levels increase each bar using a user-defined angle (based on ATR), improving reactivity.
Deviation Zones: Once a breakout or breakdown occurs, 3 deviation levels are projected to show how far price extends beyond the breakout point.
Count Labels: Each successful structure break is numbered sequentially, giving traders insight into momentum and trend persistence.
Visual Clarity: The script uses colored pivot points, trend lines, and extension labels for easy structural interpretation.
🔵 FEATURES
Calculates pivot highs and lows using a customizable length.
Applies an angle modifier (ATR-based) to gradually pull levels closer to price.
Plots breakout and breakdown lines in distinct colors with automatic extension.
Shows deviation zones (+1, +2, +3 or −1, −2, −3) after breakout with customizable size.
Color-coded labels for trend break count (bullish or bearish).
Dynamic label sizing and theme-aware colors.
Smart label positioning to avoid chart clutter.
Built-in limit for deviation zones to maintain clarity and performance.
🔵 HOW TO USE
Use pivot-based market structure to identify breakout and breakdown zones.
Watch for crossover (up) or crossunder (down) events as trend continuation or reversal signals.
Observe +1/+2/+3 or -1/-2/-3 levels for overextension opportunities or trailing stop ideas.
Use breakout count as a proxy for trend strength—multiple counts suggest momentum.
Combine with volume or order flow tools for higher confidence entries at breakout points.
Adjust the angle setting to fine-tune sensitivity based on market volatility.
🔵 CONCLUSION
Angle Market Structure enhances traditional pivot-based analysis by introducing breakout acceleration and structured deviation tracking. It’s a powerful tool for traders seeking a cleaner, faster read on market structure and momentum strength—especially during impulsive price moves or structural transitions.
Sniper NAS100 Swiss Knife IndicatorSniper Trading System – Master Indicator
Description:
“Trade with the precision of the market makers themselves.”
The Sniper Trading System – Master Indicator is the crown jewel of institutional-level trading tools, engineered for those who demand perfect timing, deadly accuracy, and surgical execution in any market.
Designed by a 3× ASCAP Award-winning, multi–funded prop firm trader, this system fuses algorithmic precision with battle-tested price action logic, delivering an unmatched trading edge across Forex, Futures, Indices, and Crypto.
Core Features
Dealer Range Mapping – Auto-detects the hidden accumulation/distribution zones that drive market direction.
Multi-Standard Deviation Targets – Projected with gradient precision (+1 to +4 / -1 to -4) for scalps or swing holds.
12 AM Bias Candle Logic – Reveals the true daily directional bias before the herd even wakes up.
Liquidity Sweep Detection – Spots equal highs/lows & engineered stop hunts before the main move.
Kill Zone Time Windows – Pre-programmed with the London Session Sniper Hours & New York Precision Plays.
Multi-Timeframe RSI Filter – Filters false signals & highlights exhaustion points for sniper entries.
Dynamic Alerts – Fire real-time push, email, or webhook notifications for entry, exit, and confluence events.
How It Works
Identify Bias – Use the 12 AM candle + DXY/RSI overlays to confirm bullish or bearish control.
Wait for Liquidity Sweep – Let the market makers hunt stops; your job is to wait.
Execute at Kill Zones – Follow the preloaded precision entry times for God-tier sniper plays.
Ride to Target Zones – Exit at projected standard deviation levels for mathematically consistent profits.
Ideal For
Day Traders looking for clean entries and exits.
ADVANCED EMA RIBBON SUITE PRO [Multi-Timeframe + Alerts + Dash]🎯 ADVANCED EMA RIBBON SUITE PRO
📊 DESCRIPTION:
The most comprehensive EMA Ribbon indicator on TradingView, featuring 14 customizable
EMAs (5-200), multi-timeframe analysis, gradient ribbon visualization, smart alerts,
and a real-time dashboard. Perfect for trend following, scalping, and swing trading.
🔥 KEY FEATURES:
• 14 EMAs with Fibonacci sequence option (5, 8, 13, 21, 34, 55, 89, 144, 200)
• Multi-Timeframe (MTF) analysis - see higher timeframe trends
• Dynamic gradient ribbon with trend-based coloring
• Golden Cross & Death Cross detection with alerts
• Professional themes (Dark/Light) with 6 visual styles
• Real-time information dashboard
• Customizable transparency and colors
• Trend strength visualization
• Price position analysis
• Smart alert system for all major crossovers
📈 USE CASES:
• Trend Identification: Ribbon expansion/contraction shows trend strength
• Entry/Exit Signals: EMA crossovers provide clear trade signals
• Support/Resistance: EMAs act as dynamic S/R levels
• Multi-Timeframe Confluence: Combine timeframes for higher probability trades
• Scalping: Use faster EMAs (5-20) for quick trades
• Swing Trading: Focus on 50/200 EMAs for position trades
🎯 TRADING STRATEGIES:
1. Ribbon Squeeze: Trade breakouts when ribbon contracts
2. Golden/Death Cross: Major trend reversals at 50/200 crosses
3. Price Above/Below: Long when price above most EMAs, short when below
4. MTF Confluence: Trade when multiple timeframes align
5. Dynamic S/R: Use EMAs as trailing stop levels
⚡ OPTIMAL SETTINGS:
• Scalping: 5, 8, 13, 21 EMAs on 1-5 min charts
• Day Trading: Full ribbon on 15-60 min charts
• Swing Trading: Focus on 50, 100, 200 EMAs on daily charts
• Position Trading: Use weekly timeframe with monthly MTF
📌 KEYWORDS:
EMA, Exponential Moving Average, Ribbon, Multi-Timeframe, MTF, Golden Cross,
Death Cross, Trend Following, Scalping, Swing Trading, Dashboard, Alerts,
Support Resistance, Fibonacci, Professional, Advanced, Suite, Indicator
*Created using PineCraft AI (Link in Bio)
XAUUSD 1H – FVG Buy/Sell Signals XAUUSD 1H – Fair Value Gap (FVG) Buy/Sell Signals (No Boxes)
What it is:
A clean, signal-only indicator for Gold on the 1-hour chart. It detects 3-bar Fair Value Gaps, waits for a deep retest, then confirms with strong candle structure + trend + ADX before printing a BUY/SELL arrow. No rectangles or clutter—just selective, high-quality signals.
Why it works:
Instead of chasing breakouts, the script hunts for imbalances (FVGs) where price often returns to “fair value.” It only fires when:
price revisits the gap by a configurable depth,
the candle closes beyond the far edge with a small buffer,
the candle body is ≥ ATR × K (confirms intent),
the broader trend (EMA-50/EMA-200) agrees, and
ADX (Wilder, manual) shows sufficient strength.
Key features
✅ Signal-only: arrows/labels—no boxes on chart.
✅ Deep retest logic (percentage of zone), not just a touch.
✅ Strong close filter (edge + buffer) + ATR body filter.
✅ Trend filter (EMA-50 vs EMA-200) to keep trades with the regime.
✅ ADX strength to avoid chop.
✅ One signal per zone (optional “delete on use”).
✅ Alerts for both BUY and SELL.
✅ Built for Pine v6, non-repainting logic on bar close.
Inputs you can tune
Min FVG size (pts) – ignore tiny gaps.
Retest depth (%) – how deep price must come back into the gap.
Close buffer (pts) – extra confirmation beyond zone edge.
Min body ≥ ATR× – candle strength requirement.
Min ADX – trend strength threshold.
Expire after X bars – keep zones fresh.
Delete zone after signal – true = one-shot signals.
How I use it
Apply to XAUUSD 1H.
Keep default filters for selective signals.
For more setups, lower Min FVG size or ADX and reduce retest depth; for stricter signals, do the opposite.
Combine with S/R or session timing (London/NY) for added confluence.
Notes
Signals are generated on bar close.
Designed for clarity and discipline—fewer, cleaner arrows over constant noise.
Works on other symbols/timeframes, but tuned for Gold 1H.
Tags: #XAUUSD #Gold #FVG #SmartMoney #1H #TrendFollowing #ADX #ATR #PineV6 #TradingView
Josh SMCAn advanced Smart Money Concepts (SMC) indicator that automatically detects and visualizes:
✅ Market Structure: BOS (Break of Structure) & CHoCH (Change of Character) for both Swing and Internal structures
✅ Order Blocks: Bullish & Bearish (Swing & Internal) with breaker block detection and mitigation logic
✅ Fair Value Gaps (FVG): Automatic bullish/bearish FVG detection with extension options
✅ Liquidity Levels: Equal Highs/Lows with strong/weak level identification
✅ Premium/Discount Zones: Dynamic zones based on real-time price extremes
✅ Multi-Timeframe Levels: Daily, Weekly, Monthly high/low levels with customizable styles
🔹 Designed for traders who follow ICT / Smart Money principles
🔹 Perfect for identifying high-probability setups in Forex, Indices, Gold, and Crypto markets
🔹 Protected Access: Requires owner approval before use – for VIP members and authorized users only
📈 How to Use:
Wait for structure shift confirmation (BOS/CHoCH)
Identify confluence with Order Block + FVG + Liquidity levels
Enter trades in line with the higher-timeframe bias for maximum accuracy
Clean Multi-Indicator Alignment System
Overview
A sophisticated multi-indicator alignment system designed for 24/7 trading across all markets, with pure signal-based exits and no time restrictions. Perfect for futures, forex, and crypto markets that operate around the clock.
Key Features
🎯 Multi-Indicator Confluence System
EMA Cross Strategy: Fast EMA (5) and Slow EMA (10) for precise trend direction
VWAP Integration: Institution-level price positioning analysis
RSI Momentum: 7-period RSI for momentum confirmation and reversal detection
MACD Signals: Optimized 8/17/5 configuration for scalping responsiveness
Volume Confirmation: Customizable volume multiplier (default 1.6x) for signal validation
🚀 Advanced Entry Logic
Initial Full Alignment: Requires all 5 indicators + volume confirmation
Smart Continuation Entries: EMA9 pullback entries when trend momentum remains intact
Flexible Time Controls: Optional session filtering or 24/7 operation
🎪 Pure Signal-Based Exits
No Forced Closes: Positions exit only on technical signal reversals
Dual Exit Conditions: EMA9 breakdown + RSI flip OR MACD cross + EMA20 breakdown
Trend Following: Allows profitable trends to run their full course
Perfect for Swing Scalping: Ideal for multi-session position holding
📊 Visual Interface
Real-Time Status Dashboard: Live alignment monitoring for all indicators
Color-Coded Candles: Instant visual confirmation of entry/exit signals
Clean Chart Display: Toggle-able EMAs and VWAP with professional styling
Signal Differentiation: Clear labels for entries, X-crosses for exits
🔔 Alert System
Entry Notifications: Separate alerts for buy/sell signals
Exit Warnings: Technical breakdown alerts for position management
Mobile Ready: Push notifications to TradingView mobile app
Market Applications
Perfect For:
Gold Futures (GC): 24-hour precious metals trading
NASDAQ Futures (NQ): High-volatility index scalping
Forex Markets: Currency pairs with continuous operation
Crypto Trading: 24/7 cryptocurrency momentum plays
Energy Futures: Oil, gas, and commodity swing trades
Optimal Timeframes:
1-5 Minutes: Ultra-fast scalping during high volatility
5-15 Minutes: Balanced approach for most markets
15-30 Minutes: Swing scalping for trend following
🧠 Smart Position Management
Tracks implied position direction
Prevents conflicting signals
Allows trend continuation entries
State-aware exit logic
⚡ Scalping Optimized
Fast-reacting indicators with shorter periods
Volume-based confirmation reduces false signals
Clean entry/exit visualization
Minimal lag for time-sensitive trades
Configuration Options
All parameters fully customizable:
EMA Lengths: Adjustable from 1-30 periods
RSI Period: 1-14 range for different market conditions
MACD Settings: Fast (1-15), Slow (1-30), Signal (1-10)
Volume Confirmation: 0.5-5.0x multiplier range
Visual Preferences: Colors, displays, and table options
Risk Management Features
Clear visual exit signals prevent emotion-based decisions
Volume confirmation reduces false breakouts
Multi-indicator confluence improves signal quality
Optional time filtering for session-specific strategies
Best Use Cases
Futures Scalping: NQ, ES, GC during active sessions
Forex Swing Trading: Major pairs during overlap periods
Crypto Momentum: Bitcoin, Ethereum trend following
24/7 Automated Systems: Algorithmic trading implementation
Multi-Market Scanning: Portfolio-wide signal monitoring
VHX EMA 135/315📈 EMA 135/315 Cross Strategy – Your Trend Compass with Smart Confirmations
🔍 Core Idea
The EMA 135/315 Cross strategy is a trend-following system.
It tracks two moving averages:
EMA 135 → the “fast” line that reacts to short-term price moves
EMA 315 → the “slow” line that reacts to the bigger trend
When the fast EMA crosses above the slow EMA → market momentum is turning up → BUY signal 🟢
When the fast EMA crosses below the slow EMA → momentum is turning down → SELL signal 🔴
This gives you a clear entry trigger — no guessing, no overcomplication.
✨ On Your Chart
BUY/SELL Arrows
🟢 Green arrow = bullish cross → trend turning up
🔴 Red arrow = bearish cross → trend turning down
Trend Info Panel (Top Left)
Current Trend: BUY / SELL / Neutral
Last Cross: how many bars ago it happened
EMA Gap in %: measures the strength of the trend
Status: “Approaching” if EMAs are getting close → possible cross soon
Automatic TP/SL Levels
📈 TP line (+2% from entry)
📉 SL line (–0.5% from entry)
Saves time — you instantly see your target and protection
EMA Distance Meter
Big % gap = strong trend momentum 🚀
Small % gap = weak or sideways market ⚠️
Real-Time Alerts
You get notified when a cross happens, even if you’re away from the screen
🧠 The Logic Behind It
The EMA 135 reacts faster → it reflects short-term momentum
The EMA 315 moves slower → it reflects the main trend
When the fast EMA overtakes the slow EMA: short-term strength now aligns with the long-term trend → higher probability of a sustained move
The gap % tells you how strong the alignment is — large gap = cleaner moves, small gap = market in transition
“Approaching” status warns that the EMAs are converging, which often happens before a reversal
📊 Boosting the Strategy with Volume Analysis
The EMA cross is a strong trigger, but volume confirms the quality of the move:
High Volume + Cross → more reliable signal, as strong market participation is pushing the trend
Low Volume + Cross → caution, the move might be weak or a false breakout
💡 Tip:
Check the volume histogram or a volume-based indicator (e.g., Volume Profile, OBV).
On a BUY signal: volume should spike above the recent average.
On a SELL signal: watch for strong selling volume bars.
📍 Adding Support & Resistance for Precision
Support and resistance levels help filter out bad trades and optimize entries:
Best BUY setups:
EMA 135 crosses above EMA 315 near a known support zone
Bonus if volume confirms the move
Avoid buying directly into a strong resistance
Best SELL setups:
EMA 135 crosses below EMA 315 near a known resistance zone
Bonus if selling volume is strong
Avoid selling directly into a major support
💡 Use tools like horizontal lines, previous highs/lows, and Volume Profile nodes to spot these zones.
📈 Best Usage Practices
Timeframes
Lower timeframes (1m–5m) → more signals, but more noise → best for scalping with extra filters
Always Combine With Confirmation
EMA Cross = Trigger
Volume spike = Confirmation
S/R zone in your favor = High-probability setup
Manage Risk
Start with the built-in TP/SL
Adjust SL if volatility is higher than usual
Consider trailing stop once price moves in your favor
Avoid Sideways Markets
If EMA gap % is very small and crosses happen often → stand aside until a clear direction forms
Use Alerts
Set alerts for BUY & SELL crosses so you never miss a setup
In short:
This isn’t just an EMA cross indicator — it’s a trend system with built-in risk management, strength measurement, and pre-trade preparation. Combine it with volume confirmation and smart use of support/resistance, and you turn a simple signal into a high-probability trading edge.
Zero Lag Liquidity [AlgoAlpha]🟠 OVERVIEW
This script plots liquidity zones with zero lag using lower-timeframe wick profiles and high-volume wicks to mark key price reactions. It’s called Zero Lag Liquidity because it captures significant liquidity imbalances in real time by processing lower-TF price-volume distributions directly inside the wick of abnormal candles. The tool builds a volume histogram inside long upper/lower wicks, then calculates a local Point of Control (POC) to mark the price where most volume occurred. These levels act as visual liquidity zones, which can trigger labels, break signals, and trend detection depending on price interaction.
🟠 CONCEPTS
The core concept relies on identifying high-volume candles with unusually long wicks—often a sign of opposing liquidity. When a large upper or lower wick appears with a strong volume spike, the script builds a histogram of lower-timeframe closes and volumes inside that wick. It bins the wick into segments, sums volume per bin, and finds the POC. This POC becomes the liquidity level. The script then dynamically tracks whether price breaks above or rejects off these levels, adjusts the active trend regime accordingly, and highlights bars to help users spot continuation or reversal behavior. The logic avoids repainting or subjective interpretation by using fixed thresholds and lower-TF price action.
🟠 FEATURES
Dynamic liquidity levels rendered at POC of significant wicks, colored by bullish/bearish direction.
Break detection that removes levels once price decisively crosses them twice in the same direction.
Rejection detection that plots ▲/▼ markers when price bounces off levels intrabar.
Volume labels for each level, shown either as raw volume or percentage of total level volume.
Candle coloring based on trend direction (break-dominant).
🟠 USAGE
Use this indicator to track where liquidity has most likely entered the market via abnormal wick events. When a long wick forms with high volume, the script looks inside it (using your chosen lower timeframe) and marks the most traded price within it. These levels can serve as expected reversal or breakout zones. Rejections are marked with small arrows, while breaks trigger trend shifts and remove the level. You can toggle trend coloring to see directional bias after a breakout. Use the wick multiplier to control how selective the detector is (higher = stricter). Alerts and label modes help customize the signal for different asset types and chart styles.
Universal Futures Signals Pro – Next-Gen Day Trading IndicatorThe Universal Futures Signals Pro is a powerful, all-in-one day trading toolkit designed for futures traders seeking precision, confidence, and consistency. Whether you're trading ES, MES, NQ, MNQ, or other popular futures contracts, this indicator delivers real-time signals and advanced analytics tailored for high-performance intraday trading.
🔍 Key Features:
Smart Buy/Sell Signals based on multi-factor confluence (trend, momentum, volume, volatility).
EMA, VWAP, RSI, MACD & Order Block integration for accurate signal generation.
Signal Clustering Detector to identify high-probability trade zones.
Dynamic Risk Management: Helps define stop loss and target areas for funded evaluations.
Session Filters (RTH, ETH) and Smart Money Concepts for cleaner setups.
Professional Dashboard showing trend state, trade status, and signal count.
Alerts for trade entries, exits, signal clusters, and trend shifts.
Customizable Settings: Tailor everything from sensitivity to color schemes.
Who is it for?
Prop firm traders looking to pass evaluation accounts.
Futures scalpers and intraday traders who value precision.
Traders seeking a structured edge in volatile markets.
Works Best On:
Instruments: ES, MES, NQ, MNQ, RTY, YM, CL, GC, etc.
Timeframes: 1m to 15m (optimized for intraday precision)
Liquidity Hunter Pro iDea TradeAutomatically detects and visualizes key liquidity levels across multiple timeframes.
Features include:
Multi-timeframe high/low liquidity mapping
Automatic and manual timeframe options
Real-time “sweep” and “touch” detection
Customizable colors and labels
Alerts for liquidity touches and sweeps
Option to display mitigated (swept) liquidity as dashed lines
How to use:
Enable the desired timeframes and alerts, adjust colors or labels to fit your style, and monitor the chart for liquidity sweeps and reactions. Use as a technical tool to spot potential support/resistance or sweep zones.
Note:
This script does not provide trading signals or financial advice. For technical analysis and educational purposes only. Always manage your risk.
Protected script. Source code is hidden but free for all TradingView users.
Gold Killzone Bias Suite🟡 Gold Killzone Bias Suite
The Gold Killzone Bias Suite is an advanced institutional-grade tool designed to generate high-confidence directional bias for XAU/USD (Gold) during the London and New York killzones.
Built for traders using a structured, confluence-driven approach, this tool blends price action, smart money principles, momentum, and volume into a real-time bias engine with a clean, easy-to-read dashboard.
🔧 Key Features
🕰️ Session-Based Bias (London / New York)
Independent bias calculation per session
Killzone times customizable with timezone support
Background highlighting (blue/red) for each session
📊 VWAP Engine
Reclaim & rejection detection
VWAP deviation alerts
Daily HTF VWAP integration
Score impact based on VWAP behaviour
📉 Market Structure (CHoCH / BOS)
Detects swing highs/lows
Labels bullish/bearish CHoCHs
Structure score contributes to session bias
💧 Liquidity Grabs
Detects stop hunts above highs / below lows
Confirms with candle rejection (body % filter)
Plots labels and adds to bias scoring
⚡ Momentum Filters
RSI: Bullish >55, Bearish <45
MACD: Histogram + Signal Line crossovers
Combined momentum score used in bias
🧠 Smart Money Proximity
Optional FVG/OB score toggle (placeholder for custom logic)
Adds static confluence for proximity-based setups
⏫ Higher Time Frame Context
Daily VWAP comparison
4H high/low structure breaks
Adds trend score to current session bias
🧠 How Bias Works
The suite uses a scoring model. Each confluence adds or subtracts points:
VWAP reclaim/reject: ±30
CHoCH/BOS: ±30
Liquidity grab: ±20
RSI/MACD: ±10
FVG/OB Proximity: +10
Daily VWAP trend: ±10
H4 Trend Break: ±10
Final Bias:
Bullish if score ≥ +20
Bearish if score ≤ -20
Neutral if between -19 and +19
A confidence % (capped at 100) is also shown, along with the contributing confluences (VWAP, Structure, Liquidity, etc.).
📋 Dashboard
A real-time dashboard shows for each session:
Session name and time
Bias (Bullish / Bearish / Neutral)
Confidence (%)
Confluences used
Position can be moved (Top Left, Top Right, etc.). Designed to be unobtrusive yet informative.
🧪 Best Practices
Use on 15m / 5m charts for intraday setups
Confirm with D1 or H4 structure for directional context
Combine with OB/FVG zones or SMT for entries
Use Trading View alerts for bias flips or liquidity grabs (custom logic can be added)
Bar Replay compatible for back testing and journaling bias shifts
🔐 Notes
Does not generate trade signals or alerts by default
Focused on bias generation and confluence stacking
Compatible with funded account trading models
📈 Built for traders who want a systematic, score-based approach to identifying directional edge in high-volume gold sessions.
FVG Pro - Advanced Multi-Timeframe iDea TradeFVG Pro – Advanced Multi-Timeframe
This indicator automatically detects and visualizes Fair Value Gaps (FVGs) across two different timeframes. Features include:
Dual-timeframe FVG detection (bullish & bearish)
Customizable display: boxes, lines, or both
Optional Fibonacci levels inside gaps (25%, 50%, 75%)
Touch tracking & “respected” status
Adjustable quality scoring and filtering
Automatic removal of filled gaps (configurable)
You can easily tailor colors, label size, and visibility for your needs.
How to use:
Enable the timeframes you want, set your visual preferences, and use the quality filter if you wish to highlight only the strongest imbalances. FVGs can be used as potential support/resistance or reaction zones—combine with your own trading strategy.
Note:
This script does not provide buy/sell signals. It is for technical analysis only and should not be considered financial advice. Please use proper risk management.
Protected script. Source code is hidden but free for all TradingView users.
Option Jackpot Indicator# ATR Option Signal Enhanced - Smart Filtering System
🚀 **Professional Options Trading Indicator with Advanced Signal Filtering**
## 📊 Overview
This advanced Pine Script indicator is specifically designed for Indian options traders, providing intelligent buy/sell signals for BANKNIFTY, NIFTY, FINNIFTY, MIDCAP, and custom stocks. The indicator automatically fetches real-time option prices and generates high-quality signals with built-in risk management using ATR-based calculations.
## 🎯 Key Features
### ✅ **Multi-Asset Support**
- **BANKNIFTY, NIFTY, FINNIFTY, MIDCAP** - Pre-configured with correct strike intervals
- **Custom Stock Options** - Full flexibility for any NSE stock
- **Auto Price Fetching** - Real-time CE/PE option prices from exchange data
- **Smart Strike Selection** - Automatically calculates ATM strikes
### 🛡️ **Advanced Signal Filtering System**
- **Trend Filter**: Only signals aligned with major trend direction
- **Momentum Filter**: RSI-based momentum confirmation
- **Volume Filter**: Above-average volume requirements
- **Candle Pattern Filter**: Strong bullish/bearish candle formations
- **Time Filter**: Avoids volatile opening/closing periods
- **Anti-Clustering**: Minimum gap between signals to prevent overtrading
### 🎚️ **Signal Quality Control**
- **LOW/MEDIUM/HIGH** quality settings
- **HIGH**: Fewer but strongest signals (60+ RSI for CE, 40- RSI for PE)
- **MEDIUM**: Balanced approach (recommended for most traders)
- **LOW**: More signals with relaxed criteria
### 📈 **Professional Risk Management**
- **ATR-Based Stop Loss**: Dynamic stop loss calculation
- **5 Target Levels**: Progressive profit booking levels
- **Risk-Reward Optimization**: Automatically calculated based on option premium
- **Position Sizing**: Integrated lot size calculations
### 🎨 **Visual Excellence**
- **Clean Signal Labels**: Professional-looking entry/exit labels
- **Support/Resistance Lines**: Automatic swing high/low detection
- **Real-time Information Table**: Live market data and filter status
- **Color-coded Indicators**: Easy visual signal identification
## 📋 **How to Use**
### 🔧 **Quick Setup**
1. **Select your instrument** (BANKNIFTY/NIFTY/FINNIFTY/MIDCAP/Custom)
2. **Set expiry date** (Day/Month/Year format)
3. **Choose signal quality** (Start with MEDIUM)
4. **Enable desired filters** (All recommended initially)
5. **Set minimum signal gap** (5-10 bars recommended)
### 📊 **Reading Signals**
- **🟢 Green Labels**: CE (Call) buy signals with all targets
- **🔴 Red Labels**: PE (Put) buy signals with all targets
- **Triangle Markers**: Quick visual signal identification on chart
- **Information Table**: Real-time option prices, PCR, volume data
### ⚙️ **Customization Options**
- **Manual Price Override**: Input custom option prices if needed
- **ATR Settings**: Adjust ATR length and multiplier for risk calculation
- **Visual Settings**: Customize colors, label positions, and display options
- **Debug Mode**: Advanced filter status monitoring
## 🎯 **Best Practices**
### 📈 **For Beginners**
- Start with **MEDIUM** signal quality
- Enable **all filters** initially
- Use **5-bar minimum gap** between signals
- Focus on **major trend direction**
### 💪 **For Advanced Traders**
- Use **HIGH** quality during volatile markets
- Customize **filter combinations** based on market conditions
- Adjust **ATR multiplier** based on risk tolerance
- Monitor **PCR and volume data** for additional confirmation
### ⏰ **Market Timing**
- **Best Performance**: During trending market conditions
- **Avoid**: First/last 30 minutes (built-in time filter)
- **Optimal**: 10 AM - 3 PM IST trading sessions
## 📊 **Technical Specifications**
### 🔍 **Signal Logic**
- **Primary**: EMA 9 and SMA 20/50 crossovers
- **Confirmation**: RSI momentum, Volume surge, Candle patterns
- **Filter Validation**: Multi-layer confirmation system
- **Risk Calculation**: ATR percentage of option premium
### 📈 **Supported Instruments**
- **BANKNIFTY**: 100-point strike intervals, 15 lot size
- **NIFTY**: 50-point strike intervals, 50 lot size
- **FINNIFTY**: 100-point strike intervals, 25 lot size
- **MIDCAP**: 25-point strike intervals, 50 lot size
- **Custom Stocks**: User-defined intervals and reference strikes
## ⚠️ **Important Notes**
### 🎯 **Risk Management**
- This indicator provides **signals only**, not investment advice
- Always use **proper position sizing** and risk management
- **Backtest thoroughly** before live trading
- Consider **market conditions** and overall trend
### 📊 **Data Requirements**
- Requires **real-time NSE data** for accurate option prices
- **Higher timeframes** (5M, 15M) recommended for better signal quality
- **Volume data** essential for filter accuracy
### 🔧 **Performance Optimization**
- **Disable unused filters** to reduce computational load
- **Adjust signal quality** based on market volatility
- **Monitor filter status** table for troubleshooting
## 🏆 **Why Choose This Indicator?**
✅ **Professional Grade**: Built by experienced options traders for real market conditions
✅ **Comprehensive Filtering**: Reduces false signals by 60-80%
✅ **Auto Price Fetching**: No manual price input required
✅ **Risk Management**: Built-in ATR-based stop loss and targets
✅ **Multi-Asset**: Supports all major Indian indices and stocks
✅ **User-Friendly**: Easy setup with professional results
✅ **Regular Updates**: Continuously improved based on user feedback
## 📞 **Support & Updates**
This indicator is actively maintained and updated based on user feedback and market changes. For support, suggestions, or custom modifications, please reach out through TradingView messages.
---
**⚡ Transform your options trading with intelligent signals and professional risk management!**
*Disclaimer: This indicator is for educational and informational purposes only. Trading involves significant risk of loss. Always trade responsibly and consider your risk tolerance.*
SMC Structures and FVGสวัสดีครับ! ผมจะอธิบายอินดิเคเตอร์ "SMC Structures and FVG + MACD" ที่คุณให้มาอย่างละเอียดในแต่ละส่วน เพื่อให้คุณเข้าใจการทำงานของมันอย่างถ่องแท้ครับ
อินดิเคเตอร์นี้เป็นการผสมผสานแนวคิดของ Smart Money Concept (SMC) ซึ่งเน้นการวิเคราะห์โครงสร้างตลาด (Market Structure) และ Fair Value Gap (FVG) เข้ากับอินดิเคเตอร์ MACD เพื่อใช้เป็นตัวกรองหรือตัวยืนยันสัญญาณ Choch/BoS (Change of Character / Break of Structure)
1. ภาพรวมอินดิเคเตอร์ (Overall Purpose)
อินดิเคเตอร์นี้มีจุดประสงค์หลักคือ:
ระบุโครงสร้างตลาด: ตีเส้นและป้ายกำกับ Choch (Change of Character) และ BoS (Break of Structure) บนกราฟโดยอัตโนมัติ
ผสานการยืนยันด้วย MACD: สัญญาณ Choch/BoS จะถูกพิจารณาก็ต่อเมื่อ MACD Histogram เกิดการตัดขึ้นหรือลง (Zero Cross) ในทิศทางที่สอดคล้องกัน
แสดง Fair Value Gap (FVG): หากเปิดใช้งาน จะมีการตีกล่อง FVG บนกราฟ
แสดงระดับ Fibonacci: คำนวณและแสดงระดับ Fibonacci ที่สำคัญตามโครงสร้างตลาดปัจจุบัน
ปรับตาม Timeframe: การคำนวณและการแสดงผลทั้งหมดจะปรับตาม Timeframe ที่คุณกำลังใช้งานอยู่โดยอัตโนมัติ
2. ส่วนประกอบหลักของโค้ด (Code Breakdown)
โค้ดนี้สามารถแบ่งออกเป็นส่วนหลัก ๆ ได้ดังนี้:
2.1 Inputs (การตั้งค่า)
ส่วนนี้คือตัวแปรที่คุณสามารถปรับแต่งได้ในหน้าต่างการตั้งค่าของอินดิเคเตอร์ (คลิกที่รูปฟันเฟืองข้างชื่ออินดิเคเตอร์บนกราฟ)
MACD Settings (ตั้งค่า MACD):
fast_len: ความยาวของ Fast EMA สำหรับ MACD (ค่าเริ่มต้น 12)
slow_len: ความยาวของ Slow EMA สำหรับ MACD (ค่าเริ่มต้น 26)
signal_len: ความยาวของ Signal Line สำหรับ MACD (ค่าเริ่มต้น 9)
= ta.macd(close, fast_len, slow_len, signal_len): คำนวณค่า MACD Line, Signal Line และ Histogram โดยใช้ราคาปิด (close) และค่าความยาวที่กำหนด
is_bullish_macd_cross: ตรวจสอบว่า MACD Histogram ตัดขึ้นเหนือเส้น 0 (จากค่าลบเป็นบวก)
is_bearish_macd_cross: ตรวจสอบว่า MACD Histogram ตัดลงใต้เส้น 0 (จากค่าบวกเป็นลบ)
Fear Value Gap (FVG) Settings:
isFvgToShow: (Boolean) เปิด/ปิดการแสดง FVG บนกราฟ
bullishFvgColor: สีสำหรับ Bullish FVG
bearishFvgColor: สีสำหรับ Bearish FVG
mitigatedFvgColor: สีสำหรับ FVG ที่ถูก Mitigate (ลดทอน) แล้ว
fvgHistoryNbr: จำนวน FVG ย้อนหลังที่จะแสดง
isMitigatedFvgToReduce: (Boolean) เปิด/ปิดการลดขนาด FVG เมื่อถูก Mitigate
Structures (โครงสร้างตลาด) Settings:
isStructBodyCandleBreak: (Boolean) หากเป็น true การ Break จะต้องเกิดขึ้นด้วย เนื้อเทียน ที่ปิดเหนือ/ใต้ Swing High/Low หากเป็น false แค่ไส้เทียนทะลุก็ถือว่า Break
isCurrentStructToShow: (Boolean) เปิด/ปิดการแสดงเส้นโครงสร้างตลาดปัจจุบัน (เส้นสีน้ำเงินในภาพตัวอย่าง)
pivot_len: ความยาวของแท่งเทียนที่ใช้ในการมองหาจุด Pivot (Swing High/Low) ยิ่งค่าน้อยยิ่งจับ Swing เล็กๆ ได้, ยิ่งค่ามากยิ่งจับ Swing ใหญ่ๆ ได้
bullishBosColor, bearishBosColor: สีสำหรับเส้นและป้าย BOS ขาขึ้น/ขาลง
bosLineStyleOption, bosLineWidth: สไตล์ (Solid, Dotted, Dashed) และความหนาของเส้น BOS
bullishChochColor, bearishChochColor: สีสำหรับเส้นและป้าย CHoCH ขาขึ้น/ขาลง
chochLineStyleOption, chochLineWidth: สไตล์ (Solid, Dotted, Dashed) และความหนาของเส้น CHoCH
currentStructColor, currentStructLineStyleOption, currentStructLineWidth: สี, สไตล์ และความหนาของเส้นโครงสร้างตลาดปัจจุบัน
structHistoryNbr: จำนวนการ Break (Choch/BoS) ย้อนหลังที่จะแสดง
Structure Fibonacci (จากโค้ดต้นฉบับ):
เป็นชุด Input สำหรับเปิด/ปิด, กำหนดค่า, สี, สไตล์ และความหนาของเส้น Fibonacci Levels ต่างๆ (0.786, 0.705, 0.618, 0.5, 0.382) ที่จะถูกคำนวณจากโครงสร้างตลาดปัจจุบัน
2.2 Helper Functions (ฟังก์ชันช่วยทำงาน)
getLineStyle(lineOption): ฟังก์ชันนี้ใช้แปลงค่า String ที่เลือกจาก Input (เช่น "─", "┈", "╌") ให้เป็นรูปแบบ line.style_ ที่ Pine Script เข้าใจ
get_structure_highest_bar(lookback): ฟังก์ชันนี้พยายามหา Bar Index ของแท่งเทียนที่ทำ Swing High ภายในช่วง lookback ที่กำหนด
get_structure_lowest_bar(lookback): ฟังก์ชันนี้พยายามหา Bar Index ของแท่งเทียนที่ทำ Swing Low ภายในช่วง lookback ที่กำหนด
is_structure_high_broken(...): ฟังก์ชันนี้ตรวจสอบว่าราคาปัจจุบันได้ Break เหนือ _structureHigh (Swing High) หรือไม่ โดยพิจารณาจาก _highStructBreakPrice (ราคาปิดหรือราคา High ขึ้นอยู่กับการตั้งค่า isStructBodyCandleBreak)
FVGDraw(...): ฟังก์ชันนี้รับ Arrays ของ FVG Boxes, Types, Mitigation Status และ Labels มาประมวลผล เพื่ออัปเดตสถานะของ FVG (เช่น ถูก Mitigate หรือไม่) และปรับขนาด/ตำแหน่งของ FVG Box และ Label บนกราฟ
2.3 Global Variables (ตัวแปรทั่วทั้งอินดิเคเตอร์)
เป็นตัวแปรที่ประกาศด้วย var ซึ่งหมายความว่าค่าของมันจะถูกเก็บไว้และอัปเดตในแต่ละแท่งเทียน (persists across bars)
structureLines, structureLabels: Arrays สำหรับเก็บอ็อบเจกต์ line และ label ของเส้น Choch/BoS ที่วาดบนกราฟ
fvgBoxes, fvgTypes, fvgLabels, isFvgMitigated: Arrays สำหรับเก็บข้อมูลของ FVG Boxes และสถานะต่างๆ
structureHigh, structureLow: เก็บราคาของ Swing High/Low ที่สำคัญของโครงสร้างตลาดปัจจุบัน
structureHighStartIndex, structureLowStartIndex: เก็บ Bar Index ของจุดเริ่มต้นของ Swing High/Low ที่สำคัญ
structureDirection: เก็บสถานะของทิศทางโครงสร้างตลาด (1 = Bullish, 2 = Bearish, 0 = Undefined)
fiboXPrice, fiboXStartIndex, fiboXLine, fiboXLabel: ตัวแปรสำหรับเก็บข้อมูลและอ็อบเจกต์ของเส้น Fibonacci Levels
isBOSAlert, isCHOCHAlert: (Boolean) ใช้สำหรับส่งสัญญาณ Alert (หากมีการตั้งค่า Alert ไว้)
2.4 FVG Processing (การประมวลผล FVG)
ส่วนนี้จะตรวจสอบเงื่อนไขการเกิด FVG (Bullish FVG: high < low , Bearish FVG: low > high )
หากเกิด FVG และ isFvgToShow เป็น true จะมีการสร้าง box และ label ใหม่เพื่อแสดง FVG บนกราฟ
มีการจัดการ fvgBoxes และ fvgLabels เพื่อจำกัดจำนวน FVG ที่แสดงตาม fvgHistoryNbr และลบ FVG เก่าออก
ฟังก์ชัน FVGDraw จะถูกเรียกเพื่ออัปเดตสถานะของ FVG (เช่น การถูก Mitigate) และปรับการแสดงผล
2.5 Structures Processing (การประมวลผลโครงสร้างตลาด)
Initialization: ที่ bar_index == 0 (แท่งเทียนแรกของกราฟ) จะมีการกำหนดค่าเริ่มต้นให้กับ structureHigh, structureLow, structureHighStartIndex, structureLowStartIndex
Finding Current High/Low: highest, highestBar, lowest, lowestBar ถูกใช้เพื่อหา High/Low ที่สุดและ Bar Index ของมันใน 10 แท่งล่าสุด (หรือทั้งหมดหากกราฟสั้นกว่า 10 แท่ง)
Calculating Structure Max/Min Bar: structureMaxBar และ structureMinBar ใช้ฟังก์ชัน get_structure_highest_bar และ get_structure_lowest_bar เพื่อหา Bar Index ของ Swing High/Low ที่แท้จริง (ไม่ใช่แค่ High/Low ที่สุดใน lookback แต่เป็นจุด Pivot ที่สมบูรณ์)
Break Price: lowStructBreakPrice และ highStructBreakPrice จะเป็นราคาปิด (close) หรือราคา Low/High ขึ้นอยู่กับ isStructBodyCandleBreak
isStuctureLowBroken / isStructureHighBroken: เงื่อนไขเหล่านี้ตรวจสอบว่าราคาได้ทำลาย structureLow หรือ structureHigh หรือไม่ โดยพิจารณาจากราคา Break, ราคาแท่งก่อนหน้า และ Bar Index ของจุดเริ่มต้นโครงสร้าง
Choch/BoS Logic (ส่วนสำคัญที่ถูกผสานกับ MACD):
if(isStuctureLowBroken and is_bearish_macd_cross): นี่คือจุดที่ MACD เข้ามามีบทบาท หากราคาทำลาย structureLow (สัญญาณขาลง) และ MACD Histogram เกิด Bearish Zero Cross (is_bearish_macd_cross เป็น true) อินดิเคเตอร์จะพิจารณาว่าเป็น Choch หรือ BoS
หาก structureDirection == 1 (เดิมเป็นขาขึ้น) หรือ 0 (ยังไม่กำหนด) จะตีเป็น "CHoCH" (เปลี่ยนทิศทางโครงสร้างเป็นขาลง)
หาก structureDirection == 2 (เดิมเป็นขาลง) จะตีเป็น "BOS" (ยืนยันโครงสร้างขาลง)
มีการสร้าง line.new และ label.new เพื่อวาดเส้นและป้ายกำกับ
structureDirection จะถูกอัปเดตเป็น 1 (Bullish)
structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow จะถูกอัปเดตเพื่อกำหนดโครงสร้างใหม่
else if(isStructureHighBroken and is_bullish_macd_cross): เช่นกันสำหรับขาขึ้น หากราคาทำลาย structureHigh (สัญญาณขาขึ้น) และ MACD Histogram เกิด Bullish Zero Cross (is_bullish_macd_cross เป็น true) อินดิเคเตอร์จะพิจารณาว่าเป็น Choch หรือ BoS
หาก structureDirection == 2 (เดิมเป็นขาลง) หรือ 0 (ยังไม่กำหนด) จะตีเป็น "CHoCH" (เปลี่ยนทิศทางโครงสร้างเป็นขาขึ้น)
หาก structureDirection == 1 (เดิมเป็นขาขึ้น) จะตีเป็น "BOS" (ยืนยันโครงสร้างขาขึ้น)
มีการสร้าง line.new และ label.new เพื่อวาดเส้นและป้ายกำกับ
structureDirection จะถูกอัปเดตเป็น 2 (Bearish)
structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow จะถูกอัปเดตเพื่อกำหนดโครงสร้างใหม่
การลบเส้นเก่า: d.delete_line (หากไลบรารีทำงาน) จะถูกเรียกเพื่อลบเส้นและป้ายกำกับเก่าออกเมื่อจำนวนเกิน structHistoryNbr
Updating Structure High/Low (else block): หากไม่มีการ Break เกิดขึ้น แต่ราคาปัจจุบันสูงกว่า structureHigh หรือต่ำกว่า structureLow ในทิศทางที่สอดคล้องกัน (เช่น ยังคงเป็นขาขึ้นและทำ High ใหม่) structureHigh หรือ structureLow จะถูกอัปเดตเพื่อติดตาม High/Low ที่สุดของโครงสร้างปัจจุบัน
Current Structure Display:
หาก isCurrentStructToShow เป็น true อินดิเคเตอร์จะวาดเส้น structureHighLine และ structureLowLine เพื่อแสดงขอบเขตของโครงสร้างตลาดปัจจุบัน
Fibonacci Display:
หาก isFiboXToShow เป็น true อินดิเคเตอร์จะคำนวณและวาดเส้น Fibonacci Levels ต่างๆ (0.786, 0.705, 0.618, 0.5, 0.382) โดยอิงจาก structureHigh และ structureLow ของโครงสร้างตลาดปัจจุบัน
Alerts:
alertcondition: ใช้สำหรับตั้งค่า Alert ใน TradingView เมื่อเกิดสัญญาณ BOS หรือ CHOCH
plot(na):
plot(na) เป็นคำสั่งที่สำคัญในอินดิเคเตอร์ที่ไม่ได้ต้องการพล็อต Series ของข้อมูลบนกราฟ (เช่น ไม่ได้พล็อตเส้น EMA หรือ RSI) แต่ใช้วาดอ็อบเจกต์ (Line, Label, Box) โดยตรง
การมี plot(na) ช่วยให้ Pine Script รู้ว่าอินดิเคเตอร์นี้มีเอาต์พุตที่แสดงผลบนกราฟ แม้ว่าจะไม่ได้เป็น Series ที่พล็อตตามปกติก็ตาม
3. วิธีใช้งาน
คัดลอกโค้ดทั้งหมด ที่อยู่ในบล็อก immersive ด้านบน
ไปที่ TradingView และเปิดกราฟที่คุณต้องการ
คลิกที่เมนู "Pine Editor" ที่อยู่ด้านล่างของหน้าจอ
ลบโค้ดเดิมที่มีอยู่ และ วางโค้ดที่คัดลอกมา ลงไปแทน
คลิกที่ปุ่ม "Add to Chart"
อินดิเคเตอร์จะถูกเพิ่มลงในกราฟของคุณโดยอัตโนมัติ คุณสามารถคลิกที่รูปฟันเฟืองข้างชื่ออินดิเคเตอร์บนกราฟเพื่อเข้าถึงหน้าต่างการตั้งค่าและปรับแต่งตามความต้องการของคุณได้
Hello! I will explain the "SMC Structures and FVG + MACD" indicator you provided in detail, section by section, so you can fully understand how it works.This indicator combines the concepts of Smart Money Concept (SMC), which focuses on analyzing Market Structure and Fair Value Gaps (FVG), with the MACD indicator to serve as a filter or confirmation for Choch (Change of Character) and BoS (Break of Structure) signals.1. Overall PurposeThe main purposes of this indicator are:Identify Market Structure: Automatically draw lines and label Choch (Change of Character) and BoS (Break of Structure) on the chart.Integrate MACD Confirmation: Choch/BoS signals will only be considered when the MACD Histogram performs a cross (Zero Cross) in the corresponding direction.Display Fair Value Gap (FVG): If enabled, FVG boxes will be drawn on the chart.Display Fibonacci Levels: Calculate and display important Fibonacci levels based on the current market structure.Adapt to Timeframe: All calculations and displays will automatically adjust to the timeframe you are currently using.2. Code BreakdownThis code can be divided into the following main sections:2.1 Inputs (Settings)This section contains variables that you can adjust in the indicator's settings window (click the gear icon next to the indicator's name on the chart).MACD Settings:fast_len: Length of the Fast EMA for MACD (default 12)slow_len: Length of the Slow EMA for MACD (default 26)signal_len: Length of the Signal Line for MACD (default 9) = ta.macd(close, fast_len, slow_len, signal_len): Calculates the MACD Line, Signal Line, and Histogram using the closing price (close) and the specified lengths.is_bullish_macd_cross: Checks if the MACD Histogram crosses above the 0 line (from negative to positive).is_bearish_macd_cross: Checks if the MACD Histogram crosses below the 0 line (from positive to negative).Fear Value Gap (FVG) Settings:isFvgToShow: (Boolean) Enables/disables the display of FVG on the chart.bullishFvgColor: Color for Bullish FVG.bearishFvgColor: Color for Bearish FVG.mitigatedFvgColor: Color for FVG that has been mitigated.fvgHistoryNbr: Number of historical FVG to display.isMitigatedFvgToReduce: (Boolean) Enables/disables reducing the size of FVG when mitigated.Structures (โครงสร้างตลาด) Settings:isStructBodyCandleBreak: (Boolean) If true, the break must occur with the candle body closing above/below the Swing High/Low. If false, a wick break is sufficient.isCurrentStructToShow: (Boolean) Enables/disables the display of the current market structure lines (blue lines in the example image).pivot_len: Lookback length for identifying Pivot points (Swing High/Low). A smaller value captures smaller, more frequent swings; a larger value captures larger, more significant swings.bullishBosColor, bearishBosColor: Colors for bullish/bearish BOS lines and labels.bosLineStyleOption, bosLineWidth: Style (Solid, Dotted, Dashed) and width of BOS lines.bullishChochColor, bearishChochColor: Colors for bullish/bearish CHoCH lines and labels.chochLineStyleOption, chochLineWidth: Style (Solid, Dotted, Dashed) and width of CHoCH lines.currentStructColor, currentStructLineStyleOption, currentStructLineWidth: Color, style, and width of the current market structure lines.structHistoryNbr: Number of historical breaks (Choch/BoS) to display.Structure Fibonacci (from original code):A set of inputs to enable/disable, define values, colors, styles, and widths for various Fibonacci Levels (0.786, 0.705, 0.618, 0.5, 0.382) that will be calculated from the current market structure.2.2 Helper FunctionsgetLineStyle(lineOption): This function converts the selected string input (e.g., "─", "┈", "╌") into a line.style_ format understood by Pine Script.get_structure_highest_bar(lookback): This function attempts to find the Bar Index of the Swing High within the specified lookback period.get_structure_lowest_bar(lookback): This function attempts to find the Bar Index of the Swing Low within the specified lookback period.is_structure_high_broken(...): This function checks if the current price has broken above _structureHigh (Swing High), considering _highStructBreakPrice (closing price or high price depending on isStructBodyCandleBreak setting).FVGDraw(...): This function takes arrays of FVG Boxes, Types, Mitigation Status, and Labels to process and update the status of FVG (e.g., whether it's mitigated) and adjust the size/position of FVG Boxes and Labels on the chart.2.3 Global VariablesThese are variables declared with var, meaning their values are stored and updated on each bar (persists across bars).structureLines, structureLabels: Arrays to store line and label objects for Choch/BoS lines drawn on the chart.fvgBoxes, fvgTypes, fvgLabels, isFvgMitigated: Arrays to store FVG box data and their respective statuses.structureHigh, structureLow: Stores the price of the significant Swing High/Low of the current market structure.structureHighStartIndex, structureLowStartIndex: Stores the Bar Index of the start point of the significant Swing High/Low.structureDirection: Stores the status of the market structure direction (1 = Bullish, 2 = Bearish, 0 = Undefined).fiboXPrice, fiboXStartIndex, fiboXLine, fiboXLabel: Variables to store data and objects for Fibonacci Levels.isBOSAlert, isCHOCHAlert: (Boolean) Used to trigger alerts in TradingView (if alerts are configured).2.4 FVG ProcessingThis section checks the conditions for FVG formation (Bullish FVG: high < low , Bearish FVG: low > high ).If FVG occurs and isFvgToShow is true, a new box and label are created to display the FVG on the chart.fvgBoxes and fvgLabels are managed to limit the number of FVG displayed according to fvgHistoryNbr and remove older FVG.The FVGDraw function is called to update the FVG status (e.g., whether it's mitigated) and adjust its display.2.5 Structures ProcessingInitialization: At bar_index == 0 (the first bar of the chart), structureHigh, structureLow, structureHighStartIndex, and structureLowStartIndex are initialized.Finding Current High/Low: highest, highestBar, lowest, lowestBar are used to find the highest/lowest price and its Bar Index of it in the last 10 bars (or all bars if the chart is shorter than 10 bars).Calculating Structure Max/Min Bar: structureMaxBar and structureMinBar use get_structure_highest_bar and get_structure_lowest_bar functions to find the Bar Index of the true Swing High/Low (not just the highest/lowest in the lookback but a complete Pivot point).Break Price: lowStructBreakPrice and highStructBreakPrice will be the closing price (close) or the Low/High price, depending on the isStructBodyCandleBreak setting.isStuctureLowBroken / isStructureHighBroken: These conditions check if the price has broken structureLow or structureHigh, considering the break price, previous bar prices, and the Bar Index of the structure's starting point.Choch/BoS Logic (Key Integration with MACD):if(isStuctureLowBroken and is_bearish_macd_cross): This is where MACD plays a role. If the price breaks structureLow (bearish signal) AND the MACD Histogram performs a Bearish Zero Cross (is_bearish_macd_cross is true), the indicator will consider it a Choch or BoS.If structureDirection == 1 (previously bullish) or 0 (undefined), it will be labeled "CHoCH" (changing structure direction to bearish).If structureDirection == 2 (already bearish), it will be labeled "BOS" (confirming bearish structure).line.new and label.new are used to draw the line and label.structureDirection will be updated to 1 (Bullish).structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow will be updated to define the new structure.else if(isStructureHighBroken and is_bullish_macd_cross): Similarly for bullish breaks. If the price breaks structureHigh (bullish signal) AND the MACD Histogram performs a Bullish Zero Cross (is_bullish_macd_cross is true), the indicator will consider it a Choch or BoS.If structureDirection == 2 (previously bearish) or 0 (undefined), it will be labeled "CHoCH" (changing structure direction to bullish).If structureDirection == 1 (already bullish), it will be labeled "BOS" (confirming bullish structure).line.new and label.new are used to draw the line and label.structureDirection will be updated to 2 (Bearish).structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow will be updated to define the new structure.Deleting Old Lines: d.delete_line (if the library works) will be called to delete old lines and labels when their number exceeds structHistoryNbr.Updating Structure High/Low (else block): If no break occurs, but the current price is higher than structureHigh or lower than structureLow in the corresponding direction (e.g., still bullish and making a new high), structureHigh or structureLow will be updated to track the highest/lowest point of the current structure.Current Structure Display:If isCurrentStructToShow is true, the indicator draws structureHighLine and structureLowLine to show the boundaries of the current market structure.Fibonacci Display:If isFiboXToShow is true, the indicator calculates and draws various Fibonacci Levels (0.786, 0.705, 0.618, 0.5, 0.382) based on the structureHigh and structureLow of the current market structure.Alerts:alertcondition: Used to set up alerts in TradingView when BOS or CHOCH signals occur.plot(na):plot(na) is an important statement in indicators that do not plot data series directly on the chart (e.g., not plotting EMA or RSI lines) but instead draw objects (Line, Label, Box).Having plot(na) helps Pine Script recognize that this indicator has an output displayed on the chart, even if it's not a regularly plotted series.3. How to UseCopy all the code in the immersive block above.Go to TradingView and open your desired chart.Click on the "Pine Editor" menu at the bottom of the screen.Delete any existing code and paste the copied code in its place.Click the "Add to Chart" button.The indicator will be added to your chart automatically. You can click the gear icon next to the indicator's name on the chart to access the settings window and customize it to your needs.I hope this explanation helps you understand this indicator in detail. If anything is unclear, or you need further adjustments, please let me know.
PipsHunters Trading ChecklistTitle: PipsHunters Trading Checklist (PHTC)
Short Description / Teaser:
Enforce trading discipline and never miss a step in your pre-trade analysis with this simple, interactive, on-chart checklist.
Full Description:
🚀 Overview
The PipsHunters Trading Checklist (PHTC) is a powerful yet simple tool designed to instill discipline and structure into your trading routine. In the heat of the moment, it's easy to forget crucial steps of your analysis, leading to impulsive and low-probability trades. This indicator acts as your personal co-pilot, providing a persistent, on-chart checklist that you must manually complete before taking a trade.
This is not an automated signal generator. It is a utility to keep you accountable to your own trading plan. The checklist items are inspired by common concepts in price action and Smart Money Concepts (SMC) methodologies, but they serve any trader who follows a rule-based system.
✨ Key Features
Interactive On-Chart Table: Displays a clean, non-intrusive table directly on your chart.
Manual Check-off System: You are in full control. Go into the indicator settings and check off each item as you complete your analysis.
Real-Time Progress Tracking: The table header shows your progress (e.g., 4/7) and changes color from red to green when all items are checked.
Clear Visual Cues: Each item is marked with a ✅ or ❌, and the text color changes to provide an at-a-glance status.
"Ready!" Status: A final "READY!" confirmation appears once your entire checklist is complete, giving you the green light to look for an entry based on your strategy.
Fully Customizable Position: Place the table in any corner of your chart (Top Left, Top Right, Bottom Left, Bottom Right) to suit your layout.
📋 The Checklist Items Explained
The default checklist guides you through a structured, top-down analysis process common in many trading strategies:
Seat before 1H: A reminder to be settled and mentally prepared at your desk at least an hour before your target session begins. Avoids rushing and emotional decisions.
Check News: Have you checked for high-impact news events that could introduce extreme volatility and invalidate your setup?
Mark Day Open: The daily open is a key institutional level. Marking it helps establish the daily bias.
Mark LQ Levels: Have you identified key Liquidity (LQ) levels? This includes previous day/week highs and lows, session highs/lows, and other obvious swing points.
Wait for Kill Zone: A reminder to be patient and wait for price to trade into a specific, high-probability time window (e.g., London Kill Zone, New York Kill Zone).
LQ sweep inside Kill Zone: The core of the setup. Has price swept a key liquidity level within your chosen Kill Zone?
Lower TF Confirmations: After the liquidity sweep, have you waited for confirmation on a lower timeframe? This is often a Market Structure Shift (MSS) or Change of Character (CHoCH).
🛠️ How to Use
Add the "PipsHunters Trading Checklist" indicator to your chart.
Go to the indicator's Settings (click the gear icon ⚙️).
As you perform each step of your pre-trade analysis, tick the corresponding checkbox in the Inputs tab.
The on-chart table will update instantly to reflect your progress.
Only when all 7 items are checked will the table signal "READY!".
🎯 Who Is This For?
This indicator is perfect for:
SMC / ICT Traders: The checklist items align directly with Smart Money Concepts.
New Traders: Helps build the essential habit of a consistent pre-trade routine.
Inconsistent Traders: Acts as a guardrail to prevent impulsive, undisciplined entries.
Any Rule-Based Trader: Anyone who follows a trading plan can benefit from the structure it provides.
Disclaimer: This is a utility tool to aid in discipline and execution. It does not provide financial advice or guarantee profitable trades. All trading involves risk, and you are solely responsible for your own decisions. Trade safe and stay disciplined!
EPS, Revenue & NPM Growth Marker v2This indicator visually tracks fundamental growth by plotting smart labels on earnings dates, showing three key metrics:
EPS (Earnings Per Share)
Revenue (Sales)
Net Profit Margin (NPM)
It overlays compact, readable labels on the chart allowing you to evaluate a company's financial performance — both sequentially (QoQ) and annually (YoY).
EPS, Revenue & NPM Growth Marker v2 uses both official earnings data and fallback logic (EPS/Revenue/NPM changes) to ensure consistent detection of earnings events.
⭐ Key Features
Three Metrics: Displays EPS, Revenue, and Net Profit Margin
Growth Breakdown: Shows Absolute, Quarter-over-Quarter %, and Year-over-Year % change
Smart Arrows: Trend direction shown with emoji arrows (🡩🡫)
Earnings Detection: Aligns labels to official earnings events or fallback data
Highly Customizable: Full control over visible metrics, growth types, label style, placement, and max label count
Clean Display: Keeps the chart clean with a limit on max labels
⚙️ Customization Options
You can personalize the indicator to match your charting style:
Select metrics to display: EPS, Revenue, NPM
Toggle row types: Absolute, QoQ %, YoY %
Choose label position: Above Bar, Below Bar, Top, or Bottom
Customize line style, colors, and label text color
Set the maximum number of labels shown on chart
🧠How It Works
Absolute Value: Latest reported figure for each metric (e.g., EPS = ₹3.20)
QoQ % Change: (Current - Previous Quarter) / |Previous| * 100
YoY % Change: (Current - Same Quarter Last Year) / |Previous Year| * 100
The script uses TradingView’s request.earnings() data when available. If official earnings data is missing, it intelligently detects earnings events based on changes in EPS, Revenue, or NPM figures.
This is a major update to EPS & Sales/Revenue Growth Marker script, with expanded metrics, enhanced logic, and greater customization.
Developed & Published by: @learningvitals
Fractal Market Model [BLAZ]Version 1.0 – Published August 2025: Initial release
1. Overview & Purpose
1.1. What This Indicator Does
The Fractal Market Model is an original multi-timeframe technical analysis tool that bridges the critical gap between macro-level market structure and micro-level price execution. Designed to work across all financial markets including Forex, Stocks, Crypto, Futures, and Commodities. While traditional Smart Money Concepts indicators exist, this implementation analyses multi-timeframe liquidity zones and price action shifts, marking potential reversal points where Higher Timeframe (HTF) liquidity sweeps coincide with Low Timeframe (LTF) price action dynamics changes.
Snapshot details: NASDAQ:GOOG , 1W Timeframe, Year 2025
1.2. What Sets This Indicator Apart
The Fractal Market Model analyses multi-timeframe correlations between HTF structural events and LTF price action. This creates a dynamic framework that reveals patterns observed historically in price behaviour that are believed to reflect institutional activity across multiple time dimensions.
The indicator recognizes that markets move in fractal cycles following the AMDX pattern (Accumulation, Manipulation, Distribution, Continuation/Reversal). By tracking this pattern across timeframes, it flags zones where price action dynamics characteristics have historically shown shifts. In the LTF, the indicator monitors for price closing through the open of an opposing candle near HTF swing highs or lows, marking this as a Change in State of Delivery (CISD), a threshold event where price action historically transitions direction.
Practical Value:
Multi-Timeframe Integration: Connects HTF structural events with LTF execution patterns.
Fractal Pattern Recognition: Identifies AMDX cycles across different time dimensions.
Price Behavior Analysis: Tracks CISD patterns that may reflect historical shifts in order flow commonly associated with institutional activity.
Range-Based Context: Analyses price action within established HTF liquidity zones.
1.3. How It Works
The indicator employs a systematic 5-candle HTF tracking methodology:
Candles 0-1: Accumulation phase identification.
Candle 2: Manipulation detection (raids previous highs/lows).
Candle 3: Distribution phase recognition.
Candle 4: Continuation/reversal toward opposite liquidity.
The system monitors for CISD patterns on the LTF when HTF manipulation candles close with confirmed sweeps, highlighting zones where order flow dynamics historically shifted within the established HTF range.
Snapshot details: FOREXCOM:AUDUSD , 1H Timeframe, 17 to 28 July 2025
Note: The Candle 0-5 and AMDX labels shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
2. Visual Elements & Components
2.1. Complete FMM Setup Overview
A fully developed Fractal Market Model setup displays multiple analytical components that work together to provide comprehensive market structure analysis. Each visual element serves a specific purpose in identifying and tracking the AMDX cycle across timeframes.
2.2. Core Visual Components
Snapshot details: FOREXCOM:EURUSD , 5 Minutes Timeframe, 27 May 2025.
Note: The numbering labels 1 to 14 shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
2.2.1. HTF Structure Elements
(1) HTF Candle Visualization: Displays the 5-candle sequence being tracked (configurable quantity up to 10).
(2) HTF Candle Labels (C2-C4): Numbered identification for each candle in the AMDX cycle.
(3) HTF Resolution Label: Shows the higher timeframe being analysed.
(4) Time Remaining Indicator: Countdown to HTF candle closure.
(5) Vertical Separation Lines: Clearly delineates each HTF candle period.
2.2.2. Key Price Levels
(6) Liquidity Levels: High/low levels from HTF candles 0 and 1 representing potential target zones.
(7) Sweep Detection Lines: Marks where previous HTF candle extremes have been breached on both HTF and LTF.
(8) HTF Candle Mid-Levels: 50% retracement levels of previous HTF candles displayed on current timeframe.
(9) Open Level Marker: Shows the opening price of the most recent HTF candle.
2.2.3. Institutional Analysis Tools
(10) CISD Line: Marks the Change in State of Delivery pattern identification point.
(11) Consequent Encroachment (CE): Mid-level of identified institutional order blocks.
(12) Potential Reversal Area (PRA): Zone extending from previous candle close to the mid-level.
(13) Fair Value Gap (FVG): Identifies imbalance areas requiring potential price revisits.
(14) HTF Time Labels: Individual time period labels for each HTF candle.
2.3. Interactive Features
All visual elements update dynamically as new price data confirms or invalidates the tracked patterns, providing real-time market structure analysis across the selected timeframe combination.
3. Input Parameters and Settings
3.1. Alert Configuration
Setup Notifications: Users can configure alerts to receive notifications when new FMM setups form based on their selected bias, timeframes, and filters. Enable this feature by:
Configure the bias, timeframes and filters and other settings as desired.
Toggle the "Alerts?" checkbox to ON in indicator settings.
On the chart, click the three dots menu beside the indicator's name or press Alt + A.
Select "Add Alert" and click “Create” to activate the alert.
3.2. Display Control Settings
3.2.1. Historical Setup Quantity
Setup Display Control: Customize how many historical setups appear on the chart, with support for up to 50 combined entries. The indicator displays both bullish and bearish FMM setups within the selected limit, including invalidated scenarios. For example, selecting "3 setups" will display the most recent combination of bullish and bearish patterns based on the model's detection logic.
Snapshot details: BINANCE:BTCUSD , 1H Timeframe, 27-Feb to 11-Mar 2025
Note: The labels “Setup 1, 2 & 3: Bullish or Bearish” shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
3.2.2. Directional Bias Filter
Bias Filter: Control which setups are displayed based on directional preference:
Bullish Only: Shows exclusively upward bias setups.
Bearish Only: Shows exclusively downward bias setups.
Balanced Mode: Displays both directional setups.
This flexibility helps align the indicator's output with broader market analysis or trading framework preferences. The chart below illustrates the same chart in 3.2.1. but when filtered to show only bullish setups.
Snapshot details: BINANCE:BTCUSD , 1H Timeframe, 27-Feb to 11-Mar 2025
Note: The labels “Setup 1, 2 & 3: Bullish” shown in the accompanying image are for demonstration purposes only and are not part of the indicator’s actual functionality.
3.2.3. Invalidated Setup Display
Invalidation Visibility: A setup becomes invalidated when price moves beyond the extreme high or low of the Manipulation candle (C2), indicating that the expected fractal pattern has been disrupted. Choose whether to display or hide setups that have been invalidated by subsequent price action. This feature helps maintain chart clarity while preserving analytical context:
Amber Labels: Setups invalidated at Candle 3 (C3).
Red Labels: Setups invalidated at Candle 4 (C4).
Count Preservation: Invalidated setups remain part of the total setup count regardless of visibility setting.
Below image illustrates balanced setups:
Left side: 1 bearish valid setup, with 2 invalidated setups visible.
Right side: 1 bearish valid setup, with 2 invalidated setups hidden for chart clarity.
Snapshot details: FOREXCOM:GBPJPY , 5M Timeframe, 30 July 2025
3.3. Timeframe Configuration
3.3.1. Multi-Timeframe Alignment
Custom Timeframe Selection: Configure preferred combinations of Higher Timeframe (HTF) and Lower Timeframe (LTF) for setup generation. While the indicator includes optimized default alignments (1Y –1Q, 1Q –1M, 1M –1W, 1M –1D, 1W–4H, 1D–1H, 4H-30m, 4H –15m, 1H –5m, 30m –3m, 15m –1m), users can define custom HTF-LTF configurations to suit their analysis preferences and market focus.
The image below illustrates two different HTF – LTF configuration, both on the 5 minutes chart:
Right side: Automatic multi-timeframe alignment, where the indicator autonomously sets the HTF pairing to 1H when the current chart timeframe is the 5 minutes.
Left side: Custom Timeframe enabled, where HTF is manually set to 4H, and LTF is manually set to 15 minutes, while being on the 5 minutes chart.
Snapshot details: FOREXCOM:GBPJPY , 5 minutes timeframe, 30 July 2025
3.3.2. Session-Based Filtering
Visibility Filters: Control when FMM setups appear using multiple filtering options:
Time-Based Controls:
Show Below: Limit setup visibility to timeframes below the selected threshold.
Use Session Filter: Enable session-based time window restrictions.
Session 1, 2, 3: Configure up to three custom time sessions with start and end times.
These filtering capabilities help concentrate analysis on specific market periods or timeframe contexts.
The image below illustrates the application of session filters:
Left side: The session filter is disabled, resulting in four setups being displayed throughout the day—two during the London session and two during the New York session.
Right side: The session filter is enabled to display setups exclusively within the New York session (8:00 AM – 12:00 PM). Setups outside this time window are hidden. Since the total number of setups is limited to four, the indicator backfills by identifying and displaying two qualifying setups from earlier price action that occurred within the specified New York session window.
Snapshot details: COMEX:GC1! , 5 minutes Timeframe, 29 July 2025
3.4. Annotation Systems
3.4.1. Higher Timeframe (HTF) Annotations
HTF Display Control: Enable HTF visualization using the "HTF candles" checkbox with quantity selector (default: 5 candles, expandable to 10). This displays all HTF elements detailed in the Visual Components section 2.2. above.
Customisation Categories:
Dimensions: Adjust candle offset, gap spacing, and width for optimal chart fit.
Colours: Customize body, border, and wick colours for bullish/bearish candle differentiation.
Style Options: Control line styles for HTF opens, sweep lines, and equilibrium levels.
Feature Toggles: Enable/disable Fair Value Gaps, countdown labels, and individual candle labelling.
All HTF annotation elements support individual styling controls to maintain visual clarity while preserving analytical depth. The image below shows two examples: the left side has customized styling applied, while the right side shows the default appearance.
Snapshot details: CME_MINI:NQ1! , 5 minutes Timeframe, 29 July 2025
3.4.2. Lower Timeframe (LTF) Annotations
LTF Display Control: Comprehensive annotation system for detailed execution analysis, displaying all LTF elements outlined in the Visual Components section 2.2. above.
Customization Categories:
Core Elements: Control HTF separation lines, sweep markers, CISD levels, and candle phase toggles (C2, C3, C4) to selectively show or hide the LTF annotations for each of these specific HTF candle phases.
Reference Levels: Adjust previous equilibrium lines, CISD consequent encroachment, and HTF liquidity levels.
Analysis Tools: Enable potential holding area (PHA) markers.
Styling Options: Individual visibility toggles, colour schemes, line styles, and thickness controls for each element.
All LTF components support full customization to maintain chart clarity while providing precise execution context. The image below shows two examples: the left side has customized styling applied, while the right side shows the default appearance.
Snapshot details: TVC:DXY , 5 minutes Timeframe, 28 July 2025
3.5. Performance Considerations
Higher setup counts and extended HTF displays may impact chart loading times. Adjust settings based on device performance and analysis requirements.
4. Closed-Source Protection Justification
4.1. Why This Indicator Requires Protected Source Code
The Fractal Market Model is the result of original research, development, and practical application of advanced price action frameworks. The indicator leverages proprietary algorithmic systems designed to interpret complex market behavior across multiple timeframes. To preserve the integrity of these innovations and prevent unauthorized replication, the source code is protected.
4.1.1. Key Proprietary Innovations
Real-Time Multi-Timeframe Correlation Engine: A dynamic logic system that synchronizes higher timeframe structural behaviour with lower timeframe execution shifts using custom correlation algorithms, adaptive thresholds, and time-sensitive conditions, supporting seamless fractal analysis across nested timeframes.
CISD Detection Framework: A dedicated mechanism for identifying Change in State of Delivery (CISD), where price closes through the open of an opposing candle at or near HTF swing highs or lows after liquidity has been swept. This is used to highlight potential zones of directional change based on historical order flow dynamics.
Fractal AMDX Cycle Recognition: An engineered structure that detects and classifies phases of Accumulation, Manipulation, Distribution, and Continuation/Reversal (AMDX) across configurable candle sequences, allowing traders to visualize market intent within a repeatable cycle model.
Dynamic Invalidation Logic: An automated monitoring system that continually evaluates the validity of active setups. Setups are invalidated in real time when price breaches the extreme of the manipulation phase (C2), ensuring analytical consistency and contextual alignment.
4.1.2. Community Value
The closed-source nature of this tool protects the author’s original intellectual property while still delivering value to the TradingView community. The indicator offers a complete, real-time visual framework, educational annotations, and intuitive controls for analysing price action structure and historically observed patterns commonly attributed to institutional behaviour across timeframes.
5. Disclaimer & Terms of Use
This indicator, titled Fractal Market Model , has been independently developed by the author based on their own study, interpretation, and practical application of the smart money concepts. The code and structure of this indicator are original and were written entirely from scratch to reflect the author's unique understanding and experience. This indicator is an invite-only script. It is closed-source to protect proprietary algorithms and research methodologies.
This tool is provided solely for educational and informational purposes. It is not intended—and must not be interpreted—as financial advice, investment guidance, or a recommendation to buy or sell any financial instrument. The indicator is designed to assist with technical analysis based on market structure theory but does not guarantee accuracy, profitability, or specific results.
Trading financial markets involves significant risk, including the possibility of loss of capital. By using this indicator, you acknowledge and accept that you are solely responsible for any decisions you make while using the tool, including all trading or investment outcomes. No part of this script or its features should be considered a signal or assurance of success in the market.
By subscribing to or using the indicator, you agree to the following:
You fully assume all responsibility and liability for the use of this product.
You release the author from any and all liability, including losses or damages arising from its use.
You acknowledge that past performance—real or hypothetical—does not guarantee future outcomes.
You understand that this indicator does not offer personalised advice, and no content associated with it constitutes a solicitation of financial action.
You agree that all purchases are final. Once access is granted, no refunds, reimbursements, or chargebacks will be issued under any circumstance.
You agree to not redistribute, resell, or reverse engineer the script or any part of its logic.
Users are expected to abide by all platform guidelines while using or interacting with this tool. For access instructions, please refer to the Author's Instructions section or access the tool through the verified vendor platform.
Footprint-Style Order Flow by Kalibea📊 Indicator: "Footprint-Style Order Flow by Kalibea"
Simplified Order Flow Analysis for TradingView
This indicator was created by Kalibea to bring you the power of Order Flow analysis in a clear, practical way—without technical complexity and fully compatible with TradingView.
While TradingView doesn’t support traditional footprint charts, this tool simulates institutional market reading using a smart calculation of estimated volume delta, helping you make more informed trading decisions.
🔍 What does this indicator do?
Estimated Delta: Calculates the difference between buying and selling pressure per candle, based on price movement and volume.
Smart Visual Signals:
🔼 Green Triangle: Potential buy entry (buyer dominance).
🔽 Red Triangle: Potential sell entry (seller dominance).
Delta Histogram: Displays whether each candle was driven more by buyers or sellers.
Live Labels: Shows real-time delta values above each candle for quick interpretation.
🧠 How does it help your trading?
Detects real-time market imbalances (who's in control: buyers or sellers).
Improves entry and exit timing, especially on lower timeframes.
Helps you confirm other strategies such as supply/demand zones, support/resistance, or candlestick patterns.
Provides an institutional-style reading simplified for use within TradingView.
⚙️ Fully Customizable to Your Style
Adjust the delta sensitivity to suit any market: Forex, Crypto, Indices, and more.
Turn on/off visual signals and histogram as needed.
🔑 Recommended by Kalibea for:
✅ Intraday traders and scalpers
✅ Traders looking to take the next step into institutional-style analysis
✅ Those seeking precise entries without overcomplicating their charts
💬 “Order Flow is the market’s internal voice. This indicator helps you hear it—no expensive footprint software required.”
— Kalibea