Equal High/Low (EQH/EQL) [AlgoAlpha]OVERVIEW
This script detects and visualizes Equal High (EQH) and Equal Low (EQL) zones—key liquidity areas where price has previously stalled or reversed. These levels often attract institutional interest due to the liquidity buildup around them. The indicator is built to highlight such zones using dynamic thresholding, overbought/oversold RSI filtering, and adaptive mitigation logic to manage zone relevance over time.
CONCEPTS
Equal Highs/Lows are price points where the market has repeatedly failed to break past a certain high or low, hinting at areas where stop orders and pending interest may be concentrated. These areas are often prime targets for liquidity grabs or reversals. By combining this with RSI filtering, the script avoids false signals during neutral conditions and instead focuses on zones where market pressure is more directional.
FEATURES
Detection Logic: The script identifies EQH and EQL zones by comparing the similarity between recent highs or lows with a dynamic volatility threshold. The `tolerance` input allows users to control how strict this comparison is.
RSI Filtering: If enabled, it only creates zones when RSI is significantly overbought or oversold (based on the `state_thresh` input). This helps ensure zones form only in meaningful market conditions.
Zone Display: Bullish (EQL) zones are shown in grey, while bearish (EQH) zones are in blue. Two horizontal lines mark the zone using wick and body extremes, and a filled area visualizes the zone between them.
Zone Management: Zones automatically extend with price until they’re invalidated. You can choose whether a zone is removed based on wick or body sweeps and whether it requires one or two candle confirmations. Zones also expire after a customizable number of bars.
Alerts: Four alert conditions are built in—when a new EQH/EQL is formed and when one is mitigated—making it easy to integrate into alert-based workflows.
USAGE
Equal highs/lows can be used as liquidity markers, either as entry points or as take-profit targets.
This tool is ideal for liquidity-based strategies and helps traders map out possible reversal or sweep zones that often precede aggressive moves.
在腳本中搜尋"liquidity"
Nyx-AI Market Intelligence DashboardNyx AI Market Intelligence Dashboard is a non-signal-based environmental analysis tool that provides real-time insight into short-term market behavior. It is designed to help traders understand the quality of current price action, volume dynamics, volatility conditions, and structural behavior. It informs the trader whether the current market environment is supportive or hostile to trading and whether any active signal (from other tools) should be trusted, filtered, or avoided altogether.
Nyx is composed of seven intelligent modules. Each module operates independently but is visually unified through a floating dashboard panel on the chart. This panel renders live diagnostics every few bars, maintaining a low visual footprint without drawing overlays or modifying price.
Market Posture Engine
This module reads individual candlesticks using real-time candle anatomy to interpret directional bias and sentiment. It examines body-to-range ratio, wick imbalances, and compares them to prior bars. If the current candle is a large momentum body with minimal wick, it is interpreted as a directional thrust. If it is a small body with equal wicks, it is considered indecision. Engulfing patterns are used to detect potential liquidity tests. The system outputs a plain-text posture signal such as Building Bullish Intent, Bearish Momentum, Indecision Zone, Testing Liquidity (Up or Down), or Neutral.
Flow Reversal Engine
This module monitors short-term structural shifts and volume contraction to detect early signs of reversal or exhaustion. It looks for lower highs or higher lows paired with weakening volume and closing behavior that implies loss of momentum. It also monitors divergence between price and volume, as well as bar-to-bar momentum stalls (where highs and lows stop expanding). When these conditions are met, it outputs one of several states including Top Forming, Bottom Forming, Flow Divergence, Momentum Stall, or Neutral. This is useful for detecting inflection points before they manifest on trend indicators.
Fractal Context Engine
This engine compares the current bar’s range to its surrounding structural context. It uses a dynamic lookback length based on volatility. It determines whether the market is in expansion (strong directional trend), compression (shrinking range), or a transitional phase. A special case called Flip In Progress is triggered when the current high and low exceed the entire recent range, which often precedes sharp reversals or volatility expansion. The result is one of the following: Trend Expansion, Trend Breakdown, Sideways or Coil, Flip In Progress, or Expansion to Coil.
Candle Behavior Analyzer
This module analyzes the last five candles as a set to detect behavioral traits that a single candle may not reveal. It calculates average body and wick size, and counts how many recent candles show thrust (large body dominance), trap behavior (price returns inside wicks), or weakness (small bodies with high wick ratios). The module outputs one of the following behaviors: Aggressive Buying, Aggressive Selling, Trap Pattern, Trap During Coil, Low Participation, Low Energy, or Fakeout Candle. This helps the trader assess sentiment quality and the reliability of price movement.
Volatility Forecast and Compression Memory
This module predicts whether a breakout is likely based on recent compression behavior. It tracks how many of the last 10 bars had significantly reduced range compared to average. If a certain threshold is met without any recent large expansion bar, the system forecasts that a volatility expansion is likely in the near future. It also records how many bars ago the last high volatility impulse occurred and classifies whether current conditions are compressing. The outputs are Expansion Likely, Active Compression, and Last Burst memory, which provide breakout timing and energy insights.
Entry Filter
This module scores the current bar based on four adaptive criteria: body size relative to range, volume strength relative to average, current volatility versus historical volatility, and price position relative to a 20-period moving average. Each factor is scored as either 1 or 2. The total score is adjusted by a behavioral modifier that adds or subtracts a point if recent candles show aggression or trap behavior. Final scores range from 4 to 8 and are classified into Optimal, Mixed, or Avoid categories. This module is not a trade signal. It is a confluence filter that evaluates whether conditions are favorable for entry. It is particularly effective when layered with other indicators to improve precision.
Liquidity Intent Engine
This engine checks for price behavior around recent swing highs and lows. It uses adaptive pivots based on volatility to determine if price has swept above a recent high or below a recent low. This behavior is often associated with institutional liquidity hunts. If a sweep is detected and price has moved away from the sweep level, the engine infers directional intent and compares current distance to the high and low to determine which liquidity pool is more dominant. The output is Magnet Above, Magnet Below, or Conflict Zone. This is useful for anticipating directional bias driven by smart money activity.
Sticky Memory Tracking
To avoid flickering between states on low volatility or noisy price action, Nyx includes a sticky memory system. Each module’s output is preserved until a meaningful change is detected. For example, if Market Posture is Neutral and remains so for several bars, the previous non-neutral value is retained. This makes the dashboard more stable and easier to interpret without misleading noise.
Dashboard Rendering
All module outputs are displayed in a clean two-column panel anchored to any corner of the chart. Text values are color-coded, tooltips are added for context, and the data refreshes every few bars to maintain speed. The dashboard avoids clutter and blends seamlessly with other chart tools.
This tool is intended for informational and educational purposes only. It does not provide financial advice or trading signals. Nyx analyzes price, volume, structure, and volatility to offer context about the current market environment. It is not designed to predict future price movements or guarantee profitable outcomes. Traders should always use independent judgment and risk management. Past performance of any analysis logic does not guarantee future results.
Time-Based Fair Value Gaps (FVG) with Inversions (iFVG)Overview
The Time-Based Fair Value Gaps (FVG) with Inversions (iFVG) (ICT/SMT) indicator is a specialized tool designed for traders using Inner Circle Trader (ICT) methodologies. Inspired by LuxAlgo's Fair Value Gap indicator, this script introduces significant enhancements by integrating ICT principles, focusing on precise time-based FVG detection, inversion tracking, and retest signals tailored for institutional trading strategies. Unlike LuxAlgo’s general FVG approach, this indicator filters FVGs within customizable 10-minute windows aligned with ICT’s macro timeframes and incorporates ICT-specific concepts like mitigation, liquidity grabs, and session-based gap prioritization.
This tool is optimized for 1–5 minute charts, though probably best for 1 minute charts, identifying bullish and bearish FVGs, tracking their mitigation into inverted FVGs (iFVGs) as key support/resistance zones, and generating retest signals with customizable “Close” or “Wick” confirmation. Features like ATR-based filtering, optional FVG labels, mitigation removal, and session-specific FVG detection (e.g., first FVG in AM/PM sessions) make it a powerful tool for ICT traders.
Originality and Improvements
While inspired by LuxAlgo’s FVG indicator (credit to LuxAlgo for their foundational work), this script significantly extends the original concept by:
1. Time-Based FVG Detection: Unlike LuxAlgo’s continuous FVG identification, this script filters FVGs within user-defined 10-minute windows each hour (:00–:10, :10–:20, etc.), aligning with ICT’s emphasis on specific periods of institutional activity, such as hourly opens/closes or kill zones (e.g., New York 7:00–11:00 AM EST). This ensures FVGs are relevant to high-probability ICT setups.
2. Session-Specific First FVG Option: A unique feature allows traders to display only the first FVG in ICT-defined AM (9:30–10:00 AM EST) or PM (1:30–2:00 PM EST) sessions, reflecting ICT’s focus on initial market imbalances during key liquidity events.
3. ICT-Driven Mitigation and Inversion Logic: The script tracks FVG mitigation (when price closes through a gap) and converts mitigated FVGs into iFVGs, which serve as ICT-style support/resistance zones. This aligns with ICT’s view that mitigated gaps become critical reversal points, unlike LuxAlgo’s simpler gap display.
4. Customizable Retest Signals: Retest signals for iFVGs are configurable for “Close” (conservative, requiring candle body confirmation) or “Wick” (faster, using highs/lows), catering to ICT traders’ need for precise entry timing during liquidity grabs or Judas swings.
5. ATR Filtering and Mitigation Removal: An optional ATR filter ensures only significant FVGs are displayed, reducing noise, while mitigation removal declutters the chart by removing filled gaps, aligning with ICT’s principle that mitigated gaps lose relevance unless inverted.
6. Timezone and Timeframe Safeguards: A timezone offset setting aligns FVG detection with EST for ICT’s New York-centric strategies, and a timeframe warning alerts users to avoid ≥1-hour charts, ensuring accuracy in time-based filtering.
These enhancements make the script a distinct tool that builds on LuxAlgo’s foundation while offering ICT traders a tailored, high-precision solution.
How It Works
FVG Detection
FVGs are identified when a candle’s low is higher than the high of two candles prior (bullish FVG) or a candle’s high is lower than the low of two candles prior (bearish FVG). Detection is restricted to:
• User-selected 10-minute windows (e.g., :00–:10, :50–:60) to capture ICT-relevant periods like hourly transitions.
• AM/PM session first FVGs (if enabled), focusing on 9:30–10:00 AM or 1:30–2:00 PM EST for key market opens.
An optional ATR filter (default: 0.25× ATR) ensures only gaps larger than the threshold are displayed, prioritizing significant imbalances.
Mitigation and Inversion
When price closes through an FVG (e.g., below a bullish FVG’s bottom), the FVG is mitigated and becomes an iFVG, plotted as a support/resistance zone. iFVGs are critical in ICT for identifying reversal points where institutional orders accumulate.
Retest Signals
The script generates signals when price retests an iFVG:
• Close: Triggers when the candle body confirms the retest (conservative, lower noise).
• Wick: Triggers when the candle’s high/low touches the iFVG (faster, higher sensitivity). Signals are visualized with triangular markers (▲ for bullish, ▼ for bearish) and can trigger alerts.
Visualization
• FVGs: Displayed as colored boxes (green for bullish, red for bearish) with optional “Bull FVG”/“Bear FVG” labels.
• iFVGs: Shown as extended boxes with dashed midlines, limited to the user-defined number of recent zones (default: 5).
• Mitigation Removal: Mitigated FVGs/iFVGs are removed (if enabled) to keep the chart clean.
How to Use
Recommended Settings
• Timeframe: Use 1–5 minute charts for precision, avoiding ≥1-hour timeframes (a warning label appears if misconfigured).
• Time Windows: Enable :00–:10 and :50–:60 for hourly open/close FVGs, or use the “Show only 1st presented FVG” option for AM/PM session focus.
• ATR Filter: Keep enabled (multiplier 0.25–0.5) for significant gaps; disable on 1-minute charts for more FVGs during volatility.
• Signal Preference: Use “Close” for conservative entries, “Wick” for aggressive setups.
• Timezone Offset: Set to -5 for EST (or -4 for EDT) to align with ICT’s New York session.
Trading Strategy
1. Macro Timeframes: Focus on New York (7:00–11:00 AM EST) or London (2:00–5:00 AM EST) kill zones for high institutional activity.
2. FVG Entries: Trade bullish FVGs as support in uptrends or bearish FVGs as resistance in downtrends, especially in :00–:10 or :50–:60 windows.
3. iFVG Retests: Enter on retest signals (▲/▼) during liquidity grabs or Judas swings, using “Close” for confirmation or “Wick” for speed.
4. Session FVGs: Use the “Show only 1st presented FVG” option to target the first gap in AM/PM sessions, often tied to ICT’s market maker algorithms.
5. Risk Management: Combine with ICT concepts like order blocks or breaker blocks for confluence, and set stops beyond FVG/iFVG boundaries.
Alerts
Set alerts for:
• “Bullish FVG Detected”/“Bearish FVG Detected”: New FVGs in selected windows.
• “Bullish Signal”/“Bearish Signal”: iFVG retest confirmations.
Settings Description
• Show Last (1–100, default: 5): Number of recent iFVGs to display. Lower values reduce clutter.
• Show only 1st presented FVG : Limits FVGs to the first in 9:30–10:00 AM or 1:30–2:00 PM EST sessions (overrides time window checkboxes).
• Time Window Checkboxes: Enable/disable FVG detection in 10-minute windows (:00–:10, :10–:20, etc.). All enabled by default.
• Signal Preference: “Close” (default) or “Wick” for iFVG retest signals.
• Use ATR Filter: Enables ATR-based size filtering (default: true).
• ATR Multiplier (0–∞, default: 0.25): Sets FVG size threshold (higher values = larger gaps).
• Remove Mitigated FVGs: Removes filled FVGs/iFVGs (default: true).
• Show FVG Labels: Displays “Bull FVG”/“Bear FVG” labels (default: true).
• Timezone Offset (-12 to 12, default: -5): Aligns time windows with EST.
• Colors: Customize bullish (green), bearish (red), and midline (gray) colors.
Why Use This Indicator?
This indicator empowers ICT traders with a tool that goes beyond generic FVG detection, offering precise, time-filtered gaps and inversion tracking aligned with institutional trading principles. By focusing on ICT’s macro timeframes, session-specific imbalances, and customizable signal logic, it provides a clear edge for scalping, swing trading, or reversal setups in high-liquidity markets.
ICT Killzones Bias & Volume Sweeps @MaxMaserati📌 Overview
This indicator helps traders identify key ICT Killzones (Asian, London, NY AM, NY PM sessions) along with volume analysis and sweep detection. It highlights institutional order blocks, tracks session bias, and detects liquidity sweeps with volume confirmation.
Key Features:
✅ ICT Killzones (Asian, London, NY AM, NY PM)
✅ Volume Analysis (High/Low volume detection)
✅ Sweep Detection (Buyside/Sellside sweeps with volume confirmation)
✅ Session Bias (Bullish/Bearish bias based on price action)
✅ Customizable Sessions (Add personal trading hours)
✅ Institutional Order Build-up (30-min pre-session accumulation zones)
⚙️ Input Settings
1. Timezone Settings
Chart Timezone: Adjust to your local timezone (default: New York).
2. Session Toggles
Asian / London / NY AM / NY PM Sessions: Enable/disable each session.
NY Lunch Session: Optional session (disabled by default).
Personal Trading Time: Customize your trading hours.
3. Label Settings
Label Size: Tiny, Small, Normal, Large.
Session Labels: Customize text for High (H), Low (L), Mid (M) labels.
Background Transparency: Adjust session box opacity.
4. Volume Analysis
Show Volume Labels: Displays volume strength (🚀 Very High, 🔥 High, ⚖️ Normal, 💤 Low, 🐢 Very Low).
Volume Lookback Period: Adjusts volume comparison window.
High/Low Volume Thresholds: Define what constitutes high/low volume.
5. Sweep Detection
Buyside/Sellside Sweeps: Highlights liquidity sweeps.
Sweep Margin: Adjust sensitivity for sweep detection.
Fake Sweep Zones: Option to hide or highlight fakeouts.
Example of Session Sweep and Volume:
Here we have a Bullish Sweep of London Low session by NY AM
However, the volume was low suggesting buyers are not strong enough (M1)
And then the sellers took over and a pressure retest by the buyers of the level and then sellers entered with more power/pressure
6. Session Momentum & Bias
Show Session Bias: Indicates bullish/bearish bias for each session.
Bias Strength Threshold: Adjust sensitivity for bias detection.
📊 How It Works
1. Session Highs/Lows
The indicator tracks High, Low, and Mid prices for each session.
Lines and boxes are drawn to visualize the session range.
2. Volume Analysis
Compares current volume to historical average.
Displays volume strength with emojis (🚀, 🔥, ⚖️, 💤, 🐢).
Highlights high-volume sweeps for confirmation.
3. Sweep Detection
Detects buyside sweeps (liquidity above highs) and sellside sweeps (liquidity below lows).
Sweep zones expand if price lingers near the swept level.
4. 30 minute Pre-session Institutional order buildup
Highlights 30-minute pre-session zones where institutions may accumulate orders.
5. Session Bias
Calculates bias based on open/close price action within the session.
Displays Bullish, Bearish, or Neutral labels.
]
🎯 Trading Applications
1. Liquidity Sweeps
Look for sweeps with high volume as confirmation of institutional activity.
Fade fake sweeps (if enabled) when price reverses quickly.
2. Session Breakouts
Trade breakouts from Asian/London ranges during NY sessions.
Watch for volume expansion on breakouts for confirmation.
3. Pre- Session Institutional Block
Price often reacts to pre-session institutional position build-up (30-min before session opens).
LV:Low Volume, HV: High volume and MV: Medium Volume
NY AM Pre-Session institutional Order Build-up block with high sweep
🔧 Customization Tips
Adjust session times to normal future sessions to match your trading style.
Modify sweep sensitivity if too many/too few sweeps are detected.
Use volume thresholds to fine-tune high/low volume alerts.
📌 Final Notes
This indicator combines ICT concepts with volume analysis for a powerful trading edge. Use it alongside price action and market structure for best results at your own risk.
SMC Entry Signals MTF v2📘 User Guide for the SMC Entry Signals MTF v2 Indicator
🎯 Purpose of the Indicator
This indicator is designed to identify reversal entry points based on Smart Money Concepts (SMC) and candlestick confirmation. It’s especially useful for traders who use:
Imbalance zones, order blocks, breaker blocks
Liquidity grabs
Multi-timeframe confirmation (MTF)
📈 How to Use the Signals on the Chart
✅ LONG Signal (green triangle below the candle):
Conditions:
Price is in a discount zone (below the FIB 50% level)
A bullish engulfing candle appears
A bullish Order Block (OB) or Breaker Block is detected
There’s an upward imbalance
A bullish OB is confirmed on the higher timeframe
➡️ How to act:
Consider entering long on the current or next candle.
Place your stop-loss below the OB or the nearest swing low.
Take profit at the nearest liquidity zone or premium area (above FIB 50%).
🔻 SHORT Signal (red triangle above the candle):
Conditions:
Price is in a premium zone (above FIB 50%)
A bearish engulfing candle appears
A bearish OB or Breaker Block is detected
There’s a downward imbalance
A bearish OB is confirmed on the higher timeframe
➡️ How to act:
Consider short entry after the signal.
Place your stop-loss above the OB or swing high.
Target the discount zone or the next liquidity pocket.
⚙️ Recommended Settings by Trading Style
Trading Style Suggested Settings Notes
Intraday (1–15m) fibLookback = 20–50, obLookback = 5–10, htf_tf = 1H/4H Fast signals. Use Discount/Premium + Engulfing.
Swing/Position (1H–1D) fibLookback = 50–100, obLookback = 10–20, htf_tf = 1D/1W Higher trust in MTF confirmation. Ideal with fundamentals.
Scalping (1m) fibLookback = 10–20, obLookback = 3–5, htf_tf = 15m/1H Remove Breaker and MTF for quick reaction trades.
🧠 Best Practices for Traders
Trend Filtering:
Use EMAs or volume to confirm the current trend.
Take longs only in uptrends, shorts in downtrends.
Liquidity Zones:
Use this indicator after liquidity grabs.
OBs and Breakers often appear right after stop hunts.
Combine with Manual Zones:
This works best when paired with manually drawn OBs and key levels.
Backtest the Signals:
Use Bar Replay mode on TradingView to test past signals.
🧪 Example Trade Setup
Example on BTCUSDT 15m:
Price drops into the discount zone.
A green triangle appears (bullish engulfing + OB + imbalance + HTF OB).
You enter long, stop below the OB, target the premium zone.
🎯 This type of setup often gives a risk/reward ratio of 1:2 or better — profitable even with a 40% win rate.
⏰ Alerts & Automation
Enable alerts:
"SMC Long Entry" — fires when a long signal appears.
"SMC Short Entry" — fires when a short signal appears.
You can integrate this with bots via webhook, like:
TradingConnector, 3Commas, Alertatron, etc.
✅ What This Indicator Gives You
High-probability entries using SMC logic
Customizable filters for entry logic
Multi-timeframe confirmation for stronger setups
Suitable for both intraday and swing trading
HL2 Moving Average with BandsThis indicator is designed to assist traders in identifying potential trade entries and exits for S&P 500 (ES) and Nasdaq-100 (NQ) futures. It calculates a Simple Moving Average (SMA) based on the HL2 value (average of high and low prices) of the current candle over a user-defined lookback period (default: 200 periods). The indicator plots this SMA as a blue line, providing a smoothed reference for price trends.
Additionally, it includes upper and lower bands calculated as a percentage (default: 0.5%) above and below the SMA, plotted as green and red lines, respectively. These bands act as dynamic thresholds to identify overbought or oversold conditions. The indicator generates trade signals based on price action relative to these bands:
Long Entry: A green upward triangle is plotted below the candle when the close crosses above the upper band, signaling a potential buy.
Close Long: A red square is plotted above the candle when the close crosses back below the upper band, indicating an exit for the long position.
Short Entry: A red downward triangle is plotted above the candle when the close crosses below the lower band, signaling a potential sell.
Close Short: A green square is plotted below the candle when the close crosses back above the lower band, indicating an exit for the short position.
The script is customizable, allowing users to adjust the SMA length and band percentage to suit their trading style or market conditions. It is plotted as an overlay on the price chart for easy integration with other technical analysis tools.
Recommended Time Frame and Settings for Trading S&P 500 and Nasdaq-100 Futures
Based on research and market dynamics for S&P 500 (ES) and Nasdaq-100 (NQ) futures, the 5-minute chart is recommended as the optimal time frame for day trading with this indicator. This time frame strikes a balance between capturing intraday trends and filtering out excessive noise, which is critical for futures trading due to their high volatility and leverage. The 5-minute chart aligns well with periods of high liquidity and volatility, such as the U.S. market open (9:30 AM–11:00 AM EST) and the afternoon session (2:00 PM–4:00 PM EST), when institutional traders are most active.
Why 5-minute? It allows traders to react to short-term price movements while avoiding the rapid fluctuations of 1-minute charts, which can be prone to false signals in choppy markets. It also provides enough data points to make the SMA and bands meaningful without the lag associated with longer time frames like 15-minute or hourly charts.
Recommended Settings
SMA Length: Set to 200 periods. This longer lookback period smooths the HL2 data, reducing noise and providing a reliable trend reference for the 5-minute chart. A 200-period SMA helps identify significant trend shifts without being overly sensitive to minor price fluctuations.
Band Percentage: 0.5% is more suitable for the volatility of ES and NQ futures on a 5-minute chart, as it generates fewer but higher-probability signals. Wider bands (e.g., 1%) may miss short-term opportunities, while narrower bands (e.g., 0.1%) may produce excessive false signals.
Trading Session Recommendations
Futures markets for ES and NQ are open nearly 24 hours (Sunday 6:00 PM EST to Friday 5:00 PM EST, with a daily break from 4:00 PM–5:00 PM EST), but not all hours are equally optimal due to varying liquidity and volatility. The best times to trade with this indicator are:
U.S. Market Open (9:30 AM–11:00 AM EST): This period is characterized by high volume and volatility, driven by the opening of U.S. equity markets and economic data releases (e.g., 8:30 AM EST reports like CPI or GDP). The indicator’s signals are more reliable during this window due to strong order flow and price momentum.
Afternoon Session (2:00 PM–4:00 PM EST): After the lunchtime lull, volume picks up as institutional traders return, and news or FOMC announcements often drive price action. The indicator can capture breakout moves as prices test the upper or lower bands.
Pre-Market (7:30 AM–9:30 AM EST): For traders comfortable with lower liquidity, this period can offer opportunities, especially around 8:30 AM EST economic releases. However, use tighter risk management due to wider spreads and potential volatility spikes.
Additional Tips
Avoid Low-Volume Periods: Steer clear of trading during low-liquidity hours, such as the overnight session (11:00 PM–3:00 AM EST), when spreads widen and price movements can be erratic, leading to false signals from the indicator.
Combine with Other Tools: Enhance the indicator’s effectiveness by pairing it with support/resistance levels, Fibonacci retracements, or volume analysis to confirm signals. For example, a long entry signal above the upper band is stronger if it coincides with a breakout above a key resistance level.
Risk Management: Given the leverage in futures (e.g., Micro E-mini contracts require ~$1,200 margin for ES), use tight stop-losses (e.g., below the lower band for longs or above the upper band for shorts) to manage risk. Aim for a risk-reward ratio of at least 1:2.
Test Settings: Backtest the indicator on a demo account to optimize the SMA length and band percentage for your specific trading style and risk tolerance. Micro E-mini contracts (MES for S&P 500, MNQ for Nasdaq-100) are ideal for testing due to their lower capital requirements.
Why These Settings and Time Frame?
The 5-minute chart with a 200-period SMA and 0.5% bands is tailored for the volatility and liquidity of ES and NQ futures during peak trading hours. The longer SMA period ensures the indicator captures meaningful trends, while the 0.5% bands are tight enough to signal actionable breakouts but wide enough to avoid excessive whipsaws. Trading during high-volume sessions maximizes the likelihood of valid signals, as institutional participation drives clearer price action.
By focusing on these settings and time frames, traders can leverage the indicator to capitalize on the dynamic price movements of S&P 500 and Nasdaq-100 futures while managing the inherent risks of these markets.
US30 Smart Money 5M/4H Strategy🧠 How It Works
✅ 1. 4H Trend Bias Detection
Uses the 4-hour chart (internally) to determine if the market is in an uptrend or downtrend.
Background turns green for bullish trend, red for bearish trend.
This helps filter trades — only take longs during uptrend, shorts during downtrend.
✅ 2. Liquidity Sweeps (Stop Hunts) on 5M
Highlights candles that break previous highs/lows and then reverse (typical of institutional stop raids).
Draws a shaded red box above sweep-high candles and green box under sweep-lows.
These indicate key reversal zones.
✅ 3. Order Block Zones
Detects bullish/bearish engulfing patterns after liquidity sweeps.
Draws a supply or demand zone box extending forward.
These zones show where institutions likely placed large orders.
✅ 4. FVG Midpoint from 30-Min Chart
Detects Fair Value Gaps (imbalances) on the 30-minute chart.
Plots a line at the midpoint of the gap (EQ level), which is often revisited for entries or rejections.
✅ 5. Buy/Sell Signals (Non-Repainting)
Buy = 4H uptrend + 5M liquidity sweep low + bullish engulfing candle.
Sell = 4H downtrend + 5M liquidity sweep high + bearish engulfing.
Prints green “BUY” or red “SELL” label on the chart — these do not repaint.
📈 How to Use It
Wait for trend bias — only take trades in the direction of the 4H trend.
Watch for liquidity sweep boxes — these hint a stop hunt just occurred.
Look for a signal label (BUY/SELL) — confirms entry criteria.
Use FVG EQ lines & Order Block zones as confluence or targets.
Take trades after NY open (9:30 AM EST) for best momentum.
Global M2 10-Week Lead (for bitcoin)This script displays a combined view of the Global M2 Money Supply, converted to USD and adjusted with a configurable forward lead (default 10 weeks). It is designed to help visualize macro liquidity trends and anticipate potential impacts on Bitcoin price movements across any timeframe.
🔹 Main Features:
- Aggregates M2 data from 18 countries and regions including the USA, Eurozone, China, Japan, and more.
- All M2 values are converted to USD using respective exchange rates.
- Customizable “Slide Weeks Forward” setting lets you project global liquidity data into the future.
- Works on all timeframes by adjusting the projection logic dynamically.
- Toggle each country’s data on or off to customize the liquidity model.
💡 Use Case:
Global liquidity is often a leading indicator for major asset classes. This tool helps traders and analysts assess macro-level trends and their potential influence on Bitcoin by looking at changes in M2 money supply worldwide.
💡 Inspired By:
This tool mimics the Global M2 10-Week Lead liquidity indicator often referenced by Raoul Pal of Real Vision and Global Macro Investor, used for macro analysis and Bitcoin movement prediction.
📊 Note:
All economic and FX data is sourced from TradingView’s built-in datasets (ECONOMICS and FX_IDC). Data availability may vary depending on your plan.
Inner Circle Toolkit [TakingProphets]Inner Circle Toolkit — A Complete ICT Trading Companion
The Inner Circle Toolkit is a closed-source, all-in-one trading tool designed for traders following ICT (Inner Circle Trader) and Smart Money Concepts strategies. Every part of this script is built with purpose — not just a mashup of indicators, but a structured framework to help you follow price through the lens of institutional behavior and liquidity theory.
Let’s walk through what it does and how it can help you:
🕒 Session Liquidity Levels (Asia, London, New York, NY Lunch)
The indicator automatically marks the highs and lows of the major trading sessions:
-Asian Session
-London Session
-New York AM Session
-New York Lunch
These levels are important because price often returns to these points to grab liquidity before making a move. This gives traders clear areas to watch for potential sweeps, rejections, or reversals — without having to manually track session timings every day.
REQHs and REQLs — Equal Highs and Lows
This script detects Relatively Equal Highs and Lows (REQHs/REQLs), which are often used by institutions as stop-run targets.
It’s not just looking for copy-paste double tops or bottoms — it uses a tolerance-based algorithm that checks for clusters of similar highs or lows over a given time period. These are likely to hold stops and become magnets for price. When you see these on the chart, you’ll know where the “juice” is sitting.
Fair Value Gaps (FVG) — Multi-Timeframe
The script automatically plots Fair Value Gaps (FVGs) on both:
-Your current chart timeframe
-One or more higher timeframes (like H1 or H4)
These are three-candle gaps that form when price moves aggressively without filling in value. Price often comes back to these areas to rebalance. Seeing both local and higher-timeframe FVGs on your chart gives better context and helps with entries and exits.
The script is optimized so your chart doesn’t get messy — higher timeframe FVGs show up in a cleaner format with visual labels and lighter shading.
SMT Divergence — With Session Logic
This tool includes a real-time SMT divergence detector, based on the behavior of correlated markets like ES vs. NQ.
Here’s how it works:
If ES sweeps a liquidity level (like Asia Low), but NQ doesn’t, the script detects and marks that divergence.
This often signals institutional accumulation or distribution — a high-probability setup.
You won’t have to flip between charts or manually compare — the SMT logic runs automatically and only fires when it matters (at key session levels). It’s a smarter, more focused way to track intermarket divergences.
Daily Highs and Lows — Week-to-Week Structure
The indicator keeps track of the high and low for each day of the week — Monday through Friday — helping you understand how price is evolving across the week.
This helps build a weekly profile:
Did Monday set the high of the week?
Are we sweeping Tuesday’s low on Thursday?
These levels stay visible and labeled, helping you frame daily setups inside the bigger picture.
🕛 Midnight Open & 8:30 AM Open Levels
These two levels are core ICT concepts used to judge whether price is in premium or discount:
Midnight Open (00:00 EST): Used to determine daily bias
New York Open (08:30 EST): Often a launch point for key moves
Both are drawn automatically and extend throughout the day. This helps you align your trades with potential algorithmic bias, especially during NY session volatility.
⏰ 9:45 AM Vertical Marker — Macro Time Reminder
The script draws a subtle vertical line at 9:45 AM EST, which is the start of the NY AM macro session — one of the most likely times to see setups play out.
This is more than just a timer — it’s a visual cue that something important might be setting up soon, especially if you’re already watching SMT, FVGs, or liquidity zones from earlier.
How It All Connects — A Workflow, Not a Mashup
Every feature in this script is connected to the same goal: helping you trade with the Smart Money.
Here’s how the pieces work together:
Session levels → potential stop hunts
Equal highs/lows → targets
FVGs → entry points
SMT divergence → confirmation or warning
Daily highs/lows → Weekly structure frames bias
Open levels → premium vs. discount
Macro line → timing clue for execution
It’s built to help you flow with price action and trade the story, not just random signals.
Why It’s Closed Source — and Original
This script is closed-source because it contains:
A proprietary system for real-time SMT logic (with intermarket sweep detection)
Multi-timeframe FVG detection that auto-filters overlaps
Smart equal-high/low detection using range-based clustering
Optimized UI that shows a lot without overwhelming the chart
There are no moving averages, no public-domain indicators, and no mashup of standard tools. Everything here is purpose-built for traders who follow ICT strategies.
Let us know how we can improve!
HH&LL by SiriusProtected Script Notice
This script, "HH&LL by Sirius", is published as invite-only to protect its proprietary logic, which implements a refined detection mechanism for higher highs, lower lows, and liquidity points using advanced price action filtering. The underlying architecture integrates custom zone-based plotting, pivot analysis, and dynamic support/resistance tracking that is tailored for discretionary or rule-based trading. The source code is protected to preserve the originality and tactical advantages it provides in identifying significant market structure changes.
Overview
The "HH&LL by Sirius" indicator is a comprehensive market structure tool that identifies and labels key swing points—Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL)—to help traders visualize trend progression and potential reversal areas. It builds upon traditional pivot-based logic with extended historical comparisons, confirming points only when certain criteria are met to reduce noise and enhance reliability.
Key Features and Logic
Zigzag-like Market Structure Detection
The indicator derives its structure by calculating pivots and comparing sequences of highs/lows to identify meaningful HH, HL, LH, and LL patterns. These structures are refined through multi-level checks that validate each point using historical swing relationships.
Support and Resistance Zones (POIs)
Once structural points are confirmed, the script dynamically plots support (HLs) and resistance (LHs) lines that persist until invalidated by price. These Points of Interest (POIs) are labeled and include an optional hit-count system that displays how many times price has interacted with the level, providing insight into liquidity and potential breakout zones.
Label Customization and Visualization
Labels can include the price level, touch count, and confluence icons (e.g., 🐂 or 🐻) depending on configuration. Custom color settings allow for distinguishing bullish and bearish levels, and a separate logic manages label deletion or style change when a POI is invalidated.
Time-Based Session Filtering
The indicator supports two custom date ranges to filter plotting to specific market sessions. This is useful for focusing on key trading weeks or events. A background color option highlights active sessions.
All-Time High (ATH) Tracking
An optional feature tracks and plots the current all-time high on the chart. The ATH line includes extended styling options such as width, transparency band, and dynamic labeling on both sides of the chart.
Visual Outputs
Lines: Horizontal support and resistance lines drawn at HL and LH points, color-coded and styled based on user settings.
Labels: Detailed or minimalist annotations for POIs, touch count, and liquidity status. Labels can be positioned left/right and toggled for price visibility.
Zones: Optional background shading for specific date ranges, aiding in session-based analysis.
ATH Display: A prominently plotted line for all-time highs, including adjustable label and band features.
Trading Use Cases
Trend Confirmation: Use HH/HL or LH/LL sequences to confirm uptrends or downtrends.
Liquidity Traps and Sweeps: High POI hit counts or rapid invalidations can signal areas of engineered liquidity or breakout risk.
Zone-Based Confluence: Combine session filtering with structure plotting to find key zones of reversal or continuation.
Support/Resistance Breaks: Watch for price closing beyond a plotted POI to assess potential trend shifts or breakout opportunities.
Note
The script includes multiple internal optimizations and custom controls for advanced users. It is designed for traders seeking a deeper view of market structure beyond basic pivot plotting, with optional aesthetic and data visibility preferences to suit different trading workflows.
THMA VWAP Oscillator [by Oberlunar]The THMA VWAP Oscillator of Oberlunar is a trend-following and liquidity-sensitive indicator that blends the Triple Hull Moving Average (THMA) with Volume Weighted Average Price (VWAP) deviation bands to highlight high-probability trading setups. It helps traders differentiate between healthy momentum moves and market noise , making it an effective tool for spotting trend continuations, reversals, and mean reversion trades .
At its core, the THMA is an advanced moving average that smooths price action while minimizing lag. Unlike conventional moving averages that react slowly, the THMA dynamically adapts to market conditions by applying a weighted smoothing process. This allows it to react more efficiently to momentum shifts , making it ideal for trend-following and breakout strategies .
The VWAP acts as a volume-weighted price equilibrium, giving traders a framework for understanding institutional positioning. Since VWAP considers both price and volume , it helps determine whether the market is trading at a premium or a discount relative to where most of the volume has transacted. The inclusion of VWAP deviation bands , derived from standard deviations, enhances the ability to detect overbought and oversold conditions , ensuring that signals align with key liquidity levels.
The indicator generates buy and sell signals based on a structured methodology that incorporates trend direction, liquidity positioning, and momentum confirmation . A buy signal is triggered when the THMA on a higher timeframe is positioned below the THMA of the current timeframe, indicating that the broader trend is supportive of an upward move. Additionally, the THMA must be trading below the lower VWAP deviation band , suggesting that price is in a discounted liquidity zone, which is often an area where institutional buyers step in. To ensure that the signal is not just a random fluctuation, the THMA must also show positive slope , meaning it is actively rising, confirming that price is attempting to reverse or continue its upward move with strength.
A sell signal follows the same logic in reverse. The THMA on a higher timeframe must be above the THMA of the current timeframe, confirming alignment with a broader downtrend. The THMA must also be positioned above the upper VWAP deviation band , signaling that price is extended and potentially due for a reversal. To validate that the momentum is actually weakening, the THMA must be in a declining slope , ensuring that price is not simply pausing but actually entering a phase of downward acceleration.
One of the key nuances of the THMA VWAP Oscillator is how it visually represents momentum through the serpentine line , which dynamically shifts color as it develops. When the serpentine line maintains a consistent color—green in an uptrend or red in a downtrend—it signals strong trend conviction . However, when the color fluctuates rapidly between green and red, it indicates a weakening signal , suggesting that price action is becoming choppy and trend strength is deteriorating. This alternation in color serves as an early warning of potential reversals, false breakouts, or trend exhaustion. Traders should be cautious when signals appear in conjunction with an unstable serpentine, as they are less likely to be reliable in such conditions.
To further enhance signal quality, the indicator incorporates a signal alternation mechanism , ensuring that consecutive buy or sell signals do not appear unless the previous trade setup has been invalidated. This helps prevent overtrading in consolidating markets and reduces the chances of chasing false breakouts. Additionally, the placement of buy and sell labels is optimized using ATR-based scaling , positioning them strategically above or below price action to maintain chart clarity without interfering with live price movements.
By integrating trend structure, liquidity positioning, and signal validation , the THMA VWAP Oscillator provides a structured approach to trade execution. It is particularly effective for traders looking to capture breakout moves, pullback entries, and mean reversion opportunities , as it ensures that entries are aligned with market momentum, institutional positioning, and price equilibrium dynamics . The ability to filter out weak signals while identifying strong momentum trends makes it an indispensable tool for trend-followers, breakout traders, and mean reversion specialists alike .
I am very pleased to share that I am publicly releasing one of my private indicators, which I usually provide exclusively to my community. This is a significant moment for me, as this tool has been carefully refined and tested to offer high-quality trading insights.
I also want to take this opportunity to thank my entire community for the incredible support I have received over the past few months. Your feedback, engagement, and enthusiasm continue to inspire me, and I truly appreciate being part of this journey with all of you.
Stay tuned for more updates, and as always, trade smart! 🚀
[TehThomas] - Market Structure Shift (MSS)
- Market Structure Shift (MSS) Script Overview
This TradingView script is designed to help traders identify Market Structure Shifts (MSS) and Breaks of Structure (BOS), which are key concepts in ICT (Inner Circle Trader) and Smart Money Concepts (SMC) trading. By detecting significant shifts in price action, the script provides visual cues and alerts to help traders spot potential trend changes and continuation patterns.
How the Script Works
1. Identifying Swing Highs & Lows
The script detects swing highs and swing lows based on a pivot strength setting (default: 3).
A swing high forms when a candle’s high is higher than the highs of a set number of candles on both sides.
A swing low forms when a candle’s low is lower than the lows of the surrounding candles.
2. Market Structure Shift (MSS) Detection
A bullish MSS occurs when price closes above the most recent swing high after previously being in a bearish trend.
A bearish MSS occurs when price closes below the most recent swing low after being in a bullish trend.
This signals a potential trend reversal and is often a key area for liquidity grabs and smart money entry points.
3. Break of Structure (BOS) Detection (Optional - Can be enabled/disabled in settings)
A BOS is detected when price continues in the direction of the trend, confirming a structural break rather than a shift.
Bullish BOS: Price breaks a swing high but does not reverse (confirms trend continuation).
Bearish BOS: Price breaks a swing low but continues downward.
BOS levels help traders confirm trend strength and potential trade continuation setups.
4. Drawing Structure Lines & Labels
The script plots horizontal lines at the detected MSS and BOS levels.
Labels such as "MSS" or "BOS" appear at the breakout points.
Traders can customize the line style, color, and text size for better visibility.
5. Alert System for MSS & BOS
The script includes alert conditions that notify traders when an MSS or BOS occurs.
Alerts can be set for:
Any MSS / Any BOS
Bullish MSS / Bullish BOS
Bearish MSS / Bearish BOS
Settings You Can Change
The script allows for full customization through the following input parameters:
Pivot Strength (pivot_strength)
Default: 4
Adjusts how many candles must be considered to form a valid swing high or low.
Higher values result in stronger structure points, while lower values detect short-term movements.
Color Settings
Highs Color (highs) → Default: Blue (for bullish structure)
Lows Color (lows) → Default: Red (for bearish structure)
Toggle Display Options
Show BOS (show_bos) → Enables/disables BOS detection.
Show MSS (show_mss) → Enables/disables MSS detection.
Line & Label Customization
BOS Line Style (bos_style) → Options: Solid, Dashed, Dotted
MSS Line Style (mss_style) → Options: Solid, Dashed, Dotted
BOS & MSS Line Width → Adjustable from 1 to 4 pixels
BOS & MSS Text Size → Options: Tiny, Small, Normal, Large, Huge
BOS & MSS Text Position → Options: Left, Center, Right
Why This Script is Useful
✔ Detects Key Market Structure Changes
MSS and BOS are critical for identifying trend reversals and trend continuations.
Helps traders avoid false breakouts by distinguishing between structural shifts and simple breakouts.
✔ Enhances Smart Money Trading Strategies
MSS often aligns with liquidity grabs before price reverses.
BOS confirms continuation trades in strong trends.
Works well with Fair Value Gaps (FVGs), Order Blocks (OBs), and Liquidity Zones.
✔ Customizable Alerts & Visuals
Traders can enable alerts for MSS and BOS to receive notifications when price shifts.
Adjustable styling ensures clarity across different trading setups.
✔ Works on Any Asset & Timeframe
Suitable for Forex, Crypto, Stocks, and Indices.
Can be used on lower timeframes (scalping) or higher timeframes (swing trading).
How to Use the Market Structure Shift Concept in Trading
1️⃣ Identify Market Conditions
Apply the script and check if price is forming Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), or Lower Lows (LL).
Determine if the market is trending or ranging.
2️⃣ Watch for MSS (Reversal Signals)
Bullish MSS: Price closes above a key swing high → potential bullish reversal.
Bearish MSS: Price closes below a swing low → potential bearish reversal.
3️⃣ Confirm BOS (Trend Continuation Signals)
Bullish BOS: Price continues breaking highs, confirming an uptrend.
Bearish BOS: Price continues breaking lows, confirming a downtrend.
4️⃣ Combine with Other ICT & SMC Concepts
Look for Order Blocks (OBs) and Fair Value Gaps (FVGs) near MSS/BOS levels for better trade entries.
Wait for liquidity grabs before entering trades (avoid stop hunts).
Use higher timeframe MSS/BOS zones as key support & resistance areas.
Final Thoughts
This script is a must-have tool for traders using ICT & SMC trading strategies. It helps identify trend shifts, liquidity grabs, and continuation moves by marking Market Structure Shifts (MSS) and Breaks of Structure (BOS) on the chart.
ICT Concepts: MML, Order Blocks, FVG, OTECore ICT Trading Concepts
These strategies are designed to identify high-probability trading opportunities by analyzing institutional order flow and market psychology.
1. Market Maker Liquidity (MML) / Liquidity Pools
Idea: Institutional traders ("market makers") place orders around key price levels where retail traders’ stop losses cluster (e.g., above swing highs or below swing lows).
Application: Look for "liquidity grabs" where price briefly spikes to these levels before reversing.
Example: If price breaks a recent high but reverses sharply, it may indicate a liquidity grab to trigger retail stops before a trend reversal.
2. Order Blocks (OB)
Idea: Institutional orders are often concentrated in specific price zones ("order blocks") where large buy/sell decisions occurred.
Application: Identify bullish order blocks (strong buying zones) or bearish order blocks (strong selling zones) on higher timeframes (e.g., 1H/4H charts).
Example: A bullish order block forms after a strong rally; price often retests this zone later as support.
3. Fair Value Gap (FVG)
Idea: A price imbalance occurs when candles gap without overlapping, creating an area of "unfair" price that the market often revisits.
Application: Trade the retracement to fill the FVG. A bullish FVG acts as support, and a bearish FVG acts as resistance.
Example: Three consecutive candles create a gap; price later returns to fill this gap, offering a entry point.
4. Time-Based Analysis (NY Session, London Kill Zones)
Idea: Institutional activity peaks during specific times (e.g., 7 AM – 11 AM New York time).
Application: Focus on trades during high-liquidity periods when banks and hedge funds are active.
Example: The "London Kill Zone" (2 AM – 5 AM EST) often sees volatility due to European market openings.
5. Optimal Trade Entry (OTE)
Idea: A retracement level (similar to Fibonacci retracement) where institutions re-enter trends after a pullback.
Application: Look for 62–79% retracements in a trend to align with institutional accumulation/distribution zones.
Example: In an uptrend, price retraces 70% before resuming upward—enter long here.
6. Stop Hunts
Idea: Institutions manipulate price to trigger retail stop losses before reversing direction.
Application: Avoid placing stops at obvious levels (e.g., above/below recent swings). Instead, use wider stops or wait for confirmation.
Dashboard MTF profile volume Indicator Description
This indicator, titled "Swing Points and Liquidity & Profile Volume," combines multiple features to provide a comprehensive market analysis:
Volume Profile: Displays buy and sell volumes across multiple timeframes (1 minute, 5 minutes, 15 minutes, 1 hour, 4 hours, 1 day).
Volume Moving Averages: Plots two moving averages (short and long) to analyze volume trends.
Dashboard: A summary dashboard shows buy and sell volumes for each timeframe, with distinct colors for better visualization.
Swing Points: Identifies liquidity levels and swing points to help pinpoint key entry and exit zones.
How to Use
1. Indicator Installation
Go to TradingView.
Open the Pine Script Editor.
Copy and paste the provided code.
Click on "Add to Chart."
2. Indicator Settings
The indicator offers several customizable parameters:
Display Volume (1 minute, 5 minutes, 15 minutes, 1 hour, 4 hours, 1 day): Enable or disable volume display for each timeframe.
Short Moving Average Length (MA): Set the short moving average period (default: 5).
Long Moving Average Length (MA): Set the long moving average period (default: 14).
Dashboard Position: Choose where to display the dashboard (bottom-right, bottom-left, top-right, top-left).
Text Color: Customize the text color in the dashboard.
Text Size: Choose text size (small, normal, large).
3. Using the Indicator
Volume Analysis
The dashboard displays buy (Buy Volume) and sell (Sell Volume) volumes for each timeframe.
Buy Volume: Volume of trades where the closing price is higher than the opening price (aggressive buying).
Sell Volume: Volume of trades where the closing price is equal to or lower than the opening price (aggressive selling).
Volumes are displayed in real-time and update with each new candle.
Volume Moving Averages
Two moving averages are plotted on the chart:
MA Volume (Short): Short moving average (blue) to identify short-term volume trends.
MA Volume (Long): Long moving average (red) to identify long-term volume trends.
Use these moving averages to spot accumulation or distribution periods.
Swing Points and Liquidity
Swing points are identified based on price levels where volumes are highest.
These levels can act as support/resistance zones or liquidity areas to plan entries and exits.
Usage Guidelines
1. Entering a Position
Buy (Long):
When Buy Volume is significantly higher than Sell Volume across multiple timeframes.
When the short moving average (blue) crosses above the long moving average (red).
Sell (Short):
When Sell Volume is significantly higher than Buy Volume across multiple timeframes.
When the short moving average (blue) crosses below the long moving average (red).
2. Exiting a Position
Use liquidity levels (swing points) to set profit targets or stop-loss levels.
Monitor volume changes to anticipate trend reversals.
3. Risk Management
Use stop-loss orders to limit losses.
Avoid trading during low-volume periods to reduce false signals.
Compliance with Trading View Guidelines
Intellectual Property:
The code is provided for educational and personal use. You may modify and use it but cannot resell or distribute it as your own work.
Responsible Use:
Trading View encourages responsible use of indicators. Test the indicator on a demo account before using it in live trading.
Transparency:
The code is fully transparent and can be reviewed in the Pine Script Editor. You may modify it to suit your needs.
Practical Examples
Scenario 1: Bullish Trend
Buy Volume is high on 1-hour and 4-hour time frames.
The short moving average (blue) is above the long moving average (red).
Action: Open a long position (Buy) and set a stop-loss below the last swing low.
Scenario 2: Bearish Trend
Sell Volume is high on 1-hour and 4-hour time frames.
The short moving average (blue) is below the long moving average (red).
Action: Open a short position (Sell) and set a stop-loss above the last swing high.
ICT NY Silver Bullet SessionsThe ICT NY Silver Bullet Sessions refer to two specific time windows within the New York trading session, during which traders aim to exploit short-term, high-probability price movements, particularly using price-action techniques inspired by the Inner Circle Trader (ICT) methodology. These sessions are typically associated with a higher likelihood of volatility and liquidity due to their proximity to key market hours, making them ideal for scalping or intraday trading strategies.
The Silver Bullet concept emphasizes precise entries and exits, taking advantage of institutional trading behaviors and order flow within these two specific time windows:
(I) The AM Silver Bullet Session (10:00 AM – 11:00 AM EST)
Time Frame: This session runs from 10:00 AM to 11:00 AM Eastern Standard Time (EST).
Significance: During this hour, the New York Stock Exchange (NYSE) has been open for about 30 minutes, which typically generates volatility as the market reacts to overnight price movements, economic news, or early U.S. session developments. Traders look for institutional price action setups like stop runs, liquidity grabs, or reversals.
Key Considerations: Traders often focus on major indices (such as the S&P 500 or NASDAQ), forex pairs, or commodities like gold and silver. The AM session is especially important for catching trends or retracements established in the London session or the early New York market hours.
(II) The PM Silver Bullet Session (02:00 PM – 03:00 PM EST)
Time Frame: This session occurs from 2:00 PM to 3:00 PM Eastern Standard Time (EST).
Significance: Known as the afternoon session, this time period aligns with institutional rebalancing and pre-close positioning, where significant liquidity enters the market as traders anticipate the upcoming New York close and London close (which happens at 11:00 AM EST). It is also a common time for institutional traders to initiate price moves that carry through into the end of the trading day.
Key Considerations: Traders monitor for key reversals, liquidity sweeps, or continuations of earlier trends. This is a prime time for trading major currencies and indices, as well as commodities like crude oil and metals, with a focus on exploiting liquidity imbalances.
Global Financial IndexIntroducing the "Global Financial Index" indicator on TradingView, a meticulously crafted tool derived from extensive research aimed at providing the most comprehensive assessment of a company's financial health, profitability, and valuation. Developed with the discerning trader and investor in mind, this indicator amalgamates a diverse array of financial metrics, meticulously weighted and balanced to yield optimal results.
Financial Strength:
Financial strength is a cornerstone of a company's stability and resilience in the face of economic challenges. It encompasses various metrics that gauge the company's ability to meet its financial obligations, manage its debt, and generate sustainable profits. In our Global Financial Index indicator, the evaluation of financial strength is meticulously crafted to provide investors with a comprehensive understanding of a company's fiscal robustness. Let's delve into the key components and the rationale behind their inclusion:
1. Current Ratio:
The Current Ratio serves as a vital indicator of a company's liquidity position by comparing its current assets to its current liabilities.
A ratio greater than 1 indicates that the company possesses more short-term assets than liabilities, suggesting a healthy liquidity position and the ability to meet short-term obligations promptly.
By including the Current Ratio in our evaluation, we emphasize the importance of liquidity management in sustaining business operations and weathering financial storms.
2. Debt to Equity Ratio:
The Debt to Equity Ratio measures the proportion of a company's debt relative to its equity, reflecting its reliance on debt financing versus equity financing.
A higher ratio signifies higher financial risk due to increased debt burden, potentially leading to liquidity constraints and solvency issues.
Incorporating the Debt to Equity Ratio underscores the significance of balancing debt levels to maintain financial stability and mitigate risk exposure.
3. Interest Coverage Ratio:
The Interest Coverage Ratio assesses a company's ability to service its interest payments with its operating income.
A higher ratio indicates a healthier financial position, as it implies that the company generates sufficient earnings to cover its interest expenses comfortably.
By evaluating the Interest Coverage Ratio, we gauge the company's capacity to manage its debt obligations without compromising its profitability or sustainability.
4. Altman Z-Score:
The Altman Z-Score, developed by Edward Altman, is a composite metric that predicts the likelihood of a company facing financial distress or bankruptcy within a specific timeframe.
It considers multiple financial ratios, including liquidity, profitability, leverage, and solvency, to provide a comprehensive assessment of a company's financial health.
The Altman Z-Score categorizes companies into distinct risk groups, allowing investors to identify potential warning signs and make informed decisions regarding investment or credit exposure.
By integrating the Altman Z-Score, we offer a nuanced perspective on a company's financial viability and resilience in turbulent market conditions.
Profitability Rank:
Profitability rank is a crucial aspect of investment analysis that evaluates a company's ability to generate profits relative to its peers and industry benchmarks. It involves assessing various profitability metrics to gauge the efficiency and effectiveness of a company's operations and management. In our Global Financial Index indicator, the profitability rank segment is meticulously designed to provide investors with a comprehensive understanding of a company's profitability dynamics. Let's delve into the key components and rationale behind their inclusion:
1. Return on Equity (ROE):
Return on Equity measures a company's net income generated relative to its shareholders' equity.
A higher ROE indicates that a company is generating more profits with its shareholders' investment, reflecting efficient capital utilization and strong profitability.
By incorporating ROE, we assess management's ability to generate returns for shareholders and evaluate the overall profitability of the company's operations.
2. Gross Profit Margin:
Gross Profit Margin represents the percentage of revenue retained by a company after accounting for the cost of goods sold (COGS).
A higher gross profit margin indicates that a company is effectively managing its production costs and pricing strategies, leading to greater profitability.
By analyzing gross profit margin, we evaluate a company's pricing power, cost efficiency, and competitive positioning within its industry.
3. Operating Profit Margin:
Operating Profit Margin measures the percentage of revenue that remains after deducting operating expenses, such as salaries, rent, and utilities.
A higher operating profit margin signifies that a company is efficiently managing its operating costs and generating more profit from its core business activities.
By considering operating profit margin, we assess the underlying profitability of a company's operations and its ability to generate sustainable earnings.
4. Net Profit Margin:
Net Profit Margin measures the percentage of revenue that remains as net income after deducting all expenses, including taxes and interest.
A higher net profit margin indicates that a company is effectively managing its expenses and generating greater bottom-line profitability.
By analyzing net profit margin, we evaluate the overall profitability and financial health of a company, taking into account all expenses and income streams.
Valuation Rank:
Valuation rank is a fundamental aspect of investment analysis that assesses the attractiveness of a company's stock price relative to its intrinsic value. It involves evaluating various valuation metrics to determine whether a stock is undervalued, overvalued, or fairly valued compared to its peers and the broader market. In our Global Financial Index indicator, the valuation rank segment is meticulously designed to provide investors with a comprehensive perspective on a company's valuation dynamics. Let's explore the key components and rationale behind their inclusion:
1. Price-to-Earnings (P/E) Ratio:
The Price-to-Earnings ratio is a widely used valuation metric that compares a company's current stock price to its earnings per share (EPS).
A lower P/E ratio may indicate that the stock is undervalued relative to its earnings potential, while a higher ratio may suggest overvaluation.
By incorporating the P/E ratio, we offer insight into market sentiment and investor expectations regarding a company's future earnings growth prospects.
2. Price-to-Book (P/B) Ratio:
The Price-to-Book ratio evaluates a company's market value relative to its book value, which represents its net asset value per share.
A P/B ratio below 1 may indicate that the stock is trading at a discount to its book value, potentially signaling an undervalued opportunity.
Conversely, a P/B ratio above 1 may suggest overvaluation, as investors are paying a premium for the company's assets.
By considering the P/B ratio, we assess the market's perception of a company's tangible asset value and its implications for investment attractiveness.
3. Dividend Yield:
Dividend Yield measures the annual dividend income received from owning a stock relative to its current market price.
A higher dividend yield may indicate that the stock is undervalued or that the company is returning a significant portion of its profits to shareholders.
Conversely, a lower dividend yield may signal overvaluation or a company's focus on reinvesting profits for growth rather than distributing them as dividends.
By analyzing dividend yield, we offer insights into a company's capital allocation strategy and its implications for shareholder returns and valuation.
4. Discounted Cash Flow (DCF) Analysis:
Discounted Cash Flow analysis estimates the present value of a company's future cash flows, taking into account the time value of money.
By discounting projected cash flows back to their present value using an appropriate discount rate, DCF analysis provides a fair value estimate for the company's stock.
Comparing the calculated fair value to the current market price allows investors to assess whether the stock is undervalued, overvalued, or fairly valued.
By integrating DCF analysis, we offer a rigorous framework for valuing stocks based on their underlying cash flow generation potential.
Earnings Transparency:
Mitigating the risk of fraudulent financial reporting is crucial for investors. The indicator incorporates the Beneish M-Score, a robust model designed to detect earnings manipulation or financial irregularities. By evaluating various financial ratios and metrics, this component provides valuable insights into the integrity and transparency of a company's financial statements, aiding investors in mitigating potential risks.
Overall Score:
The pinnacle of the "Global Financial Index" is the Overall Score, a comprehensive amalgamation of financial strength, profitability, valuation, and manipulation risk, further enhanced by the inclusion of the Piotroski F-Score. This holistic score offers investors a succinct assessment of a company's overall health and investment potential, facilitating informed decision-making.
The weighting and balancing of each metric within the indicator have been meticulously calibrated to ensure accuracy and reliability. By amalgamating these diverse metrics, the "Global Financial Index" empowers traders and investors with a powerful tool for evaluating investment opportunities with confidence and precision.
This indicator is provided for informational purposes only and does not constitute financial advice, investment advice, or any other type of advice. The information provided by this indicator should not be relied upon for making investment decisions. Trading and investing in financial markets involves risk, and you should carefully consider your financial situation and consult with a qualified financial advisor before making any investment decisions. Past performance is not necessarily indicative of future results. The creator of this indicator makes no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability, or availability with respect to the indicator or the information contained herein. Any reliance you place on such information is therefore strictly at your own risk. By using this indicator, you agree to assume full responsibility for any and all gains and losses, financial, emotional, or otherwise, experienced, suffered, or incurred by you.
ICT [CASPER] Silver Bullet 2024.ENGLISH DESCRIPTION:
The "BOT SILVER BULLET 2024" indicator is a technical analysis tool tailored for active traders on the TradingView platform, combining market pattern study with quantitative trading intelligence. This sophisticated indicator overlays directly on the price chart and is designed to pinpoint and visualize critical liquidity zones, providing traders with a strategic edge in their decision-making process.
Its utility lies in identifying "Liquidity Zones," which are key areas where significant price movements are anticipated due to the accumulation or release of market orders. These zones are often levels where large market participants have placed unexecuted orders, which can lead to sharp and swift movements once those levels are reached. Foreseeing these points can be crucial for strategies aiming to capture volatility or find optimal entry and exit points.
The "BOT SILVER BULLET 2024" does not just focus on the present but also delivers historical analysis by identifying "Session Highs/Lows" and "Global Highs/Lows." These are the extreme points that have been reached during specific and broad timeframes, respectively. Knowing these levels can offer a deeper understanding of how the price has reacted in the past under certain market conditions, hinting at possible areas of support and resistance.
Furthermore, the indicator provides an in-depth analysis that delves beneath the surface. The "Analysis" function of this indicator scrutinizes price and volume patterns and correlates them with known market events, providing traders with a more informed perspective on the market's potential direction. This feature is invaluable for those looking to understand the underlying forces moving prices and how they might impact trading strategies.
To enhance usability and visual user experience, the "BOT SILVER BULLET 2024" allows users to "View Range Labels." This feature adds clear labels to price zones of particular interest, such as the aforementioned liquidity zones and historical highs and lows. These labels act as annotations that help traders keep track of significant developments without the need for constant manual analysis.
The indicator also highlights "Liquidity Grabs," moments when the price is anticipated to react significantly upon reaching levels previously identified with a high volume of pending orders. This information is pivotal for traders employing breakout or reversal strategies, as such price movements can provide profitable opportunities.
In summary, the "BOT SILVER BULLET 2024" indicator is a highly advanced tool and posits itself as one of the "most comprehensive market indicators." Its ability to provide an integrated view of the financial markets makes it indispensable for traders seeking to understand and anticipate price movements. Its amalgamation of historical data, alongside real-time visualization of market conditions, makes this tool not just comprehensive but also pertinent in today's dynamic trading environment. With its focus on liquidity and superior technical analysis, this indicator stands out as a true differentiator for serious traders looking to maximize their effectiveness in the financial markets.
DESCRIPCION EN ESPAÑOL:
El indicador "BOT SILVER BULLET 2024" es una herramienta de análisis técnico proyectada para operadores activos en la plataforma TradingView, con un diseño que fusiona el estudio de patrones de mercado y la inteligencia de trading cuantitativo. Este sofisticado indicador se integra directamente sobre el gráfico de precios y está diseñado para detectar y visualizar zonas críticas de liquidez, proporcionando a los operadores una ventaja estratégica en su toma de decisiones.
Su utilidad radica en la identificación de "Zonas de Liquidez", que son áreas clave donde se espera que ocurran movimientos significativos de precios debido a la acumulación o liberación de órdenes de mercado. Estas zonas son a menudo niveles donde los grandes participantes del mercado han colocado órdenes no ejecutadas, lo que puede dar lugar a movimientos rápidos y agudos una vez que se alcanzan esos niveles. La capacidad de prever estos puntos puede ser crucial para estrategias que buscan capturar volatilidad o encontrar puntos de entrada y salida óptimos.
El "BOT SILVER BULLET 2024" no sólo se enfoca en el presente, sino que también proporciona un análisis histórico mediante la identificación de "Altos/Bajos de Sesiones" y "Altos/Bajos Globales". Estos son los puntos extremos que han sido alcanzados durante períodos de tiempo específicos y generalizados, respectivamente. Conocer estos niveles puede ofrecer una comprensión más profunda de cómo el precio ha reaccionado en el pasado bajo ciertas condiciones de mercado, dando pistas sobre posibles áreas de soporte y resistencia.
Además, el indicador ofrece un análisis en profundidad que va más allá de la superficie. La función "Análisis" de este indicador examina patrones de precios y volúmenes, y los correlaciona con eventos de mercado conocidos, lo que proporciona a los traders una perspectiva más informada sobre la dirección potencial del mercado. Esta característica es invaluable para aquellos que buscan entender las fuerzas subyacentes que mueven los precios y cómo podrían afectar sus estrategias de trading.
Para mejorar la usabilidad y la experiencia visual del usuario, "BOT SILVER BULLET 2024" permite "Ver Etiquetas de Rangos". Esta función agrega etiquetas claras a las zonas de precio que son de particular interés, como las mencionadas zonas de liquidez, y los altos y bajos históricos. Estas etiquetas son una forma de anotación que ayuda a los operadores a mantenerse al tanto de los desarrollos significativos sin la necesidad de realizar un análisis manual constante.
El indicador también resalta las "Tomas de Liquidez", que son momentos en los que se espera que el precio reaccione de manera significativa al alcanzar niveles previamente identificados con un alto volumen de órdenes pendientes. Esta información es crucial para los traders que aplican estrategias de breakout o de reversión, ya que tales movimientos de precios pueden proporcionar oportunidades rentables.
Para resumir, el "BOT SILVER BULLET 2024" es un indicador altamente avanzado y se postula como uno de los "indicadores más completos del mercado". Su capacidad para proporcionar una vista integral de los mercados financieros lo hace indispensable para los traders que buscan comprender y anticipar movimientos de precios. Su integración de datos históricos, junto con la visualización en tiempo real de condiciones de mercado, hace que esta herramienta no solo sea completa sino también relevante en el dinámico entorno de trading actual. Con su enfoque en la liquidez y su análisis técnico superior, este indicador es un verdadero diferenciador para los traders serios que buscan maximizar su eficacia en los mercados financieros.
CBDE OscillatorWhat makes The Universe grow at an accelerating pace?
Dark Energy.
What makes The Economy grow at an accelerating pace?
Debt.
Debt is the Dark Energy of The Economy.
The Central Bank Dark Energy Oscillator (CBDEO) is a companion to the popular CBDET (Central Bank Dark Energy Tracer) script.
CBDEO is an oscillator that shows up in a separate TradingView pane in order to provide a relative change signal. It uses the same equations to aggregate central bank liquidity that are used in CBDET, and adds unique analysis tools that provide rate of change data.
There are 2 signals in the chart. First is the change/delta on a per bar basis, based on the chart time frame. The default style for this plot is "columns". This style parameter can be changed in the settings, along with each plot's visibility.
The second plot is a divergence signal that tests the change vs a simple moving average of the CBDET signal (central bank liquidity). The SMA length is customizable in the Input tab within the settings for the indicator. The SMA is based on the chart's current time frame.
The changes in liquidity on various time frames, and calculated as divergence against the liquidity signal SMA can be useful in determining the rate of change in liquidity, and therefore potential thrust in market price action.
Smart Money Concepts (SMC) [LuxAlgo]This all-in-one indicator displays real-time market structure (internal & swing BOS / CHoCH), order blocks, premium & discount zones, equal highs & lows, and much more...allowing traders to automatically mark up their charts with widely used price action methodologies. Following the release of our Fair Value Gap script, we received numerous requests from our community to release more features in the same category.
"Smart Money Concepts" (SMC) is a fairly new yet widely used term amongst price action traders looking to more accurately navigate liquidity & find more optimal points of interest in the market. Trying to determine where institutional market participants have orders placed (buy or sell side liquidity) can be a very reasonable approach to finding more practical entries & exits based on price action.
The indicator includes alerts for the presence of swing structures and many other relevant conditions.
Features
This indicator includes many features relevant to SMC, these are highlighted below:
Full internal & swing market structure labeling in real-time
Break of Structure (BOS)
Change of Character (CHoCH)
Order Blocks (bullish & bearish)
Equal Highs & Lows
Fair Value Gap Detection
Previous Highs & Lows
Premium & Discount Zones as a range
Options to style the indicator to more easily display these concepts
Settings
Mode: Allows the user to select Historical (default) or Present, which displays only recent data on the chart.
Style: Allows the user to select different styling for the entire indicator between Colored (default) and Monochrome.
Color Candles: Plots candles based on the internal & swing structures from within the indicator on the chart.
Internal Structure: Displays the internal structure labels & dashed lines to represent them. (BOS & CHoCH).
Confluence Filter: Filter non-significant internal structure breakouts.
Swing Structure: Displays the swing structure labels & solid lines on the chart (larger BOS & CHoCH labels).
Swing Points: Displays swing points labels on chart such as HH, HL, LH, LL.
Internal Order Blocks: Enables Internal Order Blocks & allows the user to select how many most recent Internal Order Blocks appear on the chart.
Swing Order Blocks: Enables Swing Order Blocks & allows the user to select how many most recent Swing Order Blocks appear on the chart.
Equal Highs & Lows: Displays EQH/EQL labels on chart for detecting equal highs & lows.
Bars Confirmation: Allows the user to select how many bars are needed to confirm an EQH/EQL symbol on chart.
Fair Value Gaps: Displays boxes to highlight imbalance areas on the chart.
Auto Threshold: Filter out non-significant fair value gaps.
Timeframe: Allows the user to select the timeframe for the Fair Value Gap detection.
Extend FVG: Allows the user to choose how many bars to extend the Fair Value Gap boxes on the chart.
Highs & Lows MTF: Allows the user to display previous highs & lows from daily, weekly, & monthly timeframes as significant levels.
Premium/Discount Zones: Allows the user to display Premium, Discount, and Equilibrium zones on the chart
Usage
Users can see automatic CHoCH and BOS labels to highlight breakouts of market structure, which allows to determine the market trend. In the chart below we can see the internal structure which displays more frequent labels within larger structures. We can also see equal highs & lows (EQH/EQL) labels plotted alongside the internal structure to frequently give indications of potential reversals.
In the chart below we can see the swing market structure labels. These are also labeled as BOS and CHoCH but with a solid line & larger text to show larger market structure breakouts & trend reversals. Users can be mindful of these larger structure labels while trading internal structures as displayed in the previous chart.
Order blocks highlight areas where institutional market participants open positions, one can use order blocks to determine confirmation entries or potential targets as we can expect there is a large amount of liquidity at these order blocks. In the chart below we can see 2 potential trade setups with confirmation entries. The path outlined in red would be a potential short entry targeting the blue order block below, and the path outlined in green would be a potential long entry, targeting the red order blocks above.
As we can see in the chart below, the bullish confirmation entry played out in this scenario with the green path outlined in hindsight. As price breaks though the order blocks above, the indicator will consider them mitigated causing them to disappear, and as per the logic of these order blocks they will always display 5 (by default) on the chart so we can now see more actionable levels.
The Smart Money Concepts indicator has many other features and here we can see how they can also help a user find potential levels for price action trading. In the screenshot below we can see a trade setup using the Previous Monthly High, Strong High, and a Swing Order Block as a stop loss. Accompanied by the Premium from the Discount/Premium zones feature being used as a potential entry. A potential take profit level for this trade setup that a user could easily identify would be the 50% mark labeled with the Fair Value Gap & the Equilibrium all displayed automatically by the indicator.
Conclusion
This indicator highlights all relevant components of Smart Money Concepts which can be a very useful interpretation of market structure, liquidity, & more simply put, price action. The term was coined & popularized primarily within the forex community & by ICT while making its way to become a part of many traders' analysis. These concepts, with or without this indicator do not guarantee a trader to be trading within the presence of institutional or "bank-level" liquidity, there is no supporting data regarding the validity of these teachings.
Trendmaster - Collated Funding RatesCollated Funding Rates is a Crypto Specific Indicator that pulls Exchange Funding Rate Data from several exchanges for both Bitcoin and Ethereum.
By combining both the Funding Data for Bitcoin and Ethereum across several exchanges, a Trader can see the Collated Funding Rates from several Crypto Exchanges.
What are Funding Rates?
Funding rates are periodic payments either to traders that are long or short based on the difference between perpetual contract markets and spot prices.
Therefore, depending on open positions, traders will either pay or receive funding. Crypto funding rates prevent lasting divergence in the price of both markets
These Funding Rates also incentivize Liquidity Providers to take certain positions whether Long or Short based on the Funding Rate.
What are Liquidity Providers?
A Liquidity Provider, also known as a Market Maker, is someone who provides their crypto assets to a platform to help with the decentralization of trading.
In return, they are rewarded with fees generated by trades on that platform, which can be thought of as a form of passive income.
H ow to use Collated Funding Rates:
When the Funding Rate is positive, the price of the perpetual contract is usually higher than the market price.
Thus, traders who are long pay for short positions. Conversely, a negative Funding Rate means that short positions pay for longs.
As the funding rate increases from negative to positive Traders and Liquidity Providers are incentivized to take short positions.
This can be seen on the indicator as it moves from down to up and changes from red to green.
As the funding rate decreases from positive to negative Traders and Liquidity Providers are incentivized to take long positions.
This can be seen on the indicator as it moves from up to down and changes from green to red.
Funding Rates are used by Exchanges to manipulate the price.
Because of this fact, Collated Funding Rates can show trend changes based on when a specific up or down move in Price is incentivized by Exchange Funding Rates.
DePriExchange weighted price for cryptocurrencies
DECENTRALIZED PRICE CHART FOR DECENTRALIZED WORLD
See non-manipulated , globally price action that comes from whole liquidity!
The main idea behind this script is that...
The value of each trading pair finally determined globally and the price displayed in exchanges is its own and not global! differences between exchanges, reduced to near zero gradually by market makers and arbitrages, so..
Every min tick price changes Must be backed by liquidity to be part of the global fluctuations
more liquidity gives it more credibility
more credibility give it more weight
..Against opposing movements.
This script can collect price of crypto pairs from 12 exchanges that listed on TV and have effective volume.
In the first step, summarizes the volume of all exchanges and creates the total volume
In the next step, divide each exchange volume to total volume to obtain relative weight of each exchange.
In the final step, multiply each exchange price to weight of itself and summarizes these numbers .. now, we have Exchange weighted price!
The results on high liquidity pairs like BTCUSDT, ETHUSDT, is not much differ then simple chart but when you apply it on lower liquidity, lower time frames of altcoins, you realize its benefits and usefulness. Altcoins chart in composite and simple mode is very differ, I hope you enjoy from TRUE CHART.
With this, also you can..
Filter and smooth candlestick chart with SMA or EMA
Plot a line chart of pair at your desired frame separate from the main chart for monitor important price levels
Get realtime report of whole volume of pair on included exchanges
Get realtime report of each exchange weight and share
Note.1:
some of pairs queted on more than one like BTCUSD, BTCUSDT, BTCUSDC and etc. In this pairs we choose the one that usually has more volume on that exchange.
Note.2:
At this time, supported queted currencies are BTC, ETH, USD, USDT, BUSD, USDC, USDK.
Note.3:
This script is relatively heavy! This is not cuz of bad coding.
Each bar compution contains at least one plot and some of security calls, so 10 to 15 seconds is normal load time.
Note.4:
You can combine this with your price action base scripts and use balanced OHLCV. The necessary explanations about this are available in the code.
Note.5:
You must only include exchanges that support your ticker, Otherwise you will receive an error.
I hope it comes useful to you.
0x278's Swing-Failure-Pattern (SFP)0x278's Swing-Failure-Pattern (SFP) ‑ Confirmed Short
Table of Contents
Introduction
Core Concept – What Is an SFP?
How the Indicator Works
Visual Elements & Their Meaning
Input Parameters Explained
Step-by-Step Trading Playbook
Example Workflow (Daily BTC-USDT)
Alerts & Automation
Tips, Tricks & Best Practices
FAQ
Advanced Configuration & Asset-Class Playbook
1. Introduction
The Swing-Failure-Pattern (SFP) – Confirmed Short indicator spots and tracks bearish SFPs on any market and timeframe, with defaults tuned for Daily charts.
A bearish SFP occurs when price sweeps a prior swing high (liquidity grab) and then decisively rejects lower , signalling a possible trend reversal or sharp pullback.
This script automatically:
Identifies the liquidity sweep & rejection (‐"SFP-SHORT" label)
Confirms directional intent via a structure-breaking close below the setup low
Paints a preferred sell-on-retest zone and tracks its validity
Identifies optimal entry opportunities when price retests the zone
Generates optional retest and entry alerts when trading conditions appear
Self-cleans after a configurable number of bars – keeping your chart tidy
Default Timeframe : Daily
Default Market : Crypto / FX majors
Works On : All symbols + timeframes – simply adjust parameters.
2. Core Concept – What Is an SFP?
Sweep (Liquidity Grab) – Price trades above a meaningful swing high, triggering stops & inducing breakout buyers.
Rejection – The same bar (or the next) closes back below the swept high, invalidating the breakout.
Structure Break – Bears confirm intent by closing below the "setup low" (the most recent pivot low before the sweep).
Retest – Price retraces to the sweep zone. Traders seek entries inside the upper half of that zone with invalidation just above the swing high.
The indicator encodes these four steps so you can spot high-quality bearish reversals without manual bar-by-bar analysis.
3. How the Indicator Works
Phase: Sweep & Rejection
Script Logic: high > lastSwingHigh and close < lastSwingHigh
Visual Cue: Red SFP-SHORT label above candle
Phase: Structure Break
Script Logic: Close < setupLow while pattern locked
Visual Cue: Zone (red line-box) plotted; SFP-SHORT label stays
Phase: Retest Tracking
Script Logic: Zone stays active for retestExpiry bars or until tapped
Visual Cue: Orange SFP-RETEST label when hit
Phase: Entry Signal
Script Logic: Price rejection within retest zone
Visual Cue: Green ENTRY label at optimal entry point
Phase: Expiry / Cleanup
Script Logic: Zone deleted after expiry
Visual Cue: Labels fade but remain visible for reference
All calculations reset after each completed/expired pattern ensuring fresh, uncluttered signals.
4. Visual Elements & Their Meaning
SFP-SHORT (red) – Bar that swept a prior high and closed below it.
Red Box / Line – Preferred sell zone between the swing high (upper bound) and dynamic lower bound (see sizing methods). Extends right until filled/expired.
SFP-RETEST (orange) – Bar that first tags the zone after confirmation.
ENTRY (green) – Appears when a high-probability entry signal occurs within the retest zone.
EXPIRED (gray) – Appears when the retest zone expires without being hit.
Visual Persistence – Labels fade but remain visible after expiry for reference and historical analysis.
5. Input Parameters Explained
Pivot Detection
Pivot left / right : Bars left/right of the pivot that must stay below/above it. Tip : Symmetrical values (3/3) work best for clean structure.
Retest Management
Retest expiry (bars) : Lifespan of a retest zone before it is considered stale. Default: 14 bars on Daily . Tip : Shorten for intraday, lengthen for swing trading.
Retest Zone Sizing
Sizing method : Select Static %, ATR-based or Hybrid logic for the lower boundary. Tip : Hybrid balances tight stops with realistic fills.
Static % : Fixed fraction of sweep range when Static/Hybrid is selected. Tip : Higher % deepens zone & widens stop.
ATR period : Look-back length for ATR when volatility sizing is used. Tip : Increase to smooth choppy markets.
ATR multiplier : Multiplier applied to ATR in ATR-based/Hybrid mode. Tip : Higher value widens zone during volatility.
Visual – Retest Zone
Show retest zone box : Toggles drawing of the semi-transparent sell zone box. Tip : Disable for ultra-clean look.
Retest box color : Fill colour of the box (alpha = transparency). Tip : Match your chart theme.
Max retest boxes : How many historical boxes remain visible (0 = unlimited). Tip : Lower to boost performance.
Only show active boxes : Automatically deletes a box once it's hit. Tip : Reduces clutter during back-testing.
Visual – General
Minimal mode : Hides most visuals apart from critical labels. Tip : Ideal for screenshots.
Show retest zone line : Draws a vertical line linking upper/lower boundaries. Tip : Acts as a quick depth guide.
Show ENTRY labels : Plots 'ENTRY' on optimal candles. Tip : Turn off for manual confirmation.
Labels
Label size : Overall size of all labels. Tip : tiny / small / normal.
Use simple label style : Switches to pixel text style for labels. Tip : Faster rendering on low-spec machines.
Advanced
minPct / maxPct (hard-coded) : Internal floor/cap for Hybrid logic. Tip : Exposed in code for power-users only.
Zone-Sizing Methods
Static – Lower bound = sweepRange × staticPct.
ATR-based – Lower bound = ATR × multiplier, normalised to the sweepRange.
Hybrid – Uses the greater of Static and ATR-based (capped by an internal safety ceiling).
6. Step-by-Step Trading Playbook
Identify Context – Prefer setups against extended moves into obvious highs (e.g., daily swing highs, prior week high, round numbers).
Wait for SFP Confirmation – The indicator will label an SFP-SHORT only after the candle closes. Do not front-run.
Structure-Break Close – A close below setupLow turns the zone live. This is your go signal – prepare sell orders.
Place Orders in the Zone
Entry : Limit order anywhere between retestLower and the swing high.
Stop : 1-2 ticks/pips above the swing high.
Risk Management
Size position so risk per trade ≤ account risk % (common: 0.5-1%).
If no retest before retestExpiry bars → cancel order .
Targets
Conservative: First liquidity pocket / FVG below.
Aggressive: 2-3× risk or next HTF support.
Trail or Partial – Consider trailing stop once 1R is achieved or partial profit at 1R.
7. Example Workflow (Daily BTC-USDT)
BTC trades to a fresh one-month high at $31 050 sweeping prior highs.
Candle closes at $30 420 – below the swept high – SFP-SHORT label appears.
Two days later, candle closes below setupLow at $29 880 – confirmation & zone plotted (upper = $31 050, lower ≈ $30 550).
Five days later price retests the zone hitting $30 750 – SFP-RETEST alert fires, trade filled.
Stop placed @ $31 120 (70$ risk). 1R target = $29 680 reached four days later.
8. Alerts & Automation
SFP Short confirmed
Fires When: Structure-break close below setupLow.
Suggested Action: Prepare/submit sell-limit order in the zone.
SFP Short retest
Fires When: Price enters the retest zone.
Suggested Action: Monitor for entry signals or prepare for manual entry.
SFP Short Entry Signal
Fires When: Optimal entry conditions detected within retest zone.
Suggested Action: Execute short trade with defined risk parameters.
Use TradingView's Webhook URL to forward alerts to a trade-execution bot (e.g., PineConnector) for automated order placement.
9. Tips, Tricks & Best Practices
Combine with HTF Bias – Only take bearish SFPs in bearish weekly trend.
Watch Volume – High volume on the sweep bar adds conviction.
Time Window – SFPs during NY session FX / US session crypto tend to be stronger.
Cluster Zones – Multiple overlapping SFP zones increase probability; treat the cluster as one larger supply.
Avoid News – Skip SFPs forming minutes before high-impact macro news.
10. FAQ
Q: Can I use this on lower timeframes?
A: Yes – reduce retestExpiry (e.g., 15 bars on 15-minute) and test ATR-based sizing.
Q: Does it work for longs?
A: This script focuses on bearish SFPs. Clone & invert conditions for longs.
Q: Why did a zone disappear?
A: Either it expired (retestExpiry) without a retest or the cleanup routine removed old visuals to stay within Pine limits (500 objects per type).
Q: What's the difference between the "SFP-RETEST" and "ENTRY" signals?
A: "SFP-RETEST" indicates price has entered the zone, while "ENTRY" signals an optimal entry opportunity based on price rejection within the zone.
Q: How do I customize the label appearance?
A: Use the "Label size" and "Use simple label style" settings to adjust all labels to your preferred visual style.
Happy trading & trade safe!
11. Advanced Configuration & Asset-Class Playbook
Why does the retest box feel "too high" and how do I actually get filled? Use the quick tweaks below or the power-user code snippet to shape the zone to your personality and instrument.
11.1 Why the default box is shallow
The Static 25 % / ATR-Hybrid logic keeps stops small. Around 50 % of Daily BTC SFPs never look back – that's the cost of tight risk. If you need higher fill-rates, deepen the zone (11.2).
11.2 Three slider moves – no coding required
Retest zone sizing method – switch Static → Hybrid or ATR-based
Static % – raise from 0.25 → 0.45-0.60
ATR multiplier – raise from 1.0 → 1.5-2.0
Each turn pulls the lower edge of the box deeper while keeping the invalidation at the swing high.
11.3 One-liner for coders
To allow >60 % of the sweep range edit the source:
Old code:
minPct = 0.05
maxPct = 0.60
New code:
minPct = 0.05
maxPct = input.float(0.60, "Max retest % of sweep", step = 0.05, minval = 0.10, maxval = 0.95)
Then dial the cap up to ~0.80-0.90 from the settings panel.
11.4 If price never comes back…
No-retest partial – take 25-40 % size on the confirmation candle, stop above the high.
Lower-TF confirmation – drop to 4 h / 1 h and hunt an internal SFP or bearish FVG inside the sweep.
ATR trail – if price dumps immediately, trail the stop above each new lower-high.
11.5 Asset-Class Cheat-Sheet
Crypto – Daily : Static %: 0.20-0.35, ATR mult: 1.0, Retest Expiry: 12-20 . Notes : High volatility; sweeps expand fast.
FX Majors – 4 h/D : Static %: 0.25-0.40, ATR mult: 1.2, Retest Expiry: 15-25 . Notes : ATR handles session compression.
Index Futures – 1 h : Static %: 0.30-0.50, ATR mult: 1.5, Retest Expiry: 10-20 . Notes : Hybrid recommended; gaps tighten sweeps.
US Equities – 30 m : Static %: 0.35-0.55, ATR mult: 1.5-2.0, Retest Expiry: 10-14 . Notes : Consider no-retest entry on earnings spikes.
Always forward-test on your own symbol & timeframe ✔️
Advanced SMC Market Structure AnalyzerAdvanced SMC Market Structure Analyzer
Version 1.0 • by Rendon1
Short Description:
A multi-timeframe Smart Money Concepts (SMC) toolkit for detecting Breaks of Structure (BOS), Changes of Character (CHoCH), liquidity zones, order blocks, fair-value gaps, and raw entry signals—all in one overlay indicator.
🔍 Overview
This script analyzes both a higher timeframe (e.g. 4H) for market structure shifts and a lower “entry” timeframe (e.g. 5–30 m) to flag optimal entries. It visually marks:
BOS (Higher-Highs/Bearish BOS & Lower-Lows/Bullish BOS)
CHoCH (structure flips)
Liquidity Zones (equal highs/lows)
Order Blocks (last candle before a directional move)
Fair-Value Gaps on the entry timeframe
Buy/Sell Labels when multiple conditions align
⚙️ Features
Multi-Timeframe Structure: Define your higher-timeframe for HTF swings and a customizable lower-timeframe for precision entries.
Swing Sensitivity: Adjustable pivot lookback (default 5 bars).
Liquidity Detection: Highlights market stagnation points via equal highs/lows.
Order Blocks & FVG: Identifies key institutional zones on both HTF and LTF.
Automated Entry Signals: Composite logic combining CHoCH with LTF order blocks or fair-value gaps.
Alerts Built-In: “Bullish Entry,” “Bearish Entry,” “CHoCH Detected,” and “BOS Detected.”
⚙️ Inputs
Setting Default Description
Swing Detection Sensitivity 5 Lookback bars for pivot detection (higher = smoother)
Show Structure Labels ☑️ Toggle visual BOS/CHoCH labels
HTF Structure Timeframe 240 Higher-timeframe (minutes) for market structure
Entry Structure Timeframe 15 Lower-timeframe for order block & FVG entries
Liquidity Lookback 3 Bars to check for equal highs/lows
📖 How to Use
Add to Chart: Apply the indicator to any symbol.
Configure Timeframes: Choose your preferred HTF (e.g. 4H) and LTF (e.g. 15 m).
Interpret Signals:
Blue “BOS” labels mark momentum breaks on HTF.
Orange “CHoCH” labels indicate structure flips.
Green “🟢 BUY” and Red “🔴 SELL” labels appear when HTF flips align with LTF zones.
Set Alerts: Right-click any of the built-in alert conditions to add real-time notifications.
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading involves risk, and you should perform your own analysis before making any trades. The author is not liable for any losses or gains resulting from the use of this indicator.