Trappp's Advanced Multi-Timeframe Trading ToolkitTrappp's Advanced Multi-Timeframe Trading Toolkit
This comprehensive trading script by Trappp provides a complete market analysis framework with multiple timeframe support and resistance levels. The indicator features:
Key Levels:
· Monthly (light blue dashed) and Weekly (gold dashed) levels for long-term context
· Previous day high/low (yellow) with range display
· Pivot-based support/resistance (pink dashed)
· Premarket levels (blue) for pre-market activity
Intraday Levels:
· 1-minute opening candle (red)
· 5-minute (white), 15-minute (green), and 30-minute (purple) session levels
· All intraday levels extend right throughout the trading day
Technical Features:
· EMA 50/200 cross detection with alert labels
· Candlestick pattern recognition near key levels
· Smart proximity detection using ATR
· Automatic daily/weekly/monthly updates
Trappp's script is designed for traders who need immediate visual reference of critical price levels across multiple timeframes, helping identify potential breakouts, reversals, and pattern-based setups with clear, color-coded visuals for quick decision-making.
Trend Analizi
Advanced Trading ToolkitTrappp's Advanced Multi-Timeframe Trading Toolkit
This comprehensive trading script by Trappp provides a complete market analysis framework with multiple timeframe support and resistance levels. The indicator features:
Key Levels:
· Monthly (light blue dashed) and Weekly (gold dashed) levels for long-term context
· Previous day high/low (yellow) with range display
· Pivot-based support/resistance (pink dashed)
· Premarket levels (blue) for pre-market activity
Intraday Levels:
· 1-minute opening candle (red)
· 5-minute (white), 15-minute (green), and 30-minute (purple) session levels
· All intraday levels extend right throughout the trading day
Technical Features:
· EMA 50/200 cross detection with alert labels
· Candlestick pattern recognition near key levels
· Smart proximity detection using ATR
· Automatic daily/weekly/monthly updates
Trappp's script is designed for traders who need immediate visual reference of critical price levels across multiple timeframes, helping identify potential breakouts, reversals, and pattern-based setups with clear, color-coded visuals for quick decision-making.
Flexible S/R Channels🟩 Flexible S/R Channels is a visualization tool that draws curved support and resistance boundaries through user-defined anchor points. Unlike traditional trendlines and channels that force linear interpretation onto price action, this indicator captures the curved structures that markets frequently form—rounded tops and bottoms, parabolic advances and declines, arcing rallies and pullbacks. Three anchor points per curve define the shape; the indicator fits a smooth mathematical curve through these points and projects it forward. The approach is simple: draw what you see. Curved market structure that resists precise definition with traditional tools can now be rendered with mathematical accuracy.
The indicator bridges the gap between static drawing tools and programmable indicators. TradingView's arc tool draws curves but produces only visual pixels with no analytical value. Flexible S/R Channels creates live data series that integrate with other analysis tools. Four curve-fitting methods—Quadratic, Quadratic-Linear, Weighted Linear, and Natural Cubic Spline—accommodate different market structures. The curved levels naturally lend themselves to breakout and reversion strategies—applications left to the trader's discretion. The open-source code invites experimentation and customization.
💡 THEORY AND CONCEPT 💡
Traders have long relied on horizontal levels and diagonal trendlines to define support and resistance. Linear tools assume constant slope—a property rarely exhibited by actual market movement. When momentum accelerates or decelerates, price trajectories curve rather than hold to fixed angles. The resulting structures—parabolic advances during expansion phases, arcing pullbacks during consolidation, rounded formations at reversal points—represent changes in the rate of change itself. Traditional drawing tools cannot accommodate this variable geometry without sacrificing mathematical precision..
Flexible S/R Channels extends familiar support and resistance concepts into curved space. The approach is simple: draw what you see. When the eye recognizes a curved boundary in price action, this indicator provides the means to define it precisely. Three anchor points per curve—an initial point, an intermediate point, and a recent point—are all that is required. The indicator fits a smooth mathematical curve through these points and extends it forward as a projection.
This indicator represents a blend of human pattern recognition and algorithmic precision. Fully automated indicators make decisions without user input—efficient but detached from trader discretion. Manual drawing tools rely entirely on freehand skill—expressive but imprecise. Flexible S/R Channels occupies the middle ground. The trader identifies the curved structure; the algorithm renders it mathematically. The result is human insight expressed with computational accuracy—for traders who recognize curved structure in price action but lack precise tools to define it.
This projection is not a prediction. It is a visual hypothesis—a structured way of asking "if this trajectory continues, where would price be?" The underlying assumption is simple: like Newton's first law of motion, a trajectory in motion tends to continue unless acted upon by an external force. Future price action validates or invalidates the projection, just as it does with any trendline or channel.
TradingView offers an arc drawing tool for freehand curved lines, but these are purely visual—static pixels on a screen with no programmable value. Flexible S/R Channels bridges this gap. The fitted curves exist as data series that can generate alerts, trigger signals, and interact with other analysis tools. The visual drawing becomes operational structure.
🔁 CURVE METHODS 🔁
The indicator offers four curve-calculation methods, each producing different shapes suited to different market structures:
Quadratic — Fits a parabolic arc through the three anchor points. Best for smooth, continuous curves such as rounded tops and bottoms. It captures the natural "swing" of the market, assuming the momentum will maintain its current rate of acceleration or deceleration.
Quadratic-Linear — Uses a parabolic curve through the anchor points, then transitions to a straight line after the final anchor. Useful when curved structure gives way to linear trend continuation. This is the "bridge" between a turning market and a steady, directed move, preventing the projection from curving back on itself when the price begins to run.
Weighted Linear — Connects anchor points with straight line segments rather than a smooth curve. Suited for angular market structures with distinct inflection points. It treats the market as a series of rigid shifts, providing a clear "corridor" when the price is bouncing between sharp, diagonal levels.
Natural Cubic Spline — Produces the smoothest curve by minimizing abrupt directional changes. Ideal for organic, flowing market movements. It acts as a flexible spine that adapts to complex transitions without the rigid constraints of a fixed geometric shape.
Quadratic Fitting : A smooth, parabolic arc defines a curved resistance boundary. By fitting a mathematical path through three anchor points, the curve captures rounded structures and arcing price action that traditional linear trendlines fail to represent.
Weighted Linear Fitting : This method produces an angular, segmented path by connecting anchor points with distinct linear slopes. Unlike the continuous smoothness of a quadratic arc, the weighted linear approach creates a more jointed geometry, allowing for a precise match to market structures that exhibit sharp, localized changes in trajectory.
Natural Cubic Spline Fitting : This method creates a highly fluid, elastic curve that can accommodate complex price oscillations. In this instance, the curves define a narrowing range as support and resistance converge, highlighting the volatility compression that often precedes a significant breakout or breakdown from established structures.
🖱️ HOW IT WORKS 🖱️
1️⃣ Initial Setup
Unlike traditional indicators that calculate values automatically from price data, Flexible S/R Channels requires user-defined anchor points. This is intentional. The trader's eye is the pattern recognition engine—no algorithm can see the curved structure that experience and intuition reveal. The indicator waits for this input, then applies mathematical precision to render what the trader has identified.
The Recognition of Natural Structure : Effective analysis begins when a curved rhythm becomes visible within price action that traditional trendlines cannot satisfy. Identifying the specific swing highs and swing lows that define these boundaries is the first step in organizing a chart. By isolating three key pivots for resistance and three for support, the underlying framework of the market's trajectory is established, providing the necessary coordinates to accurately map the path.
Interactive Setup Workflow : Upon loading, the indicator prompts for the sequential selection of six points—three swing highs and three swing lows—to serve as the raw data for the calculation. While the chart remains blank during this initial phase, the curves generate instantly once the final anchor is confirmed. These points are not permanent; they appear as interactive grips that can be dragged in real time to refine the boundaries as the market structure evolves.
The indicator prompts for six sequential selections—three for resistance, three for support. The first three selections define the resistance boundary; the final three define support. This sequential grouping is distinct from zigzag-style selection patterns. Within each group, clicking order is flexible—the algorithm automatically sorts points chronologically, allowing traders to select visually prominent pivots in whatever sequence feels natural.
Structural Anchor Identification : Identifying three key swing highs and three key swing lows provides the foundation for the dual-curve geometry. These specific structural peaks and troughs serve as the coordinates for the mathematical models, ensuring that the resulting boundaries accurately reflect the underlying skeleton of the market action.
2️⃣ Interactive Adjustment
After the initial setup, all six anchor points are fully adjustable:
Points are automatically sorted chronologically regardless of selection order
Grip handles appear at each anchor location
Any point can be repositioned by clicking and dragging its grip handle
The curves recalculate instantly as points are adjusted
The algorithm produces a mathematically perfect curve based on the anchor points provided. If the result does not match the trader's vision, adjustments are immediate. This iterative refinement—see, adjust, refine—continues until the rendered curve represents what the trader sees in the price action. The user remains in control; the algorithm remains in service.
Interactive Channel Boundaries : Six user-defined anchor points—three for resistance and three for support —establish a non-linear range that moves beyond the constraints of a flat, horizontal channel. This configuration captures the arcing trajectory of the market while showing price action respecting the curved boundaries in a classic reversion pattern. By manually positioning these anchors, a dynamic dimension is added to the chart that maintains structural integrity even as the price follows a rounded path.
🛠️ SETTINGS 🛠️
Customizable Visual Feedback : Beyond the core geometry, the visualization offers various user-defined settings to tailor the chart's information density. From identifying specific price targets to toggling structural labels, these options allow the trader to adjust the level of detail to suit their personal analysis style while maintaining a clear view of the non-linear boundaries.
Configuration Options
Curve Method — Select the curve-fitting algorithm: Quadratic, Quadratic-Linear, Weighted Linear, or Natural Cubic Spline.
Projection Length — Number of bars to project the curves beyond current price action. Projections appear as dashed lines.
Visual Settings
Grip Size — Size of the draggable handles displayed at each anchor point. Set to zero to hide grips entirely.
Line Width — Thickness of the support and resistance curves.
Support Color / Resistance Color — Color settings for each curve.
Show Info Table — Toggle display of the info table showing the current curve method in the chart corner.
Advanced: Time/Price Coordinates
The settings panel includes precise time and price values for each of the six anchor points, grouped under Resistance Time/Price and Support Time/Price. These values are populated automatically when points are selected on the chart.
Adjusting anchor points by dragging the grip handles directly on the chart is faster and more intuitive. The time/price fields are available for situations requiring exact coordinate entry—such as aligning an anchor to a specific candle timestamp or a precise price level. These fields can be safely ignored unless fine-tuning is necessary.
🖼️ CHART EXAMPLES 🖼️
The Flexible S/R Channels indicator adapts to diverse market structures across multiple timeframes and instruments. Curved boundaries can define subtle momentum shifts in near-linear trends, dramatic reversals in rounding formations, or volatility compression as channels converge toward breakout points. The four curve-fitting methods accommodate different geometries—smooth parabolic arcs for continuous momentum changes, segmented linear paths for angular structures, and elastic splines for complex oscillations. Each anchor point adjustment instantly recalculates the curves, allowing iterative refinement until the rendered boundaries align with the trader's interpretation of market structure. Forward projections extend these mathematical relationships into future territory, providing visual context for hypothetical support and resistance levels if current trajectories persist.
Subtle Curve Alignment : Even in structures that appear linear, subtle curvature allows the channel boundaries to breathe with the market’s internal momentum. By utilizing three anchor points rather than two, the channel adapts to the slight acceleration of a trend, providing a more precise fit than a rigid, straight corridor.
Decelerating Momentum and Convergence : This classic rounding structure illustrates a transition where the initial wide oscillations between highs and lows begin to contract. As the boundaries converge, the curve captures the diminishing volatility and the shift in market energy, providing a clear visual representation of a trend losing its expansive momentum as it approaches a potential turning point.
Organic Trend Modeling : In an accelerating uptrend, the Natural Cubic Spline provides a highly adaptable boundary that mirrors the organic flow of momentum. This non-traditional approach allows the channel to follow complex price pulses that a standard linear trendline would likely cut through, maintaining a precise fit even as the angle of the trend shifts over time.
Non-Linear Projections : Unlike standard trendlines that converge at a fixed rate, curved projections adapt to the historical momentum of the move. This allows the indicator to map a dynamic squeeze, capturing the subtle nuances of how price action tightens toward an apex. It provides a more sophisticated view of future convergence points that traditional linear channels often fail to anticipate.
The "Draw What You See" Philosophy : Market structures are rarely perfect, and this example highlights the indicator’s ability to map unconventional rhythms. Rather than forcing price into a predefined category, the tool remains flexible enough to define any structural path the trader identifies. If you can see a trend's trajectory, the indicator can provide the mathematical framework to support it.
Comparative Projection Modeling : Using identical anchor points as above, this example demonstrates how selecting a different calculation method can alter the projected path. While the historical fit remains precise, the variation in the forward-looking trajectory allows traders to explore multiple mathematical interpretations of the same market structure, choosing the model that best aligns with the current volatility and trend behavior.
Extended Timeframe Channel Definition : This multi-year perspective demonstrates the indicator's ability to define curved channel boundaries across extended timeframes spanning hundreds of bars and multiple market cycles. The resistance curve captures the rounded distribution of swing highs while the support curve follows the accelerating base formation, creating a non-linear channel that frames long-term structural trends more precisely than traditional parallel channels or static trendlines.
Rounding Bottom Reversal and Channel Convergence : This example captures a classic rounding bottom formation—a reversal pattern that linear tools cannot adequately define. The Quadratic method produces a smooth parabolic arc through the resistance anchors, tracing the deceleration of the downtrend, the capitulation low, and the subsequent re-acceleration upward as a single continuous curve. The support boundary mirrors this momentum shift from below, creating a curved channel that narrows toward current price. This convergence represents structural compression—the boundaries tightening as volatility contracts and directional resolution approaches. Price action oscillates within these non-linear boundaries, demonstrating that channel behavior persists even when the geometry is curved rather than parallel. The projection extends both curves forward, mapping the hypothetical trajectory if the current momentum structure continues, providing visual context for potential breakout or breakdown levels as the channel reaches its apex.
Built-in Precision vs. Algorithmic Power : While TradingView offers basic curve drawing tools (shown here as dashed lines), the Flexible S/R Channels indicator elevates this concept into a functional analytical framework. By converting manual observations into mathematical models, it moves beyond mere drawing to provide a data-driven structure that can be utilized for advanced technical analysis and future Pine Script trading logic.
⚙️ TECHNICAL DETAILS ⚙️
Curve Fitting vs. Overfitting: The term curve fitting often carries negative connotations in quantitative analysis due to its association with overfitting—the practice of adjusting a model until it perfectly matches historical data, producing an illusion of accuracy that fails when applied to new data. The application here is fundamentally different. Flexible S/R Channels does not optimize parameters to maximize historical fit; it constructs a mathematical curve through user-selected anchor points, then projects that curve into unknown territory. The curve is not fitted to price data—it is fitted to structural pivots identified by the trader. The projection represents a hypothesis about trajectory continuation, not a prediction derived from statistical optimization. Future price action validates or invalidates this hypothesis in real time, exactly as it does with any trendline or channel. The anchor points remain fixed unless manually adjusted, ensuring the curve does not adapt to new data retroactively.
Non-Repainting Behavior: The indicator does not repaint historical bars. The mathematical coefficients that define each curve are calculated once—when the final anchor point is set—and stored as fixed values. These coefficients remain constant unless an anchor point is manually repositioned. The backfit polyline is drawn once using these coefficients, spanning the known range from the first to last anchor point. The plot() function applies the same coefficients to each subsequent bar, updating in real-time as new bars form but never altering previously plotted values. The projection polyline extends forward from the current bar using the same fixed coefficients, projecting a user-defined number of future bars (maximum 500). This projection redraws on each tick to maintain its position relative to the moving current bar, but the mathematical trajectory remains constant—only the starting point advances. The current bar's curve value will update tick-by-tick as price develops, which is standard real-time behavior, not repainting. Once a bar closes, all curve values on that bar are permanent. The hybrid architecture (backfit polyline for known history, plot() for unlimited real-time range, projection polyline for controlled forward extension) prevents overflow errors while maintaining non-repainting integrity across all components.
🗒️ NOTES 🗒️
The indicator renders curves based on any anchor points provided without validation. Unusual anchor placement produces mathematically accurate but potentially non-useful results. Adjustment is iterative—if the curve doesn't match expectations, reposition the anchors.
Because anchor points are stored as specific time and price coordinates, a new instance of the indicator should be added when analyzing a different chart or timeframe.
Grip handles can be hidden by setting Grip Size to zero in the settings. This is useful for clean chart screenshots or presentations where interactive elements are not needed.
Projection length can be set to zero if forward-looking curves are not desired. The indicator will still render the backfit curves through the anchor points and continue plotting in real-time without the dotted projection extensions.
Anchor points remain fixed at their selected time-price coordinates as new bars form. The curves extend forward automatically from these historical anchors, allowing observation of how projected trajectories align with developing price action.
⚠️ DISCLAIMER ⚠️
The Flexible S/R Channels indicator is a visual analysis tool designed to illustrate geometric market inertia and serve as a framework for understanding dynamic support and resistance. While the indicator generates structural channels and projected paths, no guarantee is made regarding the accuracy or profitability of these projections. Like all technical indicators, the curves and boundaries generated by this tool may appear to align with favorable trading opportunities in hindsight. However, these visualizations are not intended as standalone recommendations for trading decisions. This indicator is intended for educational and analytical purposes, complementing other tools and methods of market analysis.
🧠 BEYOND THE CODE 🧠
Flexible S/R Channels is part of a broader collection of tools designed to provide structured market analysis. This includes the Grid Bot Simulator , the Grid Bot Auto , the Grid Bot Parabolic , and the Gridbot Ping Pong . While each tool serves a distinct purpose, they all utilize dynamic anchor mechanics and non-linear boundaries to adapt to evolving market conditions.
This indicator shares the same educational philosophy as the Fibonacci Time-Price Zones and the Fibonacci Geometry Series - providing frameworks for understanding market concepts through visualization and experimentation rather than black-box signals.
The Flexible S/R Channels indicator, like other xxattaxx indicators , is designed to encourage both education and community engagement. Feedback and insights are invaluable to refining and enhancing this tool. We look forward to the creative applications, observations, and discussions this indicator inspires within the trading community.
Trend Autobahn WVF FuelTrend Autobahn – Fuel on Stoch Cross (14, 3, 22, 3)
Trend Autobahn is a visual momentum engine inspired by highway physics.
Price does not “guess” direction — it moves only when fuel exists and slows down when magnetic pressure increases.
This indicator replaces classic signals with a cause–effect model:
🔋 Fuel Logic (Stochastic Cross)
Fuel is generated only at stochastic %K–%D crosses (14, 3)
No cross = no fuel
Cross quality defines fuel strength
Fuel is displayed as a vertical fuel bar, with a dot at the top to mark a valid refill moment
This means:
Momentum is not continuous — it must be earned.
🧲 Magnetic Field (WVF – 22)
The lower panel shows a pink WVF magnetic area
As WVF rises, the area darkens
A stronger magnetic field pulls price down or slows upward movement
This creates a natural law:
Rising magnetic pressure resists upward motion, even if fuel exists
The Reaper WhistleThe Reaper Whistle is a specialized momentum oscillator designed for high-frequency scalping and precision trend exhaustion detection. By combining a smoothed Relative Strength Index (RSI) with a customizable Moving Average, it filters out market noise to highlight institutional overbought and oversold extremes.
How to Use:
This indicator is best used to identify high-probability reversal points or as a trend-following momentum filter.
Precision Entries (Scalping):
Strong Buy: Watch for the RSI MA to enter the 10 level. This indicates extreme bearish exhaustion.
Strong Sell: Watch for the RSI MA to reach the 90 level. This indicates extreme bullish exhaustion.
Standard Momentum Zones:
20 Level (Buy Zone): Look for long setups when the oscillator dips here during a broader uptrend.
80 Level (Sell Zone): Look for short setups when the oscillator spikes here during a broader downtrend.
Exit Strategy:
Use the 50 level (TP) as a primary target for mean-reversion trades. Crossing the 50 line often indicates a shift in momentum back to neutral.
Settings Customization:
Use the MA Type input to switch between SMA (Standard), EMA (Faster), or WMA (Weighted) to better match the volatility of the asset you are trading.
Alerts Included:
The script features built-in alert conditions for when the RSI MA crosses the key 80 (Sell) and 20 (Buy) thresholds, allowing you to monitor multiple charts without being glued to the screen.
Tactiko Master Combo]The Tactiko Master Combo is an institutional-grade toolkit designed to consolidate essential Supply and Demand (SMC) metrics into a single view. It features dynamic Buyside and Sellside liquidity detection, pivot-based Supply and Demand zones with Points of Interest (POI), and a weighted Volume Profile with a real-time Point of Control (POC). This indicator is designed to help traders identify areas of high-volume interest and liquidity confluences while maintaining chart clarity.
Weekly Open / Close S&R (Last 4 Weeks)Weekly open and close of candles from the last 4 weeks for major support and resistance.
13/34 EMA Ribbon The 13/34 EMA Ribbon is a 15-minute overlay indicator designed to identify intraday trend direction and momentum. It plots a 13 EMA and 34 EMA with a highlighted ribbon between them, making EMA crosses and trend strength easy to spot for trade entries and trend continuation.
Piv X# Piv X Pro - Multi-Layer Reversal Detection System
## Overview
Piv X Pro is an advanced technical analysis indicator that combines dynamic pivot detection, Williams %R momentum divergence analysis, and multiple VWAP anchoring methods to identify high-probability mean reversion opportunities. Unlike simple indicator combinations, this script implements a layered filtration system where each component validates and refines signals from the previous layer, resulting in significantly fewer but higher-quality reversal setups.
## Core Methodology
### 1. Dynamic ATR-Based Pivot Detection
The script uses an adaptive pivot detection algorithm that adjusts sensitivity based on market volatility. Instead of fixed lookback periods, pivot strength is calculated dynamically using Average True Range (ATR):
**Calculation:** `pivot_strength = max(min_strength, min(ATR / mintick * multiplier, max_strength))`
This ensures:
- More sensitive pivots in low volatility (smaller ATR)
- More significant pivots in high volatility (larger ATR)
- Automatic adaptation across different market conditions and timeframes
**Significance Filtering:** Pivots must exceed a minimum ATR distance from recent price action (default 0.3 ATR) to filter noise. This prevents minor price fluctuations from being marked as significant pivots.
**Volume Confirmation (Optional):** Pivots can optionally require volume spikes (default 1.5x average volume) to ensure institutional participation.
### 2. Williams %R Momentum Divergence Engine
The script detects classic and hidden divergences between price pivots and Williams %R oscillator readings:
**Bullish Divergence Detection:**
- Price makes a lower low (confirmed pivot low)
- Williams %R makes a higher low (momentum improving)
- Divergence occurs in oversold zone (Williams %R ≤ -80)
- Lookback range: 60 bars maximum
**Bearish Divergence Detection:**
- Price makes a higher high (confirmed pivot high)
- Williams %R makes a lower high (momentum weakening)
- Divergence occurs in overbought zone (Williams %R ≥ -20)
- Lookback range: 60 bars maximum
**Divergence-Anchored VWAPs:** When a divergence is detected, a new VWAP calculation begins from that point, tracking institutional positioning relative to the momentum shift. This provides a dynamic mean reversion target that resets at each confirmed divergence.
### 3. Confluence Scoring System
Each detected pivot receives a numerical score (0-150+ points) based on multiple independent confirmation factors:
**Scoring Components:**
- Base Pivot Detection: 10 points
- Volume Spike Confirmation: 15 points
- Higher Timeframe Trend Alignment (4H EMA): 20 points
- RSI Extreme Levels (oversold/overbought): 25 points
- Mean Reversion Distance (>2.5 ATR from HTF MA): 20 points
- Exhaustion Patterns (price move + volume spike): 10 points
- ATR Price Confirmation: 10 points
- RSI Divergence: 15 points
- Swing Failure Pattern (SFP): 15 points
- Liquidity Sweep: 10 points
- Candle Reversal Confirmation: 10 points
- Key Level Alignment (previous day/week highs/lows): 10 points
- Fair Value Gap (FVG) Fill: 10 points
- Session Weighting (London/NY sessions): 10 points
- Multi-Timeframe Pivot Confluence: 15 points
**Zone Classification:**
- Regular Zones: Score 60-89 (green/purple boxes)
- Golden Zones: Score 90+ (yellow boxes with thicker borders)
Higher scores indicate stronger confluence and higher probability setups, but no prediction is guaranteed.
### 4. Mean Reversion Distance Filter
The script calculates how far price has stretched from the higher timeframe moving average:
**Calculation:** `distance_from_htf_ma = (close - HTF_EMA) / ATR`
**Mean Reversion Condition:**
- For long setups: Price >2.5 ATR below HTF EMA when HTF trend is up
- For short setups: Price >2.5 ATR above HTF EMA when HTF trend is down
This ensures pivots are only highlighted when price is statistically stretched and likely to revert toward the mean.
### 5. Multi-Period VWAP Framework
The script provides multiple VWAP calculations for different analysis purposes:
**Extreme VWAPs:**
- Bottom VWAP: Anchored to the absolute lowest low in the lookback period (default 50 bars)
- Top VWAP: Anchored to the absolute highest high in the lookback period
**Periodic VWAPs:**
- 4D VWAP: Resets every 4 days
- 9D VWAP: Resets every 9 days
- 4H VWAP: Resets every 4 hours
- 8H VWAP: Resets every 8 hours
- Weekly VWAP: Resets at the start of each week
- Monthly VWAP: Resets at the start of each month
- Yearly VWAP: Resets at the start of each year
**Previous Period VWAPs:**
- Previous Weekly, Monthly, and Yearly VWAPs are displayed as reference levels for support/resistance
**Divergence VWAPs:**
- Bullish Divergence VWAP: Resets at each bullish Williams %R divergence
- Bearish Divergence VWAP: Resets at each bearish Williams %R divergence
### 6. IBSS Pro Mean Reversion System
An integrated scalping system that provides entry signals within high-probability pivot zones:
**Components:**
- Dual EMA System: Fast EMA (12) and Slow EMA (26) with color-coded trend visualization
- RSI Oversold/Overbought Detection: Configurable levels (default 30/70)
- Zone-Based Entry: Signals only trigger when price is within active pivot zones (0.3 ATR around confirmed pivots)
- ATR-Based Dynamic Stops: Stop losses trail with position using ATR multiplier
**Signal Generation:**
- Buy signals: RSI crosses above oversold + Fast EMA > Slow EMA + Price in pivot low zone
- Sell signals: RSI crosses below overbought + Fast EMA < Slow EMA + Price in pivot high zone
## Why This Combination is Unique
This is not a simple indicator mashup. The components work together in a specific hierarchy:
1. **Williams %R Divergence** identifies momentum shifts before price confirms the reversal
2. **Dynamic Pivots** mark actual price structure extremes with ATR-based significance filtering
3. **Confluence Scoring** quantifies setup quality using 10+ independent confirmation factors
4. **Mean Reversion Distance** confirms price is statistically stretched (>2.5 ATR from HTF MA)
5. **VWAP Framework** tracks institutional positioning and provides objective mean levels
6. **IBSS Signals** provide precise entries within high-probability zones
Each layer filters the previous one, resulting in significantly fewer but higher-quality signals than any single indicator alone. The divergence-anchored VWAPs are unique - they reset at momentum shifts rather than arbitrary time periods, providing more relevant mean reversion targets.
## How to Use This Indicator
### For Swing Trading (15m-1H Charts)
1. Wait for a major pivot to form (diamond marker appears below/above bars)
2. Check the confluence score displayed in the zone label
3. Look for Golden Zones (score 90+, yellow boxes with thicker borders)
4. Enter when price enters the pivot zone (0.3 ATR around the pivot)
5. Use the nearest VWAP level as first target
6. Set stop loss beyond the pivot zone (typically 0.5-1 ATR)
### For Scalping (5m-15m Charts)
1. Enable IBSS Pro Signals in settings
2. Wait for price to enter an active pivot zone (colored boxes appear)
3. Take IBSS diamond signals that form within zones
4. Use ATR-based stop losses (dashed lines appear automatically if enabled)
5. Exit at pivot VWAP or opposite zone edge
### Visual Elements Explained
- **White/Purple Crosses**: Williams Divergence VWAPs (momentum-based mean reversion targets)
- **Green/Red Crosses**: Bottom/Top VWAPs (absolute extreme levels)
- **Colored Boxes**: Pivot reversal zones (opacity indicates confluence score)
- **Yellow Boxes**: Golden zones (90+ score, highest probability setups)
- **Small Diamonds**: Regular pivot detections
- **Green/Red Tiny Diamonds**: IBSS scalp entry signals (if enabled)
- **White/Purple MAs**: IBSS trend filter (12/26 EMA with cloud)
- **Dotted Lines**: Structure lines connecting consecutive pivots of same type
- **Blue Dashed Lines**: Market Structure Shift (CHoCH) markers
### Recommended Settings
**Conservative (Lower Timeframes 1m-5m):**
- ATR Pivot Strength: 0.8-1.0
- Volume Threshold: 2.0
- Min Pivot Significance: 0.4-0.5
- Enable ATR Confirmation: Yes
- Real-Time Mode: Off
- Score Threshold: 80+
**Aggressive (Higher Timeframes 15m-1H):**
- ATR Pivot Strength: 0.6-0.8
- Volume Threshold: 1.5
- Min Pivot Significance: 0.3
- Enable ATR Confirmation: No
- Real-Time Mode: On
- Score Threshold: 60+
## Chart Requirements
This indicator should be used **alone on a clean chart** with:
- Standard candlestick or bar chart type (NO Heikin Ashi, Renko, Point & Figure, or Range charts)
- No other indicators overlaid (all functionality is self-contained)
- Symbol and timeframe clearly visible in chart
- Full indicator name "Piv X Pro" visible in chart legend
## Important Disclaimers
- Past performance does not guarantee future results
- All signals are probabilistic indicators, not trading guarantees
- Use proper risk management and position sizing
- Test thoroughly on demo accounts before live trading
- Higher confluence scores indicate better setups but no prediction is certain
- Mean reversion strategies work best in ranging/choppy markets; may underperform in strong trending markets
- The lookahead bias warning: HTF EMA uses `barmerge.lookahead_on` for trend filtering only (not for signal generation), which may cause historical bars to show different trend states than real-time
## Key Differentiators
Unlike basic pivot or VWAP indicators:
- **Dynamic ATR-based pivot detection** vs static lookback periods
- **Quantified confluence scoring** vs subjective interpretation
- **Mean reversion distance filtering** (>2.5 ATR from HTF MA) vs all pivots shown
- **Divergence-anchored VWAPs** vs static period VWAPs
- **Multi-layer confirmation system** (10+ independent factors) vs single signal generation
- **Integrated scalping system** that only triggers in high-probability zones
This script is open-source and available for educational purposes. Users are encouraged to understand the methodology before using it for live trading decisions.
Ale Tonkis Swing Failure + TP RRSwing Failure Pattern (SFP) indicator with multi-timeframe confirmation and dynamic Take Profit logic.
It detects bullish and bearish SFP setups, confirms them using 5m and 15m timeframes, and automatically plots Take Profit targets with a 1:2 or 1:3 risk–reward ratio, based on previous highs and lows (market structure pivots).
Designed for Forex and Crypto trading, fully visual and non-repainting.
Weekly EMA Squeeze (Bullish + Bearish)Purpose
The Weekly EMA Squeeze indicator identifies periods where price is compressing tightly around a cluster of weekly EMAs and then flags when that compression resolves with directional bias. It is designed to surface high-timeframe inflection points where trends are most likely to begin or meaningfully change.
This indicator operates entirely on weekly data, even when viewed on lower timeframes.
________________________________________
Core Components
1. Weekly EMA Cluster
• Uses three weekly EMAs (fast / mid / slow)
• Compression is defined by:
o Tight EMA spread
o Reduced weekly volatility (ATR contraction)
• Represents balance and indecision at a higher timeframe
2. Bullish Weekly EMA Squeeze
Triggered when:
• EMAs are tightly compressed
• Price is holding above or within the EMA cluster
• EMA slopes flatten or turn upward (optional filter)
• Optional requirement: weekly close above EMA cluster
Displayed as:
• Green upward triangles
• Green vertical shaded band marking the squeeze event window
3. Bearish Weekly EMA Squeeze
Triggered when:
• EMAs are tightly compressed
• Price is holding below or within the EMA cluster
• EMA slopes flatten or turn downward (optional filter)
• Optional requirement: weekly close below EMA cluster
Displayed as:
• Red downward triangles
• Red vertical shaded band marking the squeeze event window
4. Vertical Shaded Event Bands
• Each squeeze event (bull or bear) is visually marked with a vertical shaded region
• Shading appears on every qualifying event, including consecutive ones
• Purpose: clearly identify when the market entered a compressed, directional decision state
________________________________________
What the Indicator Is Signaling
• Compression + directional bias, not immediate breakouts
• Transition points between:
o Range → trend
o Trend → reversal
o Trend → re-acceleration after consolidation
This indicator does not attempt to predict magnitude — it identifies timing and regime change risk.
________________________________________
How to Use It
Best used for:
• High-timeframe bias setting
• Filtering lower-timeframe signals
• Identifying when to stop fading price
• Recognizing when volatility expansion is likely
Typical interpretations:
• Bullish squeeze → bias shifts upward; favor long exposure
• Bearish squeeze → bias shifts downward; favor defensive or short exposure
• Multiple squeezes in same direction → trend reinforcement
• Rapid bull ↔ bear flips → higher-timeframe indecision
________________________________________
What It Is Not
• Not an entry trigger by itself
• Not a momentum oscillator
• Not a replacement for breakout confirmation
This indicator answers:
“Is the weekly market coiling, and in which direction is pressure building?”
Enhanced ATR SupertrendEnhanced ATR Supertrend - Mathematically Sound Trend Following Indicator
OVERVIEW
This is a premium version of the classic Supertrend indicator, built with mathematical rigor and enhanced features for serious traders. Unlike basic implementations, this version offers proper band trailing logic, adaptive volatility modes, and multiple ATR calculation methods.
HOW IT WORKS
The Enhanced ATR Supertrend calculates dynamic support and resistance bands based on the Average True Range (ATR). The core principle is simple but powerful:
ATR Calculation: Measures market volatility using true range (the greatest of: high-low, high-previous close, or low-previous close)
Band Construction: Creates upper and lower bands by adding/subtracting ATR × Multiplier from the HL2 (high+low average)
Trailing Logic:
Upper band can ONLY move down or stay flat (never up) during downtrends
Lower band can ONLY move up or stay flat (never down) during uptrends
This prevents premature trend reversals and whipsaws
Trend Determination:
BULLISH when price closes above the upper band
BEARISH when price closes below the lower band
Line colour changes reflect current trend state
WHY IT'S BETTER
Proper Mathematics: Correct band trailing prevents the "flickering" seen in poorly coded versions
Adaptive Volatility: Optional mode adjusts multiplier based on current vs average volatility - tightens in chaos, widens in calm markets
Multiple ATR Methods: Choose between RMA (default), SMA, EMA, or WMA smoothing
Clean Visual Design: Professional presentation with optional dashboard showing real-time metrics
OSCILLATOR MODE - SPOTTING DOUBLE TOPS/BOTTOMS
When used as an oscillator in the lower pane (remove overlay), the Supertrend's trend changes can reveal powerful reversal patterns:
Double Bottoms: When the indicator flips bullish twice at similar price levels, it often signals strong support and potential reversal zones
Double Tops: When the indicator flips bearish twice at similar levels, it identifies resistance and potential breakdown zones
The step-like visualization makes these patterns easier to spot than traditional price action
Weekly Breakout Confirm + RS vs BTC + VolumePurpose
The Weekly Breakout Confirmation indicator validates whether price has structurally exited a prior weekly range and whether that breakout is supported by volume expansion and relative strength vs BTC.
It is a regime confirmation tool, designed to separate real breakouts from false ones.
________________________________________
Core Components
1. Weekly Donchian Channel
• Upper band (green): prior weekly range high
• Lower band (red): prior weekly range low
• Calculated on weekly data with no repainting
These levels define the structural range the market must escape to enter a new regime.
________________________________________
2. Weekly Breakout (W BO)
Triggered when:
• Weekly close breaks above the upper Donchian band
• Volume confirms expansion
• Optional filter: relative strength vs BTC is rising
Displayed as:
• Bullish breakout marker
• Green structure line remains on chart as reference
________________________________________
3. Weekly Breakdown (W BD)
Triggered when:
• Weekly close breaks below the lower Donchian band
• Volume confirms expansion
• Optional filter: relative strength vs BTC is weakening
Displayed as:
• Bearish breakdown marker
• Red structure line remains on chart as reference
________________________________________
4. Relative Strength vs BTC
• Measures asset performance relative to BTC on a weekly basis
• Helps identify:
o True altcoin leadership
o False breakouts driven only by BTC beta
• Optional requirement for breakout validation
________________________________________
5. Volume Confirmation
• Weekly volume must exceed a moving average threshold
• Filters out low-participation breakouts
• Ensures institutional-grade participation
________________________________________
What the Indicator Is Signaling
• Confirmed regime transitions
• Entry into:
o Sustained trends
o Distribution phases
o Structural breakdowns
Once a breakout is confirmed:
• The prior range is invalidated
• The green/red line becomes support/resistance reference, not a trigger
________________________________________
How to Use It
Best used for:
• Determining whether the market is trending or ranging
• Confirming whether weekly EMA squeezes are actionable
• Managing exposure duration and risk tolerance
Interpretation framework:
• W BO + rising RS + volume → trend acceptance
• W BO without RS → BTC-driven move (lower confidence)
• No recent W BO / W BD → consolidation regime
• W BD → risk-off, defensive posture
Over Night Hold Scanner Born InvestorOver Night Hold (ONH) Scanner - Daily Timeframe
Identifies high-probability overnight hold candidates based on Trader Stewie's methodology. Scans for explosive volume (2x+ average), strong closes in top 15% of range, and momentum context—regardless of your current chart timeframe.
Key Features:
Always reads from Daily chart data
Customizable data table (resizable, repositionable)
Volume ratio and close strength scoring
Price & liquidity filters ($3+ min, 1M+ volume)
Trend confirmation or reversal detection
EMA Buy/Sell & Smart Zones(5Min TF only)### **Indicator Title:**
**EMA Buy/Sell & Smart Zones**
---
### **Description:**
**EMA Buy/Sell & Smart Zones** is a specialized intraday trading tool designed to combine trend analysis with precise market structure zones. This script utilizes a custom tracking algorithm to identify the **specific candle** that formed the previous session's high or low, allowing it to plot accurate Supply and Demand zones for the current trading day.
This indicator has been rigorously tested on the **Nifty Index** and is optimized for use on the **5-minute timeframe**.
### **Key Features**
**1. Smart Session Wick Zones ("True Wick" Logic)**
The indicator automatically scans every candle of the previous session to locate the exact price action that formed the day's extremes.
* **Smart High Zone:** Identifies the specific candle that made yesterday's High and plots a zone from that High down to that candle's Open or Close (based on body direction).
* **Smart Low Zone:** Identifies the specific candle that made yesterday's Low and plots a zone from that Low up to that candle's Open or Close.
* **Close Range:** Highlights the High-Low range of the very last candle of the previous session to show the closing sentiment.
*All zones automatically stop extending at the end of the current session, ensuring the chart remains clean and historically accurate.*
**2. EMA Trend System**
The script plots three key Exponential Moving Averages to define market direction:
* **EMA 21:** Captures short-term momentum.
* **EMA 63:** Defines the medium-term trend.
* **EMA 1575:** Establishes the long-term baseline.
**3. Buy/Sell Signals**
Clear signals are generated on the chart based on specific criteria:
* **BUY Signal:** Generated when a green candle closes above the EMA 21 and EMA 63.
* **SELL Signal:** Generated when a red candle closes below the EMA 21 and EMA 63.
* *Note: The logic includes a filter to alternate signals (Buy -> Sell -> Buy), preventing clutter during choppy markets.*
### **How to Use**
* **Recommended Timeframe:** **5 Minutes**.
* **Recommended Markets:** Indices (Nifty, Bank Nifty) and high-volume stocks.
* **Workflow:**
* Use the **Smart Zones** (Red/Green boxes) to identify potential rejection areas or breakout targets.
* Use the **Buy/Sell Labels** as confirmation triggers when price is reacting near these zones or trending strongly above/below the EMAs.
### **Settings & Customization**
* **Visibility Control:** Toggle each box type (High, Low, Close) and text labels on or off individually.
* **Color Customization:** Fully adjustable colors for all EMAs, Zone Backgrounds, Borders, and Text Labels to suit your chart theme.
* **Label Size:** Adjust the text size of the zone labels directly from the settings menu.
---
**Disclaimer:** This tool is for educational purposes and should be used to assist your analysis. Always manage your risk appropriately.
Market Regime: Squeeze Box + Trend DashboardMarket Regime: Squeeze Box + Trend Dashboard
Market Regime is a overlay designed to provide instant market context (trend vs consolidation) and highlight volatility compression (squeeze) setups before potential breakouts. Built with stock charts in mind, it focuses on clean visuals and practical decision support.
What this indicator shows:
1) Market Regime (TREND / RANGE / NEUTRAL)
The regime is detected using DMI/ADX with built-in confirmation to reduce flicker:
TREND : ADX stays above a threshold for N bars
RANGE : ADX stays below a threshold for N bars
NEUTRAL : neither trend nor range is confirmed
Trend direction is derived from DI+ vs DI- (UP / DOWN / MIXED).
2) Squeeze (BB inside KC)
A squeeze is detected when Bollinger Bands contract inside Keltner Channels (volatility compression).
SQZ = squeeze start
REL = squeeze release (the first bar *after* squeeze — technically correct)
3) Squeeze Box
The core feature: a box drawn from SQZ → REL , dynamically tracking the highest high / lowest low during the squeeze. This creates a clean visual range for the compression zone and helps frame breakout context.
4) EMA Ribbon with ADX-based intensity
Two EMAs (fast/slow) form a ribbon. The fill becomes more pronounced as ADX strength increases, making trend momentum easier to read at a glance.
5) Trend Dashboard (corner panel)
A compact dashboard summarizing key metrics:
REGIME, DIR, ADX (with normalized strength %)
SQUEEZE ON/OFF
Relative Volume (relVol + tier)
ATR% (14), EMA Slope%, GAP% (Open vs previous Close)
Customization / Settings
Fully configurable for different styles and markets:
ADX/DMI lengths and thresholds
BB/KC parameters (lengths and multipliers)
Relative Volume thresholds
Background mode: Off / Squeeze only / All regimes
Visual toggles: ribbon, squeeze box, markers, dashboard
History controls and limits for boxes/labels (clean chart + performance)
How to use (practical workflow)
Trend context : read REGIME + DIR and ribbon intensity (ADX strength).
Squeeze setup : when squeeze is active, the box defines the compression range (high/low).
Release : REL marks the first bar after squeeze ends (potential breakout/expansion context).
Notes
No look-ahead logic is used; calculations rely on current and historical bars only.
On realtime (still-forming) candles, values can change intrabar, normal behavior for indicators computed on the current bar.
Trading Disclaimer:
This indicator is provided for research and informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use at your own risk. You are solely responsible for any trading decisions made using this script.
Macro FVG with Quarter Theory & CE AlertsStarting with Python, target, starting with script now, but I made this FvVG identifier. It will. Create the favorite group as it. Occurs. Just moving up it would be green, if it's moving down it would be red and if it's mitigated but turn dark black.
HAP Fear BreakerWVF Stochastic Signal + Ganga Dip
(Önder Edition – FIXED 2)
(22, 14, 3, 14, 60, 30)
WVF Stochastic Signal + Ganga Dip is a multi-layer confirmation indicator
designed to detect high-quality dip and reversal opportunities after
fear expansion and momentum compression.
This system does NOT rely on stochastic crossovers alone.
It evaluates signal quality through fear, momentum, trend structure,
and background trend visualization.
CORE COMPONENTS
• WVF (Williams VIX Fix) → detects fear expansion and panic zones
• Stochastic (14, 3) → identifies momentum shifts through QUALITY crossovers
• ADX (14) → measures trend strength
• +DI / –DI separation → confirms directional dominance
• Background trend coloring → visualizes active trend structure
SIGNAL LOGIC (STEP BY STEP)
1. WVF identifies elevated fear or post-fear compression zones
2. Stochastic produces a QUALITY crossover (not every crossover is valid)
3. ADX structure is analyzed:
• ADX stabilizes or strengthens
• +DI and –DI begin to separate (directional clarity)
4. Background color confirms trend direction
5. Only when all layers align, the signal is validated
QUALITY STOCHASTIC CROSSOVER (VERY IMPORTANT)
• Crossovers inside extreme zones (60 / 30) are prioritized
• Flat, low-energy crosses are ignored
• Stochastic direction must agree with DI dominance
ADX & DI CONFIRMATION
• Rising or stable ADX = structure forming
• +DI > –DI = bullish dominance
• –DI > +DI = bearish dominance
• DI compression = no signal (intentionally filtered)
BACKGROUND TREND COLORING
• Bullish background → +DI dominance with supportive ADX
• Bearish background → –DI dominance with supportive ADX
• Neutral / no color → trend not confirmed (signals filtered)
GANGA DIP LOGIC
Ganga Dip highlights probability zones where:
• Fear was present (WVF)
• Momentum starts to shift (Stochastic)
• Trend structure separates (ADX + DI)
• Trend direction is visually confirmed by background color
WHAT IT FILTERS OUT
• Random stochastic crosses
• Fake dips during strong trends
• Momentum without structure
• Structure without momentum
• Signals against background trend
BEST USE CASES
• Dip-buying after fear spikes
• Early recovery after market stress
• Momentum continuation after compression
IMPORTANT NOTICE
WVF Stochastic Signal + Ganga Dip is NOT a standalone buy/sell system.
It is a confirmation-based structure indicator.
• Stochastic crossover without ADX & DI separation → ignored
• Trend not confirmed by background → ignored
• Fear without structure → ignored
Only full alignment produces signals.
Adaptive Momentum Contextdaptive Momentum Context (AMC)
Adaptive Momentum Context (AMC) is a single-panel, overlay indicator designed to help traders read market context, momentum behavior, and volatility-driven rhythm in a structured and non-misleading way.
This indicator does not aim to predict future price movements. Instead, it focuses on describing current market conditions using adaptive smoothing and higher-timeframe bias.
Concept Overview
AMC is built around three core ideas:
Higher Timeframe Context (Bias)
Adaptive Market Rhythm
Momentum Behavior within Context
These components are combined to provide a clearer view of when momentum aligns with the broader market structure.
Higher Timeframe Bias
The indicator retrieves price data from a user-selected higher timeframe and compares it to a moving average on that timeframe.
When higher timeframe price is above its average, the background is shaded green.
When it is below, the background is shaded red.
This background does not generate signals.
Its purpose is to define directional context and reduce decision-making against dominant market conditions.
Adaptive Market Rhythm
Instead of using a fixed-length moving average, AMC calculates an adaptive smoothing length based on relative volatility.
When volatility expands, the smoothing period increases.
When volatility contracts, the smoothing period shortens.
Because Pine Script does not allow dynamic lengths in built-in moving averages, the adaptive line is calculated manually using a recursive EMA formula.
This ensures:
No repainting
No future data access
Full Pine Script v6 compliance
The adaptive line represents the current market rhythm, not a trend guarantee.
Momentum Behavior
Momentum is derived from changes in the adaptive rhythm rather than raw price.
Small visual markers appear when:
Momentum accelerates in the direction of the higher timeframe bias
Momentum decelerates against that bias
These markers are contextual cues, not standalone trade signals.
How to Use
AMC is best used as a context and filtering tool, not as a mechanical entry system.
Possible use cases:
Filtering lower-timeframe entries
Avoiding trades against higher-timeframe structure
Visualizing momentum shifts during pullbacks or continuations
Users are encouraged to combine this indicator with their own risk management and execution rules.
Important Notes
This indicator does not provide performance guarantees.
Past behavior does not imply future results.
No lookahead, no repainting, or non-standard chart types are used.
Default settings are intended for general use and may require adjustment depending on market and timeframe.
Strategy EMA trend & MACD 5m-15mStrategy using multiple EMAs as a trend & MACD as a signal, using 5m and 15m timeframe, 5m is a main timeframe.
Gap Tracker Indicator v5Gap Tracker Indicator - Description
Purpose: The Gap Tracker identifies price gaps on charts and visualizes unfilled gap zones that may act as future support/resistance levels.
What it shows:
Gap zones as colored rectangles:
Red boxes = bearish gaps (price gapped down, leaving unfilled space above)
Green boxes = bullish gaps (price gapped up, leaving unfilled space below)
How gaps form:
A gap occurs when the opening price of one candle is significantly different from the closing price of the previous candle
Common after weekends, holidays, or major news events when markets are closed
Gaps create "empty" price zones with no trading activity
Trading significance:
Many traders believe gaps tend to "fill" eventually (price returns to the gap zone)
Unfilled gaps can act as magnetic levels - price often revisits them
Gap zones may provide support (bullish gaps) or resistance (bearish gaps)
On your chart:
Multiple red boxes show unfilled bearish gaps where price gapped down
Green boxes show unfilled bullish gaps where price gapped up
The indicator tracks these zones until price fills them completely
Right side shows "GAP TRACKER" panel with active gaps: Aktywne (2), Zamknięte (9), Zakres 7d (168)
Key insight: The concentration of unfilled gaps suggests potential magnetic zones where price may return for "gap fill" trades. Traders often use these levels for entries, exits, or stop placement.
Ale tonkis Swing failure + 5MIndicator Description: Ale Tonkis Swing Failure (SFP)
This script is an advanced Swing Failure Pattern (SFP) and Change in State of Delivery (CISD) indicator. It is designed to identify liquidity sweeps and market structure shifts across multiple timeframes simultaneously.
Key Features
Pivot Detection: Automatically identifies high and low pivot points based on a user-defined lookback period.
Liquidity Sweep Analysis: Detects when the price "sweeps" (goes beyond) a previous pivot high or low without closing significantly past it, signaling a potential reversal.
CISD (Change in State of Delivery): Tracks internal market structure shifts to confirm the SFP signal.
Multi-Timeframe (MTF) Dashboard: A real-time table in the top-right corner monitors the trend state across four different timeframes: M1, M3, M5, and M15.
Visual Alerts: The script uses dynamic bar coloring and labels (▲/▼) to signal entry points directly on the chart.
Technical Updates (M5 Integration)
The code has been specifically modified to include the 5-minute (M5) timeframe within the Multi-Timeframe logic:
Data Fetching: A new request.security call was added to retrieve the sfp_trend_state from the 5-minute interval.
Table Expansion: The display table was resized from 4 rows to 5 rows to accommodate the new data without overlapping.
UI Alignment: The M5 state is now positioned between M3 and M15, providing a smoother transition for traders analyzing mid-range scalping opportunities.
How to Read the Dashboard
LONG (Green): Indicates a bullish SFP has occurred and the trend remains positive on that timeframe.
SHORT (Red): Indicates a bearish SFP has occurred and the trend remains negative.
Empty/Black: No active SFP trend is currently detected on that specific timeframe.
RSI Momentum SuperTrend█ OVERVIEW
RSI Momentum SuperTrend is a momentum-based trend oscillator that combines classic RSI with a SuperTrend mechanism calculated directly on RSI values. Instead of using price-based ATR, the indicator measures volatility of RSI itself, allowing dynamic adaptation to different markets and timeframes.
It is fast and responsive, designed for early detection of momentum shifts. It works especially well for divergence analysis, pullbacks within higher timeframe trends, and as a confirmation tool in contrarian strategies.
█ CONCEPT
The indicator was created to combine:
- the sensitivity of an oscillator (RSI)
- the stability of the SuperTrend mechanism
The key element is calculating “ATR” directly on RSI changes and then normalizing it. This allows:
- automatic adaptation to the instrument’s behavior
- consistent performance across different markets and timeframes
Dynamic upper and lower bands (RSI ± adaptive range) act as momentum control levels.
A trend change occurs only after these levels are broken, helping to reduce market noise.
█ FEATURES
Data source:
- RSI (default: close)
- RSI length
- EMA smoothing
Additional:
- Optional raw RSI display
(can be used to build custom strategies and to compare with the SuperTrend line)
Calculations:
- EMA-smoothed RSI
- Adaptive ATR calculated on RSI changes
- Volatility normalization
- Dynamic bands: RSI ± (ATR × multiplier)
- Trailing mechanism:
- Levels are dynamically updated according to trend direction
- Direction changes only after they are broken
- Trend change logic:
- Down → Up: RSI > upper band
- Up → Down: RSI < lower band
Visualization:
- RSI line with dynamic trend coloring
- SuperTrend line on RSI
- Gradient fill between RSI and ST
- Candle coloring according to trend
- Overbought / Oversold zones with fill
- Fog on Price (optional). Trend direction visualization directly on the price chart
Alerts:
- Trend change to UP
- Trend change to DOWN
█ HOW TO USE
Adding:
Paste the code into Pine Editor or search for “RSI Momentum SuperTrend”
Main settings:
- RSI Length → default 14
- RSI Smoothing → signal smoothing
- ATR Length (on RSI) → adaptation control
- ATR Multiplier → main sensitivity parameter
- Show Raw RSI → raw RSI preview
- Color Candles → candle coloring according to trend
- Fog on Price → trend visualization on price
Interpretation:
- Green color = uptrend
- Red color = downtrend
- Higher multiplier = fewer signals, higher quality
- Lower multiplier = faster reaction, more signals
█ APPLICATIONS
It is recommended to use the indicator together with other technical tools.
If you want to use it not as a trend indicator but as an entry tool, consider combining it with a slower trend indicator (e.g. classic SuperTrend). In this setup:
- the main trend is defined by the slower indicator
- entries are taken only in its direction
- RSI Momentum ST helps to identify local pullbacks within the trend
Ideal for:
- Divergences
e.g. price makes higher highs while RSI Momentum ST makes lower highs → possible trend weakness
similarly: price goes down while the indicator goes up
- Pullbacks in higher timeframe trends
e.g. H4 uptrend, while on M15 RSI Momentum ST enters oversold zone → potential end of pullback
- Contrarian strategies
e.g. strong downtrend, while RSI Momentum ST starts turning up → possible market reaction
Early detection of momentum shifts
Best combined with:
- Support and resistance levels
- Market structure (HH, HL, LH, LL)
- Volume
- Price action
- Higher timeframe analysis
█ NOTES
- Works on all markets and timeframes
- Faster than classic price-based trend indicators
- Best results are achieved when used with market context
- Not a standalone trading system






















