Hann Window FIR Filter Ribbon [BigBeluga]🔵 OVERVIEW
The Hann Window FIR Filter Ribbon is a trend-following visualization tool based on a family of FIR filters using the Hann window function. It plots a smooth and dynamic ribbon formed by six Hann filters of progressively increasing length. Gradient coloring and filled bands reveal trend direction and compression/expansion behavior. When short-term trend shifts occur (via filter crossover), it automatically anchors visual support/resistance zones at the nearest swing highs or lows.
🔵 CONCEPTS
Hann FIR Filter: A finite impulse response filter that uses a Hann (cosine-based) window for weighting past price values, resulting in a non-lag, ultra-smooth output.
hannFilter(length)=>
var float hann = na // Final filter output
float filt = 0
float coef = 0
for i = 1 to length
weight = 1 - math.cos(2 * math.pi * i / (length + 1))
filt += price * weight
coef += weight
hann := coef != 0 ? filt / coef : na
Ribbon Stack: The indicator plots 6 Hann FIR filters with increasing lengths, creating a smooth "ribbon" that adapts to price shifts and visually encodes volatility.
Gradient Coloring: Line colors and fill opacity between layers are dynamically adjusted based on the distance between the filters, showing momentum expansion or contraction.
Dynamic Swing Zones: When the shortest filter crosses its nearest neighbor, a swing high/low is located, and a triangle-style level is anchored and projected to the right.
Self-Extending Levels: These dynamic levels persist and extend until invalidated or replaced by a new opposite trend break.
🔵 FEATURES
Plots 6 Hann FIR filters with increasing lengths (controlled by Ribbon Size input).
Automatically colors each filter and the fill between them with smooth gradient transitions.
Detects trend shifts via filter crossover and anchors visual resistance (red) or support (green) zones.
Support/resistance zones are triangle-style bands built around recent swing highs/lows.
Levels auto-extend right and adapt in real time until invalidated by price action.
Ribbon responds smoothly to price and shows contraction or expansion behavior clearly.
No lag in crossover detection thanks to FIR architecture.
Adjustable sensitivity via Length and Ribbon Size inputs.
🔵 HOW TO USE
Use the ribbon gradient as a visual trend strength and smooth direction cue.
Watch for crossover of shortest filters as early trend change signals.
Monitor support/resistance zones as potential high-probability reaction points.
Combine with other tools like momentum or volume to confirm trend breaks.
Adjust ribbon thickness and length to suit your trading timeframe and volatility preference.
🔵 CONCLUSION
Hann Window FIR Filter Ribbon blends digital signal processing with trading logic to deliver a visually refined, non-lagging trend tool. The adaptive ribbon offers insight into momentum compression and release, while swing-based levels give structure to potential reversals. Ideal for traders who seek smooth trend detection with intelligent, auto-adaptive zone plotting.
Trend Analizi
Time-Decaying Percentile Oscillator [BackQuant]Time-Decaying Percentile Oscillator
1. Big-picture idea
Traditional percentile or stochastic oscillators treat every bar in the look-back window as equally important. That is fine when markets are slow, but if volatility regime changes quickly yesterday’s print should matter more than last month’s. The Time-Decaying Percentile Oscillator attempts to fix that blind spot by assigning an adjustable weight to every past price before it is ranked. The result is a percentile score that “breathes” with market tempo much faster to flag new extremes yet still smooth enough to ignore random noise.
2. What the script actually does
Build a weight curve
• You pick a look-back length (default 28 bars).
• You decide whether weights fall Linearly , Exponentially , by Power-law or Logarithmically .
• A decay factor (lower = faster fade) shapes how quickly the oldest price loses influence.
• The array is normalised so all weights still sum to 1.
Rank prices by weighted mass
• Every close in the window is paired with its weight.
• The pairs are sorted from low to high.
• The cumulative weight is walked until it equals your chosen percentile level (default 50 = median).
• That price becomes the Time-Decayed Percentile .
Find dispersion with robust statistics
• Instead of a fragile standard deviation the script measures weighted Median-Absolute-Deviation about the new percentile.
• You multiply that deviation by the Deviation Multiplier slider (default 1.0) to get a non-parametric volatility band.
Build an adaptive channel
• Upper band = percentile + (multiplier × deviation)
• Lower band = percentile – (multiplier × deviation)
Normalise into a 0-100 oscillator
• The current close is mapped inside that band:
0 = lower band, 50 = centre, 100 = upper band.
• If the channel squeezes, tiny moves still travel the full scale; if volatility explodes, it automatically widens.
Optional smoothing
• A second-stage moving average (EMA, SMA, DEMA, TEMA, etc.) tames the jitter.
• Length 22 EMA by default—change it to tune reaction speed.
Threshold logic
• Upper Threshold 70 and Lower Threshold 30 separate standard overbought/oversold states.
• Extreme bands 85 and 15 paint background heat when aggressive fade or breakout trades might trigger.
Divergence engine
• Looks back twenty bars.
• Flags Bullish divergence when price makes a lower low but oscillator refuses to confirm (value < 40).
• Flags Bearish divergence when price prints a higher high but oscillator stalls (value > 60).
3. Component walk-through
• Source – Any price series. Close by default, switch to typical price or custom OHLC4 for futures spreads.
• Look-back Period – How many bars to rank. Short = faster, long = slower.
• Base Percentile Level – 50 shows relative position around the median; set to 25 / 75 for quartile tracking or 90 / 10 for extreme tails.
• Deviation Multiplier – Higher values widen the dynamic channel, lowering whipsaw but delaying signals.
• Decay Settings
– Type decides the curve shape. Exponential (default 1.16) mimics EMA logic.
– Factor < 1 shrinks influence faster; > 1 spreads influence flatter.
– Toggle Enable Time Decay off to compare with classic equal-weight stochastic.
• Smoothing Block – Choose one of seven MA flavours plus length.
• Thresholds – Overbought / Oversold / Extreme levels. Push them out when working on very mean-reverting assets like FX; pull them in for trend monsters like crypto.
• Display toggles – Show or hide threshold lines, extreme filler zones, bar colouring, divergence labels.
• Colours – Bullish green, bearish red, neutral grey. Every gradient step is automatically blended to generate a heat map across the 0-100 range.
4. How to read the chart
• Oscillator creeping above 70 = market auctioning near the top of its adaptive range.
• Fast poke above 85 with no follow-through = exhaustion fade candidate.
• Slow grind that lives above 70 for many bars = valid bullish trend, not a fade.
• Cross back through 50 shows balance has shifted; treat it like a micro trend change.
• Divergence arrows add extra confidence when you already see two-bar reversal candles at range extremes.
• Background shading (semi-transparent red / green) warns of extreme states and throttles your position size.
5. Practical trading playbook
Mean-reversion scalps
1. Wait for oscillator to reach your desired OB/ OS levels
2. Check the slope of the smoothing MA—if it is flattening the squeeze is mature.
3. Look for a one- or two-bar reversal pattern.
4. Enter against the move; first target = midline 50, second target = opposite threshold.
5. Stop loss just beyond the extreme band.
Trend continuation pullbacks
1. Identify a clean directional trend on the price chart.
2. During the trend, TDP will oscillate between midline and extreme of that side.
3. Buy dips when oscillator hits OS levels, and the same for OB levels & shorting
4. Exit when oscillator re-tags the same-side extreme or prints divergence.
Volatility regime filter
• Use the Enable Time Decay switch as a regime test.
• If equal-weight oscillator and decayed oscillator diverge widely, market is entering a new volatility regime—tighten stops and trade smaller.
Divergence confirmation for other indicators
• Pair TDP divergence arrows with MACD histogram or RSI to filter false positives.
• The weighted nature means TDP often spots divergence a bar or two earlier than standard RSI.
Swing breakout strategy
1. During consolidation, band width compresses and oscillator oscillates around 50.
2. Watch for sudden expansion where oscillator blasts through extreme bands and stays pinned.
3. Enter with momentum in breakout direction; trail stop behind upper or lower band as it re-expands.
6. Customising decay mathematics
Linear – Each older bar loses the same fixed amount of influence. Intuitive and stable; good for slow swing charts.
Exponential – Influence halves every “decay factor” steps. Mirrors EMA thinking and is fastest to react.
Power-law – Mid-history bars keep more authority than exponential but oldest data still fades. Handy for commodities where seasonality matters.
Logarithmic – The gentlest curve; weight drops sharply at first then levels off. Mimics how traders remember dramatic moves for weeks but forget ordinary noise quickly.
Turn decay off to verify the tool’s added value; most users never switch back.
7. Alert catalogue
• TD Overbought / TD Oversold – Cross of regular thresholds.
• TD Extreme OB / OS – Breach of danger zones.
• TD Bullish / Bearish Divergence – High-probability reversal watch.
• TD Midline Cross – Momentum shift that often precedes a window where trend-following systems perform.
8. Visual hygiene tips
• If you already plot price on a dark background pick Bullish Color and Bearish Color default; change to pastel tones for light themes.
• Hide threshold lines after you memorise the zones to declutter scalping layouts.
• Overlay mode set to false so the oscillator lives in its own panel; keep height about 30 % of screen for best resolution.
9. Final notes
Time-Decaying Percentile Oscillator marries robust statistical ranking, adaptive dispersion and decay-aware weighting into a simple oscillator. It respects both recent order-flow shocks and historical context, offers granular control over responsiveness and ships with divergence and alert plumbing out of the box. Bolt it onto your price action framework, trend-following system or volatility mean-reversion playbook and see how much sooner it recognises genuine extremes compared to legacy oscillators.
Backtest thoroughly, experiment with decay curves on each asset class and remember: in trading, timing beats timidity but patience beats impulse. May this tool help you find that edge.
Moving Average Shift [Quantora]Title: Moving Average Shift
Description:
The Moving Average Shift is a dynamic technical analysis tool designed to help traders better visualize trend strength and direction using a combination of customizable moving averages and a volatility-adjusted oscillator.
🔧 Features:
Multi-Type Moving Average Selection
Choose from SMA, EMA, SMMA (RMA), WMA, and VWMA for your main signal line.
ZLSMA Trio
Three Zero-Lag Smoothed Moving Averages (ZLSMA) with adjustable lengths and colors provide a smoother trend-following structure without the delay of traditional MAs.
EMA Ribbon (50/100/200)
Add clarity to long-term trend direction with layered Exponential Moving Averages in key institutional periods.
Volatility-Adjusted Oscillator
A color-changing oscillator calculated from the normalized deviation between price and the selected MA. This helps identify trend shifts and momentum buildups.
Custom MA Line Widths and Styling
Full control over the width and appearance of all MA lines for visual clarity.
Bar & Candle Coloring
Bars and candles dynamically change color based on the relationship between price and the selected MA — helping you quickly assess bullish/bearish conditions.
📈 How It Helps:
Spot early trend shifts through the oscillator.
Confirm trades using the alignment between ZLSMAs and EMAs.
Quickly assess current trend conditions using color-coded price bars.
Real-Time Swing High/Low Detector with liquidity sweepThis script identifies the most important market structure points (swing highs/lows) and liquidity sweeps in a configurable and timeframe-adaptive manner.
By default:
It shows 5 recent swing highs and lows to keep your charts readable.
It detects and illustrates up to 3 Liquidity Sweeps (very close new highs/lows to earlier extremes).
It automatically adjusts how tight the sweep detection is based on your chart’s timeframe to balance precision and noise.
You can tweak all these numbers via the input settings panel to customize the indicator to your personal trading style and chart preferences
Configurable Parameters
Pivot Length (pivot_length)
What it does: Determines how many bars to the left and right the script looks at when identifying swing highs and lows.
Effect: Increasing this value results in fewer, more significant swings; decreasing it makes the indicator more sensitive and detects more swings.
Default: 5
Suggested: Adjust based on your trading timeframe and style to balance sensitivity and noise.
Show Labels (show_labels)
What it does: Toggles the display of swing labels such as HH, HL, LH, LL on the chart.
Effect: If enabled, the script marks swing points with their corresponding label for easier visual reference.
Default: true
Use: Turn off if you prefer a cleaner chart without textual swing indicators.
Show Current Levels (show_current_levels)
What it does: Toggles horizontal lines extending from the latest swing highs and lows.
Effect: Provides visual support/resistance zones on the chart.
Default: true
Use: Helpful for visualizing major price levels based on recent swings.
Max Swing Points (max_swings)
What it does: Limits the number of swing points stored and displayed.
Effect: Prevents chart clutter and performance issues by controlling history length.
Default: 20
Use: Increase for longer history; decrease for lighter charts.
Liquidity Sweep Threshold (liq_sweep_threshold_pc)
What it does: Defines the maximum percentage price difference allowed to consider a new high/low "very close" to the previous one, detecting a Liquidity Sweep.
Effect: Controls how sensitively the script detects these sweep points.
Default: Automatically set based on chart timeframe:
For timeframes below 1 hour: 0.05% (stricter, less tolerant)
For 1 hour and above: 0.1% (more tolerant)
Use: This dynamic setting ensures relevance of Liquidity Sweeps across different timeframes.
Liquidity Sweep Label Transparency (liq_sweep_alpha)
What it does: Controls the opacity of "Liquidity Sweep" labels, with 0 being fully opaque and 255 fully transparent.
Default: 10 (mostly opaque but slightly transparent)
Use: You can increase this value if you want the labels to be more subtle.
Random HTFRandom HTF is a powerful market structure overlay designed for intraday and swing traders who want to anchor their trades using high-probability zones, NFP alignment, and historical statistical edge.
🧠 Core Features
Weekly 5 EMA Anchor
Plots the weekly 5-period EMA and calculates custom upper/lower EMA zones (e.g., 2.5%–3%) to define optimal extension/reversion levels.
Session Box Framework
Automatically maps key opening sessions:
Sunday 6:00–7:30 PM ET (Asia open structure)
Tuesday 9:30–10:30 AM ET (often key pivot for the week)
Monthly Structure Levels
Prior Month High, Low, Mid, and 30% retracement (dynamic bullish/bearish logic)
Includes current month 30% level
Optional historical monthly lines for deeper confluence
Previous Week Levels
High, Low, 25%, 50%, 75% zones
Custom coloring, line styles, and penetration analysis with tables
NFP Mode (Non-Farm Payroll Smart Context)
Automatically detects NFP Fridays
Builds weekly/monthly boxes from that candle
Annotates whether price is above/below/inside NFP range
📊 Probability Engine (Optional)
Enable advanced stats to access:
Weekly penetration probabilities into custom EMA zones
Entry/completion rates for each zone
Median/mean/mode of weekly price extensions
Full day-of-week breakdown showing which days tend to hit/exceed your configured zone
Opening-position impact vs EMA (does the week open above or below?)
📐 Ideal Use Case
Trade intraday breakouts/reversions with awareness of higher timeframe stretch
Use EMAs + zones to frame when a move is extended or just beginning
Identify structural traps/fakeouts around NFPs, Tuesdays, or prior month levels
Quantify whether the market is operating in a compressed or expansive state
🔧 Customization
Full control over:
Time filtering (e.g., only analyze 9:30–16:00 ET)
EMA lengths and percentage bands
Zone styling (colors, labels, widths)
Whether to show current vs. historical levels
This tool blends HTF structure, macro calendar awareness, and quantified stretch behavior into a single overlay. Perfect for traders who want probabilistic alignment before entering intraday setups.
Volatility Wick Trap — Smart Reversal EngineThe Volatility Wick Trap — Smart Reversal Engine is a precision reversal detection tool designed for traders who rely on smart money footprints, volatility compression, and liquidity wick exhaustion to time entries near market turns.
💡 Core Components:
Volatility Squeeze Detection: Identifies candles where range compresses significantly compared to the 14-period average true range, highlighting potential breakout zones.
Liquidity Wick Exhaustion: Detects candles with dominant upper or lower wicks, signaling failed liquidity grabs or stop hunts.
Contextual EMA Filter: Uses a 21-period EMA to filter signals, improving accuracy by aligning with market structure bias.
🔍 How It Works:
Green diamond lines mark bullish hidden reversal zones.
Red diamond lines mark bearish hidden reversal traps.
These lines only appear when volatility compresses and wick traps are confirmed within the trend context.
✅ Clean. Minimal. Tactical.
Ideal for scalpers, swing traders, and smart money enthusiasts looking to fade emotional price spikes.
20-Candle ATR in Pips (5m only)This custom indicator displays the Average True Range (ATR) over the last 20 candles on a 5-minute chart, specifically designed for pairs where 1 pip = 0.01.
Key features:
📐 Calculates a simple moving average of the true range over the last 20 five-minute candles.
📋 Outputs the ATR value in a clean table with a green background and white text.
⚠️ Designed exclusively for the 5-minute timeframe – prompts you to switch if you’re on a different one.
📏 Values are shown in pips (e.g., “ATR (20 candles): 9.83 pips”).
This tool is ideal for short-term volatility tracking, scalping strategies, and identifying market conditions where price is expanding or contracting.
CPR by myBiniyogCPR by myBiniyog
Purpose:
Clearly plots the Central Pivot Range (CPR), Support, and Resistance levels daily, weekly, and monthly (optional). CPR levels help intraday traders identify potential market direction, trends, and reversal points. CPR lines plotted clearly (blue), Support levels (green), and Resistance levels (red).
Calculation Method:
Pivot (P) = (High + Low + Close) / 3
Bottom Central (BC) = (High + Low) / 2
Top Central (TC) = Pivot + (Pivot - BC)
Support (S1-S3) and Resistance (R1-R3) levels calculated traditionally from pivot formulas.
Uniqueness & Originality:
Fully original script combining multi-timeframe (Daily/Weekly/Monthly) pivots.
Unique, clear visual representation designed for ease of use.
Closed-source to protect custom visual style and original logic.
Recommended Timeframes:
For optimal clarity and performance, use on 5-minute, 10-minute, or 15-minute intraday charts.
Compliance Statement:
Fully compliant with TradingView House Rules. Original work, not derived from publicly available scripts.
Ultimate Precision Buy/Sell with SL - Clean Labels FIXThis is a premium indicator designed for traders who demand accuracy, simplicity, and clean visual signals.
✅ Key Features:
📈 Precise Buy/Sell entries based on trend confirmation (EMA) and momentum (RSI)
🛡️ Automatic Stop Loss (SL) drawn for every trade, calculated from ATR
🔄 SL line dynamically moves with each new candle to reflect live action
❗ Only one active signal at a time – no clutter, no repaints
⏱ Optimized for 1H timeframe
💰 Best for Forex pairs, Gold (XAUUSD), Silver (XAGUSD), Platinum (XPTUSD)
🧠 How it works:
Buy Signal: When fast EMA > slow EMA & RSI crosses above 30
Sell Signal: When fast EMA < slow EMA & RSI crosses below 70
A single SL line is drawn per trade and remains until either:
Opposite signal appears, or
SL is hit
⚠️ No repainting. No noise. Just precision.
If you want to trade smart, clean and with confidence – this indicator is built for you.
SMA 12+48The indicator checks the price entry into the 0.618-0.786 zone to the Fibonacci lines and gives a buy signal at the exit
SMA 12+48The indicator checks the price entry into the 0.618-0.786 zone to the Fibonacci lines and gives a buy signal at the exit
Volume Based Analysis V 1.00
Volume Based Analysis V1.00 – Multi-Scenario Buyer/Seller Power & Volume Pressure Indicator
Description:
1. Overview
The Volume Based Analysis V1.00 indicator is a comprehensive tool for analyzing market dynamics using Buyer Power, Seller Power, and Volume Pressure scenarios. It detects 12 configurable scenarios combining volume-based calculations with price action to highlight potential bullish or bearish conditions.
When used in conjunction with other technical tools such as Ichimoku, Bollinger Bands, and trendline analysis, traders can gain a deeper and more reliable understanding of the market context surrounding each signal.
2. Key Features
12 Configurable Scenarios covering Buyer/Seller Power convergence, divergence, and dominance
Advanced Volume Pressure Analysis detecting when both buy/sell volumes exceed averages
Global Lookback System ensuring consistency across all calculations
Dominance Peak Module for identifying strongest buyer/seller dominance at structural pivots
Real-time Signal Statistics Table showing bullish/bearish counts and volume metrics
Fully customizable inputs (SMA lengths, multipliers, timeframes)
Visual chart markers (S01 to S12) for clear on-chart identification
3. Usage Guide
Enable/Disable Scenarios: Choose which signals to display based on your trading strategy
Fine-tune Parameters: Adjust SMA lengths, multipliers, and lookback periods to fit your market and timeframe
Timeframe Control: Use custom lower timeframes for refined up/down volume calculations
Combine with Other Indicators:
Ichimoku: Confirm volume-based bullish signals with cloud breakouts or trend confirmation
Bollinger Bands: Validate divergence/convergence signals with overbought/oversold zones
Trendlines: Spot high-probability signals at breakout or retest points
Signal Tables & Peaks: Read buy/sell volume dominance at a glance, and activate the Dominance Peak Module to highlight key turning points.
4. Example Scenarios & Suggested Images
Image #1 – S01 Bullish Convergence Above Zero
S01 activated, Buyer Power > 0, both buyer power slope & price slope positive, above-average buy volume. Show S01 ↑ marker below bar.
Image #2 – Combined with Ichimoku
Display a bullish scenario where price breaks above Ichimoku cloud while S01 or S09 bullish signal is active. Highlight both the volume-based marker and Ichimoku cloud breakout.
Image #3 – Combined with Bollinger Bands & Trendlines
Show a bearish S10 signal at the upper Bollinger Band near a descending trendline resistance. Highlight the confluence of the volume pressure signal with the band touch and trendline rejection.
Image #4 – Dominance Peak Module
Pivot low with green ▲ Bull Peak and pivot high with red ▼ Bear Peak, showing strong dominance counts.
Image #5 – Statistics Table in Action
Bottom-left table showing buy/sell volume, averages, and bullish/bearish counts during an active market phase.
5. Feedback & Collaboration
Your feedback and suggestions are welcome — they help improve and refine this system. If you discover interesting use cases or have ideas for new features, please share them in the script’s comments section on TradingView.
6. Disclaimer
This script is for educational purposes only. It is not financial advice. Past performance does not guarantee future results. Always do your own analysis before making trading decisions.
Tip: Use this tool alongside trend confirmation indicators for the most robust signal interpretation.
Ronald buy and sell testerCalculates ATR (Average True Range):
Measures market volatility over a customizable period (default: 10).
A higher ATR means more volatility.
Calculates the Supertrend:
Combines ATR with a multiplier (default: 3) to define breakout thresholds.
The Supertrend flips direction when price crosses these thresholds.
Displays visual trade signals:
Buy Signal: Triggered when the Supertrend flips from bearish to bullish.
Sell Signal: Triggered when the Supertrend flips from bullish to bearish.
Signals are shown as labels below (Buy) or above (Sell) the candles.
Colors candles automatically (optional):
Green: bullish trend.
Red: bearish trend.
This feature can be toggled on or off.
Ready-to-use alerts:
You can set up TradingView alerts for Buy and Sell signals.
Smoothed RoC Z-Score IndicatorThis indicator calculates the rate of change (RoC) of price over a user-defined lookback period, then applies a double exponential smoothing (DEMA) and standardizes the result using a Z-Score. The output quantifies how extreme recent price momentum is compared to historical norms.
Key Features:
🔄 RoC Calculation: Measures momentum over the past n bars.
🧮 Z-Score Normalization: Detects statistical extremes and anomalies.
📉 Threshold Signals: Visual markers appear when Z-Score crosses user-defined upper or lower thresholds.
🎨 Elegant Visuals: Uses a clean purple/teal theme for enhanced clarity and style.
🔔 Alerts Included: Get notified when thresholds are crossed.
Use Cases:
Identify potential trend reversals or momentum spikes.
Spot overbought/oversold zones with greater sensitivity than traditional oscillators.
Combine with other indicators or strategies for confirmation.
Customizable Inputs:
RoC Lookback: Controls the momentum period.
Smooth Length: Applies double EMA smoothing.
Z-Score Length: Sets the statistical baseline.
Long/Short Thresholds: Define entry/exit sensitivity.
Leola Lens SignalPro📌 Leola Lens SignalPro — Structure-Aware Momentum Overlay (Invite-Only)
This script is designed for traders who prioritize clear structure, liquidity trap zones, and momentum transitions. It provides adaptive visual overlays that align with key decision points — emphasizing structure over lagging indicators.
________________________________________
⚙️ Core Operating Modes
✅ Momentum Shift Mode (Always Active)
Tracks microstructure shifts using volatility compression, imbalance reactions, and adaptive logic for directional bias.
⚡ Scalper Mode (Optional)
Activates fast-response overlays for 1m–15m charts — tuned for crypto, indices, and intraday setups.
🛡 Safeguard Mode (Optional)
Applies volume and exhaustion filters for higher timeframe or conservative entries, ideal for swing traders.
________________________________________
📦 Liquidity Control Box (LCB) Logic
🔵 Blue Box = Bullish Control
• Break above → continuation likely
• Break below → caution for reversal
🟧 Orange Box = Bearish Control
• Break below → continuation likely
• Break above → caution for squeeze
Use the last visible box for bias.
Box edges = confluence zones.
Box overlaps = consolidation → avoid impulsive trades.
________________________________________
🧠 Signal Logic & Concept
Built using a custom structural engine, not derived from public scripts like RSI, MACD, or WaveTrend.
The overlays aim to capture price behavior often aligned with institutional concepts, such as:
• Order Blocks
• Liquidity Sweeps
• Trap Reversals
• Mitigation Moves
Pairs well with SMC-style analysis and order-flow-based trading.
________________________________________
🟡 Visual Signal Layers
• BUY / SELL Labels → Appear near structure flips and trap zones
• Yellow Label → High-risk trend shift zone
• LCB Boxes → Real-time market control zones
• Green/Red Liquidity Zones → Absorption or rejection
• MA Overlays → Adaptive slope-based guidance (optional)
• Pink Lines → High-reactivity reversal zones
• Yellow Line → Soft S/R (psychological pivot)
________________________________________
🎯 Suggested Entry & Exit Cues (Educational Use Only)
✅ Entry
• BUY near Blue LCB + liquidity reaction
• SELL after extended rallies into Orange LCB + trap behavior
• ⚠ Avoid trades directly at Yellow Labels unless other context supports
✅ Exit
• On opposite label after structure break
• On formation of opposite LCB
• Near major liquidity zones or pink levels
🧪 Always backtest label behavior to fit your strategy before use.
________________________________________
🔍 Originality Justification
This script introduces a non-indicator-based approach to structure detection — combining real-time volatility response, adaptive liquidity logic, and multi-mode filtering. It avoids conventional oscillators in favor of clarity-driven visual overlays, offering a novel experience especially useful to discretionary traders.
________________________________________
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a trading signal. Always validate performance with backtesting and forward testing before live use.
________________________________________
Henrys Session Markers+PO3 Open/CloseThis indicator marks out New Day, Asia, London, and New York Sessions. It also marks out when the 10am PO3 Candle opens and closes. I hope this helps out other traders who trade ICT/SMC who dont want to mark out session start/close each day and while backtesting.
Composite Trend Trader Module [BackQuant]Composite Trend Trader Module
Overview and Purpose
The Composite Trend Trader Module (CTM) is an invite-only Pine Script indicator designed to provide traders with a comprehensive tool for trend-following, dip-buying, and market strength assessment. By integrating multiple market data inputs—price momentum, volatility, volume, and statistical baselines—the CTM generates actionable outputs for trend identification, swing trade entries, and dip-buying opportunities. The indicator is intended for traders seeking a systematic approach to market analysis with customizable settings, while maintaining simplicity in its user interface. As a closed-source script, the underlying calculations remain proprietary, but this description outlines its functionality, features, and practical applications in trading.
Visual Components
The CTM provides the following visual elements on the chart:
• Signal Spine – A colored line (default 25-period weighted moving average) that reflects the dominant trend—green for bullish, red for bearish, and grey for neutral or transitional periods.
• Swing Triggers – Unicode markers ("𝕃" for long, "𝕊" for short) appear below or above bars when the trend shifts, signaling potential swing trade entries.
• Dip-Hunter Signals – Green arrows mark dip-buying opportunities, accompanied by faint green background highlights and forward-projecting entry lines for precise entry levels.
• Heat Meter – A horizontal strip at the bottom of the chart, graded from -50 (overheated) to +50 (deep dip), visually indicates the strength of dip conditions using a red-to-green gradient.
Core Features
The CTM comprises several components that work together to deliver a cohesive trading framework. Below is a detailed explanation of each, without disclosing proprietary calculations.
1. Universal Trend Tracking (UTT)
The UTT combines multiple momentum and statistical indicators into a single composite score ranging from -1 to +1. This score is derived from:
• Price-based momentum metrics.
• Volatility-adjusted thresholds.
• Statistical measures of price deviation and market structure.
When the UTT score exceeds +0.2, the market is considered in an actionable uptrend; below -0.2, a downtrend is identified. Values between these thresholds indicate a neutral or choppy market, helping traders avoid low-probability setups during consolidation.
2. Signal Spine
The signal spine is a 25-period weighted moving average of price, colored according to the UTT score (green for bullish, red for bearish, grey for neutral). This line serves as a visual anchor for tracking the prevailing trend and highlights regime changes in real time, enabling traders to align their strategies with market direction.
3. Swing Triggers (𝕃/𝕊)
Swing trade signals are generated when the UTT crosses the zero line, indicating a shift in market regime. A "𝕃" marker appears below the bar for a bullish crossover (potential long entry), and a "𝕊" marker appears above for a bearish crossover (potential short entry). These signals incorporate volatility-adaptive thresholds to minimize false triggers during low-volatility periods, improving reliability compared to traditional moving-average crossovers.
4. Dip-Hunter Engine
The Dip-Hunter subsystem identifies high-probability dip-buying opportunities by evaluating five conditions:
• Dip Magnitude – The price must have fallen by a user-defined percentage (default 2%) from a recent swing high, calculated over a specified lookback period (default 5 bars).
• Volume Burst – Current volume must exceed the average volume over a user-defined lookback (default 65 bars) by a specified multiplier (default 2x).
• Volatility Spike – The intraday range or Average True Range (ATR) must exceed a statistical baseline by a user-defined multiplier (default 1.5x).
• Structural Permission – Price must be below a fast Exponential Moving Average (EMA, default 20 periods), and the market structure must be bearish (fast EMA below slow EMA, default 50 periods).
• Trend Filter (Optional) – When enabled, dip signals are only generated if the UTT indicates a bullish trend, preventing trades against a bearish macro environment.
When these conditions align, the Dip-Hunter plots a green arrow, highlights the candle background, and draws a forward-projecting horizontal line at a user-selected price level (Low, Close, or calculated dip percentage).
5. Strength Score and Heat Meter
Each bar is assigned a strength score (0 to 5, or -50 to +50 when scaled for the heat meter) based on the following criteria:
• +1 for meeting the dip threshold.
• +1 for a volume spike.
• +1 for a volume momentum spike (based on rate-of-change).
• +1 for a confirmed volatility spike.
• +1 if price is below the fast EMA.
• +2 if the macro trend filter is bullish (when enabled).
The heat meter visualizes this score as a pointer on a red-to-green gradient strip, enabling traders to quickly assess the intensity of dip conditions and prioritize high-quality setups.
6. Entry-Line Generator
For each dip signal, the CTM draws a forward-projecting horizontal line to mark potential entry levels. Traders can configure:
• The price level for the line (Low, Close, or exact dip percentage).
• The duration of the line (default 100 bars).
• A minimum gap between signals (default 5 bars) to prevent overlapping lines during clustered events.
These lines serve as visual guides for setting limit orders or stop-loss levels.
7. Alerts
The CTM includes seven pre-configured alert conditions to support automated workflows:
• CTM Long/Short – Triggered on bullish or bearish UTT zero-line crossovers for swing trades.
• Market Overheated – Activates when the strength score falls below -40, indicating potential exhaustion.
• Close to Dip – Signals when the strength score reaches 0.6, suggesting an impending dip opportunity.
• Dip Confirmed – Fires on the first bar meeting all dip conditions.
• Dip Active – Triggers while dip conditions remain valid.
• Dip Fading – Activates when the strength score crosses below 0.5, indicating a weakening dip.
• Trend-Blocked – Alerts when dip conditions are met but blocked by the trend filter.
These alerts can be routed to brokers or trading bots for seamless execution.
"CPM Long Signal {{exchange}}:{{ticker}}")
"CPM Short Signal {{exchange}}:{{ticker}}")
"Market overheated {{ticker}}")
"Close to a dip {{ticker}}")
"Dip confirmed {{ticker}}")
"Dip active {{ticker}}")
"Dip strength fading {{ticker}}")
"Signal blocked by trend filter {{ticker}}")
User Controls
The CTM offers extensive customization to adapt to different trading styles and preferences:
• Signal Settings – Toggle the signal spine, composite score plot, swing triggers, and bar coloring. Adjust line width for visibility.
• Display Settings – Customize bullish, bearish, and neutral colors to match chart templates.
• Dip-Hunter Settings – Configure volume lookback, spike multipliers, EMA periods, volatility thresholds, dip percentage, and lookback bars.
• Trend Filter – Enable or disable the requirement for a bullish UTT before dip signals are generated.
• Strength & Meter – Toggle bar coloring based on the strength score, adjust the number of meter cells (default 60), and select meter position (e.g., bottom-center).
• Entry Settings – Control entry line visibility, length, and price source (Low, Close, or dip percentage).
Trading Applications
The CTM supports multiple trading strategies, each leveraging its outputs for specific market conditions:
• Trend-Ride Mode – Trade in the direction of the signal spine. Enter long positions on the first "𝕃" marker in a green (bullish) regime, and scale out when the UTT returns to grey (neutral). This is ideal for trend-following traders seeking to capture sustained moves, with the first signal in a new trend regime offering high statistical expectancy.
• Forced Dip Entries – Enable the trend filter and focus on dip signals (green arrows). Place limit orders at the entry line, set stops below the line, and target the midpoint of the prior value area (e.g., using support/resistance levels). This suits mean-reversion traders aiming to buy dips in bullish trends, with clear risk management via entry lines.
• Scalp Confirmation – Hide the signal spine and use bar coloring to identify short-term momentum. Green bars indicate broad buying pressure, while red bars warn against long scalps in oversold conditions. This is useful for intraday scalpers seeking confirmation of momentum before entering trades.
• Event Guardrails – Avoid trading when the heat meter is below -40 before major economic releases (e.g., FOMC, CPI), as spreads and slippage may widen. This enhances risk management by flagging high-risk periods during macroeconomic events.
• Multi-Timeframe Analysis – Apply the CTM on a daily timeframe in a secondary pane and a lower timeframe (e.g., hourly) on the primary chart. Trade only when both timeframes align (e.g., both in bullish regimes). This increases conviction for swing or position traders by confirming trend alignment across timeframes.
Frequently Asked Questions
• How does the CTM differ from a moving-average ribbon? The CTM integrates multiple momentum, volatility, and statistical indicators, using adaptive thresholds and proprietary calculations to respond faster to structural changes while filtering noise more effectively than traditional dual-EMA systems.
• Can the underlying formulas be accessed? No, the script is closed-source, and calculations are protected to preserve intellectual property. Users receive all outputs, alerts, and customizable parameters.
• Does the indicator repaint? No, all calculations use confirmed historical data without look-ahead bias. Entry lines are static from the signal bar.
• Which markets is it suitable for? The CTM is optimized for equities, futures, and cryptocurrencies. Adjust dip percentage and volume multipliers for low-liquidity markets.
• What about latency? The script uses efficient Pine Script functions and lightweight loops, ensuring minimal performance impact.
Limitations and Best Practices
• Market-Specific Tuning – Thinly traded markets may require adjustments to dip percentage and volume thresholds to avoid excessive signals.
• Complementary Tools – Combine the CTM with price action, support/resistance levels, or order flow analysis to confirm signals and avoid over-reliance on the indicator.
• Event Risk – Be cautious during high-impact news events, as volatility spikes may trigger signals that are quickly reversed.
• Trend Filter Use – Enabling the trend filter reduces false dip signals in bearish markets but may delay entries in rapidly reversing markets.
Conclusion
The Composite Trend Trader Module consolidates trend-following, dip-buying, and strength assessment into a single, customizable indicator. By providing clear visual cues, actionable alerts, and flexible settings, it equips traders with a robust framework for navigating various market conditions. While the proprietary calculations remain protected, the CTM’s outputs enable traders to make informed decisions, align strategies with market regimes, and manage risk effectively. Use it as a strategic tool alongside sound risk management and complementary analysis for optimal results.
[iQ]PRO Quantum LagMan+ PRO Quantum LagMan+ (QLM+) — A Fusion Oscillator for Regime-Aware Entries
Overview
PRO Quantum LagMan+ is a next‑generation oscillator built for precision timing in dynamic markets. It blends advanced signal processing (multi-mode Laguerre smoothing) with physics-inspired analytics (Tsallis entropy, Hurst exponent, Lyapunov dynamics, and a tunneling probability model) to create a single fusion signal designed to adapt across regimes. The result is an actionable, regime-aware oscillator with adaptive thresholds, quantum energy band context, volatility gating, and optional trend filtering—complete with alerts, signal markers, and an information panel.
What it does
Normalizes momentum: Converts a Laguerre-based oscillator to a stable 0–1 scale for clear, cross-market comparability.
Maps “quantum” states: Assigns the oscillator to discrete energy bands to estimate state transitions and momentum intensity.
Fuses chaos and structure: Blends oscillator intensity, quantum momentum, and measured complexity/entropy into a single fusion line.
Filters by regime: Volatility and trend filters aim to suppress low-quality signals in quiet or unfavorable conditions.
Generates clean signals: Adaptive long/short thresholds with cooldown logic and coherence checks to reduce noise.
Explains itself: An info table displays fusion value, band index, entropy and chaos metrics, tunneling probability, and filter status.
Core components
Laguerre Multi-Mode Engine
Function: and1lag computes an ultimate smoother (ult), optional blended Laguerre filters, and a robust z-scored oscillator.
Control: period, lag, lagmode , RMSP add flexibility across timeframes and instruments.
Quantum Engine
Quantum Energy Levels: Discrete “bands” derived from normalized oscillator statistics.
Quantum Momentum: A 0–1 measure based on the current band position to capture intensity of state.
Coherence: Proximity between the oscillator and its active band (higher coherence = higher confidence).
Tunneling Probability: A barrier-like model that estimates the probability of a transition through local resistance/support structure.
Advanced Physics Layer (optional, heavy CPU)
Tsallis Entropy: A generalized entropy measure; elevated values can correspond to more complex or uncertain dynamics.
Lyapunov Exponent: A proxy for local sensitivity to initial conditions; higher values suggest chaotic/unstable behavior.
Hurst Exponent: A measure of persistence vs. mean reversion (H > 0.5 persistent, H < 0.5 mean-reverting).
These terms are summarized for trader context; the script uses bounded, practical implementations tuned for charting.
Fusion Oscillator
Composition: 50% normalized oscillator + 25% quantum momentum + 25% chaos/entropy blend.
Range: Constrained to for intuitive thresholds and consistent interpretation.
Regime Filters and Signals
Trend Filter: trendEMA with configurable trendLen to align signals with primary direction.
Volatility Filter: ATR-based gating with atrMultMin/atrMultMax bands, focusing on tradable volatility.
Adaptive Thresholds: Dynamic long/short thresholds scale with observed volatility.
Cooldown: signalCooldownBars limits rapid-fire signals to reduce whipsaw.
Alerts: Built-in alertcondition for automated notifications.
Visuals and UI
Main plots:
Fusion (thick, color-changing by state)
Norm Laguerre Osc (baseline momentum)
Quantum Momentum (band-based intensity)
Chaos Resonance (entropy/chaos contribution)
Bands and zones:
Quantum band visualization for context
Entropy zones via background shading (high/low extremes)
Info Table (showInfoTable):
Fusion, Quantum Band index, Hurst, Tsallis, Lyapunov, Tunneling Probability, Coherence, Volatility OK
Signal Markers:
Long: triangle up at bottoms
Short: triangle down at tops
Suggested usage
Entries:
Long bias when Fusion rises from low zones toward midline with high coherence, tunnel probability above threshold, trend filter positive, and volatility OK.
Short bias when Fusion falls from high zones with similar filter alignment and coherence.
Exits:
Consider scaling out near extremes (Fusion > 0.8 or < 0.2), during entropy spikes, or when coherence weakens.
Regime awareness:
Adjust trendLen for your timeframe.
Tighten atrMultMin to avoid low-vol chop.
Use adaptiveThresholds for cross-asset consistency.
Key inputs
Quantum Core: quantumLevels, planckConst, massDensity, tunnelThreshold
Advanced Physics: enableAdvanced, tsallisQ, lyapunovDim, entropyLength
Filters: useTrendFilter, trendLen, useVolFilter, atrLen, atrMultMin, atrMultMax
Signals: adaptiveThresholds, signalCooldownBars, showSignals
Display: showQuantumBands, showComponents, showEntropyZones, showInfoTable
Lag Options: source, period, lag, lagmode, RMSP
One glance clarity: A single Fusion line encapsulates momentum, state, and complexity.
Regime-adaptive: Thresholds and filters tune to volatility and trend.
Signal discipline: Coherence and cooldown aim to reduce false triggers.
Transparent context: The info table tells you why a signal is firing, not just that it is.
Notes and best practices
Multi-timeframe confirmation is recommended for higher-conviction entries.
The Advanced Physics layer can be CPU heavy; disable it for lightweight scanning or enable for precision.
Optimize inputs per asset class and timeframe (crypto vs FX vs equities).
This is an analytical tool, not financial advice. Always validate with risk management.
Alerts
Hybrid QLF Long: triggers on qualified long conditions
Hybrid QLF Short: triggers on qualified short conditions
Attribution and license
Pine Script code is licensed under the Mozilla Public License 2.0.
© MarketMakerIQ
Quick start
Add to chart and enable showInfoTable to understand live readings.
Start with defaults; toggle useTrendFilter and useVolFilter to match your style.
If performance allows, enable Advanced Physics and tune tsallisQ, lyapunovDim, entropyLength.
Set alerts on the included conditions and forward-test across sessions.
SeikaAlgo–Long/Short Buy/Sell SignalSeikaAlgo–Long/Short Buy/Sell Signal — Simple, Visual, Reliable Signals
SeikaAlgo makes high-probability trading simple and actionable for everyone—no complex rules, no guesswork. Just follow these 3 steps:
How It Works
1. Watch for Buy/Sell Signals
Buy and Sell signals are printed right on your chart, only after the candle closes—never repaints, never lags. Trade with confidence.
2. Enter at Candle Close
Buy: Enter at the close of a candle when a green “B” label appears and price crosses above the green EMA 9.
Sell: Enter at the close of a candle when a red “S” label appears and price crosses below the red EMA 9.
3. Take Profit
Move your stop loss with each new candle (trailing stop), or use the EMA 9 line to trail stops.
Take profit when price reaches a Daily Fibonacci Level.
Example — 5min SPY
Buy Signal: Green label prints above green EMA 9 after candle closes. Enter at close, stop just below the signal candle’s low.
Sell Signal: Red label prints below red EMA 9 after candle closes. Enter at close, stop just above the signal candle’s high.
Key Features
No Lag, No Repainting: Signals only appear after a candle is complete—so you’re never chasing ghosts.
Clear Visual Cues: Instantly know when to buy, sell, or step aside.
Built-in Trailing Stop Logic: Protect your trades easily.
Works On Any Market/Timeframe: Perfect for stocks, futures, crypto, or forex.
SeikaAlgo is an invite-only indicator.
Add it to your chart, follow the labels and EMA, and trade with confidence—no clutter, no confusion. Simple, visual, reliable.
ICT Confirmed FVG Indicator ICT FVG Indicator (Confirmed by Swings)
Summary
This indicator is designed to identify high-probability Fair Value Gaps (FVGs) by confirming them with market structure. It filters out random imbalances and only highlights the FVGs that are created at the same time as a confirmed ICT Swing High or Swing Low.
The core principle is to connect price imbalances directly to significant shifts in market structure, providing a cleaner and more powerful signal.
What It Does
Identifies Swing Points: Automatically detects and draws confirmed swing highs (resistance) and swing lows (support) on your chart based on the settings you choose.
Finds Fair Value Gaps: It scans the chart for the classic 3-candle FVG pattern (also known as a BISI or SIBI).
Confirms FVGs with Swings: This is the most important feature. The indicator will only draw an FVG box if one of the three candles that created the FVG is also a confirmed swing point. This ensures you are only seeing imbalances that are directly related to a break in market structure.
Invalidates Old FVGs: To keep the chart clean, the indicator will automatically remove an FVG box after the price has fully passed through it a certain number of times (customizable in the settings).
Settings Explained
ICT Swings Settings
Left/Right Strength: Controls the sensitivity of the swing detection. Higher numbers require a more significant, obvious swing point to be confirmed. Lower numbers will identify more minor swings.
Max Swing Lines: Sets the maximum number of swing high and swing low lines to display on the chart at one time.
Swing High/Low Color: Customize the color of the swing point lines.
FVG Settings
Show Bullish/Bearish FVG: Use these checkboxes to turn the bullish (green) or bearish (red) FVG boxes on or off.
Bullish/Bearish FVG Color: Customize the color of the FVG boxes.
FVG Invalidation Threshold: This sets how many times the price can fully close on the other side of an FVG before the box is automatically removed.
Max Active FVGs to Show: Sets the maximum number of FVG boxes to keep on the chart to prevent clutter.
Key Features
High-Probability Signals: Filters out noise by focusing only on FVGs that are confirmed by a shift in market structure.
Clean Visuals: Automatically draws and removes swing lines and FVG boxes to keep your chart uncluttered.
Fully Customizable: Adjust the sensitivity of the swing detection and the appearance of the FVGs to fit your trading style.
Pure ICT Concepts: Built strictly on the principles of Inner Circle Trader for a method-consistent analysis.
BTC 5M Scalper: 3EMA Reversal v1.6 Lite by AIOBest Timeframe: 5 minutes!!
Optimal Asset: BTC/USDT (Bitcoin)
Stop Placement: Below the signal candle's low (for long) / Above the signal candle's high (for short)
Risk/Reward: Minimum 1:2 ratio recommended
Description:
This 3EMA Reversal strategy identifies trend continuation signals using:
Fast EMA (20) and Slow EMA (50) crossover
Volume confirmation (above 20-period average)
Engulfing candle pattern
Built-in stop loss and take profit levels
Usage Instructions:
Apply to BTC/USDT 5-minute chart
Enter long when green triangle appears (stop below signal candle)
Enter short when red triangle appears (stop above signal candle)
TP levels are automatically calculated based on your RR setting
Pro Tip: Combine with 1-hour trend analysis for better results. The strategy works best in trending markets with above-average volume.