Camarilla Pivot Plays - MaazCamarilla Pivot Plays - Maaz is a institutional-grade quantitative workspace engine engineered for active intraday equity and futures traders. Designed to strip out raw market noise and address the flaws of standard layout pivot scripts, this system delivers an institutional-level view of daily support, resistance, and breakout structures based on Thor Young's classic trading playbook.
The indicator is split into two major algorithmic engines:
1. The Multi-Session Historical Alignment Engine
Unlike generic pivot indicators that pull simple daily data bars (often mixing regular and extended hours incorrectly), this script utilizes a complex multi-session memory snapshot pipeline. By calculating historical session boundaries and tracking extended-hours shifts (useEthForCams), the plots shift step-heights at the exact structural bars required to match professional configurations. It provides clean, un-cluttered stepline plots for:
CP (Central Pivot): The ultimate directional anchor boundary for the session.
R3 / S3: The dynamic range boundaries defining institutional value and traversal reversion loops.
R4 / S4: The critical breakout launchpads where institutional short squeezes or liquidations occur.
R6 / S6: Ultimate daily mathematical expansion targets.
2. The Integrated Precision HUD Panel
The system bypasses standard chart-clipping errors by embedding a stacked, comprehensive workspace dashboard in the top-right corner of your screen. This HUD continuously reads live price metadata to evaluate and display:
Trend Range Bias: Classifies the session macro structure as Higher Range, Lower Range, or Neutral.
Volatility Coiling Status: Classifies the pivot width as Wide or Narrow to instantly tell you whether you are in a range-fading or trend-breakout environment.
Suggested Play Actions: Tells you exactly what setup to watch for (e.g., Watch R4 for Outright Breakout Long) or shifts to bright yellow execution flags (TRIGGER ACTIVE) when levels break.
Pre-Calculated Target Prices: Explicitly states your Planned Entry Pivot Level and Planned Target Exit Level directly inside the table before the trade even triggers.
Institutional Filters: Provides live readouts of Daily Average True Range (ATR), Relative Volume (RVOL) to confirm big block-order breakouts, and an Institutional Net Flow Index tracking raw buy/sell delta pressure. Indicator

Visible Range Support and Resistance [BigBeluga]🔵 OVERVIEW
Visible Range Support and Resistance is a dynamic support/resistance tool that analyzes price structure only within the visible range of your chart. It detects key levels based on clustered pivots inside a binned vertical range and highlights zones where price has historically reacted. The tool adjusts in real-time as you pan or zoom, offering adaptive precision at any scale.
🔵 CONCEPTS
Pivot Clustering: Price highs/lows are collected into horizontal "bins" across the visible chart range. If multiple pivots align within a bin, that area is marked as a potential support or resistance zone.
Visible Range Only: Calculations are limited strictly to the bars currently visible on the chart. Zooming or panning changes the result.
Bin System: The visible high-to-low range is divided into 100 horizontal zones (bins) to group pivots and detect confluence.
Multi-Threshold Detection: Users can enable two separate S/R detection levels with different pivot count thresholds for more nuanced signals. The more pivot points a level has, the thicker and richer the color.
Directional Context: Labels include arrows (▲ or ▼) to show whether the current price is above (support) or below (resistance) each zone.
Range Boundaries: The top and bottom of the visible range are marked with dashed lines and labeled as Top Range and Bottom Range .
🔵 FEATURES
Detects S/R zones based on the number of pivots found within each price bin.
100 horizontal bins divide the visible price range, allowing high resolution detection.
Only uses data from visible bars—zooming out recalculates the indicator for more data.
Customizable number of pivot confirmations (e.g., 2, 3, 4, 5) before a level is shown.
5 Pivots
Dual-level detection lets you show stronger and weaker zones separately.
Automatically colors support (green) and resistance (blue) with dynamic intensity.
Labels show pivot count and direction (support/resistance).
Automatic cleanup of overlapping levels for visual clarity.
Dashed top/bottom range markers help define the visible scope.
Session SMA calculates from the visible range start (from the chart edge)
Visible range bars count
🔵 HOW TO USE
Zoom in for precise intra-range support and resistance zones based on current structure.
Zoom out to load more pivot data and identify long-term levels.
Use the pivot threshold (e.g., 3 or 4) to control signal strength—higher = stronger levels.
Watch for price reactions or breakouts around high-pivot zones to identify key areas.
Combine with trend, volume, or order flow tools to confirm the relevance of each S/R zone.
Adjust line and label colors for better contrast with your chart theme.
🔵 CONCLUSION
Visible Range Support and Resistance is a smart, range-sensitive tool for mapping meaningful horizontal levels. By scanning only what you see on the screen, it provides an adaptive edge to traders focused on real-time price action. Whether you’re scalping short-term zones or zooming out for macro structure, this tool flexes with your view to keep the most relevant levels front and center. Indicator

Hourly Inflection Levels/ pivot pointsThis indicator finds the price levels where the hourly chart has repeatedly turned, and draws them as support/resistance zones — regardless of what timeframe your chart is on. It pulls 1-hour data via request.security, so the same zones appear whether you're viewing a 5-minute, 1-hour, or 4-hour chart.
How it works
1. Pivot detection. On the hourly series it locates two kinds of turning points:
Wick pivots — pivot highs/lows based on candle high/low (where price actually reached).
Body pivots — pivot highs/lows based on max(open, close) / min(open, close) (where price closed the swing).
2. Intensity filter. Each pivot is scored by how far price travelled inside its pivot window (the displacement between the pivot and the opposite extreme). Weak, shallow pivots are discarded via the Min Inflection Intensity threshold, so only meaningful inflections survive.
3. Cross-type merging into zones. Every qualified pivot — wick or body, high or low — is pooled together, sorted by price, and merged: any pivots within the Merge / Zone Tolerance of each other collapse into a single zone. The zone's boundaries become the highest and lowest merged price; each merge adds one to the zone's touch count, and the zone keeps the strongest intensity of its members.
4. Display. Zones that have been touched at least Min Touch Count times are drawn as boxes, optionally extended to the right, with a label showing the level's mid-price, touch count, and intensity %. Levels touched fewer times are hidden.
Inputs
Lookback Period — how many days of hourly history to scan (rolling window; old levels are pruned automatically).
Pivot Left/Right Bars — sensitivity of pivot detection.
Min Touch Count — how many pivots must fall in a zone for it to be shown.
Min Inflection Intensity — minimum swing strength for a pivot to count.
Merge / Zone Tolerance — how close pivots must be to merge into one zone.
Wick / Body toggles — choose which pivot types feed the zones.
Display — extend zones right, show labels, zone color, border width.
Reading the zones
A zone with a high touch count and high intensity marks a price area the market has reacted to strongly and repeatedly over the past month — prime candidates for support, resistance, and reaction levels.
Note: Zones are confluence levels built from past hourly pivots, not signals. They don't repaint historically (pivots are confirmed), but the active set updates as new hourly bars form and old ones age out of the lookback window. Indicator

Fibonacci Touch HeatmapFibonacci Touch Heatmap
Fibonacci Touch Heatmap is an advanced Fibonacci channel indicator that dynamically builds a full upper and lower Fibonacci structure over a user-defined lookback window, then scores each level by how many times price has genuinely touched or respected it. The result is a ranked, color-coded map of the most statistically significant support and resistance zones on your chart — updated automatically on every bar.
What Problem This Solves
Standard Fibonacci tools require manual swing selection and draw static levels with no feedback on whether price actually reacted to them. This indicator eliminates both limitations: it auto-detects the range, draws all 14 Fibonacci levels (7 upper + 7 lower), and continuously counts how many times each level has been touched — giving traders an objective, data-driven view of which levels the market genuinely respects.
How It Works — Technical Details
Range Detection:
The indicator uses ta.highest(high, lookback) and ta.lowest(low, lookback) to identify the high and low of the most recent N bars (default: 300). The midpoint is calculated as the arithmetic average of these two values.
Fibonacci Level Construction:
Seven standard Fibonacci ratios (0.0, 0.236, 0.382, 0.500, 0.618, 0.786, 1.0) are applied symmetrically from the midpoint — upward toward the range high (upper channel) and downward toward the range low (lower channel) — producing 14 distinct price levels in total.
Touch Counting Algorithm:
On the final bar (barstate.islast), the script iterates backward through every bar in the lookback window. For each bar, it checks whether the high or low came within a user-defined sensitivity threshold of any Fibonacci level. The threshold is calculated as a percentage of the level price (default: 0.2%), making it adaptive across different asset classes and price scales. Each qualifying bar increments that level's touch counter.
Gradient Coloring:
A custom gradColor() function interpolates RGB values across three anchor colors — bottom (green), mid (yellow), top (red) — based on the level's vertical position within the channel. This creates a smooth visual gradient that immediately communicates zone type: green = support territory, red = resistance territory.
Touch Heatmap:
Line opacity and the color in the top-right table are determined by each level's touch count relative to the maximum touch count across all 14 levels, using the touchColor() function. Levels with more touches render with warmer, more opaque colors.
Background Zones:
The channel is divided into 9 equal vertical slices, each rendered as a semi-transparent colored box, creating a heat gradient background that visually reinforces price zone significance.
Multi-Timeframe Panel
Two additional timeframes (default: 1H and 4H, fully customizable) are analyzed via request.security(). For each external timeframe, the script independently fetches the 500-bar high/low range, builds the complete Fibonacci channel, runs the touch-counting algorithm, and identifies the top 2 most-touched levels. These are displayed in the bottom-right table, color-coded by timeframe (blue = TF1, purple = TF2), allowing traders to instantly identify cross-timeframe Fibonacci confluences.
Top-Right Table — Most Touched Fib Levels
Displays the top 4 most-touched Fibonacci levels from the current chart timeframe, ranked using a bubble sort across all 14 levels. Each row shows:
Fib ratio with direction arrow (↑ upper channel / ↓ lower channel)
Exact price of the level
Touch count (colored from blue → red based on relative touch frequency)
Zone — Upper (resistance side) or Lower (support side)
How To Use
Set Lookback Bars to define the range of history to analyze. Higher values (500+) reveal macro structure; lower values (50–150) focus on recent structure.
Identify high-touch levels from the top-right table — these are the levels price has tested most frequently and are the strongest candidate zones for future reactions.
Use the multi-TF table to find confluences: when the same Fibonacci level appears as most-touched on both TF1 and TF2 simultaneously, it indicates a high-probability reaction zone.
Adjust Touch Sensitivity (%) based on asset volatility:
Crypto: 0.2–0.5% recommended
Forex: 0.05–0.15% recommended
Equities: 0.1–0.3% recommended
Color gradient gives immediate visual context — price trading near red zones suggests resistance pressure; near green zones suggests support.
Inputs Summary
InputDefaultDescriptionLookback Bars300Number of bars used for range and touch detectionTouch Sensitivity (%)0.002Tolerance for a bar high/low to qualify as a touchFib Line Width1Visual thickness of dashed level linesTop / Mid / Bottom ColorRed / Yellow / GreenGradient anchor colorsTimeframe 160 (1H)First external TF for multi-TF panelTimeframe 2240 (4H)Second external TF for multi-TF panel
Originality
This script is an original work combining automatic range-based Fibonacci channel construction with a bar-by-bar touch counting algorithm and multi-timeframe confluence detection. While Fibonacci retracement is a widely used concept, the specific implementation — symmetric dual-channel construction from a dynamic midpoint, percentage-adaptive touch sensitivity, RGB gradient heatmap coloring, bubble-sort level ranking, and simultaneous multi-timeframe touch analysis via request.security() — represents the author's own methodology for transforming static Fibonacci levels into a dynamic, data-scored support/resistance framework.
Disclaimer
This indicator is intended for educational and analytical purposes only. No indicator can predict future price movements with certainty. Always combine multiple forms of analysis and apply proper risk management before making any trading decisions.
Short Description:
Automatically builds a dual Fibonacci channel from the N-bar range high/low, counts how many times price has touched each of the 14 levels, and ranks them by touch frequency. Includes a multi-timeframe panel showing the most-respected Fibonacci levels across two additional timeframes for confluence analysis. Indicator

Liquidity Hunter Pro [Rehan Khanani]🎯 Liquidity Hunter Pro — Institutional Liquidity Zone Detector
Stop trading random support/resistance. This indicator finds real institutional liquidity zones where smart money operates — and tells you exactly WHEN to enter using 4 advanced reversal signals.
🔴 What are BSL and SSL Zones?
BSL (Buy-Side Liquidity) = Zones ABOVE price where stop losses of short sellers are resting. Institutions hunt these to fill their sell orders.
SSL (Sell-Side Liquidity) = Zones BELOW price where stop losses of buyers are resting. Institutions hunt these to fill their buy orders.
When price sweeps these zones and REVERSES — that is your trade opportunity.
⚡ 4 Reversal Signals Explained
🔴 ABS (Absorption) — Big players aggressively absorbed the sweep. Strongest signal. Institutions trapped the move.
🟡 EXH (Exhaustion) — Dry sweep with minimal volume. Market ran out of fuel. Reversal due to weakness, not force.
🟠 DIV (Delta Divergence) — FOMO trap. High volume entered but price failed to break. Retail trapped = reversal fuel.
🟢 REJ (Snapback Rejection) — Sweep followed by immediate strong rejection candle. Clean and easy to trade.
✨ Key Features
★★★★★ Zone Strength Score — Focus only on high-quality institutional zones. 1 to 5 stars based on volume and pivot size.
Zone Health % (Decay) — Each zone shows live health %. When health drops to 0%, zone is exhausted and sweep is likely.
Auto R:R Lines — SL and TP levels drawn automatically when signal fires. No manual drawing needed.
Premium / Discount Labels — Zones above 50% of range = Premium (sell area). Below = Discount (buy area). ICT concept made visual.
Sweep Test Counter — Tracks how many times price tested each zone. First-touch zones are strongest.
Volume Delta Inside Zones — See exactly where buying or selling pressure is concentrated across 4 quadrants inside every zone.
Live Signal Dashboard — Win % for each signal type shown on your chart in real time. Know your edge before you trade.
Built-in Alerts — Get notified when price enters or sweeps a zone. No need to watch screen all day.
👥 Who Is This For?
✅ Smart Money / ICT concept traders
✅ Forex traders (XAUUSD, EURUSD, GBPJPY and all majors)
✅ Crypto traders (BTC, ETH, altcoins)
✅ Price action traders who want volume confirmation
✅ Beginners learning institutional trading concepts
✅ Busy traders who rely on alerts
📖 How To Use
Add to chart. Set Pivot Length (default 15 works for daily/4H).
Look for zones with 3 stars or more — ignore weak zones.
Wait for price to reach the zone — do NOT enter early.
Wait for a signal label (ABS / EXH / DIV / REJ) to appear.
Use the auto-drawn SL and TP lines for your trade plan.
Check the dashboard to see which signal type performs best on your asset.
⚙️ Settings You Can Adjust
Pivot Length — Controls zone detection sensitivity
Max Zones per Side — Clean up your chart
Zone Volume Capacity — Controls how fast zone health decays
Risk:Reward Target — Default 2:1, adjust to your style
Show/Hide: Strength Stars, Premium/Discount Labels, Sweep Counter, R:R Lines, Dashboard
Indicator

ORB WindowsA clean, fully configurable Opening Range Breakout indicator with up to three simultaneous time windows. This script lets you define your own windows. Set them to whatever your session or strategy calls for.
Three configurable windows
Each window tracks its own high and low independently. Window 1 defaults to 5 minutes, Window 2 to 15 minutes, Window 3 to 60 minutes (hidden by default). Set any window to whatever range you want. Lines are visually differentiated: W1 is solid, W2 is dashed, W3 is dotted.
Break and confirm markers
Two signals per level, per window:
Small triangle — price ticked through the level (break)
Larger triangle — candle closed through the level (confirmation)
Filtering on close confirmation reduces noise from wicks and fakeouts.
Range label
When each window locks in, a label shows the high, low, and range size in both points and percentage. Useful for quickly assessing whether the ORB is tight or wide before deciding how to trade the break.
Formation window highlight
A subtle background color marks the W1 formation period so you can see exactly which candles built the range.
12 alert conditions
Four per window: break above, break below, close above, close below. Wire them up however your workflow calls for.
Settings
ORB Windows: set the duration (in minutes) for each of the three windows
Visibility: toggle each window, markers, range label, and formation highlight independently
Colors: fully customizable per window
Designed for intraday use. Works on any liquid instrument with a defined regular session. Indicator

FENIX Waves# FENIX Waves · pacote de publicação (TV House Rules)
Script: FENIX Waves (EN, self-contained) · fonte local: fenix_waves.pine
Status: injetado + compilado + salvo no editor (slot novo aberto pelo user 29/05).
## Passos manuais no TV (user faz · eu não consigo publicar)
1. Renomear o script SALVO pra "FENIX Waves" (o título on-chart já é FENIX Waves via indicator(); o nome do script salvo pode ter ficado "Meu script").
2. Add to chart → deixar SÓ o FENIX Waves visível (esconder Buy Sell, EMA, RSI, etc) → gráfico LIMPO (House Rule #4).
3. Publicar → colar o título e a descrição abaixo (inglês primeiro).
4. Marcar como Open-source (recomendado · descrição é o que o usuário lê).
## Título da publicação (EN only)
FENIX Waves — Elliott A-B-C visualizer with colored HMA line + projection
## Descrição (EN · colar)
FENIX Waves turns a discretionary Elliott Wave count into a clean, always-on chart overlay.
What it does
- Paints a smooth Hull Moving Average (HMA) line that follows price and RE-COLORS per wave: Wave A (down) red, Wave B (up) green, and the sub-waves of Wave C in amber (down legs) / cyan (up legs), so the active wave is obvious at a glance.
- Labels every turning point. When a macro turn and a sub-wave turn fall on the same candle, the labels MERGE into one (e.g. "C-i") instead of overlapping.
- Draws a dashed PROJECTION of the path you expect next (wave-2 target → wave-3 bottom → extension). The projection is measured in candles via bar_index, so it stays consistent on every timeframe. A "Nearest target only" switch hides the deep legs so the price scale stays tight.
How it works
- You mark the pivots by date in the settings: the macro A/B/C turns (top, bottom of A, top of B) and, as the count develops, the ends of sub-waves i…iv of C. The script segments the HMA by those timestamps and colors/labels each segment accordingly. Label distance from price auto-scales with ATR.
- Nothing is auto-detected: this is a VISUALIZATION engine for YOUR count, not a wave-finder. That keeps it honest — it shows exactly the structure you mapped.
How to use
1. Add to chart. The defaults show a sample BTC A-B-C count.
2. Open settings → Macro: set Wave A start, A→B (bottom of A), B→C (top of B) to your own pivots (by date).
3. Sub-waves of C: set the end of each sub-wave as price confirms it (leave far-future to disable).
4. Projection: set the price targets and how many candles ahead each leg should reach.
What makes it original
- Not a mashup and not another auto-ZigZag. It is a manual Elliott mapping tool: a single colored line that encodes the whole A-B-C + sub-wave count, with coincident-label merging and a timeframe-consistent forward projection — a compact way to keep a discretionary wave thesis visible and unambiguous across timeframes.
Notes
- Works on any symbol/timeframe. Best read on the timeframe where you defined the pivots.
- Open-source — read the code to see exactly how segmentation and projection are computed.
## Checklist House Rules (do TV_PUBLISH_REGRAS.md)
- Título em inglês
- UI/inputs/labels em inglês (self-contained)
- Descrição EN detalhada · método + como usar + originalidade
- Não é mashup · motor de visualização próprio
- Gráfico LIMPO na publicação (esconder outros estudos) · passo manual
- Desenhos explicados (linha colorida, labels A/B/i.., projeção tracejada)
Indicator

Liquidity Sweep Indicator [Income Statement]Liquidity Sweep & Reversal Detector
This indicator is built around a specific market structure concept: liquidity sweeps (also called stop-hunts), where price temporarily violates a known swing level to trigger resting orders, then immediately reverses back inside range. That failed breakout is the signal, not the breakout itself.
The three filters are not independent features — they are a deliberate confirmation stack designed to answer one question: is this reversal likely to be institutional, or is it retail noise?
HOW THE LOGIC WORKS
1. Swing Structure (Pivot Detection)
The script continuously tracks the most recent confirmed pivot highs and lows using a user-defined lookback period. These pivots represent visible liquidity pools — price levels where stop-loss orders from trapped traders are clustered.
2. The Sweep Condition
A bullish sweep is confirmed when: (a) the current bar's low dips below the most recent pivot low, and (b) the bar closes back above that level. This closing behaviour is critical — it distinguishes a genuine stop-hunt from a continuation breakdown. The reverse applies for bearish sweeps. A minimum sweep depth (%) filter prevents the script from triggering on negligible edge-grazes.
3. Volume Confirmation (Smart Money Filter)
Institutional absorption of liquidity typically produces above-average volume. The script compares the sweep bar's volume against a 20-bar simple moving average and requires it to exceed a configurable multiplier (default 1.7×). This single filter eliminates the majority of false positives generated by low-liquidity sweeps in off-hours or thin markets.
4. EMA Trend Alignment
To avoid taking counter-trend reversals in strong momentum environments, an optional EMA filter restricts bullish sweep signals to bars closing above the EMA, and bearish sweep signals to bars closing below it. This transforms the detector from a range-bound tool into one that works across trending and ranging conditions.
5. ATR-Based Targets
Take Profit levels are calculated as a multiple of the 14-period ATR from the close of the sweep bar. Because ATR is normalised to the instrument's volatility, the same multiplier setting produces sensible targets across assets with very different price scales — stocks, crypto, forex, and commodities. Targets are displayed in the asset's native tick precision using syminfo.mintick.
SETTINGS GUIDE
Swing Length (2–20): Controls the pivot lookback. Lower values (2–5) detect intraday liquidity pools; higher values (10–20) track significant swing highs/lows on higher timeframes.
Minimum Sweep % : Sets the minimum wick penetration beyond the pivot before a sweep is considered valid. Prevents false signals from minor wicks that barely exceed the level.
Volume Multiplier : Sweep bar volume must exceed this multiple of the 20-bar average. Increase for stricter institutional confirmation; decrease in lower-volume instruments.
EMA Length & Trend Filter Toggle : The EMA acts as a macro regime filter. When enabled, it restricts signals to the trend direction. Disable it in ranging/mean-reverting markets.
ATR Target Multiplier : Scales the Take Profit distance relative to recent volatility. 1.5 is a balanced default; tighten for scalping, widen for swing trades.
USAGE NOTES
This indicator works best when sweep signals align with additional confluence — for example, a bullish sweep occurring at a higher-timeframe support zone, a Fair Value Gap, or a daily demand area. The script does not predict reversals; it identifies the structural conditions under which reversals statistically have higher probability.
Always use proper risk management and do not rely on any single indicator in isolation . Indicator

Central Pivot Range (CPR) with SignalsCentral Pivot Range
The Central Pivot Range (CPR) is an indicator to identify key price points to set up trades. CPR is beneficial for intraday trading.
Before you understand the CPR, it is important for you to know the Support and Resistance; I’d suggest you read through this chapter to know what more about Support and Resistance before proceeding further.
The CPR consists of three components –
Pivot
Bottom Central Pivot (BC)
Top Central Pivot (TC)
These are derived out of the underlying’s High, Low, and Close calculations –
Pivot = (High + Low + Close)/3
Bottom CPR = (High + Low)/ 2
Top CPR = (Pivot – BC) + Pivot
Spend a minute to understand the formula. These are simple averages and manipulation to the averages. In any technical indicator, the moment you see averages, you need to associate the indicator to the underlying trend.
The CPR does just this, i.e. helps the trader identify key price points and the associated trend around these price points.
Today’s CPR values act as the reference for tomorrow’s trading. We will get back to this in a bit.
On Kite search for ‘Pivot’ in studies, and you’ll find the CPR indicator –
I’m looking 15-minute chart of M&M here. Once you load the CPR, the CPR loads as three horizontal lines, as seen below.
One thing that stands out is the varying width of the CPR. I’ve marked three points on the chart to discuss this.
I want you to look at the first arrow starting from left, ignore the CPR but look at the price action itself. Remember this is the 15-minute chart, and it is quite clear that the day started with a small green candle with not much movement through the day. The open and close were close to each other.
Whenever, we have a sideways movement, the next day’s CPR narrow ranged, this is exactly what we observe on the next day. Now the 2nd day itself was trending day. Hence the CPR for 3rd day was a wide-ranged one.
So the point is –
If today is a narrow range day, tomorrow’s CPR will be a narrow ranged CPR.
If today is a trending day, tomorrow’s CPR is a wide-ranged one. Higher the trend, wider is the CPR.
Alright, so how do we use the CPR? Well, this is quite straightforward –
Bullish outlook, look for buying opportunities when the current market price is higher than ‘Top central pivot’ (TC).
Let me elaborate. Assume a stock has rallied for a bit. The current market price is higher than the TC, and you are looking for an opportunity to set up a buy trade.
You can now wait till the stock arrests its rally and retraces back to the TC line.
I’ve highlighted a possible opportunity here –
From a price action perspective, when the current market price is higher than the TC, it indicates that the traders are willing to buy even though the average price is higher. Hence, it would help if you are looking for buying opportunities. Remember, when CMP is higher than TC, the TC now acts as a support line.
Likewise, when the stock or the index is trading lesser than the “Bottom Central Pivot’ (BC). When the current market price is less than that BC, it implies that there is bearishness in the market, hence look for selling opportunities.
Again, look for a price pull back to the BC line before initiating a fresh short.
You can even trade the stock while it is within the CPR. Trading while the stock price is within the CPR is like a range trade.
You buy when the stock is at BC, with TC as a target and sell (fresh short) when the stock is at the TC with an expectation that the price declines to BC soon.
Of course, I know many traders who prefer not to trade the range and prefer to trade only the pullbacks. I too would prefer to use CPR only to trade the pullbacks.
Lastly, here is something that you need to be aware of when trading the CPR.
When you plot the EOD CPR, the previous month’s OHLC is referenced.
Previous week’s OHLC is a reference when you plot CPR for 30mins and 1-hour candles.
Previous day’s OHLC is referenced when you plot CPR for 1, 3, 5, 10, and 15 minutes candles.
Happy trading.
Key Takeaways from this chapter
You can trade from the chart by selecting the trade button.
The trade button is a floating window which you can place anywhere on the chart.
The candle pattern helps identify the candlestick patterns, use this to reconfirm the pattern.
CPR helps you identify the S&R pattern
It is considered bullish if the current market price is higher than the TC line.
It is considered bearish if the current market price below the BC line. Indicator

Apex Pivot & S/R Dynamics [Pineify]Apex Pivot & S/R Dynamics
This indicator maps structural support and resistance directly from confirmed pivot highs and lows, then tracks each level in real time until price decisively closes through it. Rather than drawing static zones at fixed intervals, every line is anchored to an actual swing point and extended bar by bar — the moment a close-based breach occurs, the line is deleted and a breakout label appears. The result is a chart that reflects only the levels that are still relevant right now.
Key Features
Pivot-confirmed S/R lines drawn at the exact bar where a swing high or low was established
Close-based breakout detection with a one-bar confirmation filter — no reaction to wicks alone
Automatic line removal on breach, keeping the chart free of invalidated levels
Configurable cap on active lines per side; oldest unbroken levels drop off when the limit is hit
Separate color controls for resistance, support, bullish breakout labels, and bearish breakout labels
How It Works
Pine's built-in ta.pivothigh() and ta.pivotlow() functions require price to form a local extreme confirmed by length bars on both sides. A pivot confirmed with length=15 means the indicator "sees" it 15 bars after it forms — and draws the line aligned back to that original swing bar. This lag is inherent to pivot detection and trades off responsiveness for confirmation quality.
Each confirmed pivot spawns a dashed horizontal line stored in a typed array alongside its exact price. Every subsequent bar, the loop iterates through active lines and extends them to the current bar. When a close-above-resistance or close-below-support transition occurs (previous close on the wrong side, current close on the right side), the breakout condition fires: the line is deleted from the array, an annotated label is placed, and the level is gone from the chart permanently.
Bars accumulate until a swing extreme is confirmed on both sides
A dashed line is created at the pivot price, extending right indefinitely
Each bar, the loop checks whether price has closed through each level
On breach: label placed, line deleted, level removed from active tracking
If unbroken levels exceed the configured cap, the oldest is silently removed
How the Components Work Together
The pivot detection sets the quality bar for which prices become levels — only price extremes that the market has already tested and respected on both sides qualify. The one-bar close confirmation then filters out wicks that pierce a level intrabar but don't follow through: a single candle that closes back inside the range doesn't trigger a breakout. Together, these two filters mean the breakout label fires on the first candle that suggests actual intent to move away from the level, not just noise around it.
The array-based memory management is what separates this from simpler implementations that draw lines and forget them. Because each line object is tracked with its price level, the indicator can cleanly unwind invalidated structure rather than letting stale lines accumulate across months of history.
Trading Ideas and Insights
On a retest setup: watch for price to pull back to a freshly broken resistance level (now acting as support) without triggering a new bearish breakout label — that silence is the confirmation
When multiple resistance lines cluster within a few ticks of each other, the zone represents confluent supply; a breakout label through that cluster carries more weight than a breach of an isolated swing
Use the breakout label count per session as a rough measure of trend strength — trending days tend to fire several same-direction labels in sequence, while ranging days flip back and forth
On higher timeframes (daily, weekly), the lines mark major structural zones; consider using a tighter lookback (8–10) on intraday charts where swing structure is denser
Past behavior at these levels does not guarantee future outcomes. S/R analysis works best when combined with volume, momentum, or broader context rather than used in isolation.
Unique Aspects
Lines are anchored to their originating pivot bar visually — the small triangle marker shows exactly which candle created each level, so you can assess the quality of the original swing without scrolling back
Close-based breakout confirmation with a prior-bar check is more conservative than most pivot S/R scripts, which often fire on any penetration regardless of close location
The self-cleaning design — lines disappear when breached and oldest lines drop when the cap is hit — makes the chart readable across all timeframes without manual cleanup
How to Use
Add to any chart; the indicator overlays directly on price with no separate pane
Adjust "Pivot Lookback" to match your timeframe — higher values (20–30) on daily charts identify major structure; lower values (5–10) on intraday charts capture faster swings
Red dashed lines are active resistance levels; green dashed lines are active support levels
A blue "B" label above a bar signals a bullish breakout through resistance; an orange "B" below signals a bearish breakdown through support
If the chart becomes crowded, lower "Max Active Lines" to keep only the most recent unbroken levels visible
Customization
Pivot Lookback (default: 15) — Controls how many bars on each side must be lower/higher to confirm a pivot. Increasing this confirms stronger, less frequent levels; decreasing it produces more levels with earlier detection but more sensitivity to minor swings.
Highlight Breakouts (default: on) — Toggles the breakout labels. Turn off if you only want the S/R lines without annotation.
Max Active Lines (default: 15) — Caps the number of lines per side. On instruments with very dense swing structure or long histories, reducing this to 8–10 keeps the chart uncluttered.
Line and Label Colors — Four separate color inputs for resistance lines, support lines, bullish breakout labels, and bearish breakout labels. Adjust to match your chart theme.
Conclusion
Apex Pivot & S/R Dynamics automates the manual process of marking swing highs and lows, extending them forward, and cleaning them up when they are no longer valid. The close-based breakout filter and automatic array management mean the chart reflects current market structure rather than accumulated history. Traders focused on price action and structural levels — particularly those who trade retests and breakout continuations — will find this a practical alternative to manually drawn S/R zones.
Indicator

Indicator

Anchored Trend Channels [MQLSoftware]Anchored Trend Channels is a structural overlay that maps each phase of price action between confirmed swing points as its own parallel trend channel. Instead of fitting one curve or band to all of price history, it breaks the chart into discrete pivot-to-pivot segments and renders each one as a self-contained anchored channel with its own slope, width, and angle. The active channel projects forward with a dashed extension so future support and resistance levels are visible at a glance.
A second, finer regression channel (Micro) lives inside the currently forming Macro segment to show local momentum and its relationship to the broader trend. A compact right-side panel reads off the resulting structure, the active segment angle, the segment chain, multi-timeframe context, and three optional structural events.
This is a visual analytical tool intended for chart reading and structure mapping. It does not execute trades and does not provide financial advice.
Key Features
Pivot-anchored Macro channels that segment price action into discrete trend phases (one channel per phase, anchored on confirmed swing pivots)
Active segment with a forward-extending dashed projection of about 20 bars, showing where the channel boundaries would lie if the trend continues
Adaptive Micro regression channel inside the active segment, with R-squared fit quality readout
Trend Bias scoring weighted by segment length and angle, combined with net price move across the analysis window
Acceleration metric showing how much the Micro angle deviates from the Macro angle (faster, slower, or flat)
Right-side panel with Macro angle, segment chain visualization, Micro R-squared, MTF context, and three structural signal states
Non-Repaint Mode toggle for users who prefer closed-bar-only updates on the active segment
Three optional structural event markers (Segment Break, Macro Pullback, Micro Continuation) with a configurable cooldown to avoid clustering
Core Concept
Most channel and trend indicators on PulseWire take one of two approaches. They either fit a single continuous curve to all of price (linear regression channels, ATR-trailing bands, smoothed moving averages with deviation bands) or they detect individual trendlines through two pivots and project them indefinitely. Both approaches have known limitations. A single continuous channel cannot describe a market that has clearly changed phase. Two-pivot trendlines drift, get broken, and need constant manual maintenance.
This indicator builds on a third approach: piecewise channels anchored on confirmed pivots. Each finished segment is a closed, immutable object that describes one phase of price action between two opposite swing points. The chain of segments left behind is a structural history of how the trend developed, where it accelerated, where it reversed.
The indicator adds three specific algorithmic elements on top of that base.
1. Quality Filters at Segment Birth. Before a new segment is committed, two filters check that the pivot move is structurally meaningful. The pivot-to-pivot price distance must exceed a configurable ATR multiple (default 2.5x), and the bar count must exceed a minimum length (default 8 bars). Pivots that fail either check are skipped, so the visible chain reflects real phase changes, not noise.
2. Pivot-Anchored Geometry with Max-Deviation Width. Each segment's basis line is the straight line between its two anchor pivots. The channel half-width is the maximum deviation of any bar inside the segment from that basis line, scaled by a user multiplier and floored by an ATR-based minimum. This produces channels that visibly contain the price action that built them, rather than mathematical fits that ignore visible swings.
3. Trend Bias from Weighted Segments Plus Net Move. Most chain-based indicators classify direction by counting up-segments versus down-segments. That gives equal weight to a 30-bar trending move and a 5-bar choppy retracement. This indicator weights each segment by the product of its bar count and its absolute angle, then combines that with the net price move across the analysis window measured in ATR units. The result is a Trend Bias label (Strong Bull, Bullish, Mixed, Bearish, Strong Bear) that reflects which side has accumulated the actual structural progress, not just the count of segments.
Anatomy of the Display
Historical segments are drawn as parallel green or coral channels between confirmed past pivots. They are immutable once committed and form a left-to-right chain that visually traces the structure of the trend.
The active segment is the right-most channel, drawn in bright color with a wider glow layer. It anchors on the most recent confirmed pivot and extends to the current bar. The dashed projection continues the channel about 20 bars to the right at the current slope, so users see where price would touch the upper and lower boundaries if the segment kept its angle.
The Micro channel is a 20-bar linear regression with standard-deviation bands, rendered in cyan or pink depending on its own direction. It only appears when the regression's R-squared fit quality clears a user threshold, so it auto-hides when local price action is too noisy for a meaningful regression.
H and L pivot markers sit at the pivot anchor points. H labels mark confirmed high pivots, L labels mark confirmed low pivots.
The right-side panel groups the data into Trend Bias (top), Macro Active Segment (angle, direction, bars in segment, segment chain), Micro Channel (angle, direction, R-squared, acceleration), Signals (three states), and MTF (current angle of two higher timeframes).
Acceleration in the panel is the Micro angle minus the Macro angle. A positive number means the local momentum is steeper than the surrounding trend phase (often early-stage continuation). A negative number means the local momentum is flattening relative to the surrounding trend phase (often late-stage or stalling).
Optional Structural Event Markers
Three structural events can be displayed as on-chart markers. These describe what is happening to the channel geometry. They are not trade entries.
Segment Break (BRK). Price closes beyond the opposite boundary of the active segment. In an active uptrend channel, this is a close below the lower boundary. In a downtrend channel, a close above the upper boundary. This marks a violation of the active phase structure.
Macro Pullback (PB). Price closes within 0.2 ATR of the band on the same side as the trend direction. In an uptrend, price closes near the lower boundary. In a downtrend, price closes near the upper boundary. This marks a touch back to the channel boundary in the direction of the active phase.
Micro Continuation (CONT). The Micro channel breaks its own boundary in the same direction as the Macro segment, while the segment is still in its early stage (3 to 25 bars in). This marks a moment when local momentum aligns with the broader trend phase early in its life.
All three event types are gated by a configurable cooldown (default 15 bars) to prevent clustering. Each event is computed on closed bars only.
Multi-Timeframe Panel Row
The MTF row at the bottom of the panel shows the active segment angle on two higher timeframes. The two HTFs are selected automatically from the standard timeframe ladder based on the current chart timeframe. For example, on a 15m chart the panel reads 4H and 1D. On a 1H chart it reads 1D and 1W. HTF values are read with `lookahead=barmerge.lookahead_off` and a one-bar offset, which is the standard non-repainting pattern for higher-timeframe reads.
Notes on Repainting
Historical segments do not repaint. They are built from confirmed pivots (`ta.pivothigh` and `ta.pivotlow` with a right-bars parameter). A pivot is only confirmed several bars after it forms, so historical segments remain anchored in place forever once committed.
The active segment updates as new bars print. With Non-Repaint Mode ON (default), it recalculates only on closed bars, so its boundaries remain stable intra-bar. With Non-Repaint Mode OFF, it updates on every tick for users who prefer maximum responsiveness and accept the visual jitter.
Pivot detection has an inherent delay equal to the pivot lookback (default 30 bars on Very Long sensitivity). A pivot becomes visible after that many bars have closed past it. This is a property of all pivot-based indicators, not a flaw specific to this script.
All signal markers and alerts are gated by `barstate.isconfirmed`. They fire exactly once per closed bar and never intra-bar.
MTF panel data uses `lookahead=barmerge.lookahead_off` with a one-bar offset on every series, which is the canonical non-repainting pattern for higher-timeframe context.
Typical Analysis Workflow
A common analytical workflow may include:
Reading the Trend Bias label and color in the panel header to anchor an overall directional view
Checking the segment chain in the panel against the visible historical channels on the chart to confirm structure is consistent
Watching the active segment's dashed projection to identify forward levels where the channel boundaries are heading
Comparing the Micro channel direction and angle against the Macro segment direction and angle (Acceleration row) to read whether local momentum aligns with the broader phase
Cross-checking the MTF row to see whether higher timeframes are in the same structural direction or in conflict
Treating Segment Break, Macro Pullback, and Micro Continuation markers as structural events for context, then combining that read with other forms of analysis and risk management
Configuration
Pivot Sensitivity - Short (5), Medium (10), Long (18), or Very Long (30). Lower values produce more segments of shorter average length. Higher values produce fewer, longer-lived segments. Very Long is the default and produces the cleanest premium look.
Min Segment Size (x ATR) - Minimum price distance between consecutive pivots, measured in ATR. Pivots below this threshold are skipped. Higher values produce fewer, more significant segments.
Min Segment Length (bars) - Minimum bar count between consecutive pivots. Short segments are skipped.
Channel Width Multiplier - Multiplier on the max-deviation width. 1.0 means the channel just contains the price action that built it. 1.2 to 1.5 adds visible breathing room.
Min Band Width (x ATR) - Floor on the channel half-width. Prevents razor-thin channels on short segments where deviation is small.
Max Segments Stored - FIFO cap on historical segments (default 15). Older segments are removed as new ones form.
Regression Length (Micro) - Number of bars in the Micro regression window (default 20).
Std Dev Multiplier (Micro) - Width of the Micro band in standard deviations.
Min R-squared to Show (Micro) - Hides the Micro channel when regression fit quality is below this threshold.
Signal Cooldown (bars) - Minimum bars between consecutive same-type signal markers.
Non-Repaint Mode - When ON (default), the active channel uses closed-bar data only. When OFF, it updates live with each tick.
Show toggles - Macro segments, Micro channel, panel, status badge, endpoint labels, pivot markers, signal markers, basis lines, channel fills, MTF row.
Markets and Timeframes
The indicator can be applied across multiple markets and timeframes:
Forex
Stocks and Indices
Commodities
Cryptocurrencies
Because slope is ATR-normalized and channel width is ATR-floored, the visual behavior remains consistent across instruments and timeframes. The Pivot Sensitivity preset can be tuned per chart for the cleanest read on a given symbol and timeframe.
Alerts
Three alert conditions are available:
Segment Direction Changed - fires when the active segment direction flips between uptrend and downtrend
Segment Break - fires when price closes beyond the opposite boundary of the active segment
Micro Continuation - fires when the Micro channel breaks its own boundary in the same direction as the active Macro segment, in the early portion of the segment
All alerts evaluate on confirmed bars to avoid intra-bar oscillation. Indicator

Confluence FlowConfluence Flow — A multi-layer confluence system combining EVWAP, Adaptive Pivots, Impulse Council & Smart Candles
Confluence Flow unifies five analytical layers — Regime, Momentum, Structure, Pattern, and Confidence — into one powerful overlay. Instead of scattered signals, you get a coherent market narrative through intelligent candle coloring, adaptive levels, and a clean dashboard.
─────────────────────────────────────────────
EVWAP (Exponential Volume Weighted Average Price)
─────────────────────────────────────────────
The heart of the regime filter. This EVWAP dynamically anchors to the most recent significant swing high or low and uses an adaptive half-life that responds to market volatility. Fast markets = faster reaction. Quiet markets = smoother response.
Includes ±1σ and ±2σ bands that clearly show fair value, premium/discount zones, and statistical extremes.
─────────────────────────────────────────────
Adaptive Pivots (S9)
─────────────────────────────────────────────
A next-level dynamic support/resistance system. Band width adapts intelligently using a Trend Quality Index (TQI) based on efficiency, volume, structure, and momentum alignment. High-quality trends get tighter bands. Chop gets wider bands to reduce whipsaws.
─────────────────────────────────────────────
Impulse Council (4-School Voting)
─────────────────────────────────────────────
Four independent schools vote on momentum:
• OBV Flow & Divergence
• Volume Delta (VWMA)
• Wyckoff Springs & Upthrusts
• EMA Confluence (9/21 + 55 filter)
Minimum 2 agreeing schools required for a valid signal.
─────────────────────────────────────────────
Smart Candles
─────────────────────────────────────────────
Candles are colored on a gradient from deep maroon (strong bear) to bright cyan (strong bull) based on the composite bias. Both body and wicks adapt, giving instant visual conviction.
─────────────────────────────────────────────
Pattern Recognition & High-Confidence RR Boxes
─────────────────────────────────────────────
Detects 20 classical patterns with strength scoring and regime alignment filtering. Patterns that conflict with the prevailing regime are automatically dimmed on the chart — keeping your focus on high-probability setups and filtering out counter-trend noise. When a strong pattern aligns with high TQI, strong displacement, and volume — a ★ High Confidence signal triggers automatic 1:2 RR boxes with smart stop placement.
─────────────────────────────────────────────
Dashboard
─────────────────────────────────────────────
Real-time overview of Bias, Council votes, S9 trend, EVWAP direction, and SMA trend.
─────────────────────────────────────────────
Best Used As
─────────────────────────────────────────────
A powerful confluence tool for day traders and swing traders on 5min to 4H timeframes. The strongest setups occur when EVWAP, S9, Council, and Smart Candle bias all align.
Settings default to "Patterns Only" so you can add it without changing your chart's original candle look — toggle to "Candles + Patterns" to enable the full Smart Candle gradient coloring. Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Hunters Reversal v2.3
Three independent reversal signals, each detecting a different type of turning point. When multiple signals cluster together within a short window, the probability of reversal increases significantly.
Part of the Hunters Framework ... WHERE / WHEN / WHY
SIGNAL 1: LIQUIDITY SWEEP
Detects when price wicks beyond a confirmed pivot high or low, triggers the stops sitting there, then closes back inside. This is the "stop hunt" pattern.
Unlike simple wick detection, this version requires:
- The level being swept must be a confirmed pivot (not just a rolling extreme)
- The sweep candle must penetrate the level by a minimum amount (filters noise) but not too far (filters breakouts)
- Post-sweep confirmation: price must stay below/above the sweep extreme for N bars before the signal fires
- Signal is plotted retroactively at the actual sweep bar once confirmed
This eliminates the majority of false sweeps that plague simpler implementations.
SIGNAL 2: RSI DIVERGENCE
Classic divergence between price and RSI at confirmed pivot points.
- Bearish: price makes a higher high but RSI makes a lower high
- Bullish: price makes a lower low but RSI makes a higher low
Requires a minimum distance between the two pivots being compared (default 15 bars) to filter out noise from pivots that are too close together.
SIGNAL 3: PIVOT + EXTENSION
Fires when price forms a confirmed pivot at an extreme distance from the EMA. This catches overextended moves that are likely to snap back.
Requirements:
- The pivot must be the highest high (or lowest low) within a lookback window
- The distance from the EMA must exceed a configurable ATR multiple (default 3x ATR)
These are the rubber-band snapback setups ... price stretched too far from the mean.
TIER CLASSIFICATION (BIG SIGNALS)
When two or more of the three signals fire within a short window (default 8 bars), a large "BIG" triangle appears. These cluster signals represent the highest confidence reversals because multiple independent conditions are confirming the same turning point.
For example: a liquidity sweep at an overextended pivot WITH RSI divergence ... that is three separate reasons saying "this move is done."
INVALIDATION
Every signal comes with a built-in invalidation check. If price moves too far beyond the signal level within a configurable window (default 8 bars, 0.6 ATR), an X marker appears showing the signal was invalidated. This keeps you honest ... no holding a losing position hoping the reversal still plays out.
COOLDOWN
A per-direction cooldown (default 20 bars) prevents signal spam. After a bear signal fires, no new bear signals for 20 bars. Bull signals are tracked independently.
SETTINGS OVERVIEW
Pivot Detection:
- Left/Right bars for pivot confirmation (default 15/5)
- Minimum prominence filter (pivot must stand out from surrounding price by at least 1 ATR)
Liquidity Sweep:
- Pivot lookback for sweep targets (default 100 bars)
- Min/max penetration in ATR (0.1 to 1.0 ... filters both noise and breakouts)
- Confirmation bars (default 3 ... price must hold for 3 bars after sweep)
RSI Divergence:
- Standard RSI settings (default 14)
- Lookback and minimum distance between pivot pairs
Extension:
- EMA length (default 50)
- Minimum ATR distance from EMA (default 3x)
- Pivot must be extreme within N bars (default 30)
HOW IT FITS THE FRAMEWORK
Hunters Reversal answers WHEN ... specifically, when is a move likely exhausted and ready to reverse?
Used alongside:
- Liquidity Hunter ... shows WHERE the key levels are (the targets being swept)
- Trend Hunter ... shows the broader trend context (is this a counter-trend reversal or a pullback entry?)
- RSI+StochRSI ... provides additional momentum confirmation
The strongest setups: a Hunters Reversal BIG signal at a Liquidity Hunter zone with Trend Hunter showing momentum divergence on the higher timeframe.
ALERTS
8 alertconditions covering all signal types:
- Bear/Bull Liquidity Sweep
- Bear/Bull RSI Divergence
- Bear/Bull Pivot Extension
- Bear/Bull BIG (cluster signal ... highest priority)
EOF
grep -c "..." /home/claude/tv_publish_hunters_reversal.txt && echo "EM DASHES" || echo "Clean" Indicator

Indicator

HTF + LTF Market Structure ICTHTF + LTF Market Structure ICT
A dual-stream ICT-style market structure tool that detects MSS (Change of Character) and BOS (Break of Structure) events on both a higher timeframe and the current chart timeframe simultaneously — so you can read HTF context and LTF structure on a single chart.
What it does
The indicator runs the same fractal-based structure detector twice in parallel:
HTF stream (default M15) — runs via request.security with lookahead_off, so events are confirmed at the HTF candle close. Each event renders as a small labeled ribbon tag (e.g. M15 CHoCH ↑) on the LTF bar where the HTF candle closed. Bull tags sit below the bar, bear tags above. No projected lines.
LTF stream — runs on the chart TF directly. Each event renders as a break-level line spanning the broken fractal pivot to the firing bar, plus a minimal CHoCH / BOS text label at the line's midpoint — colored text only, no background fill. Bull text floats above the line, bear below.
Each stream tracks its own trend state, so the HTF and LTF can disagree — that disagreement is the actionable read (e.g. HTF still bullish while LTF just printed a CHoCH down = first sign of a pullback against trend).
How structure is classified
Each stream maintains its own directional bias:
MSS / CHoCH — the first break against the prior structural trend (reversal signal).
BOS — a break in the same direction as the current trend (continuation).
The very first event of each stream is classified as MSS by default since there's no prior reference. Line style differs: solid for MSS, dashed for BOS by default.
Detection logic
A fractal swing pivot is confirmed when a high/low is the extreme over a configurable length (default 5).
A break fires when the bar's close crosses through the most recent unbroken fractal (above for bull, below for bear), with barstate.isconfirmed so events don't repaint.
Auto-suppression
When the chart timeframe equals the chosen HTF (e.g. you're viewing the M15 chart with HTF = M15), the HTF ribbon is hidden — both streams would otherwise detect the exact same events on the same bars.
Inputs
HTF stream — HTF (15min / 30min / 1H / 4H / 1D), fractal length, MSS / BOS toggles
LTF stream — fractal length, MSS / BOS toggles
Display — line on/off, forward-extend latest line, LTF text on/off, history depth
Style — line styles (MSS solid / BOS dashed), line width, HTF ribbon size + transparency, LTF text size, bull / bear colors
Alerts
Ten preconfigured alertconditions:
HTF Bull CHoCH / Bear CHoCH / Bull BOS / Bear BOS
LTF Bull CHoCH / Bear CHoCH / Bull BOS / Bear BOS
LTF bull aligned with HTF-bull bias (confluence)
LTF bear aligned with HTF-bear bias (confluence)
Suggested use
Works on any symbol or timeframe. Default M15 HTF on an M1 / M3 / M5 chart gives a clean intraday read; for swing structure, try chart TF = 1H with HTF = 4H or 1D. The fractal length controls signal density — drop to 3 for more frequent events on lower-volatility instruments, raise to 7+ to filter for stronger swings.
This is a structure visualization tool, not a trading system — it doesn't take trades, manage risk, or compute lot sizes. Use it to read HTF context and LTF trigger timing.
Disclaimer
This script is for educational and analytical purposes only. It does not provide financial advice and does not guarantee profitability. Past performance of any structural pattern does not imply future results. Always combine with your own analysis and risk management.
Quick adjustments you might want before publishing: short title for TV (e.g. HTF+LTF MSS ICT), and grab a chart screenshot showing both HTF ribbons and LTF text active. Indicator
