波動率
Sunmool's Next Day Model FVG AlertNY Killzone FVG Alert - ICT Fair Value Gap Detection Indicator
This comprehensive Pine Script indicator is specifically designed for traders following ICT (Inner Circle Trader) methodology and Smart Money Concepts. The indicator automatically detects Fair Value Gaps (FVG) that occur during the New York Killzone session, providing real-time alerts when these critical market imbalances are identified.
Key Features:
🎯 Fair Value Gap Detection
Automatically identifies bullish and bearish Fair Value Gaps using the classic 3-candle pattern
Filters gaps based on customizable minimum size thresholds to avoid insignificant imbalances
Provides visual representation through colored boxes and labels for easy identification
⏰ New York Killzone Focus
Specifically monitors the NY Killzone session (default: 7:00 AM - 10:00 AM EST)
Fully customizable session times to accommodate different trading preferences
Only detects FVGs when all three candles forming the gap occur within the killzone timeframe
📅 ICT Next Day Model Compliance
Automatically excludes Mondays from FVG detection as per ICT Next Day Model principles
Optional Monday exclusion can be toggled on/off based on trading strategy
Ensures alignment with professional ICT trading methodologies
🔔 Advanced Alert System
Three distinct alert conditions: Bullish FVG, Bearish FVG, and Combined alerts
Customizable alert messages for different notification preferences
Compatible with TradingView's full alert system including email, SMS, and webhook notifications
🎨 Visual Customization
Adjustable colors for bullish and bearish FVG boxes
Configurable box extension length for better visualization
Optional background highlighting during killzone sessions
Clean, professional chart presentation that doesn't clutter your analysis
📊 Technical Specifications
Works on all timeframes, though most effective on intraday charts (1m, 5m, 15m)
Timezone-aware calculations ensure accurate session detection globally
Efficient code structure minimizes processing load and chart lag
Compatible with other indicators and doesn't interfere with existing chart setups
🎯 Ideal For:
ICT methodology traders seeking automated FVG detection
Smart Money Concepts practitioners
Scalpers and day traders focusing on NY session
Traders looking to identify high-probability entry zones
Anyone interested in market structure and liquidity concepts
📈 Trading Applications:
Fair Value Gaps often serve as areas where price may return to "fill" the imbalance, making them excellent zones for:
Potential reversal areas
Take profit targets
Stop loss placement reference points
Market structure analysis
Confluence with other ICT concepts
⚙️ Customizable Parameters:
FVG minimum size filter
Killzone session start/end times
Visual display options
Alert preferences
Color schemes and styling options
This indicator brings institutional trading concepts to retail traders, helping identify the same market inefficiencies that smart money targets. By focusing specifically on the New York Killzone - one of the most liquid and volatile trading sessions - it provides high-quality signals during optimal market conditions.
Whether you're new to ICT concepts or an experienced trader looking to automate your FVG detection, this indicator provides the precision and reliability needed for professional trading analysis.
alert when price is severely changed This indicator can be used with highly volatile crypto, in which you can be alerted when the price drops severely, there is an opportunity to rise again
TP/SL Dynamic (FIB,ATR,MULTIPLE,PERCENT)TP/SL Dynamic (FIB, ATR, MULTIPLE, PERCENT)
This indicator provides a flexible framework for managing Take Profit (TP) and Stop Loss (SL) levels using multiple calculation schemes. It is designed for traders who want dynamic or rule-based levels that adapt to volatility, market type, and custom input.
The script supports four TP/SL methodologies:
Pro Standards (Auto-Select): Adapts method based on asset type and volatility.
R Multiples: Risk-based reward multiples from ATR-derived stop distance.
Fibonacci R: Fibonacci extension levels projected from recent pivots.
Percent: Fixed percentage distance from entry, adjusted by volatility.
ATR Multiples: ATR-based calculations with configurable multipliers.
Features:
Up to 3 manual entries, each with configurable time, price, and position size.
Weighted entry price calculation across multiple positions.
Single or multiple TP targets (up to 4) with automatic scaling.
Dynamic ATR option: updates SL/TP levels with live volatility or fixes them at entry.
Pivot-based logic for Fibonacci extensions.
Symbol Locking to prevent mismatches between intended pair and chart symbol.
Table display with optional R-multiples, TP/SL values, and entry details.
Visual chart elements: lines, labels, price-scale markers for SL/TP, and zebra-style info tables.
Entry markers (E1, E2, E3) for clarity.
Alerts for TP and SL triggers (both long and short).
How to Use:
Define entry prices, times, and position sizes (up to 3 entries).
Select a TP method (Pro Standards, R Multiples, Fibonacci R, Percent, or ATR Multiples).
Choose single or multiple TP mode.
Optionally enable Dynamic ATR to update levels in real time.
Check the on-chart table for all calculated levels and alerts.
Author & Credit:
Developed from the ground up by me (no external code used outside The Pine public library).
BTC CME Gap – detector & single signals# BTC CME Gap — Detector & Single Signals (Pine v5)
**What it does**
This indicator finds the **weekend gap** on **CME Bitcoin futures** and turns it into a clean, tradable object:
* Draws a **gap zone** (Friday close ↔ Monday open) as a right-extending box.
* Fires **one-time signals** per gap:
* **ENTER** – first touch of the gap zone by price.
* **FILL** – gap is considered filled when price tags **Friday’s close**.
It works on any BTC chart (spot or futures). The gap itself is calculated from **CME\:BTC1!** daily data.
---
## How it works
1. Pulls **daily** `open`/`close` from `CME:BTC1!` (`request.security`, no lookahead).
2. On **Monday**, compares Monday **open** with previous **Friday close**:
* If different → a **gap** exists.
3. Defines the zone:
* `gapTop = max(MonOpen, FriClose)`
* `gapBot = min(MonOpen, FriClose)`
4. Renders a box + boundary lines, **extending right** until price action resolves it.
5. Signals:
* **ENTER**: the first bar that **enters** the gap zone.
* **FILL**: first bar that **touches Friday close** (gap completion).
6. Each new Monday gap **replaces** the previous box and signals.
---
## Inputs
* **CME symbol** (default `CME:BTC1!`)
* **Gap timeframe** (default `D`)
* **Colors** for the box and edges
---
## Plot & Signals
* **Box** = visual gap zone (transparent fill, outlined).
* **ENTER** = triangle up below bar.
* **FILL** = triangle down above bar.
* Optional label prints **Top / Bottom / Fill** levels.
---
## Notes on behavior
* Uses `barmerge.lookahead_off` and daily aggregation, so the gap definition **does not repaint** once Monday’s daily bar is confirmed.
* Signals are **single-shot** per gap (no clutter).
* Works on any chart timeframe; the gap logic always references **CME daily**.
---
## Practical use
* Track obvious **“magnets”** for mean-reversion, stop-runs, or liquidity grabs.
* Combine with your higher-timeframe bias (e.g., **1D trend filter**) and execution on **4H/1H**.
* Typical outcomes: quick Monday fill, staged fill after partial rejection, or delayed fill during later consolidation.
---
## Customization ideas
* Add `alertcondition(enterSignal, …)` / `alertcondition(fillSignal, …)` for automation.
* Gate trades with trend filters (EMA/SMA, Kernel regression, ADX) or session tools (VWAP/POC).
* Persist multiple historical gap boxes if you want to track **unfilled** gaps.
---
**Credits**: Built for BTC CME weekend gaps; minimal, publication-ready visualization with single-event signals to keep charts clean.
Low Volatility Breakout in Trend
█ OVERVIEW
"Low Volatility Breakout in Trend" is a technical analysis tool that identifies periods of low-volatility consolidation within an ongoing trend and signals potential breakouts aligned with the trend's direction. The indicator detects trends using a simple moving average (SMA) of price, identifies consolidation zones based on the size of candle bodies, and displays the percentage change in volume (volume delta) at the breakout moment.
█ CONCEPTS
The core idea of the indicator is to pinpoint moments where traders can join an ongoing trend by capitalizing on breakouts from consolidation zones, supported by additional information such as volume delta. It provides clear visualizations of trends, consolidation zones, and breakout signals to facilitate trading decisions.
Why Use It?
* Breakout Identification: The indicator locates low-volatility consolidation zones (measured by the size of individual candle bodies, not the price range of the consolidation) and signals breakouts, enabling traders to join the trend at key moments.
* Volume Analysis: Displays the percentage change in volume (delta) relative to its simple moving average, providing insight into market activity rather than acting as a signal filter.
* Visual Clarity: Colored trend lines, consolidation boxes (drawn only after the breakout candle closes, not on subsequent candles), and volume delta labels enable quick chart analysis.
* Flexibility: Adjustable parameters, such as the volatility window length or SMA period, allow customization for various trading strategies and markets.
How It Works
* Trend Detection: The indicator calculates a simple moving average (SMA) of price (default: based on the midpoint of high/low) and creates dynamic trend bands, offset by a percentage of the average candle height (band scaling). A price above the upper band signals an uptrend, while a price below the lower band indicates a downtrend. Trend changes occur not when the price crosses the SMA but when it crosses above the upper band or below the lower band (offset by the average candle height multiplied by the scaling factor).
* Consolidation Identification: Identifies low-volatility zones when the candle body size is smaller than the average body size over a specified period (default: 20 candles) multiplied by a volatility threshold — the maximum allowable body size as a percentage of the average body (e.g., 2 means the candle body must be less than twice the average body to be considered low-volatility).
* Breakout Signals: A breakout occurs when the candle body exceeds the volatility threshold, is larger than the maximum body in the consolidation, and aligns with the trend direction (bullish in an uptrend, bearish in a downtrend).
* Visualization: Draws a trend line with a gradient, consolidation boxes (appearing only after the breakout candle closes, marking the consolidation zone), and volume delta labels. Optionally displays breakout signal arrows.
* Signals and Alerts: The indicator generates signals for bullish and bearish breakouts, including the volume delta percentage. Alerts are an additional feature that can be enabled for notifications.
Settings and Customization
* Volatility Window: Length of the period for calculating the average candle body size (default: 20).
* Volatility Threshold: Maximum candle body size as a percentage of the average body (default: 2).
* Minimum Consolidation Bars: Number of candles required for a consolidation (default: 10).
* SMA Length for Trend: Period of the SMA for trend detection (default: 100).
* Band Scaling: Offset of trend bands as a percentage of the average candle height (default: 250%), determining the distance from the SMA.
* Visualization Options: Enable/disable consolidation boxes (Show Consolidation Boxes, drawn after the breakout candle closes), volume delta labels (Show Volume Delta Labels), and breakout signals (Show Breakout Signals, e.g., triangles).
* Colors: Customize colors for the trend line, consolidation boxes, and volume delta labels.
█ OTHER SECTIONS
Usage Examples
* Joining an Uptrend: When the price breaks out of a consolidation in an uptrend with a volume delta of +50%, open a long position; the signal is stronger if the breakout candle surpasses a local high.
* Avoiding False Breakouts: Ignore breakout signals with low volume delta (e.g., below 0%) and combine the indicator with other tools (e.g., support/resistance levels or oscillators) to confirm moves in low-activity zones.
Notes for Users
* On markets that do not provide volume data, the indicator will not display volume delta — disable volume labels and enable breakout signals (e.g., triangles) instead.
* Adjust parameters to suit the market's characteristics to minimize noise.
* Combine with other tools, such as Fibonacci levels or oscillators, for greater precision.
HTF Bollinger Bands S/R with ShadingBollinger Band works as good support and resistance levels. This indicator shows the BB 2SD and 3SD on daily, weekly and monthly on lower timeframes.
DM Impulse Enhanced [BackQuant]DM Impulse Enhanced
What this is (and what it isn’t)
DM Impulse Enhanced is a signal-driven overlay that classifies market action into two practical regimes: Long (risk-on) and Cash (risk-off). It’s built around a proprietary impulse model from the directional-movement family, wrapped in a persistence test and a state machine. Because this script is private, the core mechanics are intentionally abstracted here; what follows explains how to read and use it without revealing the protected calculation.
Why traders use it
Many tools oscillate or describe “how stretched” price is; fewer make a firm, operational call that you can automate. DM Impulse Enhanced aims to do exactly that declare when upside pressure is broad and durable enough to justify a long bias, and when deterioration is strong enough to stand aside (cash/short discretion). The emphasis is on impulse persistence rather than one-off spikes.
What you see on the chart
• Long / Cash markers – Green up-triangles (Long) and red down-triangles (Cash) plot at the bar where the regime changes.
• Regime-tinted bars (optional) – Candles can be softly shaded green during Long and red during Cash for at-a-glance context.
• Trend ribbon (context only) – A narrow ribbon (fast/slow moving averages) is tinted by the current regime to show trend alignment; it does not generate signals on its own.
• No separate sub-pane – Signals are intended to sit directly on price for immediate decision-making.
How the logic behaves (high-level)
Impulse core – A directional-movement–based engine estimates the strength of buying vs. selling pressure over a user-defined horizon.
Persistence gate – Instead of reacting to a single reading, the model evaluates how consistently that impulse dominates across a configurable lookback range.
State machine – When persistence clears (or fails) a pair of thresholds, the model flips and stays in that regime until evidence justifies a change. This “stickiness” is intentional; it reduces whipsaws in choppy tape.
Inputs & controls
Calculation Settings
• DM Length – The base horizon for the impulse engine. Longer = smoother/steadier; shorter = quicker/more reactive.
• Start / End – Defines the span of the persistence check. Expanding the span asks the market to prove itself against more history before changing regime.
Signal Settings
• Long Threshold – The persistence level required to promote the model into Long.
• Short Threshold – The level that, once crossed to the downside, demotes the model into Cash. Using a cross-under event for risk-off helps avoid premature exits on noise.
Visual Settings
• Long / Short colours – Customize marker and shading hues.
• Color Bars? – Toggle candle tinting by regime (off if you prefer a clean chart).
Reading the signals
• Long prints only when the model observes sustained upside pressure across the configured span. Treat this as permission to engage with pullbacks, breakouts, or your preferred setups in the direction of the trend.
• Cash prints when downside deterioration is strong enough to invalidate the prior regime. It’s a risk-off directive—flatten, hedge, or switch to short strategies according to your plan.
• Regime persistence is a feature: once Long, the model won’t flip on minor dips; once Cash, it won’t re-arm on minor bounces. If you want more flips, shorten the spans and relax thresholds; if you want fewer, do the opposite.
Practical tuning guide
Match DM Length to your timeframe
– Intraday: smaller length for timely response.
– Swing/Position: larger length to filter desk-noise and track higher-timeframe flows.
Size the persistence span to your goal
– Narrow span: faster regime changes, more trades, more noise.
– Wide span: fewer, higher-conviction calls, longer holds.
Set realistic thresholds
– The Long threshold should be reachable with your chosen span; the Short threshold should be low enough to catch genuine deterioration but not so tight that it flips on every dip.
Decide on cosmetics
– Turn on bar tinting for discretionary reading, or keep it off when exporting screenshots or running other overlays.
Suggested workflows
• Trend-following with discipline – Trade only in the Long regime; use structure (higher lows, anchored VWAP, or pullbacks to your MA stack) for entries and the Cash flip as a portfolio-level exit.
• Risk overlay – Keep your normal strategy, but: reduce size when Cash appears; re-enable full risk only after Long reasserts.
• Multi-timeframe gating – Require Long on a higher timeframe (e.g., 4H or 1D), then take entries on a lower one. If the high-TF posts Cash, stand down.
How the ribbon fits in
The ribbon visualizes short- vs. intermediate-term trend in the same colour as the regime. It’s deliberately “dumb”: it does not change the signal, it just helps you see when price action and regime are in harmony (e.g., pullbacks during Long that hold above the ribbon).
Alerts included
• DM Impulse LONG – Triggers as the persistence measure clears the Long threshold.
• DM Impulse CASH – Triggers when deterioration crosses the Short threshold from above.
Configure alerts to fire on bar close if you want final (non-intrabar) decisions.
Strengths
• Actionable binary output – Long/Cash is unambiguous and easy to automate.
• Persistence-aware – Focuses on runs that endure, not one-bar excitement.
• Asset/timeframe agnostic – Works anywhere you trust directional-movement concepts (equities, futures, crypto, FX).
Limitations & cautions
• Not a reversal caller – It’s a regime classifier. If you need early bottoms/tops, pair it with your own exhaustion or liquidity tools.
• Parameter feasibility matters – If your thresholds are set beyond what your span can reasonably achieve, signals may rarely (or never) trigger.
• Chop happens – In mean-reverting or news-driven tape, expect more frequent flips unless you widen spans and thresholds.
• Intrabar movement – Like any responsive model, provisional intrabar states can appear before the bar closes. Use “bar close” alerts for finality.
Getting started (safe defaults you can adapt)
• Intraday bias – Shorter DM Length, modest span, moderately tight thresholds.
• Swing filter – Longer DM Length, wider span, stricter Long and sufficiently low Short.
• Conservative overlay – Keep thresholds firm and spans wide; use signals to scale risk rather than flip directions frequently.
Summary
DM Impulse Enhanced is a persistence-focused regime classifier built on directional-movement concepts. It answers a narrow question clearly “Risk-on or risk-off?” and stays with that answer until the evidence meaningfully changes. Use it as a bias switch, a portfolio risk overlay, or a gate for your existing entry logic, and size its spans/thresholds to the cadence of the market you trade.
ATR% Multiples from SMA/EMAInspired by the indicator ATR% multiple from 50-MA by @jfsrev, this tool measures how far price is extended from a Moving Average using an ATR% multiple.
What’s added vs. ATR% multiple from 50-MA indicator:
Downside multiples — flags extensions below and above the MA.
Timeframe selection — compute on Daily/Weekly/Monthly or intraday, independent of your chart.
EMA/SMA toggle — choose the MA type (EMA/SMA).
Multi-thresholds — set several ATR% multiple levels.
How to use the indicator:
I find the ATR multiple to be a very versatile tool that can be used for profit taking, mean reverting, and to make better assumption about what market environment to expect.
Which thresholds should you use?
It's up to you really. Personally I use them in a quite discretionary manner where I will change inputs depending on market and it's current regime - E.g. if we are in a strong uptrend I might use higher multiples to the upside and lower multiples to the downside, and if the market is in a range I will use them in a different manner. Be creative, test things, and work out what makes sense to you and the market and timeframe you are trading in.
Stop ATR Indicator [AlphaGroup.Live]Tralling Stop tool! Perferct for Prop Firm Traders
The Stop ATR is a volatility-based trailing stop that adapts dynamically to market conditions.
It uses the Average True Range (ATR) to plot a continuous “stair-step” line:
• In uptrend , the stop appears below price as a green line, rising with volatility.
• In downtrend , the stop appears above price as a red line, falling with volatility.
Unlike fixed stops, the Stop ATR never moves backward . It only trails in the direction of the trend, locking in profits while leaving room for price to move.
Key features:
• ATR-based trailing stop that adapts to volatility.
• Clean “one line only” design — no overlap of signals.
• Adjustable ATR period and multiplier for flexibility.
• Color-coded visualization for quick trend recognition.
How traders use it:
• Manage trades with volatility-adjusted stop placement.
• Identify trend reversals when price closes across the stop.
• Combine with other entry signals for a complete strategy.
About us:
AlphaGroup.Live develops battle-tested trading systems and tools for real traders — indicators, bots, dashboards, and strategy manuals.
Visit alphagroup.live to get our free eBook: The Ultimate 100 Trading Strategies .
HiLo Stop Indicator [AlphaGroup.Live]Don't give your money back!
The HiLo Stop is a classic trend-following tool designed to keep trading simple and disciplined.
It plots a single continuous “stair-step” line that switches sides when the trend changes:
• In uptrend , the line appears below price as a green stop.
• In downtrend , the line appears above price as a red stop.
This indicator is commonly used as:
• A trailing stop to protect open profits.
• A trend filter to confirm buy/sell direction.
• A visual guide to avoid trading against the trend.
Key features:
• Clean “one line only” design — never plots both sides at once.
• Adjustable HiLo period for sensitivity control.
• Color-coded trend visualization for quick decision making.
How traders apply it:
• Take trades in the direction of the HiLo line.
• Place stop-loss orders at or near the line.
• Close or reverse positions when price closes across the stop.
About us:
AlphaGroup.Live develops battle-tested trading systems and tools for real traders — indicators, bots, dashboards, and strategy manuals.
Visit alphagroup.live to get our free eBook: The Ultimate 100 Trading Strategies .
Prev Day Close Line + Label — White Text / Royal Blue (v6)Previous Day Close line with clear labeling.
- Gap up vs PDC
- Gap down vs PDC
Helps analyze what yesterday attempted to do helps to confirm whether the attempt was successful.
Close-Based Donchian ChannelDonchian Channel Script that is referenced of the close of candles rather than highs and lows.
Skully ATR Stoploss LevelsA comprehensive ATR-based stop loss indicator designed for precise risk management across all trading styles.
✨ KEY FEATURES:
- Live Price Levels: Display up to 3 real-time stop loss lines above/below current candle
- Historical Analysis: Scroll back to see ATR levels at any historical candle
- Triple ATR System: Three customizable ATR multipliers (1.0x, 1.5x, 2.0x default)
- Long/Short Separation: Independent controls for bullish and bearish setups
- Clean Interface: Minimal visual clutter with smart default settings
🎯 PERFECT FOR:
- Swing traders setting daily/weekly stops
- Day traders needing quick, precise risk management
- Position sizing based on volatility
- Multi-timeframe stop analysis (customizable in settings)
📊 HOW IT WORKS:
The indicator calculates Average True Range over your chosen period and displays stop loss levels at 1x, 1.5x, and 2x ATR distances (also customizable). Toggle individual levels on/off, and use historical steplines to analyze/backtest past setups.
⚙️ SMART DEFAULTS:
- Only ATR1 Long Level (Live Price) visible by default (to keep charts clean)
- Historical data available but invisible until needed
- Works across any timeframe and asset class
- Default colors will display cleanly on both Dark and Light charts
Perfect for traders who want professional-grade stop placement without chart clutter.
Session Map! This indicator visually highlights the three main Forex trading sessions — Asia, London, and New York — as well as the Power Zone when London and New York overlap.
It also includes a bottom-center dashboard showing the current active session and the best Forex pairs to trade during that session.
Key Features 🚀
Session Background Shading
Asia Session → Aqua
London Session → Teal
New York Session → Blue
Power Zone (London + NY overlap) → Gold ⚡
Dynamic Dashboard (bottom-center)
Displays current active session
Shows best pairs to trade based on session liquidity
Optimized for Forex Trading
Know instantly when to trade and what to trade
Uses session-specific recommendations based on volatility windows
Why This Indicator is Useful
This isn’t just a session visualizer — it’s a trading assistant:
Helps you identify high-liquidity trading windows
Shows you which pairs are most active per session
Highlights the Power Zone ⚡ where volatility peaks
ATR Dashboard (Pane Only)🔧 Core Logic
ATR Source: Multi-timeframe ATR (default 1H while trading 5m/15m).
Threshold Rule:
TREND = ATR > (ATR_SMA × k)
NORMAL = otherwise
Sessions: Only evaluates during London (02:00–07:00 ET) and New York (07:00–11:30 ET) by default.
Smoothing: ATR compared against its SMA (default 10-period).
k Multiplier: Controls sensitivity (default 1.20).
🖥️ Visuals
✅ TREND: Green label (or green background if enabled).
⚪ NORMAL: Gray label.
⏸️ OUT OF SESSION: Dim label, so you don’t force trades off-hours.
📊 Optional panel shows ATR, ATR_SMA, and Threshold values in real time.
📊 Dashboard + Overlay Combo
Use this overlay on your chart TF for tactical entries.
Pair with an ATR Dashboard (pane) on a higher TF (like 1H) for the strategic backdrop.
Overlay TREND + Dashboard TREND → High conviction trending environment.
Overlay TREND but Dashboard NORMAL → Fragile breakout, trade smaller or pass.
Both NORMAL → Chop/range → stick to 1:1.4 BE rules.
⚖️ Trading Playbook Integration
NORMAL Mode (ATR below threshold)
50% partial at 1R.
BE @ 1:1.4.
Runner capped at 2R.
TREND Mode (ATR above threshold)
50% partial at 1R.
BE @ 1:1.6.
Remainder trails ATR ×1.5.
Reserve ~15% of trend trades as no-partials for fat-tail home runs (4R–6R+).
🔔 Alerts
ATR Trend ON (in session) → “ATR > Threshold → Switch to TREND BE (1:1.6).”
ATR Trend OFF (in session) → “ATR ≤ Threshold → Switch to NORMAL BE (1:1.4).”
Perfect for getting pinged the moment volatility regime flips.
📌 Tips
k = 1.20 → balanced (default).
k = 1.10–1.15 → more TREND calls (sensitive).
k = 1.30+ → only strongest trends count.
Run it with overlay ON chart TF for execution, and dashboard on HTF for context.
Best used during active London/NY sessions.
✅ This isn’t a signal generator. It’s a regime filter + risk manager.
It keeps you from chasing chop and helps you mechanically switch BE rules without hesitation.
⚡ Pro tip: Combine with a Trend Continuation HUD, Elliott Wave Convergence overlay, or a Bollinger+RSI/MFI reversal scanner for a full tactical playbook.
ATR Trend Switch (ATR > k*ATR_SMA) - Overlay + Session Windows🔧 Core Logic
ATR Source: Multi-timeframe ATR (default 1H while trading 5m/15m).
Threshold Rule:
TREND = ATR > (ATR_SMA × k)
NORMAL = otherwise
Sessions: Only evaluates during London (02:00–07:00 ET) and New York (07:00–11:30 ET) by default.
Smoothing: ATR compared against its SMA (default 10-period).
k Multiplier: Controls sensitivity (default 1.20).
🖥️ Visuals
✅ TREND: Green label (or green background if enabled).
⚪ NORMAL: Gray label.
⏸️ OUT OF SESSION: Dim label, so you don’t force trades off-hours.
📊 Optional panel shows ATR, ATR_SMA, and Threshold values in real time.
📊 Dashboard + Overlay Combo
Use this overlay on your chart TF for tactical entries.
Pair with an ATR Dashboard (pane) on a higher TF (like 1H) for the strategic backdrop.
Overlay TREND + Dashboard TREND → High conviction trending environment.
Overlay TREND but Dashboard NORMAL → Fragile breakout, trade smaller or pass.
Both NORMAL → Chop/range → stick to 1:1.4 BE rules.
⚖️ Trading Playbook Integration
NORMAL Mode (ATR below threshold)
50% partial at 1R.
BE @ 1:1.4.
Runner capped at 2R.
TREND Mode (ATR above threshold)
50% partial at 1R.
BE @ 1:1.6.
Remainder trails ATR ×1.5.
Reserve ~15% of trend trades as no-partials for fat-tail home runs (4R–6R+).
🔔 Alerts
ATR Trend ON (in session) → “ATR > Threshold → Switch to TREND BE (1:1.6).”
ATR Trend OFF (in session) → “ATR ≤ Threshold → Switch to NORMAL BE (1:1.4).”
Perfect for getting pinged the moment volatility regime flips.
📌 Tips
k = 1.20 → balanced (default).
k = 1.10–1.15 → more TREND calls (sensitive).
k = 1.30+ → only strongest trends count.
Run it with overlay ON chart TF for execution, and dashboard on HTF for context.
Best used during active London/NY sessions.
✅ This isn’t a signal generator. It’s a regime filter + risk manager.
It keeps you from chasing chop and helps you mechanically switch BE rules without hesitation.
⚡ Pro tip: Combine with a Trend Continuation HUD, Elliott Wave Convergence overlay, or a Bollinger+RSI/MFI reversal scanner for a full tactical playbook.
Trend Continuation — Compact HUD Pane 🖥️ Trend Continuation HUD Panel — Multi-Factor Dashboard
This panel is your trend continuation command center ⚡. Instead of guessing which filters are in play, the HUD shows you a real-time checklist of up to 6 confluence filters — with clear ✔ and ✖ signals.
🔍 What it shows
Each row = one filter. Green ✔ means it’s passing in the trend direction, red ✖ means it’s failing, grey ✖ means neutral/inactive.
✔ Ichimoku (9/26/52/26) → Above/Below cloud + Tenkan/Kijun order
✔ MACD (12/26/9) → Histogram slope & zero-line alignment
✔ RSI / MFI (14) → Momentum ≥60 bull / ≤40 bear
✔ ADX (14) → Strength ≥20 and rising
✔ EMA Alignment (9/21/55/233) (optional) → Stack order confirms trend engine
✔ ATR Slope (14) (optional) → Expanding volatility filter
📊 Score Line (0–6 scale)
At the bottom of the HUD you’ll see a colored score plot:
🟢 5–6 = A-Grade Trend Environment → strongest continuation regimes
🟡 3–4 = Mixed Bag → wait for clarity
🔴 0–2 = Fail Zone → stay flat, no trend support
🎯 How to use it
Scan the HUD first → wait until Score ≥5 and most rows are ✔ green.
Then check Overlay labels/arrows → only take signals while HUD is green (trend environment confirmed).
Adjust strictness with minChecks:
• Normal Days → Score ≥4 acceptable (partial TP style).
• Trend Days → Demand Score ≥5 (stacked, high-conviction runs).
🧩 Best Practices
⏰ Focus on London & NY sessions (HUD grays out off-hours).
🔄 Keep the HUD & Overlay in sync (same EMA/ATR/session settings).
⚡ Use the HUD as your filter, Overlay as your trigger → keeps you aligned with your trading plan and risk model.
QAIS Advanced Liquidity Hunter [HYBRID ALERT]I Qais Shah from Kalmeshwar, Nagpur. Have Unlock Institutional-Grade Strategies with the Advanced Liquidity Hunter
This powerful indicator is designed for serious traders seeking to capitalize on the same market mechanics used by institutional players. The Advanced Liquidity Hunter identifies high-probability reversal setups by detecting key market events: Liquidity Sweeps, Fair Value Gaps (FVG), and RSI Divergence, all filtered through a multi-timeframe analysis for maximum confluence.
🔍 What This Indicator Does:
Detects Liquidity Sweeps: Finds precise moments where price aggressively sweeps beyond a recent swing high or low to trigger stop orders (liquidity) and then rejects back into the range—a classic sign of institutional activity.
Identifies Fair Value Gaps (FVG): Highlights imbalanced areas on the chart where price is likely to return, providing excellent entry zones.
Multi-Timeframe RSI Divergence: Confirms momentum shifts by analyzing divergence not just on your current chart, but also on the higher 1-hour timeframe for stronger, more reliable signals.
Volume Spike Confirmation: Ensures the move is validated by a significant increase in trading volume, separating genuine moves from false breakouts.
Smart Alert System: Sends direct alerts to your phone or email when a perfect confluence of conditions is met, so you never miss a setup.
⚙️ How to Use It:
This is a Hybrid Quant-Discretionary tool. It does the heavy lifting of scanning the markets 24/7, but it requires your expert discretion for final execution.
Wait for the Alert: The indicator will send an alert when a high-quality setup is detected.
Confirm on Higher Timeframe (HTF): Open the chart. Check that the signal aligns with a major HTF support/resistance level, trend, or order block.
Execute Your Plan: Manually enter the trade using the provided logic, ensuring you implement strict risk management (1-2% of capital per trade).
🎯 Ideal For:
Swing Traders and Day Traders looking for high-quality, high-probability entries.
Those who understand and trade based on market structure, liquidity, and order flow.
Traders who prefer a disciplined, alert-based system over emotional decision-making.
📊 Key Features:
Fully Customizable: Adjust all parameters (ATR multiplier, RSI length, volume spike) to fit your trading style and the current market volatility.
Clear Visuals: Easy-to-see triangles and crosses plot the exact entry points and liquidity sweeps directly on your chart.
Non-Repainting: The logic uses confirmed closing prices to ensure signals do not repaint.
Disclaimer: This tool is designed to identify high-probability opportunities, not guaranteed wins. Always practice proper risk management and backtest the strategy before using real capital. Past performance is not indicative of future results.
PCCE + False Breakout DetectorPCCE + False Breakout Detector
Type: Invite‑Only Indicator (closed source)
Purpose: Identify volatility compression (“coil”) and the first expansion after it, while filtering failed breakouts (bull/bear traps).
What it does — in plain language
This tool unifies two complementary behaviours that often appear back‑to‑back around strong moves:
1. Price Coil Compression & Expansion (PCCE) – finds compact ranges created by shrinking candle bodies, wick dominance, and contracting range relative to recent history. When price expands out of that coil with strength, it prints a Burst↑ / Burst↓ label.
2. False Breakout Detection – monitors recent swing extremes. If price closes beyond a prior high/low but re‑enters that range within a short window, it marks a trap (❌ red for failed bullish breakout, ❌ green for failed bearish breakout).
Why combine them?
PCCE tells you where the next move is likely brewing; the trap filter validates whether the breakout is genuine or failing. Used together they turn raw breakouts into structured, risk‑aware opportunities.
How it works — concepts behind the calculations
1) Detecting “Coil” (compression)
• Body contraction: Count of consecutive bars where |close-open| is decreasing within a sliding window.
• Wick dominance: Average (upper wick + lower wick) / body must exceed a threshold → indecision/liquidity probing.
• Relative range: Current high‑low over the window must be smaller than the average of prior windows (tight market).
• Coil zone: When the above conditions align, the most recent high/low envelope defines the coil’s bounds.
2) Confirming “Burst” (expansion)
A breakout through the coil high/low is only labelled when:
• Body thrust: current body > moving‑average body × multiplier (large real body).
• Relative volume: volume > moving‑average volume × multiplier (participation filter).
• Trend alignment (optional): close vs EMA to avoid counter‑trend bursts.
• Cooldown: minimum bars between signals to reduce clustering.
Result: Burst↑ if closing beyond coil high with thrust; Burst↓ if closing beyond coil low with thrust.
3) Flagging failed breakouts (traps)
• Track recent swing high/low from a lookback excluding the current bar.
• If a bar closes beyond that swing but within N bars price closes back inside the swing range → flag a trap:
• Bull trap: ❌ red above bar (break above failed)
• Bear trap: ❌ green below bar (break below failed)
⸻
What you see on the chart
• Coil zone: a shaded box (tight range envelope).
• Burst labels: Burst↑ (triangle up) and Burst↓ (triangle down) at confirmed expansion bars.
• Trap markers: ❌ red (failed bullish breakout), ❌ green (failed bearish breakout).
• Alerts: “Burst Up”, “Burst Down” (fires on bar close only).
⸻
How to use it
1. Preparation : When a coil box forms, mark the zone and wait.
2. Trigger : A Burst label confirms the first expansion with thrust/volume; treat it as an entry cue only within your own plan.
3. Validation : If a ❌ trap appears shortly after a break, treat it as caution/exit info; the breakout is failing.
4. Context : Best on 15m–4H. Combine with higher‑timeframe bias, nearby S/R, and risk controls.
5. Parameters to tune :
• Coil window, wick‑to‑body threshold, and range tightness
• Body/volume multipliers
• EMA trend filter on/off
• Trap lookback and confirmation bars
• Cooldown bars
⸻
Originality & usefulness
• Behaviour‑first compression scoring: Coil detection blends monotonic body shrink, wick dominance, and relative range contraction—not generic bands or a single oscillator.
• Two‑stage discipline: A burst is not just any break; it requires body thrust + relative volume (+ optional trend) to reduce noise.
• Immediate invalidation layer: The trap filter is evaluated right after the burst context, turning breakouts into risk‑aware signals rather than blind entries.
• Operator controls: Cooldown + multipliers let traders adapt the strictness to instrument/session behaviour.
⸻
Repainting & limitations
• Signals are evaluated on bar close; no lookahead, no request.security() with lookahead_on.
• Coil boxes while forming can update until confirmed; Burst/Trap labels do not repaint after their bar closes.
• News spikes and illiquid hours can still create noise; adjust multipliers and cooldown for your market.
⸻
Disclaimer
This indicator is an educational decision‑support tool, not financial advice. Markets are uncertain; past behaviour does not guarantee future results. Use with your own analysis and risk management.
Donchian Squeeze Oscillator# Donchian Squeeze Oscillator (DSO) - User Guide
## Overview
The Donchian Squeeze Oscillator is a technical indicator designed to identify periods of low volatility (squeeze) and high volatility (expansion) in financial markets by measuring the distance between Donchian Channel bands. The indicator normalizes this measurement to a 0-100 scale, making it easy to interpret across different timeframes and instruments.
## How It Works
The DSO calculates the width of Donchian Channels as a percentage of the middle line, smooths this data, and then normalizes it using historical highs and lows over a specified lookback period. The result is inverted so that:
- **High values (80+)** = Narrow channels = Low volatility = Squeeze
- **Low values (20-)** = Wide channels = High volatility = Expansion
## Key Parameters
### Core Settings
- **Donchian Channel Period (20)**: The number of bars used to calculate the highest high and lowest low for the Donchian Channels
- **Smoothing Period (5)**: Applies moving average smoothing to reduce noise in the oscillator
- **Normalization Lookback (200)**: Historical period used to normalize the oscillator between 0-100
### Threshold Levels
- **Over Squeeze (80)**: Values above this level indicate strong squeeze conditions
- **Over Expansion (20)**: Values below this level indicate strong expansion conditions
## Reading the Indicator
### Color Coding
- **Red Line**: Squeeze condition (above 80 threshold) - Markets are consolidating
- **Orange Line**: Neutral/trending condition with upward momentum
- **Green Line**: Expansion condition or downward momentum
### Visual Elements
- **Red Dashed Line (80)**: Squeeze threshold - potential breakout zone
- **Gray Dotted Line (50)**: Middle line - neutral zone
- **Green Dashed Line (20)**: Expansion threshold - high volatility zone
- **Red Background**: Highlights active squeeze periods
## Trading Applications
### 1. Breakout Trading
- **Setup**: Wait for DSO to reach 80+ (squeeze zone)
- **Entry**: Look for breakouts when DSO starts declining from squeeze levels
- **Logic**: Prolonged low volatility often precedes significant price movements
### 2. Volatility Cycle Trading
- **Squeeze Phase**: DSO > 80 - Prepare for potential breakout
- **Breakout Phase**: DSO declining from 80 - Trade the direction of breakout
- **Expansion Phase**: DSO < 20 - Expect trend continuation or reversal
### 3. Trend Confirmation
- **Orange Color**: Suggests bullish momentum during expansion
- **Green Color**: Suggests bearish momentum or consolidation
- Use in conjunction with price action for trend confirmation
## Best Practices
### Timeframe Selection
- **Higher Timeframes (Daily, 4H)**: More reliable signals, fewer false breakouts
- **Lower Timeframes (1H, 15M)**: More frequent signals but higher noise
- **Multi-timeframe Analysis**: Confirm squeeze on higher TF, enter on lower TF
### Parameter Optimization
- **Volatile Markets**: Increase Donchian period (25-30) and smoothing (7-10)
- **Range-bound Markets**: Decrease Donchian period (15-20) for more sensitivity
- **Trending Markets**: Use longer normalization lookback (300-400)
### Signal Confirmation
Always combine DSO signals with:
- **Price Action**: Support/resistance levels, chart patterns
- **Volume**: Confirm breakouts with increasing volume
- **Other Indicators**: RSI, MACD, or momentum oscillators
## Alert System
The indicator includes built-in alerts for:
- **Squeeze Started**: When DSO crosses above the squeeze threshold
- **Expansion Started**: When DSO crosses below the expansion threshold
## Common Pitfalls to Avoid
1. **False Breakouts**: Don't trade every squeeze - wait for confirmation
2. **Parameter Over-optimization**: Stick to default settings initially
3. **Ignoring Market Context**: Consider overall market conditions and news
4. **Single Indicator Reliance**: Always use additional confirmation tools
## Advanced Tips
- Monitor squeeze duration - longer squeezes often lead to bigger moves
- Look for squeeze patterns at key support/resistance levels
- Use DSO divergences with price for potential reversal signals
- Combine with Bollinger Band squeezes for enhanced accuracy
## Conclusion
The Donchian Squeeze Oscillator is a powerful tool for identifying volatility cycles and potential breakout opportunities. Like all technical indicators, it should be used as part of a comprehensive trading strategy rather than as a standalone signal generator. Practice with the indicator on historical data before implementing it in live trading to understand its behavior in different market conditions.
Realized Volatility (StdDev of Returns, %)Realized Volatility (StdDev of Returns, %)
This indicator measures realized (historical) volatility by calculating the standard deviation of log returns over a user-defined lookback period. It helps traders and analysts observe how much the price has varied in the past, expressed as a percentage.
How it works:
Computes close-to-close logarithmic returns.
Calculates the standard deviation of these returns over the selected lookback window.
Provides three volatility measures:
Daily Volatility (%): Standard deviation over the chosen period.
Annualized Volatility (%): Scaled using the square root of the number of trading days per year (default = 250).
Horizon Volatility (%): Scaled to a custom horizon (default = 5 days, useful for short-term views).
Inputs:
Lookback Period: Number of bars used for volatility calculation.
Trading Days per Year: Used for annualizing volatility.
Horizon (days): Adjusts volatility to a shorter or longer time frame.
Notes:
This is a statistical measure of past volatility, not a forecasting tool.
If you change the scale to logarithmic, the indicator readibility improves.
It should be used for analysis in combination with other tools and not as a standalone signal.