LibTmFrLibrary   "LibTmFr" 
This is a utility library for handling timeframes and
multi-timeframe (MTF) analysis in Pine Script. It provides a
collection of functions designed to handle common tasks related
to period detection, session alignment, timeframe construction,
and time calculations, forming a foundation for
MTF indicators.
Key Capabilities:
1.  **MTF Period Engine:** The library includes functions for
managing higher-timeframe (HTF) periods.
- **Period Detection (`isNewPeriod`):** Detects the first bar
of a given timeframe. It includes custom logic to handle
multi-month and multi-year intervals where
`timeframe.change()` may not be sufficient.
- **Bar Counting (`sinceNewPeriod`):** Counts the number of
bars that have passed in the current HTF period or
returns the final count for a completed historical period.
2.  **Automatic Timeframe Selection:** Offers functions for building
a top-down analysis framework:
- **Automatic HTF (`autoHTF`):** Suggests a higher timeframe
(HTF) for broader context based on the current timeframe.
- **Automatic LTF (`autoLTF`):** Suggests an appropriate lower
timeframe (LTF) for granular intra-bar analysis.
3.  **Timeframe Manipulation and Comparison:** Includes tools for
working with timeframe strings:
- **Build & Split (`buildTF`, `splitTF`):** Functions to
programmatically construct valid Pine Script timeframe
strings (e.g., "4H") and parse them back into their
numeric and unit components.
- **Comparison (`isHigherTF`, `isActiveTF`, `isLowerTF`):**
A set of functions to check if a given timeframe is
higher, lower, or the same as the script's active timeframe.
- **Multiple Validation (`isMultipleTF`):** Checks if a
higher timeframe is a practical multiple of the current
timeframe. This is based on the assumption that checking
if recent, completed HTF periods contained more than one
bar is a valid proxy for preventing data gaps.
4.  **Timestamp Interpolation:** Contains an `interpTimestamp()`
function that calculates an absolute timestamp by
interpolating at a given percentage across a specified
range of bars (e.g., 50% of the way through the last
20 bars), enabling time calculations at a resolution
finer than the chart's native bars.
---
**DISCLAIMER**
This library is provided "AS IS" and for informational and
educational purposes only. It does not constitute financial,
investment, or trading advice.
The author assumes no liability for any errors, inaccuracies,
or omissions in the code. Using this library to build
trading indicators or strategies is entirely at your own risk.
As a developer using this library, you are solely responsible
for the rigorous testing, validation, and performance of any
scripts you create based on these functions. The author shall
not be held liable for any financial losses incurred directly
or indirectly from the use of this library or any scripts
derived from it.
 buildTF(quantity, unit) 
  Builds a Pine Script timeframe string from a numeric quantity and a unit enum.
The resulting string can be used with `request.security()` or `input.timeframe`.
  Parameters:
     quantity (int) : series int     Number to specifie how many `unit` the timeframe spans.
     unit (series TFUnit) : series TFUnit  The size category for the bars.
  Returns: series string  A Pine-style timeframe identifier, e.g.
"5S"   → 5-seconds bars
"30"   → 30-minute bars
"120"  → 2-hour bars
"1D"   → daily bars
"3M"   → 3-month bars
"24M"  → 2-year bars
 splitTF(tf) 
  Splits a Pine‑timeframe identifier into numeric quantity and unit (TFUnit).
  Parameters:
     tf (string) : series string   Timeframe string, e.g.
"5S", "30", "120", "1D", "3M", "24M".
  Returns:  
quantity   series int     The numeric value of the timeframe (e.g., 15 for "15", 3 for "3M").
unit       series TFUnit  The unit of the timeframe (e.g., TFUnit.minutes, TFUnit.months).
Notes on strings without a suffix:
• Pure digits are minutes; if divisible by 60, they are treated as hours.
• An "M" suffix is months; if divisible by 12, it is converted to years.
 autoHTF(tf) 
  Picks an appropriate **higher timeframe (HTF)** relative to the selected timeframe.
It steps up along a coarse ladder to produce sensible jumps for top‑down analysis.
Mapping → chosen HTF:
≤  1 min  →  60  (1h)          ≈ ×60
≤  3 min  → 180  (3h)          ≈ ×60
≤  5 min  → 240  (4h)          ≈ ×48
≤ 15 min  →  D   (1 day)       ≈ ×26–×32   (regular session 6.5–8 h)
> 15 min  →  W   (1 week)      ≈ ×64–×80 for 30m; varies with input
≤  1 h    →  W   (1 week)      ≈ ×32–×40
≤  4 h    →  M   (1 month)     ≈ ×36–×44   (~22 trading days / month)
>  4 h    →  3M  (3 months)    ≈ ×36–×66   (e.g., 12h→×36–×44; 8h→×53–×66)
≤  1 day  →  3M  (3 months)    ≈ ×60–×66   (~20–22 trading days / month)
>  1 day  → 12M  (1 year)      ≈ ×(252–264)/quantity
≤  1 week → 12M  (1 year)      ≈ ×52
>  1 week → 48M  (4 years)     ≈ ×(208)/quantity
=  1 M    → 48M  (4 years)     ≈ ×48
>  1 M    → error ("HTF too big")
any       → error ("HTF too big")
Notes:
• Inputs in months or years are restricted: only 1M is allowed; larger months/any years throw.
• Returns a Pine timeframe string usable in `request.security()` and `input.timeframe`.
  Parameters:
     tf (string) : series string   Selected timeframe (e.g., "D", "240", or `timeframe.period`).
  Returns: series string   Suggested higher timeframe.
 autoLTF(tf) 
  Selects an appropriate **lower timeframe LTF)** for intra‑bar evaluation
based on the selected timeframe. The goal is to keep intra‑bar
loops performant while providing enough granularity.
Mapping → chosen LTF:
≤  1 min  →  1S      ≈ ×60
≤  5 min  →  5S      ≈ ×60
≤ 15 min  → 15S      ≈ ×60
≤ 30 min  → 30S      ≈ ×60
> 30 min  → 60S (1m) ≈ ×31–×59   (for 31–59 minute charts)
≤  1 h    →  1  (1m) ≈ ×60
≤  2 h    →  2  (2m) ≈ ×60
≤  4 h    →  5  (5m) ≈ ×48
>  4 h    → 15 (15m) ≈ ×24–×48   (e.g., 6h→×24, 8h→×32, 12h→×48)
≤  1 day  → 15 (15m) ≈ ×26–×32   (regular sessions ~6.5–8h)
>  1 day  → 60 (60m) ≈ ×(26–32)  per day × quantity
≤  1 week → 60 (60m) ≈ ×32–×40   (≈5 sessions of ~6.5–8h)
>  1 week → 240 (4h) ≈ ×(8–10)   per week × quantity
≤  1 M    → 240 (4h) ≈ ×33–×44   (~20–22 sessions × 6.5–8h / 4h)
≤  3 M    →  D  (1d) ≈ ×(20–22)  per month × quantity
>  3 M    →  W  (1w) ≈ ×(4–5)    per month × quantity
≤  1 Y    →  W  (1w) ≈ ×52
>  1 Y    →  M  (1M) ≈ ×12       per year × quantity
Notes:
• Ratios for D/W/M are given as ranges because they depend on
**regular session length** (typically ~6.5–8h, not 24h).
• Returned strings can be used with `request.security()` and `input.timeframe`.
  Parameters:
     tf (string) : series string   Selected timeframe (e.g., "D", "240", or timeframe.period).
  Returns: series string   Suggested lower TF to use for intra‑bar work.
 isNewPeriod(tf, offset) 
  Returns `true` when a new session-aligned period begins, or on the Nth bar of that period.
  Parameters:
     tf (string) : series string  Target higher timeframe (e.g., "D", "W", "M").
     offset (simple int) : simple int     0 → checks for the first bar of the new period.
1+ → checks for the N-th bar of the period.
  Returns: series bool    `true` if the condition is met.
 sinceNewPeriod(tf, offset) 
  Counts how many bars have passed within a higher timeframe (HTF) period.
For daily, weekly, and monthly resolutions, the period is aligned with the trading session.
  Parameters:
     tf (string) : series string  Target parent timeframe (e.g., "60", "D").
     offset (simple int) : simple int     0  → Running count for the current period.
1+ → Finalized count for the Nth most recent *completed* period.
  Returns: series int     Number of bars.
 isHigherTF(tf, main) 
  Returns `true` when the selected timeframe represents a
higher resolution than the active timeframe.
  Parameters:
     tf (string) : series string  Selected timeframe.
     main (bool) : series bool    When `true`, the comparison is made against the chart's main timeframe
instead of the script's active timeframe. Optional. Defaults to `false`.
  Returns: series bool    `true` if `tf` > active TF; otherwise `false`.
 isActiveTF(tf, main) 
  Returns `true` when the selected timeframe represents the
exact resolution of the active timeframe.
  Parameters:
     tf (string) : series string  Selected timeframe.
     main (bool) : series bool    When `true`, the comparison is made against the chart's main timeframe
instead of the script's active timeframe. Optional. Defaults to `false`.
  Returns: series bool    `true` if `tf` == active TF; otherwise `false`.
 isLowerTF(tf, main) 
  Returns `true` when the selected timeframe represents a
lower resolution than the active timeframe.
  Parameters:
     tf (string) : series string  Selected timeframe.
     main (bool) : series bool    When `true`, the comparison is made against the chart's main timeframe
instead of the script's active timeframe. Optional. Defaults to `false`.
  Returns: series bool    `true` if `tf` < active TF; otherwise `false`.
 isMultipleTF(tf) 
  Returns `true` if the selected timeframe (`tf`) is a practical multiple
of the active skript's timeframe. It verifies this by checking if `tf` is a higher timeframe
that has consistently contained more than one bar of the skript's timeframe in recent periods.
The period detection is session-aware.
  Parameters:
     tf (string) : series string  The higher timeframe to check.
  Returns: series bool    `true` if `tf` is a practical multiple; otherwise `false`.
 interpTimestamp(offStart, offEnd, pct) 
  Calculates a precise absolute timestamp by interpolating within a bar range based on a percentage.
This version works with RELATIVE bar offsets from the current bar.
  Parameters:
     offStart (int) : series int    The relative offset of the starting bar (e.g., 10 for 10 bars ago).
     offEnd (int) : series int    The relative offset of the ending bar (e.g., 1 for 1 bar ago). Must be <= offStart.
     pct (float) : series float  The percentage of the bar range to measure (e.g., 50.5 for 50.5%).
Values are clamped to the   range.
  Returns: series int    The calculated, interpolated absolute Unix timestamp in milliseconds.
HTF
AG Pro Trading Suite V572🏆 AG Pro Trading Suite V572  
This is the definitive, all-in-one trading ecosystem.
The AG Pro Trading Suite is the result of years of development, designed to be the central nervous system for your trading operation. It moves beyond static indicators to provide a living, adaptive decision-support framework. It is designed for the serious trader who demands professional-grade tools and seeks to manage the entire trading process—from macro analysis to portfolio management—within a single, unified interface.
This is not just an indicator; it is your new command center.
The Core Philosophy: Adaptive Intelligence
The fundamental problem with most trading tools is their static nature. A setting that works in a bull market fails spectacularly in a range. The AG Pro Suite is built to solve this.
At its heart is the 🧠 Dynamic Alpha Engine (AI). This is not a simple "signal." It is a learning-capable system that actively monitors its own performance.
Real-Time Back-Evaluation: The script constantly analyzes the historical success rate and Risk/Reward (R:R) of its most recent signals.
Dynamic Weighting: Based on this performance data, the AI dynamically re-calibrates the weighting of all core components (RSI, MACD, SMC, OBV, etc.).
Market Adaptability: If the market starts favoring momentum, the AI will intelligently increase the weight of trend-following components. If the market turns choppy, it learns to trust mean-reversion signals more. This is true, adaptive intelligence, happening live on your chart.
Unmatched, Integrated Modules
The AG Pro Suite is a collection of powerful, interconnected modules that work in harmony.
1. The 🔄 'Smart Swap' Portfolio Analyzer
Move beyond single-asset analysis and start managing your capital. This professional-grade module provides insights previously reserved for prop desks.
Portfolio Input: Manually enter your current portfolio holdings (e.g., 1.5 BTC, 20 ETH, 5000 SOL).
Background Scanning: The script scans a "Reserve Coin" list (fully customizable by you) in the background, analyzing their relative performance and AI trend scores.
Actionable Suggestions: If it finds an underperforming asset in your portfolio with a weak AI score, and simultaneously finds a "reserve" coin with powerful momentum and a high score, it will provide a clear, actionable "Smart Swap" suggestion. This is active capital management, built directly into your chart.
2. The 🏛️ Automated SMC & Charting Suite
Stop drawing boxes all day. The suite automates the most critical elements of Smart Money Concepts, keeping your charts clean and your analysis sharp.
Market Structure Breaks (BOS): Automatically detects and plots valid Breaks of Structure to confirm the prevailing trend direction.
Liquidity Sweeps (💰): Instantly identifies and marks high/low liquidity sweeps with a '💰' icon, highlighting potential stop-hunts and high-probability reversal zones.
Fair Value Gaps (FVG): Finds and plots bullish/bearish imbalances (FVGs) in real-time, showing you the "magnets" that price may be drawn to.
3. The ⚙️ Dual-Profile System
A black box is useless. The AG Pro Suite adapts to both the asset and you.
Coin Profiles: Instantly select the asset's volatility class (e.g., "1: Stable (BTC, ETH)," "2: Fast L1 (SOL, AVAX)," or "3: Volatile (FET, BONK)"). This tunes the script's base-level sensitivity.
Risk Profiles: Select your trading style (e.g., "1: Düşük (Trader/Scalp)," "2: Orta (Swing)," or "3: Yüksek (Agresif/Trend)").
When you change your profile, the entire script logic—from AI sensitivity to SL/TP calculations—instantly adjusts.
The Unified Dashboard: Your Command Center
Clarity is profit. All this intelligence is synthesized into one clean, actionable dashboard.
It provides a final AI Score (0-100) and, more importantly, a Signal Quality Index (SQI), which measures the conviction of a signal.
The dashboard culminates in the 💡 A-Z Action Plan. This section synthesizes all data into a complete, actionable trade idea, providing:
Trade Bias: A clear "Strong Bullish," "Bearish," or "Risky (No-Trade)" rating.
Calculated Levels: Key Support and Resistance levels pulled from multiple timeframes.
Long Plan: A complete plan with 3 Take Profit targets and a calculated Stop Loss level.
Short Plan: A complete plan with 3 Take Profit targets and a calculated Stop Loss level.
Position Sizing: Automatically calculates the exact position size (in units of the asset) for both long and short plans, based on your selected Risk Profile.
Performance & Reliability
Performance 'Turbo Mode': A tool this powerful could be slow. We engineered "Turbo Mode," which intelligently disables all background calculations for dashboard elements you have hidden. This ensures a fast, fluid, and non-lagging chart experience.
Non-Repainting Logic: This script is built for professional use. All primary signals, alerts, dashboard scores, and strategy logic are non-repainting. They fire on confirmed bar closes to provide stable, reliable, and backtestable data.
How to Use
Configure: Select your Coin Profile and Risk Profile.
Analyze: Review the Dashboard. Check the Final Score, the Signal Quality (SQI), and the HTF confirmation row.
Execute: If the signal is high-quality (e.g., Score > 80, SQI > 85), review the Action Plan. Use its calculated TP, SL, and Position Size to build your trade with full confidence.
Disclaimer: This is an advanced decision-support tool, not a financial advisory service. It is designed to provide institutional-grade data and analysis for informational and educational purposes. All trading involves substantial risk. Past performance, whether in backtests or real-time, is not indicative of future results. You, and you alone, are solely responsible for all trading decisions you make.
AEON | Liquidity HunterA visual tool for identifying high-probability liquidity zones across multiple timeframes and sessions. 
 Overview 
Liquidity Hunter is a multi-timeframe, all market tool designed to help traders visualise areas where price may be drawn in search of resting liquidity. These liquidity zones often align with swing highs and lows, session extremes, or significant higher-time-frame reference points.
Rather than producing entry or exit signals, this indicator aims to support market behaviour analysis and contextual awareness.
 Core Functions 
The indicator identifies potential liquidity areas using four optional methods:
1. Current Time Frame Analysis – Automatically locates swing highs and lows based on a customisable setting for sensitivity and lookback depth.
2. Higher Time Frame Analysis – Uses the same logic as above, but projects liquidity zones from a selected higher time frame (HTF).
3. Session Highs & Lows – Highlights the Asian, London, New York, or user-defined session extremes where liquidity commonly pools.
4. Time-Based Highs & Lows – Marks the final bar of any higher time frame (for example, the last H4 or D1 candle) to show potential liquidity reference points.
Each method can be enabled or disabled independently and visually customised, allowing traders to tailor the display to their preferred style and time frame. 
 How to Use 
When applied, the indicator plots horizontal levels representing potential liquidity pools. These levels persist until price engages with or mitigates them, at which point users can opt to modify their visual style or delete them as preferred.
Adjusting the sensitivity of the current and higher time frame levels may reflect the market's likelihood of treating them as targets or reversal points.
Many traders combine these levels with concepts such as market structure shifts, displacement, or fair-value gaps to build a narrative around price behaviour.
 Disclaimer 
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a trade signal. Past performance or visual confluence does not guarantee future results.
---
 About the Author 
Created by a passionate developer focused on algorithmic and quantitative concepts.
HTF Candles with PVSRA Volume Coloring (PCS Series)This indicator displays higher timeframe (HTF) candles using a PVSRA-inspired color model that blends price and volume strength, allowing traders to visualize higher-timeframe activity directly on lower-timeframe charts without switching screens.
 OVERVIEW 
This script visualizes higher-timeframe (HTF) candles directly on lower-timeframe charts using a custom PVSRA (Price, Volume & Support/Resistance Analysis) color model.
Unlike standard HTF indicators, it aggregates real-time OHLC and volume data bar-by-bar and dynamically draws synthetic HTF candles that update as the higher-timeframe bar evolves.
This allows traders to interpret momentum, trend continuation, and volume pressure from broader market structures without switching charts.
 INTEGRATION LOGIC 
This script merges higher-timeframe candle projection with PVSRA volume analysis to provide a single, multi-timeframe momentum view.
The HTF structure reveals directional context, while PVSRA coloring exposes the underlying strength of buying and selling pressure.
By combining both, traders can see when a higher-timeframe candle is building with strong or weak volume, enabling more informed intraday decisions than either tool could offer alone.
 HOW IT WORKS 
 
 Aggregates price data : Groups lower-timeframe bars to calculate higher-timeframe Open, High, Low, Close, and total Volume.
 Applies PVSRA logic : Compares each HTF candle’s volume to the average of the last 10 bars:
  • >200% of average = strong activity
  • >150% of average = moderate activity
  • ≤150% = normal activity
 Assigns colors :
  •  Green/Blue  = bullish high-volume
  •  Red/Fuchsia  = bearish high-volume
  •  White/Gray  = neutral or low-volume moves
 Draws dynamic outlines : Outlines update live while the current HTF candle is forming.
 Supports symbol override : Calculations can use another instrument for correlation analysis.
 
This multi-timeframe aggregation avoids repainting issues in  request.security()  and ensures accurate real-time HTF representation.
 FEATURES 
 
 Dual HTF Display : Visualize two higher timeframes simultaneously (e.g., 4H and 1D).
 Dynamic PVSRA Coloring : Volume-weighted candle colors reveal bullish or bearish dominance.
 Customizable Layout : Adjust candle width, spacing, offset, and color schemes.
 Candle Outlines : Highlight the forming HTF candle to monitor developing structure.
 Symbol Override : Display HTF candles from another instrument for cross-analysis.
 
 SETTINGS 
 
 HTF 1 & HTF 2 : enable/disable, set timeframes, choose label colors, show/hide outlines.
 Number of Candles : choose how many HTF candles to plot (1–10).
 Offset Position : distance to the right of the current price where HTF candles begin.
 Spacing & Width : adjust separation and scaling of candle groups.
 Show Wicks/Borders : toggle wick and border visibility.
 PVSRA Colors : enable or disable volume-based coloring.
 Symbol Override : use a secondary ticker for HTF data if desired.
 
 USAGE TIPS 
 
 Set the indicator’s visual order to “Bring to front.”
 Always choose HTFs higher than your active chart timeframe.
 Use PVSRA colors to identify strong momentum and potential reversals.
 Adjust candle spacing and width for your chart layout.
 Outlines are not shown on chart timeframes below 5 minutes.
 
 TRADING STRATEGY 
 
 Strategy Overview : Combine HTF structure and PVSRA volume signals to
 • Identify zones of high institutional activity and potential reversals.
 • Wait for confirmation through consolidation or a pullback to key levels.
 • Trade in alignment with dominant higher-timeframe structure rather than chasing volatility.
 Setup :
 • Chart timeframe: lower (5m, 15m, 1H)
 • HTF 1: 4H or 1D
 • HTF 2: 1D or 1W
 • PVSRA Colors: enabled
 • Outlines: enabled
 Entry Concept :
High-volume candles (green or red) often indicate  market-maker activity , such zones often reflect liquidity absorption by larger players and are not necessarily ideal entry points.
Wait for the next consolidation or pullback toward a support or resistance level before acting.
 Bullish scenario :
 • After a high-volume or rejection candle near a low, price consolidates and forms a higher low.
 • Enter long only when structure confirms strength above support.
 Bearish scenario :
 • After a high-volume or rejection candle near a top, price consolidates and forms a lower high.
 • Enter short once resistance holds and momentum weakens.
 Exit Guidelines :
 • Exit when next HTF candle shifts in color or momentum fades.
 • Exit if price structure breaks opposite to your trade direction.
 • Always use stop-loss and take-profit levels.
 Additional Tips :
 • Never enter directly on strong green/red high-volume candles, these are usually areas of institutional absorption.
 • Wait for market structure confirmation and volume normalization.
 • Combine with RSI, moving averages, or support/resistance for timing.
 • Avoid trading when HTF candles are mixed or low-volume (unclear bias).
 • Outlines hidden below 5m charts.
 Risk Management :
 • Use stop-loss and take-profit on all positions.
 • Limit risk to 1–2% per trade.
 • Adjust position size for volatility.
 
 FINAL NOTES 
This script helps traders synchronize lower-timeframe execution with higher-timeframe momentum and volume dynamics.
Test it on demo before live use, and adjust settings to fit your trading style.
 DISCLAIMER 
This script is for educational purposes only and does not constitute financial advice.
 SUPPORT & UPDATES 
Future improvements may include alert conditions and additional visualization modes. Feedback is welcome in the comments section.
 CREDITS & LICENSE 
Created by  @seoco  — open source for community learning.
Licensed under  Mozilla Public License 2.0 .
HTF Fibonacci on intraday ChartThis indicator plots Higher Timeframe (HTF) Fibonacci retracement levels directly on your intraday chart, allowing you to visualize how the current price action reacts to key retracement zones derived from the higher timeframe trend.
 Concept 
Fibonacci retracement levels are powerful tools used to identify potential support and resistance zones within a price trend.
However, these levels are often calculated on a higher timeframe (like Daily or Weekly), while most traders execute entries on lower timeframes (like 15m, 30m, or 1H).
This indicator bridges that gap — it projects the higher timeframe’s Fibonacci levels onto your current intraday chart, helping you see where institutional reactions or swing pivots might occur in real time.
  How It Works 
 Select the Higher Timeframe (HTF) 
You can choose which higher timeframe the Fibonacci structure is derived from — default is Daily.
 Define the Lookback Period 
The script looks back over the chosen number of bars on the higher timeframe to find the highest high and lowest low — the base for Fibonacci calculations.
Plots Key Fibonacci Levels Automatically:
0% (Low)
23.6%
38.2%
50.0%
61.8%
78.6%
100% (High)
Dynamic Labels
Each Fibonacci level is labelled on the latest bar, updating in real time as new data forms on the higher timeframe.
 Best Used For 
Intraday traders who want to align lower-timeframe entries with higher-timeframe structure.
Swing traders confirming price reactions around major Fibonacci retracement zones.
Contextual analysis for pullback entries, breakout confirmations, or retests of key levels.
 Recommended Settings 
Higher Timeframe: Daily (for intraday analysis)
Lookback: 50 bars (adjust based on volatility)
Combine with MACD, RSI, CPR, or Pivots for confluence.
  License & Credits 
Created and published for educational and analytical purposes.
Inspired by standard Fibonacci analysis practices.
High Time Frame (HTF) Swing PointsIdentify and display swing highs and lows across multiple higher timeframes on a chart, overlaying horizontal lines and customizable labels at these swing points.
 Timeframes 
 
 Five user-defined higher timeframes (default settings: 5-minute, 15-minute, 1-hour, 4-hour, and daily)
 Manually show/hide individual timeframes
 When chart’s timeframe is set higher than one of the five configured, the indicator will automatically hide it.  This helps to prevent clutter when navigating between timeframes on the chart
 
 Swing Levels 
 
 Configure the line color, opacity, width and weather it’s solid/dotted/dashed
 Once swing levels are identified, the indicator will look for the chart candle where the line starts
 When price crosses the swing level, the line will be terminated
 
 Tags 
 
 Customize the tag text for each individual timeframe, using blank if a tag is not desired for that timeframe
 A tag text color can be set for all tags or base it on the line color
 Set tag text size based on:  Auto, Tiny, Small, Normal, Large
 Choose how far to the right of the line the tag text should appear, as an integer representing the size of a candle
 Choose to clear the tag or leave it in place after price crosses a swing level
 
 Use Cases 
 
 Visualize key swing points from higher timeframes to identify potential reversal or breakout zones
 Identify possible low resistance liquidity run (LRLR) areas
 Use swing points for stop placement or as targets or draws on liquidity
Phato Candle ProjectionsPhato Candle ProjectionsPhato Candle ProjectionsPhato Candle ProjectionsPhato Candle ProjectionsPhato Candle ProjectionsPhato Candle ProjectionsPhato Candle ProjectionsPhato Candle ProjectionsPhato Candle Projections
$ - HTF Sweeps & PO3HTF Sweeps & PO3 Indicator 
The HTF Sweeps & PO3 indicator is a powerful tool designed for traders to visualise higher timeframe (HTF) candles, identify liquidity sweeps, and track key price levels on a lower timeframe (LTF) chart. Built for TradingView using Pine Script v6, it overlays HTF candle data and highlights significant price movements, such as sweeps of previous highs or lows, to help traders identify potential liquidity sweep and reversal points. The indicator is highly customisable, offering a range of visual and alert options to suit various trading strategies.
 Features 
 
 Higher Timeframe (HTF) Candle Visualisation:
 
- Displays up to three user-defined HTF candles (e.g., 15m, 1H, 4H) overlaid on the LTF chart.
- Customisable candle appearance with adjustable size (Tiny to Huge), offset, spacing, and colours for bullish/bearish candles and wicks.
- Option to show timeframe labels above or below HTF candles with configurable size and position.
 
 Liquidity Sweep Detection:
 
- Identifies bullish and bearish sweeps when price moves beyond the high or low of a previous HTF candle and meets specific conditions.
- Displays sweeps on both LTF and HTF with customisable line styles (Solid, Dashed, Dotted), widths, and colours.
- Option to show only the most recent sweep per candle to reduce chart clutter.
 
 Invalidated Sweep Tracking:
 
- Detects and visualises invalidated sweeps (when price moves past a sweep level in the opposite direction).
- Configurable display for invalidated sweeps on LTF and HTF with distinct line styles and colours.
 
 Previous High/Low Lines:
 
- Plots horizontal lines at the high and low of the previous HTF candle, extending on both LTF and HTF.
- Customisable line style, width, and color for easy identification of key levels.
- Real-Time Sweep Detection:
-Optional real-time sweep visualisation for active candles, enabling traders to monitor developing price action.
 
 Alert System:
 
- Triggers alerts for sweep formation (when a new sweep is detected).
- Triggers alerts for sweep invalidation (when a sweep is no longer valid).
- Alerts include details such as timeframe, ticker, and price level for precise notifications.
 
 Performance Optimisation:
 
- Efficiently manages resources with configurable limits for lines, labels, boxes, and bars (up to 500 each).
- Cleans up outdated visual elements to maintain chart clarity.
 
 Flexible Configuration:
 
- Supports multiple timeframes for HTF candles with user-defined settings for visibility and number of candles displayed (1–60).
- Toggle visibility for HTF candles, sweeps, invalidated sweeps, and high/low lines independently for LTF and HTF.
This indicator is ideal for traders focusing on liquidity hunting, order block analysis, or price action strategies, providing clear visual cues and alerts to enhance decision-making.
HTF Swing High and Low pivotsIndicator plots the swing high and low point from the chosen time frame. Solid lines are active levels, dashed lines are broken levels. Levels can be seen on low timeframes. Stack of levels act as a magnet for price to move to (not always, but most of the time). Look for reversals in these areas.
HTF Big Candle ProjectionsWhat it does
This indicator overlays higher-timeframe (HTF) “big candles” at the right edge of any chart and keeps them perfectly parallel with price while you zoom or pan. In End-of-Chart (EOC) mode, all objects are anchored by bar index (not time) and clamped to TradingView’s ≤500 bars into the future rule, so they move 1:1 with the chart—no drift, no lag. A fallback mode preserves time-anchored labels if you prefer them.
Why it’s different / useful
Most MTF overlays drift when you scale or pan because they anchor by time or mix coordinate systems. This script anchors every end-of-chart object (bodies, wicks, OHLC guide lines, labels, range readout) in bar-index space, so the overlay scales identically to real bars. It also includes a safe-clamp to the 500-bar forward limit, automatic TF mapping for D/W/M charts, and optional projections from the previous HTF candle.
How it works (technical overview)
HTF data: The indicator fetches HTF OHLC using request.security() (no lookahead) and updates the current HTF candle live on each chart bar.
EOC placement (ON): Big candles are rendered with index-anchored boxes + wicks (box.new + line.new). X-positions are computed from bar_index + offset, then clamped to stay within the forward limit.
Fallback placement (OFF): Label coordinates switch to time-anchored for familiarity; candle bodies remain parallel via index logic.
OHLC helpers: Optional high/low/close guide lines extend right from the active HTF candle; OHLC labels and a range label can be placed to the side; a remaining-time widget shows how long until the HTF bar closes.
No lookahead / repaint caveat: The current HTF candle naturally evolves until it closes; that’s expected behavior for real-time HTF overlays.
Inputs & features
Place at end of chart (EOC mode toggle): index-anchored layout with ≤500-bar clamp.
Right Candle Timeframe: auto-map for D/W/M (D→W, W→M, M→3M) or set manually.
Offsets & width: right-edge offset (bars), left-candle offset, body width (bars), minimum gap between candles.
Wicks: show/hide (fallback mode draws wicks; index mode draws them via lines).
OHLC guide lines: toggle H/L/C, choose style/width/color, with right-side projection distance.
OHLC labels: side selection, text size, background/text colors, side offset.
Range label: toggle, side offset, size; option to show pip units (1/mintick).
Prev candle projections: optional HTF high/low lines from the left candle.
Remaining-time panel: live countdown to the HTF bar close.
Colors: bullish/bearish bodies and wicks.
How to use
Add to any chart (works best on intraday charts when viewing D/W/M candles).
Keep “Place at end of chart” ON for perfect parallel tracking while zooming/panning.
Choose Right Candle Timeframe (or use auto for D/W/M).
Adjust Body Width and Label/Line Offsets to taste. If you push offsets too far, the script auto-clamps objects to respect the 500-bar forward limit.
Optionally enable Prev Candle HL projections, OHLC labels, and the Range readout.
Publish with a clean chart so the overlay is easy to understand at a glance.
Notes & limitations
Forward plotting limit: TradingView only allows drawing ≤500 bars into the future. The script clamps all end-of-chart objects automatically; if you request more, it will shorten projections to remain compliant.
Sessions & symbols: Exotic sessions or illiquid symbols may produce uneven HTF boundaries. If needed, set the Right Candle Timeframe manually.
No signals, no promises: This is a visualization tool—it does not generate trade signals or promise performance. Use it alongside your own analysis and risk management.
Settings quick reference
EOC mode: ON (index-anchored) / OFF (time-anchored labels).
Right Candle TF: Auto D→W→M→3M or manual TF.
Offsets: Right edge, left candle, label/range/line projections.
Body Width: Candle thickness in bars.
Lines/Labels: OHLC guides, OHLC labels, Range label.
Prev HL: Previous HTF high/low projections.
Timer: Remaining time in the current HTF bar.
Colors: Bull/Bear bodies, wicks.
Disclaimer
For educational purposes only. Not financial advice. Past performance does not guarantee future results. Always test on your own and trade responsibly.
Author’s note on originality
This script focuses on bar-index anchored EOC rendering with comprehensive forward-clamping and dual label modes, aiming to solve the common drift/desync issues seen in MTF overlays during chart scaling.
MAxRSI Signals [KedArc Quant]Description:
MAxRSI Indicator Marks LONG/SHORT signals from a Moving Average crossover and (optionally) confirms them with RSI. Includes repaint-safe confirmation, optional higher-timeframe (HTF) smoothing, bar coloring, and alert conditions.
Why combine MA + RSI
* The MA crossover is the primary trend signal (fast trend vs slow trend).
* RSI is a gate, not a second, separate signal. A crossover only becomes a trade signal if momentum agrees (e.g., RSI ≥ level for LONG, ≤ level for SHORT). This reduces weak crosses in ranging markets.
* The parts are integrated in one rule: *Crossover AND RSI condition (if enabled)* → plot signal/alert. No duplicated outputs or unrelated indicators.
How it works (logic)
* MA types: SMA / EMA / WMA / HMA (HMA is built via WMA of `len/2` and `len`, then WMA with `sqrt(len)`).
* Signals:
* LONG when *Fast MA crosses above Slow MA* and (if enabled) *RSI ≥ Long Min*.
* SHORT when *Fast MA crosses below Slow MA* and (if enabled) *RSI ≤ Short Max*.
* Repaint-safe (optional): confirms crosses on closed bars to avoid intrabar repaint.
* HTF (optional): computes MA/RSI on a higher timeframe to smooth noise on lower charts.
* Alerts: crossover alerts + state-flip (bull↔bear) alerts.
How to use (step-by-step)
1. Add to chart. Set MA Type, Fast and Slow (keep Fast < Slow).
2. Turn Use RSI Filter ON for confirmation (default: RSI 14 with 50/50 levels).
3. (Optional) Turn Repaint-Safe ON for close-confirmed signals.
4. (Optional) Turn HTF ON (e.g., 60 = 1h) for smoother signals on low TFs.
5. Enable alerts: pick “MAxRSI Long/Short” or “Bullish/Bearish State”.
Timeframe guidance
* Intraday (1–15m): EMA 9–20 fast vs EMA 50 slow, RSI filter at 50/50.
* Swing (1h–D): EMA 20 fast vs EMA 200 slow, RSI 50/50 (55/45 for stricter).
What makes it original
* Repaint-safe cross confirmation (previous-bar check) for reliable signals/alerts.
* HTF gating (doesn’t compute both branches) for speed and clarity.
* Warning-free MA helper (precomputes SMA/EMA/WMA/HMA each bar), HMA built from built-ins only.
* State-flip alerts and optional RSI overlay on price pane.
Built-ins used
`ta.sma`, `ta.ema`, `ta.wma`, (HMA built from these), `ta.rsi`, `ta.crossover`, `ta.crossunder`, `request.security`, `plot`, `plotshape`, `barcolor`, `alertcondition`, `input.*`, `math.*`.
Note: Indicator only (no orders). Test settings per symbol. Not financial advice.
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Signal Generator: HTF EMA Momentum + MACDSignal Generator: HTF EMA Momentum + MACD
What this script does
This indicator combines a higher-timeframe EMA trend filter with a MACD crossover on the chart’s timeframe. The goal is to make MACD signals more selective by checking whether they occur in the same direction as the broader trend.
How it works
- On the higher timeframe, two EMAs are calculated (short and long). Their difference is used as a simple momentum measure.
- On the chart timeframe, the MACD is calculated. Crossovers are then filtered with two conditions:
   1.They must align with the higher-timeframe EMA trend.
   2.They must occur beyond a small “zero band” threshold, with a minimum distance between MACD and signal lines.
- When both conditions are met, the script can plot BUY or SELL labels. ATR is used only to shift labels up or down for visibility.
Visuals and alerts
- Histogram bars show whether higher-timeframe EMA momentum is rising or falling.
- MACD main and signal lines are plotted with optional scaling.
- Dotted lines show the zero band region.
- Optional large BUY/SELL labels appear when conditions are confirmed on the previous bar.
- Alerts can be enabled for these signals; they trigger once per bar close.
Notes and limitations
- Higher-timeframe values are only confirmed once the higher-timeframe candle has closed.
- Scaling factors affect appearance only, not the logic.
- This is an open-source study intended as a learning and charting tool. It does not provide financial advice or guarantee performance.
HTF Candles HTF Candles
Features
• 1-minute, 5-minute, 1-hour, 4-hour, and previous-day daily candles
• Visualizes the remaining time and number of candles from the lower timeframe that form the next higher-timeframe candle.”
•
Pipnotic HTF BarsDescription: 
Pipnotic HTF Bars projects higher-timeframe (HTF) candles to the right of current price so you can “peek ahead” with clean, fixed-width silhouettes. The latest HTF bar updates live until it closes; completed HTF bars are frozen and kept in a tidy row to the right. Bodies inherit up/down colours, wicks sit on the body edge (no line through the body), and transparency/borders are configurable for a lightweight, elegant overlay.
 How It Works: 
 
 The script reads true HTF opens via  request.security  and detects new HTF boundaries precisely.
 Completed HTF bars are captured with look ahead off and stored; they never repaint.
 The current HTF bar uses look ahead on and updates tick-by-tick until the next HTF bar begins.
 Each candle is drawn as a fixed bar-index width box and wick, anchored a set number of bars to the right of the chart, then spaced evenly.
 
 Visualization and Management: 
 
 Candles are rendered as boxes (bodies) plus edge-wicks (coloured to match the body).
 You choose how many completed HTF candles to keep visible; older ones are automatically pruned.
 Width, spacing, transparency, and borders make the projection readable without cluttering price.
 Designed to stay performant and within TradingView’s shape limits.
 
 Key Features & Inputs: 
 
 Higher Timeframe (HTF): W, D, 240, 120, 60, 30, 15.
 Live Current Bar: The most recent HTF candle updates until it closes (no duplicate static bar).
 Number of Candles: Keep the last N completed HTF candles to the right.
 
 Fixed Projection Geometry: 
 
 Projected width (bars) : set a constant visual width per candle.
 Gap (bars) : spacing between projected candles.
 Right shift : anchor the projection a fixed distance beyond the latest bar.
 Styling : Up/Down colours, body transparency, optional borders, wicks coloured same as body and drawn from body edge → high/low (never through the body).
 Overlay : Works on any symbol and chart timeframe.
 
 Enhanced Visualization: 
 
 Edge-wicks align visually with the close side of the body, producing a crisp, unobstructed read of range (H–L) and direction (O→C).
 Fixed widths and even spacing create a timeline-like panel to the right of price, ideal for multi-timeframe context without compressing your main chart.
 Transparency lets you “ghost” the projection so LTF price action remains visible beneath.
 
 Benefits of Using the Pipnotic HTF Script: 
 
 Instant HTF context without switching charts or compressing the main view.
 Non-repainting history: Completed HTF candles are locked the moment a new one starts.
 Cleaner decision surface: Edge-wicks and soft transparency reduce visual noise.
 Time-saving workflow: Scan upcoming HTF structure at a glance (range, bias, progress).
 Configurable & lightweight: Tune width, spacing, and count to fit any layout.
 
 Tip: Using the daily HTF on an hourly or less timeframe and watching as price tests the open of the current day, especially if prices e.g. traded below the open, can provide some great trades as prices move above and retest the open.
HTF Power of Three+ Limitless by Supreme
HTF Power of Three+ Limitless by Supreme
This indicator provides a high fidelity lens into the market's fundamental fractal rhythm.
For the professional trader who understands every candle is a story of accumulation manipulation and distribution this tool transcends the limitations of linear time analysis.
It offers an institutional grade panoramic dashboard of the Power of Three archetype operating seamlessly across any timeframe without constraint.
The core limitation of standard chart analysis is the boundary between timeframes.
This tool dissolves these walls presenting a fluid four dimensional view of market dynamics directly on your chart.
It transforms your perception by offering a continuous unbroken context of the higher timeframe narrative that governs all lower timeframe price action.
This is not merely another visualization tool.
It is a complete solution to the problem of temporal dissonance that plagues most traders.
The standard chart presents a flat fragmented reality.
You are forced to switch between timeframes losing your place and breaking your cognitive flow.
This constant friction degrades the quality of analysis and leads to missed opportunities or flawed execution.
The market is a fractal an infinitely repeating pattern across all scales of time.
Lower timeframe price movements are not random events.
They are the direct consequence of the objectives being pursued on higher timeframes.
To trade without this higher timeframe context is to navigate a storm without a compass guided only by the immediate chaotic waves.
This indicator provides that compass.
The Power of Three is the narrative structure embedded within every candle.
This concept posits that smart money engineers price through a deliberate three phase process.
First is the accumulation phase.
This is a period of relative equilibrium typically around the opening price where large institutions quietly build their positions.
It is the balance before the imbalance the coiling of a spring.
Second is the manipulation phase.
This is the critical judas swing or stop hunt designed to engineer liquidity.
Price is intentionally driven against the true intended direction to trip stop loss orders from breakout traders and induce uninformed participants to take the wrong side of the market.
Their selling becomes the liquidity for institutions to buy at better prices and vice versa.
Third is the distribution phase.
This is the true expansion move where price travels rapidly in the direction of institutional intent.
This is the clean efficient price leg that most trend following systems attempt to capture often after the most advantageous entry point has passed.
Understanding this three part structure is the key to aligning your trades with smart money flow.
This tool makes that entire process visible.
The current live higher timeframe candle is projected onto your chart as it forms.
This is not a static snapshot but a living representation of the ongoing campaign.
Every tick on your lower timeframe chart now has context.
You can see precisely if price is in the initial accumulation phase giving you time to prepare.
You can identify the manipulation phase as it happens allowing you to avoid being trapped or to position yourself for the reversal.
You can confirm the beginning of the distribution phase providing the confidence to engage with the true market move.
The indicator also displays the three previously completed higher timeframe candles.
This is not just historical data.
It is the immediate narrative context.
These three candles reveal the established order flow and the key price levels that matter.
The highs and lows of these candles are not arbitrary points.
They are institutional reference points magnets for liquidity and critical levels for targeting or invalidation.
A manipulation move will often seek the high or low of the previous candle before reversing.
The expansion move will often target the liquidity resting beyond a high or low from two candles prior.
This four candle panoramic view allows for sophisticated narrative construction.
You can build a high probability thesis for the trading session based on the interrelationship of these candles.
For example after a series of strong bullish higher timeframe closes a brief manipulative dip below the prior candle's open becomes a very high probability long entry.
Conversely a failure to expand above the previous candle's high after a strong run may signal exhaustion and an impending reversal.
The tool's architecture is built on a state of the art non redrawing framework.
All visual elements are created once and only their parameters are updated.
This eliminates redraw lag entirely ensuring a fluid instantaneous and seamless experience.
Your analytical environment will remain sharp responsive and completely unburdened even during extreme market volatility.
The engine is unbound by time.
Its logic is perfectly fractal.
A scalper on a one minute chart using a fifteen minute context gains the same clarity and follows the same principles as a swing trader on a daily chart using a weekly context.
The pattern is universal.
This tool makes its application universally accessible.
This is for the trader who is no longer satisfied with looking at the market through a keyhole.
It is for the analyst who demands a complete limitless and flawlessly performing view of the price delivery process.
-
By installing this indicator you move from a fragmented view of price to a holistic four dimensional understanding of the market.
You achieve temporal coherence seeing the cause on the higher timeframe and the effect on the lower timeframe as a single unified process.
You begin to operate without the constraints of conventional charting.
Swing High/Low Levels (Auto Remove)Plots untapped swing high and low levels from higher timeframes. Used for liquidity sweep strategy. Cluster of swing levels are a magnet for price to return to and reverse. Indicator gives option for candle body or wick for sweep to remove lines. 
Swing High/Low Levels (Auto Remove)Plots untapped swing high and low levels from higher timeframes. Used for liquidity sweep strategy. Cluster of swing levels are a magnet for price to return to and reverse. Indicator gives option for candle body or wick for sweep. 
Volume by Time [LuxAlgo]The Volume by Time indicator collects volume data for every point in time over the day and displays the average volume of the specific dataset collected at each respective bar.
The indicator overlays the current volume and the historical average to allow for better comparisons.
 🔶  USAGE 
  
Throughout the day, the volume of every bar is stored in groups organized by the time when each bar occurred.
Over time, the datasets accumulate, and from that, we can simply determine the average value at each specific time of the day.
  
The display is a histogram style, which consists of hollow bars and solid filled columns.
 -Hollow bars represent the average volume at that time of the day.
-Solid columns display the current volume from the current bar. 
  
By default, the entire history of data is used, but if desired, the number of days under analysis can be specified to provide a more relevant point of view.
A readout of the number of days being analyzed can be seen in the status bar at any time.
 Note: Due to partial sessions, it is typical to see this value change throughout the day; this is simply due to the fact that not every trading session has the exact same schedule 100% of the time. 
  
The analysis type can also be specified; these can be either Average (Default) or Median.
  
Additionally, a Bi-directional can be toggled for a distinct difference between upwards volume and downwards volume.
🔶  SETTINGS 
 
 Analysis Type: Choose between Average or Median analysis modes.
 Length (Days): Set the number of days to use for analysis. Set to 0 for full data (Default 0).
 Bi-Directional Toggle: Toggle between one-sided or two-sided display.
cd_SMT_Sweep_CISD_CxGeneral 
This indicator is designed to show trading opportunities after sweeps of higher timeframe (HTF) highs/lows and, if available, Smart Money Technique (SMT) divergence with a correlated asset, followed by confirmation from a lower timeframe change in state delivery (CISD).
Users can track SMT, Sweep, and CISD levels across nine different timeframes.
________________________________________
 Usage and Details 
Commonly correlated timeframes are available in the menu by default. Users can also enter other compatible timeframes manually if necessary.
  
The indicator output is presented as:
•	A summary table
•	Display on HTF candles
•	CISD levels shown as lines
Users can disable any of these from the menu.
Presentations of selected timeframes are displayed only if they are greater than or equal to the active chart timeframe.
From the Show/Hide section, you can control the display of:
•	SMT table
•	Sweep table
•	HTF candles
•	CISD levels
•	HTF boxes aligned with the active timeframe
________________________________________
 SMT Analysis 
To receive analysis, users must enter correlated assets in the menu (or adjust them as needed).
If asset X is paired with correlated asset Y, then a separate entry for Y correlated with X is not required.
Four correlation pairs are included by default. Users should check them according to their broker/exchange or define new ones.
Checkboxes at the beginning of each row allow activation/deactivation of pairs.
  
SMT analysis is performed on the last three candles of each selected HTF.
If one asset makes a new high while the correlated one does not (or one makes a new low while the other does not), this is considered SMT and will be displayed both in the table and on the chart.
Charts without defined correlated assets will not display an SMT table.
________________________________________
 Sweep Analysis 
For the selected timeframes, the current candle is compared with the previous one.
If price violates the previous level and then pulls back behind it, this is considered a sweep. It is displayed in both the table and on the chart.
Within correlated pairs, the analysis is done separately and shown only in the table.
Example with correlated and non-correlated pairs:
  
•	In the table, X = false, ✓ = true.
•	The Sweep Table has two columns for Bullish and Bearish results.
•	For correlated pairs, both values appear side by side.
•	For undefined pairs, only the active asset is shown.
Example 1: EURUSD and GBPUSD pair
•	If both sweep → ✓ ✓
•	If one sweeps, the other does not → ✓ X
•	If neither sweeps → X X
Example 2: AUDUSD with no correlated pair defined
•	If sweep → ✓
•	If no sweep → X
________________________________________
 HTF Candles 
For every HTF enabled by the user, the last three candles (including the current one) are shown on the chart.
SMT and sweep signals are marked where applicable.
________________________________________
 CISD Levels 
For the selected timeframes, bullish and bearish CISD levels are plotted on the chart.
________________________________________
 HTF Boxes 
HTF boxes aligned with the active timeframe are displayed on the chart.
Box border colors change according to whether the active HTF candle is bullish or bearish.
________________________________________
 How to Read the Chart? 
Let’s break down the example below:
  
•	Active asset: Nasdaq
•	Correlated asset: US500 (defined in the menu, confirmed in the table bottom row)
•	Active timeframe: H1 → therefore, the HTF box is shown for Daily
•	Since a correlated pair is defined, the indicator runs both SMT and Sweep analysis for the selected timeframes. Without correlation, only Sweep analysis would be shown.
Table is prepared for H1 and higher timeframes (as per user selection and active TF).
Observations:
•	SMT side → H1 timeframe shows a bearish warning
•	Sweep side → Bearish column shows X and ✓
o	X → no sweep on Nasdaq
o	✓ → sweep on US500
Meaning: US500 made a new high (+ sweep) while Nasdaq did not → SMT formed.
The last column of the table shows the compatible LTF for confirmation.
For H1, it suggests checking the 5m timeframe.
On the chart:
•	CISD levels for selected timeframes are drawn
•	SMT line is marked on H1 candles
•	Next step: move to 5m chart for CISD confirmation before trading (with other confluences).
Similarly, the Daily row in the table shows a Bullish Sweep on US500.
________________________________________
 Alerts 
Two alert options are available:
 1. 	Activate Alert (SMT + Sweep):
Triggers if both SMT and Sweep occur in the selected timeframes. (Classic option)
 2. 	Activate Alert (Sweep + Sweep):
Triggers if sweeps occur in both assets of a correlated pair at the same timeframe.
Interpretation:
If SMT + Sweep are already present on higher timeframes, and simultaneous sweeps appear on lower timeframes, this may indicate a strong directional move.
Of course, this must be validated with CISD and other confluences.
________________________________________
 HTF CISD Levels 
Although CISD levels act as confirmation levels in their own timeframe, observing how price reacts to HTF CISD levels can provide valuable insights for intraday analysis.
POIs overlapping with these levels may be higher priority.
________________________________________
 What’s Next in Future Versions? 
•	Completed CISD confirmations
•	Additional alert options
•	Plus your feedback and suggestions
________________________________________
 Final Note 
I’ll be happy to hear your opinions and feedback.
Happy trading! 
ICT HTF Candles + CISD + FVG, by AlephxxiiICT HTF Candles + CISD + FVG
A practical, friendly overlay for ICT-style trading
This indicator gives you three things at once—right on your chart:
HTF Candles Panel (context):
Compact candles from higher timeframes (e.g., 5m, 15m, 1H, 4H, 1D, 1W) appear to the right of price so you always see the higher-timeframe story without switching charts. It includes labels, remaining time for the current HTF candle, and optional open/high/low/close reference lines.
CISD Levels (bias flips):
Automatically plots +CISD and -CISD lines. When price closes above +CISD, the indicator considers bullish delivery. When price closes below -CISD, it considers bearish delivery. An on-chart table (optional) shows the current bias at a glance.
FVG (Fair Value Gaps):
Highlights inefficiency zones (gaps) on your current timeframe and/or a selected higher timeframe. You can choose to mark a gap “filled” when price hits the midpoint (optional).
Quick start (2 minutes)
Add to chart and keep your normal trading timeframe (e.g., 1–5m).
In settings → HTF 1..6, pick the higher timeframes you want to see (e.g., 5m, 15m, 1H, 4H, 1D, 1W).
Turn on FVG (current, HTF or both).
Watch +CISD / -CISD lines and the Current State table.
Close above +CISD → Bullish bias
Close below -CISD → Bearish bias
Trade with the bias and use FVGs as areas to refine entries or targets.
How to read it (the simple way)
Bias (CISD):
Bullish once price closes above the active +CISD level.
Bearish once price closes below the active -CISD level.
The small table (if enabled) says Bullish or Bearish right now.
HTF panel:
Shows higher-timeframe candles next to your current chart.
Labels show the timeframe (e.g., 1H) and a countdown for the current candle.
Optional traces draw HTF Open/High/Low/Close levels—great “magnets” for price.
FVGs:
Shaded boxes = potential inefficiency areas.
If Midpoint Fill is on, a touch of the midline counts as filled.
You can display current TF, HTF, or both.
Suggested workflow (popular ICT-style intraday)
Define bias with CISD
Only look for longs if Bullish, shorts if Bearish.
Check HTF context
Are you trading into a large HTF FVG or key HTF O/H/L/C level? That can be a target or a headwind.
Refine entries with FVGs
On your entry TF (1–5m), use fresh FVGs in the direction of the bias. Avoid fading straight into big HTF imbalances.
Key settings you’ll actually use
HTF 1..6: toggle each strip, select timeframe, and how many candles to show.
Style & layout: adjust offset, spacing, and width of the right-side panels.
Labels & timers: show/hide HTF name and remaining time; place labels at Top/Bottom/Both.
Custom daily open (NY): set the 1D candle to start at Midnight, 08:30, or 09:30 (America/New_York).
Trace lines: optional HTF O/H/L/C lines (style, width, anchor TF).
FVG module (extra): choose Current TF / HTF / Both, enable Midpoint Fill, auto-delete on fill, and show timeframe labels.
CISD lines: customize color, style (solid/dotted/dashed), thickness, and forward extension.
Table: enable/disable and choose its position.
Alerts
When a CISD completes, the script fires an alert (e.g., “Bullish CISD Formed” or “Bearish CISD Formed”).
Tip: Set your TradingView alert once on the indicator, then choose the alert message you want to receive.
Notes & limitations (read me)
“VI” label: The “Volume Imbalance” option marks price imbalances (body non-overlap). It does not read volume data.
Timezone: Daily logic and timers use America/New_York, which aligns with US indices/equities and common ICT practice.
Performance: This tool draws many boxes/lines/labels. If your chart feels heavy, reduce the number of HTFs or candles shown, or narrow panel width.
Repainting: HTF panels are designed to avoid future leakage; FVG logic follows standard 3-bar checks. As usual, wait for candle closes for confirmations.
Level cleanup: If Keep old CISD levels is OFF (default), the script keeps only the current active CISD to reduce clutter.
LevelsThis Indicator is meant to plot some of the most common levels that traders use.  
The display of these levels is highly customizable, as you can choose the  line type ,  color ,  thickness  and whether it shows you  no label, price only, reduced label or full label  next to the line. All labels (except for "no Label") will show the price at this level.
Also You have the option to mark the start on each timeframe with either a individually colored background or a vertical line where you can choose the line style and color.
Full List of available Levels and Optional inputs to these levels:
 Previous HTF Candle Levels: 
• Previous HTF Candle Open
• Previous HTF Candle High
• Previous HTF Candle Low
• Previous HTF Candle Close
 Optional: 
• Choose any higher timeframe
• Mark start of new HTF candle
 Session Levels: 
• Session Open
• Session High
• Session Low
• Session Close 
 Optional:   
• Choose any time as start and end of your session
• Mark start of session 
• Mark full session
 Daily Levels: 
• Current Day Open
• Current Day High
• Current Day Low
• Previous Day Open
• Previous Day High
• Previous Day Low
• Previous Day Close
 Optional: 
• Choose start of day (standard, NY Midnight, custom start time)
• Mark start of day
 Weekly Levels: 
• Current Week Open
• Current Week High
• Current Week Low
• Previous Week Open
• Previous Week High
• Previous Week Low
• Previous Week Close
 Optional: 
• Mark start of Week
 Monthly Levels: 
• Current Month Open
• Current Month High
• Current MonthLow
• Previous Month Open
• Previous Month High
• Previous Month Low
• Previous Month Close
 Optional: 
• Mark start of Month
Complete HTF Candles by InzaghiThis indicator overlays Higher Time Frame (HTF) candles directly onto your lower-timeframe charts, providing a seamless multi-timeframe perspective. 
 Key Features: 
1. HTF Candles with LTF Period Separators & Text Labels
2. CISD (Change in State of Delivery) – A toggleable feature that can be turned on/off in settings to instantly enhance price action interpretation.
3. Custom Watermark – Add your own title and subtitle, while also displaying the current date and symbol information directly on the chart.
Candle Overlay htf embedHTF Candle Overlay for mltf candle 
          A candle overlay that provides ease of use for the 1m chart to see candle structures of 30m or more from 1m. (with OHLC)






















