Pivots Levels @ Sumith.KVThe Pivot Levels helps to identify the Pivot Levels on different Timeframes. The Pivot Levels (Support & Resistance) are displayed as lines as well as tables.
Option is provided to Customize the Lines & Tables.
Also Alerts are integrated which will help us to notify on crossing each Pivot Levels.
This Support & Resistance indicator Strategy can be used across Stocks, Options, Crypto, Commodities etc.
Supportandresitance
AstraAlgo IndicatorOVERVIEW
The AstraAlgo Indicator delivers precise, actionable trade signals on TradingView. With configurable signal modes, dynamic support and resistance, and a fully adjustable alerts system, it helps traders make informed decisions and manage risk effectively.
HOW TO GAIN ACCESS
Subscribe at www.astraalgo.com and provide your TradingView username. Access is usually granted within a few hours, and you’ll receive email confirmation once activated.
FEATURES
Signal Modes
Signal Modes are the core of the AstraAlgo Indicator, providing users with flexible options to view trade signals tailored to their preferred complexity and style.
Bar Coloring
Bar Coloring provides a clear visual distinction between bullish and bearish candlesticks, allowing traders to interpret price action at a glance. This feature helps identify momentum and trend direction without analyzing raw price data.
Astra Cloud
Astra Cloud is a dynamic support and resistance overlay that visually highlights key price zones on your TradingView charts. These zones adjust in real time to reflect market movements, helping traders identify areas of potential price reaction.
Alerts
Alerts in the AstraAlgo Indicator are designed to keep traders informed of key market movements in real time. They notify you whenever a significant trading signal appears on your chart, ensuring you can act promptly even when you’re away from TradingView.
CONTACT US
For any questions or assistance, contact us at support@astraalgo.com or visit www.astraalgo.com.
Volumatic Fair Value Gaps [BigBeluga]🔵 OVERVIEW
The Volumatic Fair Value Gaps indicator detects and plots size-filtered Fair Value Gaps (FVGs) and immediately analyzes the bullish vs. bearish volume composition inside each gap. When an FVG forms, the tool samples volume from a 10× lower timeframe , splits it into Buy and Sell components, and overlays two compact bars whose percentages always sum to 100%. Each gap also shows its total traded volume . A live dashboard (top-right) summarizes how many bullish and bearish FVGs are currently active and their cumulative volumes—offering a quick read on directional participation and trend pressure.
🔵 CONCEPTS
FVGs (Fair Value Gaps) : Imbalance zones between three consecutive candles where price “skips” trading. The script plots bullish and bearish gaps and extends them until mitigated.
Size Filtering : Only significant gaps (by relative size percentile) are drawn, reducing noise and emphasizing meaningful imbalances.
// Gap Filters
float diff = close > open ? (low - high ) / low * 100 : (low - high) / high *100
float sizeFVG = diff / ta.percentile_nearest_rank(diff, 1000, 100) * 100
bool filterFVG = sizeFVG > 15
Volume Decomposition : For each FVG, the indicator inspects a 10× lower timeframe and aggregates volume of bullish vs. bearish candles inside the gap’s span.
100% Split Bars : Two inline bars per FVG display the % Bull and % Bear shares; their total is always 100%.
Total Gap Volume : A numeric label at the right edge of the FVG shows the total traded volume associated with that gap.
Mitigation Logic : Gaps are removed when price closes through (or touches via high/low—user-selectable) the opposite boundary.
Dashboard Summary : Counts and sums the active bullish/bearish FVGs and their total volumes to gauge directional dominance.
🔵 FEATURES
Bullish & Bearish FVG plotting with independent color controls and visibility toggles.
Adaptive size filter (percentile-based) to keep only impactful gaps.
Lower-TF volume sampling at 10× faster resolution for more granular Buy/Sell breakdown.
Per-FVG volume bars : two horizontal bars showing Bull % and Bear % (sum = 100%).
Per-FVG total volume label displayed at the right end of the gap’s body.
Mitigation source option : choose close or high/low for removing/invalidating gaps.
Overlap control : older overlapped gaps are cleaned to avoid clutter.
Auto-extension : active gaps extend right until mitigated.
Dashboard : shows count of bullish/bearish gaps on chart and cumulative volume totals for each side.
Performance safeguards : caps the number of active FVG boxes to maintain responsiveness.
🔵 HOW TO USE
Turn on/off FVG types : Enable Bullish FVG and/or Bearish FVG depending on your focus.
Tune the filter : The script already filters by relative size; if you need fewer (stronger) signals, increase the percentile threshold in code or reduce the number of displayed boxes.
Choose mitigation source :
close — stricter; gap is removed when a closing price crosses the boundary.
high/low — more sensitive; a wick through the boundary mitigates the gap.
Read the per-FVG bars :
A higher Bull % inside a bullish gap suggests constructive demand backing the imbalance.
A higher Bear % inside a bearish gap suggests supply is enforcing the imbalance.
Use total gap volume : Larger totals imply more meaningful interest at that imbalance; confluence with structure/HTF levels increases relevance.
Watch the dashboard : If bullish counts and cumulative volume exceed bearish, market pressure is likely skewed upward (and vice versa). Combine with trend tools or market structure for entries/exits.
Optional: hide volume bars : Disable Volume Bars when you want a cleaner FVG map while keeping total volume labels and the dashboard.
🔵 CONCLUSION
Volumatic Fair Value Gaps blends precise FVG detection with lower-timeframe volume analytics to show not only where imbalances exist but also who powers them. The per-gap Bull/Bear % bars, total volume labels, and the cumulative dashboard together provide a fast, high-signal read on directional participation. Use the tool to prioritize higher-quality gaps, align with trend bias, and time mitigations or continuations with greater confidence.
Interval Highlighter with High/Low AlertsInterval Highlighter with High/Low Alerts
Overview:
This Pine Script indicator enhances chart analysis by highlighting specific time intervals and marking the highest and lowest prices within those periods. It supports three customizable modes:
Date Range: Highlight a user-defined period with background shading and plot the highest and lowest prices.
Days of the Week: Highlight specific weekdays with background colors and plot the highest and lowest prices for each day.
Intraday Interval: Highlight a specific intraday time range (e.g., 12:30 PM to 4:30 PM) with background shading and plot the highest and lowest prices within that interval.
Alerts are triggered when the price touches any of the highlighted high or low levels, providing real-time notifications for potential trading opportunities.
High and low lines extend to the right and remain visible after the interval ends. This ensures they act as actionable reference points for alerts between intervals, allowing users to monitor critical levels until a new interval of the same category forms.
Features:
Customizable Time Intervals: Define specific date ranges, weekdays, or intraday intervals to highlight on the chart.
High/Low Tracking: Automatically plots the highest and lowest prices within the defined intervals.
Real-Time Alerts: Set up alerts to notify when the price touches any of the highlighted high or low levels.
Actionable Lines: High/low lines remain visible after interval completion to serve as reference points for alerts.
Visual Enhancements: Customize background colors and line styles for each interval type.
Usage:
Apply the indicator to your chart.
Configure the desired modes (Date Range, Days of the Week, Intraday Interval) in the settings.
Customize the appearance settings to match your preferences.
Set up alerts based on the highlighted high/low levels.
Disclaimer:
This indicator is designed to assist in identifying potential areas of interest based on historical high and low levels within specified intervals. It is not intended as a standalone trading signal. Users should employ additional technical analysis tools and conduct thorough research before making trading decisions.
Riz Goldbach FrameworkRiz Goldbach Framework maps a dynamic dealing range and a set of Goldbach-derived price levels to structure intraday decision-making. It blends range math (PO3), level clustering, session weighting, volume/volatility context, and an explainable scoring engine that can issue BUY/SELL signals with risk levels (SL/TP). It is designed for discretionary traders who want rules-based context rather than a black box.
Core concepts (how it works)
1) PO3 Dealing-Range Engine
⦁ The script builds a tri-based PO3 range around current price (Auto or Manual).
⦁ It shifts the range when price “accepts” outside (close/wick—user selectable) and adapts width with ATR so the range expands in high volatility and tightens in low volatility.
⦁ From this range it computes mid, premium/discount halves, and sub-mids.
2) Goldbach Levels (structure map)
Within the active PO3 range, fixed percentages anchor recurring behaviors:
⦁ Rejection edges: 3%, 97%
⦁ Order-block tendency: 11%, 89%
⦁ FVG tendency: 17%, 83%
⦁ Liquidity void / expansion: 29%, 71%
⦁ Breaker band: 41%, 59%
⦁ Mitigation band: 47%, 53%
⦁ Equilibrium: 50%
⦁ Touch/near logic is tolerance-based (body-only optional). The script also counts confluence clusters (2=moderate, 3+=strong) near price.
3) Market elements the script tracks
⦁ Order Blocks (OB): detected after BOS behavior when price is sitting on OB-biased GB levels (11/89).
⦁ FVG: 3-bar gaps at FVG-biased levels (17/83) with optional “% fill” confirmation.
⦁ LV bars: wide-range, high-range bars around 29/71 for displacement/voids.
⦁ Equal Highs/Lows (EQH/EQL): tolerance with labeling for sweep risk.
⦁ Circuit Breaker (CB): zone seeded at 41/59. States: intact → broken → retest → revalidated/failed. A shaded band shows the active breaker zone.
⦁ Twin Towers (TT): equal-high/equal-low doublet with spacing/volume/RSI checks, then sweep-and-return into the breaker zone for confirmation.
4) Context & filters
⦁ Trend vs Range: DMI/ADX + EMA stack infer TREND/RANGE/TRANSITION and scale the required score.
⦁ MTF alignment: compares current PO3 halves vs HTF PO3 halves (user timeframe), rewarding alignment and flagging divergence.
⦁ Fib–Goldbach confluence: checks 61.8/38.2/78.6/127.2/161.8 against key GB levels for added weight.
⦁ Session weighting: Asia/London/NY bias different GB levels; weights are higher for London/NY.
⦁ Volume-weighted liquidity: tracks volume at EQH/EQL to flag “high-commitment” sweeps.
⦁ AMD cycle (smart): accumulation/manipulation/distribution estimated from ATR regimes, sweeps, BOS continuation, divergence and PO3 shifts.
⦁ Optional filters: HTF bias, SMT divergence via a second symbol, VSA volume emphasis, news blackout session.
5) Signal engine
⦁ Modes: MMxM, Trending, or Hybrid (auto switches depending on CB acceptance + ATR expansion).
⦁ A score (0–100) aggregates weighted conditions (GB touch/confluence, AMD alignment, CB state, TT, FVG/OB interaction, HTF bias, SMT, high-volume, RSI momentum).
⦁ Adaptive threshold raises/lowers requirements in TREND vs RANGE.
⦁ Outputs: BUY/SELL label with strength (WEAK/NORMAL/STRONG), a reasons string (e.g., GB+AMD+Breaker+TT+FVG+HTF+RSI), and risk levels:
⦁ SL: rejection/structure anchored (e.g., GB3/GB97 or recent swing ± ATR).
⦁ TP1: opposite breaker (41/59).
⦁ TP2: opposite FVG tendency (17/83).
⦁ Live RR displayed on label and plotted as dashed lines.
⦁ Cooldown, session/time, weekend, and volatility gates suppress poor-quality or clustered signals.
What you see on the chart
⦁ PO3 bands: High/Low/Mid lines plus background shading for Premium (bear tint), Discount (bull tint), Equilibrium (neutral).
⦁ Goldbach lines: Major structure (0/50/100) plus the functional GB set (11/17/29/41/47/53/59/71/83/89/3/97).
⦁ Blocks & gaps: OB lines, FVG boxes (extend right, fill progress), LV box, breaker zone band, and TT logic states.
⦁ CE/MT: Central equilibrium (~3.5%/96.5%) and mid-towers (25%/75%) trigger optional alerts.
⦁ Session overlays: Asia/London/NY (optional).
⦁ Opens: Daily/Weekly (optional).
⦁ Dashboard: PO3 value, Zone (Premium/Discount/Equilibrium), AMD phase, Session, Mode (MMxM/Trending/Hybrid), CB state, nearest GB tag, Market context (TREND/RANGE/TRANS), recent Events, and rolling win-rate tallies (signals/CB/TT) from the current chart session.
How to use it (workflow)
1. Pick a preset
⦁ Minimal: only core structure.
⦁ Standard: levels + dashboard.
⦁ Full: adds sessions + GBT window overlays.
2. Choose range logic
⦁ PO3 Auto is reactive and scales with ATR.
⦁ Manual PO3 is for precise range control.
3. Scope your bias
⦁ Confirm Zone (Premium/Discount), CB state, and AMD phase; check MTF row if enabled.
⦁ Strong setups usually appear when session-weighted GB levels + confluence ≥ 2 + CB revalidated + AMD = manipulation → distribution (short) or accumulation → manipulation (long).
4. Act on signals (optional)
⦁ When a label prints, read the factors string and score.
⦁ Use plotted SL/TP1/TP2 lines and RR.
⦁ Respect cooldown, news blackout, and volatility filter.
Inputs you might tweak
⦁ PO3: Auto/Manual, acceptance by Close vs Wick, adaptive widening/tightening.
⦁ Levels: Major-only vs All; tolerance %; wick vs body touches.
⦁ Signals: Mode, score threshold, cooldown, confirm on close.
⦁ CB/TT: breaker width %, spacing window & tolerance, suppress bars after TT.
⦁ Filters: HTF timeframe, SMT symbol, VSA on/off, news blackout session.
⦁ Visuals: colors, line opacity, label sizes, dashboard position/size.
⦁ FVG/LV/CE/MT: fill %, and per-event alerts.
Alerts available
⦁ BUY/SELL signal, PO3 shift, GB touch (with tag), CB broken/retest pass/fail, TT setup/confirmed, OB tagged, FVG formed/filled, LV expansion, CE/MT touches.
Limitations & notes
⦁ Signals are contextual—they depend on the active PO3, tolerance, filters, session weighting, and volatility regime.
⦁ HTF requests depend on broker/exchange data and the timeframe you assign; if HTF is empty or illiquid, features degrade gracefully but may be less informative.
⦁ Win-rate tallies are session-local (not a historical performance guarantee).
⦁ Parameter choices (e.g., tolerance, breaker width, thresholds) materially change behavior.
Disclaimer
This tool is for educational/informational purposes only. It does not constitute financial advice, an invitation to trade, or performance assurance. Markets involve risk—always test on replay/paper and manage risk independently.
TrenVantage LITE TrenVantage LITE - Smart Trend Detector
"Professional ZigZag trend detection with real-time alerts and market structure analysis. Clean interface shows trend direction, price changes, and swing data."
TrenVantage LITE delivers professional-grade trend detection using advanced ZigZag analysis to identify market structure and trend changes in real-time. Built with a logic that goes beyond basic pivot detection, this free version provides essential trend analysis tools with a clean, intuitive interface designed for traders of all experience levels.
Key Features:
Advanced Trend Detection
Smart ZigZag Algorithm: Proprietary trend foundation model based on market structure principles
Customizable Sensitivity: Choose between Points or Percentage-based deviation settings
Real-Time Updates: Calculate on bar close or tick-by-tick for immediate trend changes
Flexible Analysis: 15-25 bar lookback range with 20-bar default setting
Visual Analysis Tools
Clean Trend Lines: Customizable color and width for optimal chart visibility
Professional Interface: Modern status box showing current trend and price metrics
Multiple Positioning: Place status box in any corner to match your chart layout
Market Structure: Clear visualization of swing highs and lows
Smart Alerts System
Trend Change Notifications: Instant alerts when market transitions between uptrend and downtrend
Reliable Detection: Confirmed trend changes based on significant price movements
Multiple Alert Options: Compatible with TradingView's alert system
How It Works
TrenVantage LITE uses a sophisticated ZigZag algorithm that goes beyond simple pivot detection. Our proprietary "trend-start model" identifies meaningful market structure changes by:
Analyzing Price Action: Uses high/low or close prices based on your preference
Filtering Noise: Customizable deviation thresholds eliminate false signals
Confirming Trends: Only signals trend changes after significant price movement
Tracking Structure: Maintains swing history for comprehensive analysis
Status Box Information
The integrated status box provides at-a-glance market information.
Current Trend Direction: Clear uptrend/downtrend identification with visual indicators
Live Price Data: Current price with session change and percentage movement
Swing Analysis: Number of detected swings with trend-only limitation indicator
Clean Design: Professional appearance that doesn't clutter your chart
Settings & Customization
ZigZag Parameters:
Deviation Type: Points (fixed price difference) or Percent (percentage change)
Deviation Value: Minimum price movement required to create new swing
Use High Low: Toggle between high/low prices vs close prices for analysis
Calculate Mode: Choose bar close confirmation or real-time tick updates
Lookback Range: Adjust historical analysis from 15-25 bars
Visual Controls
Trend Line Color: Customize line color to match your chart theme
Line Width: Adjust thickness from 1-4 pixels for optimal visibility
Status Box: Toggle display and choose corner positioning
Best Practices:
Timeframe Selection
Scalping (1-5min): Use 0.3-0.8 Points deviation with tick calculation
Day Trading (15-60min): Use 1-3 Points or 0.2-0.5% deviation
Swing Trading (4H-Daily): Use 0.5-1.5% deviation with bar close calculation
Getting Started
Add to Chart: Apply TrenVantage LITE to your preferred timeframe
Adjust Settings: Configure deviation and visual preferences
Set Alerts: Enable trend change notifications for your trading strategy
Analyze Trends: Use the status box and visual lines to identify market direction
Upgrade When Ready: Explore RETAIL version for Support/Resistance levels
Ready to Level Up? Upgrade to TrenVantage RETAIL
While TrenVantage LITE provides solid trend analysis, TrenVantage RETAIL transforms your trading with professional-grade market structure tools:
What You're Missing in LITE:
Support and Resistance level detection - automatically identifies key price levels where markets react
Price labels on levels - see exact values instantly without hovering or zooming
Enhanced status box - shows distance to nearest support/resistance for timing entries and exits
Up to 5 key levels - comprehensive coverage of important price zones
Level strength indicators - understand which levels are most likely to hold
Professional workflow - combines trend analysis with key level identification
TrenVantage RETAIL takes the solid trend foundation you see in LITE and adds the critical support/resistance analysis that serious traders rely on daily.
Disclaimer: Trading involves risk of loss. This indicator is for educational and analysis purposes. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
Mean Reversion Channel [QuantAlgo]🟢 Overview
The Mean Reversion Channel indicator is a range-bound trading system that combines dynamic price channels with momentum-weighted analysis to identify optimal mean reversion opportunities. It creates adaptive upper and lower reversion zones based on recent price action and volatility, while incorporating a momentum-biased equilibrium line that shifts based on volume-weighted price momentum. This creates a three-tier system where traders and investors can identify overbought and oversold conditions within established ranges, detect momentum exhaustion points, and anticipate channel breakouts or breakdowns. This indicator is particularly valuable for strategic dollar cost averaging (DCA) strategies, as it helps identify optimal accumulation zones during oversold conditions and provides tactical risk management levels for systematic investment approaches across different market conditions and asset classes.
🟢 How It Works
The indicator employs a four-stage calculation process that transforms raw price and volume data into actionable mean reversion signals. First, it establishes the base channel by calculating the highest high and lowest low over a user-defined lookback period, creating the foundational price range for mean reversion analysis. This channel adapts continuously as new price data becomes available, ensuring the system remains relevant to current market conditions.
In the second stage, the system calculates volume-weighted momentum by combining price momentum with volume activity. The momentum calculation takes the price change over a specified period and multiplies it by the volume ratio (current volume versus 20-period average volume, for instance) and a volume factor multiplier. This creates momentum readings that are more significant during high-volume periods and less influential during low-volume conditions.
The third stage creates the dynamic reversion zones using Average True Range (ATR) calculations. The upper reversion zone is positioned below the channel high by an ATR-based distance, while the lower reversion zone is positioned above the channel low. These zones contract when momentum is negative (upper zone) or positive (lower zone), creating asymmetric reversion bands that adapt to momentum conditions.
The final stage establishes the momentum-biased equilibrium line by calculating the midpoint between the reversion zones and adjusting it based on momentum bias. When momentum is positive, the equilibrium shifts upward; when negative, it shifts downward. This creates a dynamic reference level that helps identify when price action is moving against the prevailing momentum trend, signaling potential mean reversion opportunities.
🟢 How to Use
1. Mean Reversion Signal Identification
Lower Reversion Zone Signals: When price reaches or falls below the lower reversion zone with bearish momentum, the system generates potential long/buy entry signals indicating oversold conditions within the established range.
Upper Reversion Zone Signals: When price reaches or exceeds the upper reversion zone with bullish momentum, the system generates potential short/sell entry signals indicating overbought conditions.
2. Equilibrium Line Analysis and Momentum Exhaustion
Equilibrium Breaks: The dynamic equilibrium line serves as a momentum bias indicator within the channel. Price crossing above equilibrium suggests shifting to bullish bias, while breaks below indicate bearish bias development within the mean reversion framework.
Momentum Exhaustion Signals: The system identifies momentum exhaustion when price breaks through the equilibrium line opposite to the prevailing momentum direction. Bullish exhaustion occurs when price falls below equilibrium despite positive momentum, while bearish exhaustion happens when price rises above equilibrium during negative momentum periods.
3. Channel Expansion and Breakout Detection
Channel Boundary Breaks: When price breaks above the upper reversion zone or below the lower reversion zone, it signals potential channel expansion or false breakout conditions. These events often precede significant trend changes or range expansion phases.
Range Expansion Alerts: Breaks above the channel high or below the channel low indicate potential breakout from the mean reversion range, suggesting trend continuation or new directional movement beyond the established boundaries.
🟢 Pro Tips for Trading and Investing
→ Strategic DCA Optimization: Use the lower reversion zone as primary accumulation levels for dollar cost averaging strategies. When price reaches oversold conditions with bearish momentum exhaustion signals, it often represents optimal entry points for systematic investment programs, allowing investors to accumulate positions at statistically favorable price levels within the established range.
→ DCA Pause and Acceleration Signals : Monitor equilibrium line breaks to adjust DCA frequency and amounts. When price consistently trades below equilibrium with momentum exhaustion signals, consider accelerating DCA intervals or increasing investment amounts. Conversely, when price reaches upper reversion zones, consider pausing or reducing DCA activity until more favorable conditions return.
→ Momentum Divergence Detection: Watch for divergences between price action and momentum readings within the channel. When price makes new lows but momentum shows improvement, or price makes new highs with deteriorating momentum, these signal high-probability mean reversion setups ideal for contrarian investment approaches.
→ Alert-Based Systematic Investing/Trading: Utilize the comprehensive alert system for automated DCA triggers. Set up alerts for lower reversion zone touches combined with momentum exhaustion signals to create systematic entry points that remove emotional decision-making from long-term investment strategies, particularly effective for volatile assets where timing improvements can significantly impact overall returns.
Machine Learning-Inspired Supply & Demand Zones [AlgoPoint]This indicator is a Smart Supply & Demand Zone tool, developed with principles inspired by Machine Learning (ML). It intelligently filters out market noise, allowing you to focus only on the most significant zones where institutional order flow is likely present.
💡 How It Works: Why Is This Indicator "Smart"?
Unlike traditional indicators that only measure simple price movements, this script uses an algorithm that asks the same critical questions an experienced market analyst would to qualify a zone:
- 1. Price Imbalance: How fast and aggressively did the price leave the zone? Our algorithm measures the body size of the "departure candle" relative to the current market volatility (ATR). A zone is only considered if it was formed by an explosive move that is statistically significant, indicating a major imbalance between buyers and sellers.
- 2. Volume Confirmation: Did the "smart money" participate in this move? The script checks if the volume on the departure candle was significantly higher than the recent average volume. A spike in volume confirms that the move was backed by institutional interest, adding strength and validity to the zone.
- 3. Valid Pivot Structure: Did the zone originate from a meaningful swing high or low? The algorithm first identifies a valid pivot structure, ensuring that zones are not drawn from insignificant or random price fluctuations.
Only when a potential zone passes these three critical tests—our "quality filter"—is it drawn on your chart.
🚀 Features & How to Use
Using the indicator is straightforward. You will see two primary types of boxes on your chart:
* 🟥 Red Box (Supply Zone): An area of potential resistance where selling pressure is likely to be strong. Look for potential shorting opportunities as the price approaches this zone.
* 🟩 Green Box (Demand Zone): An area of potential support where buying pressure is likely to be strong. Look for potential long opportunities as the price pulls back into this zone.
Dynamic Zone Management
This indicator is not static; it lives and breathes with the market:
- Fresh Zone: A newly formed zone appears in its full, vibrant color. These are the highest-probability zones as they have not yet been re-tested.
- Broken / Flipped Zone: You have full control over what happens when a zone is broken! In the settings, you can choose:
- Delete Zone: The zone will be removed completely when the price closes through it.
- Show as Broken (Flip): When broken, the zone will turn gray, stop extending, and remain on your chart. This is extremely useful for identifying Support/Resistance Flips, where a broken demand zone becomes new resistance, or a broken supply zone becomes new support.
⚙️ Settings & Customization
Fine-tune the indicator to match your personal trading style via the settings menu:
- Breakout Behavior: The most powerful feature. Choose between Delete Zone and Show as Broken (Flip) to customize your chart.
- Zone Finding Logic: Control the indicator's sensitivity.
- Selective: Requires both strong imbalance and high volume. Finds fewer, but higher-quality, zones.
- Moderate: Requires either strong imbalance or high volume. Finds more potential zones.
- Sensitivity Settings: Adjust the ATR Multiplier and Volume Multiplier to make the criteria for a "strong" zone stricter or looser.
Wick Pressure Zones [BigBeluga]
The Wick Pressure Zones indicator highlights areas where extreme wick activity occurred, signaling strong buy or sell pressure. By measuring unusually long upper or lower wicks and mapping them into gradient volume zones , the tool helps traders identify levels where liquidity was absorbed, leaving behind footprints of supply and demand imbalances. These zones often act as support, resistance, or liquidity sweep magnets .
🔵 CONCEPTS
Extreme Wicks : Large upper or lower shadows indicate aggressive rejection — upper wicks suggest selling pressure, lower wicks suggest buying pressure.
Volumatic Gradient Zones : From each detected wick, the indicator projects a layered gradient zone, proportional to the wick’s size, showing where most pressure occurred.
Liquidity Footprints : These zones mark levels where significant buy/sell volume was executed, often becoming reaction points on future retests.
Automatic Expiration : Zones persist until price decisively trades through them, after which they are cleared to keep the chart clean.
🔵 FEATURES
Automatic Wick Detection : Identifies extreme upper and lower wick events using percentile filtering and Realative Strength Index.
Gradient Zone Visualization : Builds a 10-layer zone from the wick top/bottom, shading intensity according to pressure strength.
Volume Labels : Each zone is annotated with the bar’s volume at the origin point for added context.
Dynamic Zone Extension : Zones extend to the right as long as they remain relevant; once price closes through them, they are removed.
Support & Resistance Mapping : Upper wick zones (red) behave like supply/resistance, lower wick zones (green) like demand/support.
Clutter Control : Limits the number of active zones (default 10) to keep charts responsive.
Background Highlighting : Optional background shading when new wick zones appear (red for sell, green for buy).
🔵 HOW TO USE
Look for Upper Wick Zones (red) : Indicate strong selling pressure; watch for resistance, reversals, or liquidity sweeps above.
Look for Lower Wick Zones (green) : Indicate strong buying pressure; watch for support or liquidity sweeps below.
Trade Retests : When price returns to a zone, expect a reaction (bounce or rejection) due to leftover liquidity.
Combine with Context : Align wick pressure zones with HTF support/resistance, order blocks, or volume profile for stronger signals.
Use Volume Labels : High-volume wicks indicate more significant liquidity events, making the zone more likely to act as a strong reaction point.
🔵 CONCLUSION
The Wick Pressure Zones is a powerful way to visualize hidden liquidity and aggressive rejections. By mapping extreme wick events into dynamic, volume-annotated zones, it shows traders where the market absorbed heavy buy/sell pressure. These levels frequently act as magnets or turning points, making them valuable for timing entries, stop placement, or fade strategies.
Smart Money Footprint & Cost Basis Engine [AlgoPoint]Smart Money Footprint & Cost Basis Engine
This indicator is a comprehensive market analysis tool designed to identify the "footprints" of Smart Money (institutions, whales) and pinpoint high-probability reaction zones. Instead of relying on lagging averages, this engine analyzes the very structure of the market to find where large players have shown their hand.
How It Works: The Core Logic
The indicator operates on a multi-stage confirmation process to identify and validate Smart Money zones:
Smart Money Detection (The Trigger): The engine first scans the chart for signs of intense, urgent buying or selling. It does this by identifying Fair Value Gaps (FVGs) created by large, high-volume Displacement Candles. This is our initial Point of Interest (POI).
Cost Basis Calculation (The Average Price): Once a potential Smart Money move is detected, the indicator calculates the Volume-Weighted Average Price (VWAP) for that specific move. This gives us a highly accurate estimate of the average price at which the large players entered their positions.
Historical Confirmation (The "Memory"): This is the indicator's most unique feature. It checks its historical database to see if a similar Smart Money move (in the same direction) has occurred in the same price area in the past. If a match is found, the zone's significance is confirmed.
Verified Cost Basis Zone (The Final Output): A zone that passes all the above checks is drawn on the chart as a high-probability Verified Cost Basis Zone. These are the "memory zones" where the market is likely to react upon a re-visit.
How to Use This Indicator
Cost Basis Zones (The Boxes):
Green Boxes: Bullish zones where Smart Money likely accumulated positions. When the price returns here, a BUY reaction is expected.
Red Boxes: Bearish zones where Smart Money likely distributed positions. When the price returns here, a SELL reaction is expected.
Zone Strength (★★★): Each zone is created with a star rating. More stars indicate a higher-confidence zone (based on factors like volume intensity and historical confirmation).
BUY/SELL Signals: A signal is only generated when the price enters a zone AND the confirmation filters (if enabled in the settings) are passed.
Zone Statuses:
Green/Red: Active and waiting to be tested.
Gray: The zone has been tested, and a signal was produced.
Dark Gray (Invalidated): The zone was broken decisively and is no longer considered valid support/resistance.
Key Settings
Signal Accuracy Filters: You can enable/disable three powerful filters to balance signal quantity and quality:
Momentum Confirmation (Stoch): Waits for momentum to align with the zone's direction.
Candlestick Confirmation (Engulfing): Waits for a strong reversal candle inside the zone.
Lower Timeframe MSS Confirmation: The most advanced filter; waits for a trend shift on a lower timeframe before giving a signal.
Historical Confirmation:
Require Historical Confirmation: Toggle the "Memory" feature on/off. Turn it off to see all potential SM zones.
Tolerance Calculation Method: Choose between a dynamic ATR Multiplier (recommended for all-around use) or a fixed Percentage to define the zone size.
Ichimoku HorizonIchimoku Horizon – Multi-Timeframe Analysis
A multi-timeframe Ichimoku faithful to Hosoda, with authentic real-time calculations.
Ichimoku Horizon is an indicator based on the original method developed by Goichi Hosoda in the 1930s. It strictly respects the authentic formulas and prioritizes mathematical fidelity.
Key Features
Intelligent Multi-Timeframe
Native chart: Ichimoku from your trading timeframe
3 higher timeframes: Daily (1D), Weekly (1W), Monthly (1M) by default
Automatic projection: only higher timeframes relative to the chart are displayed
Precise offsets: displacement adapted to each timeframe
Guaranteed Authenticity
Hosoda’s original formulas fully respected
lookahead_off exclusively: lines calculated in real time with the current candle
Traditional displacement: 26 periods for cloud projection and Chikou shift
Why lookahead_off?
lookahead_off is the calculation mode that respects Hosoda’s logic:
Tenkan, Kijun, SSA and SSB all include the current candle and move in real time.
Chikou is the only exception: shifted 26 periods but calculated only with confirmed closes.
This way, what you see always matches the actual market as it is forming.
What is the no repaint approach?
A no repaint indicator displays values exactly as they exist in the present moment:
Lines update in real time during the formation of a candle.
Once the candle closes, they remain permanently fixed.
This ensures that the plots reflect the true construction of the market.
Main Parameters
Tenkan: 9 periods (short term)
Kijun: 26 periods (medium term)
SSB: 52 periods (long term)
Displacement: 26 periods (+26 for the cloud, −26 for the Chikou)
Timeframe Selection
TF1: Daily (structure aligned with trading activity)
TF2: Weekly (intermediate trend)
TF3: Monthly (macro vision)
Example Configurations
Scalping: Chart 1m → TF1: 5m, TF2: 15m, TF3: 1H
Intraday: Chart 5m → TF1: 15m, TF2: 1H, TF3: 4H
The indicator automatically hides inconsistent timeframes (lower than the chart).
Natural Line Display
Some lines will sometimes appear flat or straight: this is the normal behavior of Ichimoku, directly reflecting the highs and lows of their calculation windows.
Conclusion
Ichimoku Horizon is designed to remain true to Hosoda’s vision while offering the clarity of a modern multi-timeframe tool.
It delivers authentic, real-time calculations with no compromise.
FibonacciRetracementHi all!
This library will help you draw Fibonacci retracement levels (zones). The code is from my indicator "Fibonacci retracement" (). You can see that description for more information about the behaviour and example of how to use this library. The code is almost the same with the addition of alerts. If the alert frequency is 'alert.freq_once_per_bar_close' alert messages will be concatenated and have a header saying how many messages it contains (if it's more than 1).
Hope this is of help!
Library "FibonacciRetracement"
ConcateAlerts(context)
Concatenates all alerts from the bar to one string (separated by new lines) and clears alert messages on the current bar.
Parameters:
context (Context)
AddAlert(context, message, unshiftInsteadOfPush)
Parameters:
context (Context)
message (string)
unshiftInsteadOfPush (bool)
Range(context, structure, settings)
Will return values if new levels/zones should be drawn.
Parameters:
context (Context) : The 'Context' for the Fibonacci retracement.
structure (Structure type from mickes/PriceAction/1) : The current 'Structure' from the 'MarketStructure' library.
settings (Settings) : The 'Settings' object for the 'Context'.
Returns: A tuple with the start and end pivot if new zones should be drawn, ' ' otherwise.
DrawAll(context, settings, start, end)
Draws lines and labels for the zone. It will also set the 'Price' value that will be used for absolute positions.
Parameters:
context (Context) : The 'Context' for the Fibonacci retracement.
settings (Settings) : The 'Settings' object for the 'Context'.
start (Pivot type from mickes/PriceAction/1)
end (Pivot type from mickes/PriceAction/1)
AlertActive(context, settings)
Will alert for all zones that are active. If multiple alert messages are added they will be concatenated (separated by a new line) with a header saying how many messages the alert contains.
Parameters:
context (Context) : The 'Context' for the Fibonacci retracement. This contains the zones that will be alerted if price (wick or close according to the settings) enters it.
settings (Settings) : The 'Settings' object for the 'Context'.
TrendlineSettings
Holds all the values for 'TrendlineSettings'.
Fields:
Enabled (series bool) : If the trendline should be visible or not.
Color (series color) : The color of the trendline.
Style (series string) : The style of the trendline (as a string).
GenericZonesSettings
Holds all the values for 'GenericZonesSettings', that will be applicable to all drawn objects.
Fields:
ExtendRight (series bool) : If all lines should extend to the right or not.
Style (series string) : The style of all drawn lines
Reverse (series bool) : If true, all lines will be reversed.
Prices (series bool) : If price levels should be shown or not.
Levels (series bool) : If levels should be shown or not.
LevelsValue (series string) : Either 'Value' or 'Percent'. Defined if value or percentage should be shown.
FontSize (series int) : The for size of the text in labels drawn.
LabelsPosition (series string) : Coul be 'Left', 'Rigth' or 'Adapt'. 'Adapt' will try to adapt the labels position to the prices.
ZoneSettings
Holds all the values for 'ZoneSettings'.
Fields:
Enabled (series bool) : If this zone is enabled or not.
Level (series float) : The level of the zone.
Color (series color) : The color that will be displayed.
Price (series float) : The price of the level. Will be set internally.
Settings
Holds all the values for 'Settings'.
Fields:
PivotLeftLength (series int) : The left length used to find pivots through the 'MarketStructure' library.
PivotRightLength (series int) : The right length used to find pivots through the 'MarketStructure' library.
Trendline (TrendlineSettings) : The settings for the 'Trendline' object.
GenericZonesSettings (GenericZonesSettings) : The setting applicable to all zones.
AlertFrequency (series string) : The frequency for the alerts. If 'alert.freq_once_per_bar_close', alert messages will be concatenated and have a header saying how many messages it contains (if it's more than 1).
AlertPrice (series string) : The price that has to enter a zone. Can be 'Close' (the closing price) or 'Wick' (the whole candle needs to be in the zone).
Zone1 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone2 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone3 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone4 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone5 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone6 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone7 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone8 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone9 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone10 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone11 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone12 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone13 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone14 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone15 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone16 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone17 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone18 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone19 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone20 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone21 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone22 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone23 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Zone24 (ZoneSettings) : The 'ZoneSettings' that represents this zone.
Context
Holds all the values for 'Context'.
Fields:
Lines (array) : All the drawn lines for the current 'Context'.
Labels (array) : All the drawn labels for the current 'Context'.
Boxes (array) : All the drawn boxes for the current 'Context'.
Alerts (array) : All the alert messages on the current tick.
Start (series int) : The start bar index of the current 'Context'.
Advanced Trend Momentum [Alpha Extract]The Advanced Trend Momentum indicator provides traders with deep insights into market dynamics by combining exponential moving average analysis with RSI momentum assessment and dynamic support/resistance detection. This sophisticated multi-dimensional tool helps identify trend changes, momentum divergences, and key structural levels, offering actionable buy and sell signals based on trend strength and momentum convergence.
🔶 CALCULATION
The indicator processes market data through multiple analytical methods:
Dual EMA Analysis: Calculates fast and slow exponential moving averages with dynamic trend direction assessment and ATR-normalized strength measurement.
RSI Momentum Engine: Implements RSI-based momentum analysis with enhanced overbought/oversold detection and momentum velocity calculations.
Pivot-Based Structure: Identifies and tracks dynamic support and resistance levels using pivot point analysis with configurable level management.
Signal Integration: Combines trend direction, momentum characteristics, and structural proximity to generate high-probability trading signals.
Formula:
Fast EMA = EMA(Close, Fast Length)
Slow EMA = EMA(Close, Slow Length)
Trend Direction = Fast EMA > Slow EMA ? 1 : -1
Trend Strength = |Fast EMA - Slow EMA| / ATR(Period) × 100
RSI Momentum = RSI(Close, RSI Length)
Momentum Value = Change(Close, 5) / ATR(10) × 100
Pivot Support/Resistance = Dynamic pivot arrays with configurable lookback periods
Bullish Signal = Trend Change + Momentum Confirmation + Strength > 1%
Bearish Signal = Trend Change + Momentum Confirmation + Strength > 1%
🔶 DETAILS
Visual Features:
Trend EMAs: Fast and slow exponential moving averages with dynamic color coding (bullish/bearish)
Enhanced RSI: RSI oscillator with color-coded zones, gradient fills, and reference bands at overbought/oversold levels
Trend Fill: Dynamic gradient between EMAs indicating trend strength and direction
Support/Resistance Lines: Horizontal levels extending from pivot-based calculations with configurable maximum levels
Momentum Candles: Color-coded candlestick overlay reflecting combined trend and momentum conditions
Divergence Markers: Diamond-shaped signals highlighting bullish and bearish momentum divergences
Analysis Table: Real-time summary of trend direction, strength percentage, RSI value, and momentum reading
Interpretation:
Trend Direction: Bullish when Fast EMA crosses above Slow EMA with strength confirmation
Trend Strength > 1%: Strong trending conditions with institutional participation
RSI > 70: Overbought conditions, potential selling opportunity
RSI < 30: Oversold conditions, potential buying opportunity
Momentum Divergence: Price and momentum moving opposite directions signal potential reversals
Support/Resistance Proximity: Dynamic levels provide optimal entry/exit zones
Combined Signals: Trend changes with momentum confirmation generate high-probability opportunities
🔶 EXAMPLES
Trend Confirmation: Fast EMA crossing above Slow EMA with trend strength exceeding 1% and positive momentum confirms strong bullish conditions.
Example: During institutional accumulation phases, EMA crossovers with momentum confirmation have historically preceded significant upward moves, providing optimal long entry points.
15min
4H
Momentum Divergence Detection: RSI reaching overbought levels while momentum decreases despite rising prices signals potential trend exhaustion.
Example: Bearish divergence signals appearing at resistance levels have marked major market tops, allowing traders to secure profits before corrections.
Support/Resistance Integration: Dynamic pivot-based levels combined with trend and momentum signals create high-probability trading zones.
Example: Bullish trend changes occurring near established support levels offer optimal risk-reward entries with clearly defined stop-loss levels.
Multi-Dimensional Confirmation: The indicator's combination of trend, momentum, and structural analysis provides comprehensive market validation.
Example: When trend direction aligns with momentum characteristics near key structural levels, the confluence creates institutional-grade trading opportunities with enhanced probability of success.
🔶 SETTINGS
Customization Options:
Trend Analysis: Fast EMA Length (default: 12), Slow EMA Length (default: 26), Trend Strength Period (default: 14)
Support & Resistance: Pivot Length for level detection (default: 10), Maximum S/R Levels displayed (default: 3), Toggle S/R visibility
Momentum Settings: RSI Length (default: 14), Oversold Level (default: 30), Overbought Level (default: 70)
Visual Configuration: Color schemes for bullish/bearish/neutral conditions, transparency settings for fills, momentum candle overlay toggle
Display Options: Analysis table visibility, divergence marker size, alert system configuration
The Advanced Trend Momentum indicator provides traders with comprehensive insights into market dynamics through its sophisticated integration of trend analysis, momentum assessment, and structural level detection. By combining multiple analytical dimensions into a unified framework, this tool helps identify high-probability opportunities while filtering out market noise through its multi-confirmation approach, enabling traders to make informed decisions across various market cycles and timeframes.
OHLC Lines – Yesterday & Today (Minimalist Option)This indicator draws horizontal lines representing the Open, High, Low, and Close (OHLC) levels of yesterday and today directly on your chart. It automatically updates each day, showing only the lines for the previous day and the current day, keeping your chart clean and focused.
Features:
Display Yesterday’s OHLC levels.
Display Today’s OHLC levels.
Optional Minimalist Mode with customizable color, width, and line style.
Lines automatically update each day and remove old lines.
Fully customizable colors, visibility, and line width for each OHLC level.
Use Case:
Perfect for traders who want to monitor key daily price levels, identify support/resistance zones, or incorporate OHLC levels into intraday strategies.
Support and Resistance Lines by Jaehee📌 SUPPORT AND RESISTANCE LINES — PIVOT-BASED AUTOMATIC S/R WITH DYNAMIC FLIP
🔍 WHAT IT IS
• Automatically detects and plots support and resistance levels based on recent pivot highs and lows
• Groups nearby pivots into channels, then draws the channel mid-point as a horizontal line across the chart
• Resistance lines are shown in red, support lines in blue, both with dual glow layers for visibility
• Includes dynamic S/R flip — when price closes beyond a level, it switches role (support ↔ resistance) and updates its color in real time
⚙️ HOW IT WORKS
• Pivot Detection — Scans recent bars for highs and lows using a configurable lookback period
• Channel Clustering — Merges pivots within a set percentage of the recent range into a single channel
• Strength Filtering — Keeps only channels with a minimum number of touches
• Dynamic Flip — Automatically changes support to resistance and vice versa when broken
• Line Plotting — Draws each channel’s mid-price as a solid line extending in both directions
💡 WHY THIS COMBINATION
• Manual S/R drawing is slow and subjective
• Combines pivot detection, clustering, strength filtering, and dynamic flip to produce objective, evolving levels
• Dual glow layers ensure levels stay visible even on crowded charts
🆚 HOW IT DIFFERS FROM COMMON S/R INDICATORS
• Dynamic clustering — Merges nearby pivots into cleaner, more useful levels
• Strength metric — Ranks levels by the number of touches to reduce noise
• Dual glow layers — Improves readability on any chart theme
• Dynamic S/R flip — Instantly updates line type and color when levels are broken
• Full customization — Adjust pivot period, channel width %, maximum levels, colors, widths, and glow transparency
📖 HOW TO READ IT (CONTEXT, NOT SIGNALS)
• Trend continuation — Break and close beyond a strong level can indicate continuation
• Reversal zones — Multiple strong levels in a tight range can signal potential turning points
• Trading range — Boundaries formed by these lines can define range-bound market conditions
• S/R flip — Support becomes resistance when broken, and resistance becomes support when broken, shown visually in real time
🛠 INPUTS
• Pivot period length
• Source: High/Low or Close/Open
• Maximum pivots and S/R levels
• Maximum channel width %
• Minimum strength (touches)
• Label location offset for pivot markers
• Colors and line widths for resistance, support, and glow layers
🎨 DESIGN NOTES
• Lines extend fully across the chart for continuous reference
• Adjustable glow transparency for both resistance and support
• Optional pivot point labels for cleaner visuals
• Real-time calculation on the selected timeframe
• Automatic visual flip between support and resistance
⚠️ LIMITATIONS AND GOOD PRACTICE
• Past levels do not guarantee future reactions
• Strength is based on historical touches only
• Best used with trend, momentum, or volume confirmation
• Not a strategy — no performance claims
📂 DEFAULTS AND SCOPE
• Works on any OHLCV instrument
• No repainting after levels are confirmed
Clean Pivot Lines with AlertsTechnical Overview
This Script is designed for detecting untouched pivot highs and lows. It draws horizontal levels only when those pivots remain unviolated within a configurable lookback window and removes them automatically upon price breaches or sweeps.
Key components include:
Pivot detection logic : Utilizes ta.pivothigh()/ta.pivotlow() (or equivalent via request.security for HTF) with parameterized pivotLength to ensure flexibility and adaptability to different timeframes.
Cleanliness filtering : Checks lookbackBars prior to line creation to skip levels already violated, ensuring only uncontaminated pivots are used.
Dynamic level tracking : Stores active levels in arrays (highLines, lowLines) for continuous real-time monitoring.
Violation logic : Detects both close-based breaks (breakAbove/breakBelow) and wick-based sweeps (sweepAbove/sweepBelow), triggering alerts and automatic teardown.
Periodic housekeeping : Every N (10) confirmed bars, re-verifies “clean” status and removes silently invalidated levels—maintaining chart hygiene and avoiding stale overlays.
Customization options : Supports pivot timeframe override, colors, line width/style, lookback length, and alert toggling.
Utility
This overlay script provides a disciplined workflow for drawing meaningful support/resistance levels, filtering out contaminated pivot points, and signaling validations (breaks/sweeps) with alerts. Its modular design and HTF support facilitate integration into systematic workflows, offering far more utility than mere static pivot plots.
Usage Instructions
1. Adjust `pivot_timeframe`, `pivot_length`, and `lookback_bars` to suit your strategy timeframe and volatility structure.
2. Customize visual parameters as required.
3. Enable alerts to receive in-platform messages upon pivot violations.
4. Use HTF override only if analyzing multi-timeframe pivot behavior; otherwise, leave empty to default to chart timeframe.
Performance & Limitations
- Pivot lines confirmation lags by `pivot_length` bars; real-time signals may be delayed.
- Excessive active lines may impact performance on low-TF charts.
- The “clean” logic is contingent on the `lookback_bars` parameter; choose sufficiently high values to avoid false cleanliness.
- Alerts distinguish between closes beyond and wick-only breaches to aid strategic nuance.
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.
Leola Lens Footprint📌 Leola Lens Footprint — Market Memory Overlay (Invite-Only)
This invite-only script is built to visualize market memory by identifying historically reactive zones — where price previously encountered resistance, support, or decision-making friction.
Unlike predictive models or indicator-driven systems, Footprint focuses only on price behavior that has already occurred, using confirmed reaction clusters to highlight likely areas of future influence.
________________________________________
🔍 What It Does
• Detects zones where price has reacted multiple times, showing clear rejection, breakout, or consolidation behavior
• Plots these levels only after market confirmation — no projections or lagging indicators
• Designed for clean structural reading across all timeframes and asset classes (crypto, stocks, forex, commodities)
________________________________________
🟡 Visual Elements
• 🟣 Purple Zones → High-impact memory zones with consistent historical rejection
• 🟤 Brown Zones → Fresh rejection clusters (recent demand/supply zones)
• 🟡 Yellow Line → Psychological pivot zone/Key decision points formed from repeated reactions.
• 🩷 Pink Lines → Pullback or reversal zones (support/resistance traps)
• Adaptive zone shading and slope-based logic enhances readability
________________________________________
📊 Best Suited For:
• Price-action traders who focus on confirmed historical behavior, not speculative levels
• Scalpers and swing traders looking to trade retests and rejection entries
• Discretionary traders wanting a stable visual map of structure without noise
________________________________________
🔧 Originality & Logic
This script uses original rule-based logic to cluster and validate levels only after real-world confirmation.
It does not use RSI, MACD, MAs, volume, or any traditional indicator input.
Instead, it tracks zone memory based on how price respects or invalidates key levels over time — making it adaptive to both trending and ranging environments.
There is no repainting or forward projection — all levels appear only after market structure confirms relevance.
________________________________________
⚠️ Disclaimer
This tool is for educational and informational purposes only. It does not constitute trading advice or a financial recommendation. Always validate visual overlays with your own risk framework and backtesting before live use.
________________________________________
Parallax Momentum MNQ Strategy# 📈 Parallax Momentum MNQ Strategy
## Overview
The Parallax Momentum MNQ Strategy is a sophisticated support/resistance breakout system specifically designed for Micro Nasdaq futures (MNQ) trading (also works on minis). This strategy combines dynamic level detection with momentum confirmation to identify high-probability entry opportunities while maintaining strict risk management protocols.
## 🎯 Key Features
### Core Strategy Logic
- **Dynamic Support/Resistance Detection**: Automatically identifies key levels using configurable lookback periods
- **Momentum Confirmation**: Volume-based filtering ensures trades align with market momentum
- **ATR-Based Risk Management**: Adaptive stop losses and take profits based on market volatility
- **Dual Entry System**: Both long and short opportunities with limit order execution
### Risk Management
- **ATR-Adaptive Stops**: Stop losses and take profits automatically adjust to market volatility
- **Reward-to-Risk Ratios**: Configurable R:R ratios with default 2:1 minimum
- **Maximum Loss Protection**: Optional daily loss limits to prevent overtrading
- **Session Time Filtering**: Trade only during specified market hours
### Strategy Modes
- **Conservative Mode**: 0.8x risk multiplier for cautious trading
- **Balanced Mode**: Standard 1.0x risk multiplier (default)
- **Aggressive Mode**: 1.2x risk multiplier for active trading
## 📊 Visual Features
### Dashboard Display
- Real-time strategy status and performance metrics
- Current support/resistance levels and ATR values
- Live risk-to-reward ratios for potential trades
- Win rate, profit factor, and drawdown statistics
- Adjustable dashboard size and positioning
### Chart Indicators
- Support and resistance lines with labels
- ATR-based levels (+/-1 ATR and +/-2 ATR)
- Dynamic visual updates as levels change
- Configurable line extensions and styling
## ⚙️ Configuration Options
### Entry Filters
- **Volume Filter**: Optional volume confirmation above SMA
- **Session Time Filter**: 12-hour format time restrictions
- **ATR vs Fixed Stops**: Choose between adaptive or fixed tick-based exits
### Risk Controls
- **ATR Period**: Default 14-period ATR calculation
- **Stop Loss Multiplier**: ATR-based stop distance (default 1.5x)
- **Take Profit Multiplier**: ATR-based target distance (default 1.5x)
- **Secondary Take Profit**: Optional TP2 with position scaling
## 📋 How It Works
### Entry Conditions
**Long Trades**: Triggered when price closes above support buffer but low touches support level, with volume and session confirmation
**Short Trades**: Triggered when price closes below resistance buffer but high touches resistance level, with volume and session confirmation
### Exit Strategy
- **Primary Take Profit**: ATR-based target with 2:1 R:R minimum
- **Stop Loss**: ATR-based protective stop
- **Optional TP2**: Extended target for partial profit taking
- **One Trade at a Time**: No overlapping positions
## 🎛️ Default Settings
- **Lookback Period**: 20 bars for support/resistance detection
- **ATR Period**: 14 bars for volatility calculation
- **Stop Loss**: 1.5x ATR from entry
- **Take Profit**: 1.5x ATR with 2:1 reward-to-risk ratio
- **Session**: 7:30 AM - 2:00 PM (configurable)
## ⚠️ Important Notes
### Risk Disclaimer
- This strategy is for educational and informational purposes only
- Past performance does not guarantee future results
- Always use proper position sizing and risk management
- Test thoroughly on historical data before live trading
- Consider market conditions and volatility when using
### Best Practices
- Backtest on sufficient historical data
- Start with conservative mode for new users
- Monitor performance regularly and adjust parameters as needed
- Use appropriate position sizing for your account
- Consider broker commissions and slippage in live trading
## 🔧 Customization
The strategy offers extensive customization options including:
- Adjustable time sessions with AM/PM format
- Configurable ATR and risk parameters
- Optional maximum daily loss limits
- Dashboard size and position controls
- Visual element toggles and styling
## 📈 Ideal For
- MNQ (Micro Nasdaq) futures traders
- Intraday momentum strategies
- Traders seeking systematic entry/exit rules
- Risk-conscious traders wanting automated stops
- Both beginner and experienced algorithmic traders
---
**Version**: Pine Script v5 Compatible
**Timeframe**: Works on multiple timeframes (test on 1m, 3m, 5m, 15m)
**Market**: Optimized for MNQ but adaptable to other instruments
**Strategy Type**: Trend following with momentum confirmation
Lorentzian Key Support and Resistance Level Detector [mishy]🧮 Lorentzian Key S/R Levels Detector
Advanced Support & Resistance Detection Using Mathematical Clustering
The Problem
Traditional S/R indicators fail because they're either subjective (manual lines), rigid (fixed pivots), or break when price spikes occur. Most importantly, they don't tell you where prices actually spend time, just where they touched briefly.
The Solution: Lorentzian Distance Clustering
This indicator introduces a novel approach by using Lorentzian distance instead of traditional Euclidean distance for clustering. This is groundbreaking for financial data analysis.
Data Points Clustering:
🔬 Why Euclidean Distance Fails in Trading
Traditional K-means uses Euclidean distance:
• Formula: distance = (price_A - price_B)²
• Problem: Squaring amplifies differences exponentially
• Real impact: One 5% price spike has 25x more influence than a 1% move
• Result: Clusters get pulled toward outliers, missing real support/resistance zones
Example scenario:
Prices: ← flash spike
Euclidean: Centroid gets dragged toward 150
Actual S/R zone: Around 100 (where prices actually trade)
⚡ Lorentzian Distance: The Game Changer
Our approach uses Lorentzian distance:
• Formula: distance = log(1 + (price_difference)² / σ²)
• Breakthrough: Logarithmic compression keeps outliers in check
• Real impact: Large moves still matter, but don't dominate
• Result: Clusters focus on where prices actually spend time
Same example with Lorentzian:
Prices: ← flash spike
Lorentzian: Centroid stays near 100 (real trading zone)
Outlier (150): Acknowledged but not dominant
🧠 Adaptive Intelligence
The σ parameter isn't fixed,it's calculated from market disturbance/entropy:
• High volatility: σ increases, making algorithm more tolerant of large moves
• Low volatility: σ decreases, making algorithm more sensitive to small changes
• Self-calibrating: Adapts to any instrument or market condition automatically
Why this matters: Traditional methods treat a 2% move the same whether it's in a calm or volatile market. Lorentzian adapts the sensitivity based on current market behavior.
🎯 Automatic K-Selection (Elbow Method)
Instead of guessing how many S/R levels to draw, the indicator:
• Tests 2-6 clusters and calculates WCSS (tightness measure)
• Finds the "elbow" - where adding more clusters stops helping much
• Uses sharpness calculation to pick the optimal number automatically
Result: Perfect balance between detail and clarity.
How It Works
1. Collect recent closing prices
2. Calculate entropy to adapt to current market volatility
3. Cluster prices using Lorentzian K-means algorithm
4. Auto-select optimal cluster count via statistical analysis
5. Draw levels at cluster centers with deviation bands
📊 Manual K-Selection Guide (Using WCSS & Sharpness Analysis)
When you disable auto-selection, use both WCSS and Sharpness metrics from the analysis table to choose manually:
What WCSS tells you:
• Lower WCSS = tighter clusters = better S/R levels
• Higher WCSS = scattered clusters = weaker levels
What Sharpness tells you:
• Higher positive values = optimal elbow point = best K choice
• Lower/negative values = poor elbow definition = avoid this K
• Measures the "sharpness" of the WCSS curve drop-off
Decision strategy using both metrics:
K=2: WCSS = 150.42 | Sharpness = - | Selected =
K=3: WCSS = 89.15 | Sharpness = 22.04 | Selected = ✓ ← Best choice
K=4: WCSS = 76.23 | Sharpness = 1.89 | Selected =
K=5: WCSS = 73.91 | Sharpness = 1.43 | Selected =
Quick decision rules:
• Pick K with highest positive Sharpness (indicates optimal elbow)
• Confirm with significant WCSS drop (30%+ reduction is good)
• Avoid K values with negative or very low Sharpness (<1.0)
• K=3 above shows: Big WCSS drop (41%) + High Sharpness (22.04) = Perfect choice
Why this works:
The algorithm finds the "elbow" where adding more clusters stops being useful. High Sharpness pinpoints this elbow mathematically, while WCSS confirms the clustering quality.
Elbow Method Visualization:
Traditional clustering problems:
❌ Price spikes distort results
❌ Fixed parameters don't adapt
❌ Manual tuning is subjective
❌ No way to validate choices
Lorentzian solution:
☑️ Outlier-resistant distance metric
☑️ Entropy-based adaptation to volatility
☑️ Automatic optimal K selection
☑️ Statistical validation via WCSS & Sharpness
Features
Visual:
• Color-coded levels (red=highest resistance, green=lowest support)
• Optional deviation bands showing cluster spread
• Strength scores on labels: Each cluster shows a reliability score.
• Higher scores (0.8+) = very strong S/R levels with tight price clustering
• Lower scores (0.6-0.7) = weaker levels, use with caution
• Based on cluster tightness and data point density
• Clean line extensions and labels
Analytics:
• WCSS analysis table showing why K was chosen
• Cluster metrics and statistics
• Real-time entropy monitoring
Control:
• Auto/manual K selection toggle
• Customizable sample size (20-500 bars)
• Show/hide bands and metrics tables
The Result
You get mathematically validated S/R levels that focus on where prices actually cluster, not where they randomly spiked. The algorithm adapts to market conditions and removes guesswork from level selection.
Best for: Traders who want objective, data-driven S/R levels without manual chart analysis.
Credits: This script is for educational purposes and is inspired by the work of @ThinkLogicAI and an amazing mentor @DskyzInvestments . It demonstrates how Lorentzian geometrical concepts can be applied not only in ML classification but also quite elegantly in clustering.
Maisbass-Custom Horizontal Price Lines with Labels v1.2Beta. I'm a noob at this.
This script will allow you to manually input price and create a horizontal line with text. It was created primarily for manually entering price of daily high and daily low over a two week period. However you do have the ability to edit the text plotted from the input tab, change color and style of horizontal lines, text size and position, etc. if you input price on the style tab, text won't be plotted, just the line. It's important if you want the text showing as well, you must use the input tab to do so. I plan on correcting this in the future.
Fractal Support and Resistance [BigBeluga]🔵 OVERVIEW
The Fractal Support and Resistance indicator automatically identifies high-probability support and resistance zones based on repeated fractal touches. When a defined number of fractal highs or lows cluster around the same price zone, the indicator plots a clean horizontal level and shaded zone, helping traders visualize structurally important areas where price may react.
🔵 CONCEPTS
Fractal Points: Swing highs and lows based on user-defined left and right range (length). A valid fractal forms only when the center candle is higher or lower than its neighbors.
Zone Validation: A level is only confirmed when the price has printed the specified number of fractals (e.g., 3) within a narrow ATR-defined range.
Dynamic Zone Calculation: The plotted level can be based on the average of clustered fractals or on the extreme value (min or max), depending on the user’s choice.
Support/Resistance Zones: Once a zone is validated, a horizontal line and shaded box are drawn and automatically extended into the future until new valid clusters form.
Auto-Clean & Reactivity: Each zone persists until replaced by a new fractal cluster, ensuring the chart remains uncluttered and adaptive.
🔵 FEATURES
Detects swing fractals using adjustable left/right range.
Confirms zones when a defined number of fractals occur near the same price.
Plots horizontal level and shaded box for visual clarity.
Choice between average or min/max logic for level calculation.
Distinct color inputs for support (green) and resistance (orange) zones.
Adaptive auto-extension keeps valid zones projected into the future.
Displays optional triangle markers above/below bars where fractals form.
Clean design optimized for structural S/R analysis.
🔵 HOW TO USE
Use support zones (from low fractals) to look for potential long entries or bounce points .
Use resistance zones (from high fractals) to look for short setups or rejections .
Adjust the Fractals Qty to make zones more or less strict—e.g., 3 for higher reliability, 2 for quicker responsiveness.
Combine with liquidity indicators or break/retest logic to validate zone strength.
Toggle between average and min/max mode to fit your style (average for balance, extremes for aggression).
🔵 CONCLUSION
Fractal Support and Resistance offers a robust way to identify hidden levels that the market respects repeatedly. By requiring multiple fractal confirmations within a zone, it filters out noise and highlights clean structural areas of interest. This tool is ideal for traders who want automatic, adaptive, and reliable S/R levels grounded in raw market structure.
Choch Pattern Levels [BigBeluga]🔵 OVERVIEW
The Choch Pattern Levels indicator automatically detects Change of Character (CHoCH) shifts in market structure — crucial moments that often signal early trend reversals or major directional transitions. It plots the structural break level, visualizes the pattern zone with triangle overlays, and tracks delta volume to help traders assess the strength behind each move.
🔵 CONCEPTS
CHoCH Pattern: A bullish CHoCH forms when price breaks a previous swing high after a swing low, while a bearish CHoCH appears when price breaks a swing low after a prior swing high.
Break Level Mapping: The indicator identifies the highest or lowest point between the pivot and the breakout, marking it with a clean horizontal level where price often reacts.
Delta Volume Tracking: Net bullish or bearish volume is accumulated between the pivot and the breakout, revealing the momentum and conviction behind each CHoCH.
Chart Clean-Up: If price later closes through the CHoCH level, the zone is automatically removed to maintain clarity and focus on active setups only.
🔵 FEATURES
Automatic CHoCH pattern detection using pivot-based logic.
Triangle shapes show structure break: pivot → breakout → internal high/low.
Horizontal level marks the structural zone with a ◯ symbol.
Optional delta volume label with directional sign (+/−).
Green visuals for bullish CHoCHs, red for bearish.
Fully auto-cleaning invalidated levels to reduce clutter.
Clean organization of all lines, labels, and overlays.
User-defined Length input to adjust pivot sensitivity.
🔵 HOW TO USE
Use CHoCH levels as early trend reversal zones or confirmation signals.
Treat bullish CHoCHs as support zones, bearish CHoCHs as resistance.
Look for high delta volume to validate the strength behind each CHoCH.
Combine with other BigBeluga tools like supply/demand, FVGs, or liquidity maps for confluence.
Adjust pivot Length based on your strategy — shorter for intraday, longer for swing trading.
🔵 CONCLUSION
Choch Pattern Levels highlights key structural breaks that can mark the start of new trends. By combining precise break detection with volume analytics and automatic cleanup, it provides actionable insights into the true intent behind price moves — giving traders a clean edge in spotting early reversals and key reaction zones.