Indicator

Indicator

TRX Grid Long Indicator [3Commas]TRX Grid Long Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a price-grid long workflow on TRX / USDT between two fixed bounds. It tracks up to 35 independent virtual slots between a configurable High and Low — each slot fires a webhook-ready buy signal when price crosses down through it, and a paired sell signal when price subsequently crosses up through the slot immediately above. The indicator computes a running average entry, total deployed capital, and open PnL from the live slot ledger and renders all of it on the chart.
- Pre-computes 7–200 grid levels in Geometric (default) or Arithmetic spacing.
- Each slot is an independent ownership flag with its own buy/sell webhook payload.
- Avg entry is derived from fill-by-fill bookkeeping — total cost and total qty are updated on every event.
- Every event emits a webhook-ready JSON alert payload tagged with the specific grid slot.
🔷 Who is it for:
- Swing traders harvesting volatility on TRX in range-bound regimes.
- Bot operators looking for a chart-driven signal source that emits per-slot JSON ready for a DCA Bot configured for grid execution.
- Traders who want to monitor a virtual grid state — avg entry, owned slots, deployed capital, open PnL — directly on the chart without a backtest engine.
- Portfolio operators using a high-trade-count contributor alongside directional strategies.
🔷 How does it work:
Grid Construction: On script load, the indicator computes N price levels between the configured High and Low bounds. In Geometric mode (default), level k is at High × (Low/High)^(k/(N-1)), giving constant percent spacing — approximately 1.0% per step at default settings. In Arithmetic mode, levels are linearly spaced by absolute price.
Per-Slot State Machine: Each grid level is an independent slot tracked by a boolean ownership flag. When close price crosses down through an empty slot's level, the slot is marked owned, virtual cost-basis is added, and the BUY webhook payload is dispatched. When close price crosses up through the level immediately above an owned slot, the slot is marked free, virtual cost-basis is subtracted, and the SELL webhook payload is dispatched.
Honest Virtual Bookkeeping: Total cost and total qty are updated incrementally on each event, so the avg entry, deployed capital, and open PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcuts from base entry, no synthetic averaging. The table also accumulates the realized PnL from every closed slot (the exact round-trip profit between adjacent levels), so it shows how much the grid has actually earned over the chart history.
No Trailing, No Stop Loss: By design, each slot has a fixed exit (the level above). The indicator never trails the exit and never signals a slot-out for a loss — slots that fall below their entry stay owned until price comes back. This is the canonical grid-bot behavior.
🔷 Why it's unique:
- Per-Level Webhook Ledger: Every BUY and SELL emits a fully-formed JSON alert payload tagged with the specific grid slot ("Grid_BUY_L5" / "Grid_TP_L5"). The indicator can drive a DCA Bot configured for grid emulation without any glue layer.
- Fill-by-Fill Avg Entry: The orange avg-entry line is derived from running totals updated on every event — what you see is what the broker-equivalent position would actually have.
- Active Slot Highlighting: Owned grid levels are rendered with a thicker green stroke; empty slots stay dashed gray. Slot density and current loading are visible at a glance.
- Range Box & Bounds Labels: A semi-transparent box spans the configured High/Low range, and crisp HIGH/LOW labels mark the bounds — the grid topology is obvious without zooming.
- Calibrated for TRX 15m: Default bounds, level count, and step size are set against TRX's recent observed range. The 35-level geometric ladder gives roughly 1.0% per step — wide enough to clear taker fees on each round-trip, granular enough to keep catching 15m swings inside the range.
🔷 Considerations Before Using the Indicator:
Market Selection & Range Validity: Grid strategies are most profitable in range-bound, mean-reverting markets. On strong directional trends below the configured Low, slots will keep marking as owned as price falls and won't free until price reverses. The default High/Low (0.3713 / 0.2660) was set against TRX's recent observed range; update both whenever the regime changes.
Capital Deployment: The default Total Investment of 10,000 USDT is a virtual reference used for the avg-entry and open-PnL computation. The real sizing happens on the bot side — match the indicator's per-slot allocation to your bot's grid configuration to keep the avg-entry display honest.
Cross Detection Granularity: Crossings are detected on bar close, comparing the current close to the previous close. A bar that spikes through a level and returns within the same bar may be missed by design — this prevents over-signaling on intra-bar wicks.
Live vs Historical State: The virtual slot ledger is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
No Stop Loss: There is no exit signal on adverse moves below the lowest grid level. Risk is structurally capped on the bot side by the bounded Total Investment configured at the bot. If a hard stop is required, layer it on the bot side.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a ~13.7-month sample (460 closed trades, 46.30% win rate, 10.95% max drawdown, profit factor 1.227, +4.81% net return), use the companion strategy version on identical parameters. The 460-trade sample is well above the ~100-trade floor for statistical relevance, though the thin profit factor means real fees are decisive.
🔷 How to Use It:
🔸 Add the indicator to a TRX / USDT 15m chart.
🔸 Set the High and Low bounds to a range you expect TRX to respect.
🔸 Pick Geometric (default, recommended) or Arithmetic spacing.
🔸 Set Grid Levels (7–200) and the virtual Total Investment used for avg-entry computation.
🔸 In the DCA Bot Webhook group, paste your Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_TRX).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. Every grid-level buy and grid-level close will emit a dedicated JSON payload tagged with the slot index, so each level can be tracked independently downstream.
🔷 INDICATOR SETTINGS
High Price: Top of the grid. The highest level a slot can be created from.
Low Price: Bottom of the grid. The lowest level a slot can be created from.
Grid Levels: Number of price levels between High and Low (default 35, range 7–200).
Spacing Mode: Geometric (constant percent step) or Arithmetic (constant absolute step).
Total Investment (USDT): Virtual capital allocated across all slots. Used for the avg-entry and open-PnL computation only.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle grid lines, range box, HIGH/LOW labels, avg entry plot, fill labels, signal triangles, status table (shows status, range, levels, owned slots, avg entry, deployed capital, open PnL, and cumulative realized PnL).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Indicator

TRX Grid Long Strategy [3Commas]TRX Grid Long Strategy
🔷 What it does:
This is a long-only price-grid strategy that harvests volatility on TRX / USDT through repeated round-trips on a pre-defined ladder of price levels between two fixed bounds. Each level is an independent slot: when price crosses down through a level, the strategy opens one slot; when price subsequently crosses up through the level immediately above, that slot is closed for a fixed round-trip profit. The grid is generated geometrically by default, so spacing adapts to the price scale.
- Up to 35 simultaneous long slots at default settings, each sized as a fixed fraction of the configured Total Investment.
- No trailing exit, no stop loss — each slot's exit is the level above its entry.
- Per-slot exposure is approximately 2.86% of equity at default settings, comfortably inside the conventional 5–10% per-trade risk band.
- Every fill and close emits a webhook-ready JSON alert payload tagged with the specific grid slot.
🔷 Who is it for:
- Swing traders harvesting volatility on TRX in range-bound regimes.
- Bot operators looking for a chart-driven signal source with per-slot webhook JSON ready to drive a DCA Bot configured for grid execution.
- Traders running a portfolio of low-correlation strategies who want a high-trade-count contributor with bounded per-trade risk.
- Range traders who prefer mechanical execution over discretionary entries.
🔷 How does it work:
Grid Construction: On script load, the strategy computes N price levels between the configured High and Low bounds. In Geometric mode (default), level k is at High × (Low/High)^(k/(N-1)), giving constant percent spacing — approximately 1.0% per step at default settings. In Arithmetic mode, levels are linearly spaced by absolute price.
Per-Slot Logic: Each grid level is an independent slot tracked by a boolean ownership flag. When bar close moves price down through an empty slot's level, a long is opened at that level for one slot's worth of capital (Investment / N). When bar close moves price up through the level immediately above an owned slot, that slot is closed, locking the round-trip profit between the two adjacent levels.
No Trailing, No Stop Loss: By design, each slot has a fixed exit (the level above). The strategy never trails the exit and never stops a slot out for a loss — slots whose entry price is below current market simply wait until price comes back. This is the canonical grid-bot behavior.
Capital Bounds: Total deployed capital cannot exceed the configured Investment. When all 35 slots are filled, no new orders are opened until price rises and starts closing slots. This structural cap is the strategy's primary risk control.
🔷 Why it's unique:
- Per-Level Webhook Ledger: Every fill and close emits a fully-formed JSON alert payload tagged with the specific grid slot ("Grid_BUY_L5" / "Grid_TP_L5"). The strategy can drive a DCA Bot configured for grid emulation without any glue layer.
- Pre-Allocated State: All up to 200 slot ledgers live in fixed-size arrays, so state lookups are constant-time and the chart can render every active slot with no performance overhead.
- Honest Backtest Surface: The avg entry line plotted on the chart and the open PnL displayed in the status table both reflect the actual broker-equivalent position state — derived from fill-by-fill bookkeeping, not synthetic averaging. The status table also reports the cumulative realized net profit (how much the grid has actually earned, in USDT and % of starting capital), so live performance is visible directly on the chart.
- Calibrated for TRX 15m: Default bounds, level count, and step size are set against TRX's recent observed range. The 35-level geometric ladder gives roughly 1.0% per step — wide enough to clear taker fees on each round-trip, granular enough to keep catching 15m swings inside the range.
🔷 Considerations Before Using the Strategy:
Market Selection & Range Validity: Grid strategies are most profitable in range-bound, mean-reverting markets. On strong directional trends below the configured Low, slots will keep loading as price falls and won't close until price reverses. The default High/Low (0.3713 / 0.2660) was set against TRX's recent observed range; update both whenever the regime changes.
Capital Deployment & Drawdown: The default Investment of 10,000 USDT equals 100% of starting capital — high-conviction setting that assumes the configured range holds. Per-slot risk is moderate (~2.86% of equity), but if price collapses below the Low bound, aggregate unrealized loss can grow further — the reference backtest reached a 10.95% maximum equity drawdown. Scale the Investment input down to match the worst-case drawdown you are willing to absorb.
No Stop Loss Justification: There is no exit on adverse moves below the lowest grid level. The strategy's per-trade risk is structurally capped by the per-slot allocation (Investment / N levels) — at defaults that is ~286 USDT per slot, inside the conventional 5–10% per-trade band. The aggregate unrealized exposure is controlled separately via the Investment input.
Trade Volume & Fees: Grid bots on 15m generate a high number of round-trips. The ~1.0% step is deliberately wider than a tight scalp grid so each round-trip comfortably clears the taker fee. The default commission (0.06% per trade) should be matched to your exchange's actual fees; with a profit factor of 1.227 the edge is modest, so a fee mismatch matters.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, especially on a strategy whose profitability is bounded by the chosen High/Low range remaining valid.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:TRXUSDT.P (Perpetual) — strategy is portable to any TRX / USDT pair.
Timeframe: 15M
Test Period: May 1, 2025 — June 22, 2026 (~13.7 months).
Initial Capital: 10,000 USDT.
Total Investment: 10,000 USDT (100% of capital, high-conviction setting).
Order Size per Slot: Investment / 35 ≈ 286 USDT (~2.86% of equity).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Margin for Long Positions: 100%.
Indicator Settings: Default Configuration.
Grid Bounds: High 0.3713 / Low 0.2660 (range −28.36%).
Grid Levels: 35 (Geometric spacing, ~1.0% per step).
Stop Loss: None — per-slot allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +481.18 USDT (+4.81%)
Max Equity Drawdown: 1,107.89 USDT (10.95%)
Total Closed Trades: 460
Percent Profitable: 46.30% (213 / 460)
Profit Factor: 1.227
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and set the High and Low bounds to a range you expect TRX to respect. Pick Geometric for percent-spaced levels (default, recommended) or Arithmetic. Set Grid Levels (7–200) and Total Investment to match your risk profile.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note this configuration reached 10.95%. The 460 closed trades are well above the ~100-trade floor for statistical relevance, but the 1.227 profit factor leaves a modest margin once real fees are applied.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. Every grid-level buy and grid-level close will emit a dedicated JSON payload tagged with the slot index, so each level can be tracked independently downstream.
🔷 INDICATOR SETTINGS
High Price: Top of the grid. The highest level a slot can be created from.
Low Price: Bottom of the grid. The lowest level a slot can be created from.
Grid Levels: Number of price levels between High and Low (default 35, range 7–200).
Spacing Mode: Geometric (constant percent step) or Arithmetic (constant absolute step).
Total Investment (USDT): Total capital allocated across all slots. Per-slot size = Investment / Grid Levels.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle grid lines, range box, HIGH/LOW labels, avg entry plot, fill labels, status table (shows range, levels, owned slots, investment, per-slot size, open PnL, and cumulative realized net profit).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategy

Indicator

Indicator

Key Levels 🔑 Levels is a clean intraday trading indicator designed to highlight key session levels, previous day high/low, liquidity zones, FVGs, skips, and Balanced Price Ranges.
It plots Asian and London session highs/lows, PDH/PDL, optional EMA 21/50, and a vertical PDH/PDL range HUD showing where price is located inside the previous day range. The indicator also includes a first 15-minute range breakout tool for Asian, London, and New York sessions, with breakout FVG candle coloring, entry/SL guide lines, and customizable visual settings.
Built for traders who focus on session levels, liquidity, fair value gaps, and intraday breakout/retest setups. Indicator

Volume Flow MatrixVolume Flow Matrix is a relative volume histogram that helps identify how strong or weak current market participation is compared to recent volume activity.
The indicator measures current volume against a fixed 300-bar volume baseline. Instead of showing raw volume only, it converts volume into a relative reading. This makes it easier to see whether the current candle is trading below average volume, around normal activity, with increased participation, or at an unusually high volume level.
On historical candles, the calculation uses completed candle volume. On the live candle, the indicator uses realtime volume projection. This means the current candle’s volume is estimated based on how much time has passed in the candle. As a result, the histogram can react during the candle instead of only after the candle closes.
The histogram is divided into five volume conditions:
Dry Volume shows candles with weak participation. These bars appear when relative volume is below 0.75. Dry volume can be useful for spotting quiet market phases, low-interest candles, or areas where price is moving without strong volume support.
Default Volume represents normal volume conditions. These candles do not meet the requirements for dry, directional, or extreme volume. Default volume helps separate ordinary market activity from more important volume events.
Bull Volume appears when relative volume is elevated and the candle also shows bullish pressure. For a candle to qualify as Bull Volume, relative volume must be at least 1.55, the candle must close above its open, and the close must be positioned in the upper part of the candle range. This can help highlight candles where stronger participation supports upward pressure.
Bear Volume appears when relative volume is elevated and the candle shows bearish pressure. For a candle to qualify as Bear Volume, relative volume must be at least 1.55, the candle must close below its open, and the close must be positioned in the lower part of the candle range. This can help highlight candles where stronger participation supports downward pressure.
Extreme Volume marks unusually high relative volume at or above 2.30. These candles show that volume is significantly above the recent baseline. Extreme Volume does not automatically mean bullish or bearish continuation. It should be read together with price location, candle structure, support and resistance, liquidity zones, or the broader market context.
Each candle is assigned to only one volume condition. The script checks the conditions in a fixed order so the histogram remains clean and does not stack multiple volume types on the same bar.
How to use it:
Use Dry Volume to identify low-participation areas where price movement may be less reliable.
Use Bull Volume and Bear Volume to confirm whether directional candles are supported by stronger participation.
Use Extreme Volume to mark important high-activity candles that may appear near breakouts, liquidity grabs, absorption areas, reversals, or strong continuation moves.
Use Default Volume as the neutral background state between low-volume and high-volume conditions.
Volume Flow Matrix does not provide trade entries or exits by itself. It is designed to support analysis by making volume behavior easier to read. The strongest use case is combining it with price action, market structure, key levels, liquidity, trend context, or any existing trading plan.
Indicator

Indicator

9 & 15 EMA Strategy [Trade Room]OVERVIEW
This indicator combines a fast/slow EMA crossover (default 9 and 15) with a
trend-slope filter and price-action candle confirmation to generate long and
short signals, along with automatically calculated take-profit and stop-loss
levels based on a user-defined risk:reward ratio.
The EMA 9/15 crossover is a long-standing, widely taught trend-following
concept in retail trading education. This script is my own original
implementation of that concept, built with additional filters to reduce
false signals in choppy conditions.
HOW IT WORKS
1. Trend filter: the script checks whether the fast EMA is above or below
the slow EMA to establish bullish or bearish bias.
2. Slope filter (optional): both EMAs must be sloping steeply enough,
measured as percentage change over a short lookback, to confirm the
move has real momentum rather than chopping sideways. This is adjustable
so it can be tuned per instrument and timeframe.
3. Price action filter (optional): a signal only fires when price pulls
back to the fast EMA and the resulting candle matches one of three
patterns — pin bar, engulfing, or an above-average range "big bar" —
in the direction of the trend.
4. TP/SL: stop-loss is placed at the signal candle's high/low, and take-
profit is calculated as a multiple of that risk distance, set by the
Risk:Reward input (default 1:2).
WHY IT'S USEFUL
Most EMA crossover scripts only plot crossovers, leaving the trader to
manually judge trend strength and risk levels. This script adds an
objective slope threshold and candle-pattern confirmation layer on top of
the crossover, and automatically plots calculated TP/SL levels so risk
is defined before entry, not after.
SETTINGS
- Fast/Slow EMA length — fully adjustable, not fixed to 9/15
- Slope filter toggle and threshold — tune sensitivity per asset/timeframe
- Candle pattern filter toggle
- Risk:Reward ratio for TP calculation
- Independent show/hide toggles for EMAs, labels, TP, and SL
- Alert conditions for both signal types
LIMITATIONS
Like any trend-following tool, this indicator will produce false signals
in ranging or low-volatility conditions. The slope filter is designed to
reduce — not eliminate — this. No indicator predicts price; this is a
decision-support tool, not financial advice, and past signal behavior is
not indicative of future results. Always backtest on your specific
instrument and timeframe and use proper risk management. Indicator

Indicator

Market Structure Pro+# Market Structure Pro+
**Market Structure Pro+** is a price-action-based market structure indicator designed to automatically identify trend shifts, Break of Structure (BOS), and Change of Character (CHoCH) events without relying on lagging oscillators or moving averages.
Built for traders who prefer reading market structure, this tool helps visualize the battle between buyers and sellers while highlighting key trend transitions in real time.
---
## Key Concepts
### Break of Structure (BOS)
A BOS occurs when price successfully breaks a previous swing high or swing low, confirming continuation of the current trend.
* **Bullish BOS (Green):** Indicates buyers remain in control.
* **Bearish BOS (Red):** Indicates sellers remain in control.
### Change of Character (CHoCH)
A CHoCH is the first warning sign that the current trend may be weakening.
It appears when price violates the most important structural level in the opposite direction, often preceding a trend reversal.
* Early reversal detection
* Trend exhaustion identification
* Confirmation before a new market phase begins
---
## What the Chart Demonstrates
Using the NIFTY 50 4H chart:
🚀 During the bullish expansion phase, Market Structure Pro+ continuously printed bullish BOS signals as price created higher highs and higher lows.
📈 The indicator remained aligned with the dominant trend, helping traders stay invested during the strongest part of the rally.
⚠️ Near the market peak, a CHoCH appeared before the larger decline developed, providing an early warning that bullish momentum was fading.
📉 As the downtrend matured, consecutive bearish BOS signals confirmed seller dominance and helped traders avoid fighting the trend.
🔄 Recent structural shifts indicate that traders should monitor upcoming BOS and CHoCH events for confirmation of the next directional move.
---
## Features
✔ Automatic Break of Structure detection
✔ Automatic Change of Character detection
✔ Bullish and Bearish trend identification
✔ Dynamic structure labeling
✔ Reduced chart noise
✔ Suitable for Smart Money Concepts (SMC) workflows
✔ Multi-timeframe compatibility
✔ Works on Forex, Crypto, Stocks, Indices, and Commodities
---
## Best Timeframes
* 15 Minutes
* 1 Hour
* 4 Hours
* Daily
* Weekly
Higher timeframes generally provide stronger structure signals and fewer false breaks.
---
## How to Use
### Bullish Setup
1. Wait for a bullish CHoCH or bullish BOS.
2. Confirm higher-high and higher-low formation.
3. Look for pullbacks into support or demand zones.
4. Manage risk below the latest structural low.
### Bearish Setup
1. Wait for a bearish CHoCH or bearish BOS.
2. Confirm lower-high and lower-low formation.
3. Look for pullbacks into resistance or supply zones.
4. Manage risk above the latest structural high.
---
## Who Is It For?
* Price Action Traders
* Smart Money Concept Traders
* Swing Traders
* Position Traders
* Trend Followers
* Market Structure Analysts
---
## Notes
Market Structure Pro+ focuses on objective price structure rather than predictive signals. It is designed to help traders understand what the market is currently doing rather than forecast what it might do next.
For best results, combine market structure signals with:
* Support and Resistance
* Volume Analysis
* Liquidity Zones
* Risk Management Rules
---
**Market Structure Pro+ provides a clean and systematic approach to identifying trend continuation and reversal events through BOS and CHoCH analysis, helping traders stay aligned with the dominant market structure.** Indicator

Strategy

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Window Sniper FVG # Window Sniper FVG — PulseWire Yayın Açıklaması (Taslak)
---
## OVERVIEW
**Window Sniper FVG** finds the *first* Fair Value Gap that forms inside any number of user-defined intraday time windows — and it does this on a timeframe completely independent from your chart's timeframe.
Most "session + FVG" tools on PulseWire either (a) hard-code their sessions to a single well-known killzone setup, or (b) detect every FVG that occurs without anchoring them to a specific time window. This script does neither: it lets you define **up to three independent time windows** (start time, end time, color, and label — all freely editable), and inside each window it isolates the **single first FVG** that forms there — discarding any subsequent gaps in the same window. The result is a script equally useful for ICT-style Silver Bullet trading, for custom 4-hour candle opens, for session-open killzones on indices, or for any other recurring intraday window a trader wants to study.
## WHY THIS IS A MASHUP, AND WHY IT'S JUSTIFIED
This script combines two distinct mechanisms that, on their own, solve only half the problem traders actually face:
1. **Session/window visualization** — drawing a box or strip that marks when a custom time window is active on the chart (so the trader has a visual anchor for "this is the session I'm watching").
2. **First-gap-per-window detection** — a state machine that resets at the start of every new window and locks onto the first FVG formed inside it, running entirely inside `request.security()` so the detection timeframe (e.g., 5min or 15min) is independent of whatever timeframe the chart itself is displaying.
Neither piece is useful in isolation for this specific workflow: a session marker without FVG detection is just a colored box, and an FVG detector without session-awareness cannot tell a trader *which* gap, among dozens per day, is the one that matters for their specific time-of-day model. The combination is what turns this into a single coherent tool: open the chart, see the window, see the one gap that defines it.
## KEY FEATURES (what makes this different from existing FVG scripts)
- **Not limited to Silver Bullet** — the three windows ship with the ICT Silver Bullet defaults (London Open 03:00-04:00, NY AM 10:00-11:00, NY PM 14:00-15:00), but every session is a free-form time input. Use it for 4-hour candle opens, custom killzones, economic-release windows, or any other recurring intraday period — the underlying logic doesn't know or care that the defaults happen to be Silver Bullet hours.
- **First-gap-per-window, not every gap** — inside each active window, the script locks onto the first Fair Value Gap that forms and ignores every subsequent gap until the next window starts. This mirrors how ICT-style traders actually use a killzone: one defining imbalance per session, not a cluttered feed of every 3-candle gap.
- **Independent FVG detection timeframe** — the FVG search runs on a timeframe you choose (default 5 minutes), completely decoupled from your chart's timeframe. Stay on a 15min or 1H chart for your overall read, while the script quietly finds the first 5min (or 1min, or whatever you set) gap inside each window in the background.
- **Configurable time zone** — session times are evaluated against a UTC-offset you select (UTC-5 through UTC+9, including Istanbul/Moscow at UTC+3), so the tool isn't tied to New York sessions and works for traders centered on other markets.
- **Color-coded by window, bordered by direction** — each FVG's fill color matches the window it formed in (so you can tell at a glance which session produced it), while the border color and an optional arrow in the label indicate bullish vs. bearish direction.
- **Two distinct window visualization styles** — display windows as a price-hugging box that grows with the session's range ("Label" style), or as a fixed strip offset from price by a multiple of the daily ATR ("Top"/"Bottom" style) for a cleaner, less chart-intrusive look.
## HOW TO USE IT
1. Pick the time zone matching the market you trade (General settings).
2. Enable or disable each of the three windows and set their start/end time, color, and label text. The defaults are ICT Silver Bullet hours, but you can repurpose them for any recurring session.
3. Set the FVG detection timeframe (default 5min) — this is independent of your chart's timeframe.
4. Watch each active window: the first Fair Value Gap that forms inside it gets boxed, colored by window and bordered by direction, and extends right until either price mitigates it, the trading day ends, or a fixed bar count is reached (your choice).
## CREDITS
This script's window-marking visualization is built on an open-source killzone-box concept originally shared by **@joshuuu**, and its multi-timeframe "first gap per interval" detection architecture is adapted from the open-source **"Cozy 1st FVG "** script. Both components were substantially rewritten and extended: the fixed automatic interval logic was replaced with fully user-configurable, independently toggleable time windows; a configurable time zone selector was added; the visual system (window-colored fills, direction-colored borders, auto-contrast label text, two distinct window display styles) is original work; and the two previously separate mechanisms were integrated into a single coherent first-gap-per-window pipeline. Thank you to both original authors for the groundwork.
## DISCLAIMER
This script is provided for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Fair Value Gaps and time-window analysis are descriptive tools for studying price behavior, not predictive signals or a guaranteed edge. Past behavior of price around these zones does not guarantee future results. Trade at your own risk.
--- Indicator

Smart Circuit DetectorHere is a detailed, professional, and structured description you can copy and paste directly into your PulseWire publication. It highlights the problem the script solves (chart clutter) and clearly explains its features to other traders.
Title: Minimal Circuit Change Detector (5%, 10%, 20% Limits)
Description:
Tracking intraday circuit limits or major percentage milestones can easily turn your chart into a messy, unreadable cluster of repetitive labels. The Minimal Circuit Change Detector is designed to solve exactly that.
This indicator cleanly detects when an asset hits critical daily percentage moves (5%, 10%, and 20%) from the previous day's close. Instead of spamming your chart with a label on every single candle that remains at that limit, it uses a strict state-tracking engine to plot a single, distinct tag only on the exact candle where the circuit limit is newly breached.
🌟 Key Features
Anti-Clutter State Tracking: The script remembers the currently active circuit limit. If a stock rides the 5% limit for 10 consecutive candles, you will only see one label on the very first candle of that move.
Multi-Tier Circuit Detection: Automatically detects and categorizes hits into three major bands:
5% Limit: Drops a Red label from above the bar.
10% Limit: Pushes a Yellow label from below the bar.
20% Limit: Pushes an Orange label from below the bar for extreme moves.
Fractional Noise Tolerance: Markets aren't perfectly precise. The script includes a minor buffer (e.g., triggering a 5% hit between 4.8% and 5.2%) to account for decimal noise and ensure you don't miss a limit hit just because the price was off by a fraction of a cent.
Flawless Previous Close Fetching: Utilizes PulseWire's request.security function with lookahead_on specifically targeting historical data (close ). This ensures yesterday's exact closing price is grabbed cleanly for intraday calculations without any repainting issues.
🧠 How It Works
The script calculates the maximum percentage move (both high and low) relative to the previous daily close on every single intraday bar. It evaluates these percentages against the built-in thresholds. If a new threshold is hit, it triggers a "state shift" and plots the corresponding visual tag. It will then remain silent until the price either drops out of the limits entirely or advances to the next limit tier (e.g., jumping from 5% to 10%).
🎯 Best Used For:
Volatile Markets: Extremely useful for markets with hard exchange-imposed circuit breakers (like the NSE/BSE in India or crypto assets).
Momentum Traders: Easily visually identify exactly when a stock catches fire and shifts into a new volatility gear.
Clean Charting: Perfect for traders who want critical alerts without sacrificing the visibility of their price action and candlesticks.
Add it to your chart, and never miss a circuit shift again—without the visual spam! Indicator

Indicator
