Pontos Pivô
Omega PivotsThis Indicator provides helpful signals in trading and investing.
it is a combination of trend analysis and market structure, providing reliable pivots (depending on the timeframe).
Green circles indicate the opportunities for longs, red circles opportunities for red.
Add other indicators for confluence.
Multi-timeframe Pivot PointThis indicator is a lightweight indicator designed to display higher timeframe pivot levels on your chart.
It helps traders quickly identify key support and resistance zones derived from higher timeframes (such as daily or weekly pivots) while analyzing lower timeframes (e.g., 15m or 1h charts).
Calculation Logic
This indicator uses the classic pivot point formula, calculated from high, low, and close values:
PP = (High + Low + Close) / 3
R1 = 2 * PP - Low
S1 = 2 * PP - High
R2 = PP + (High - Low)
S2 = PP - (High - Low)
R3 = R1 + (High - Low)
S3 = S1 - (High - Low)
Additionally, it includes breakout levels:
HBOP = PP + PP + (High - Low) - Low
LBOP = PP + PP - (High - Low) - High
Killzone Session High/Low Levels [SmartFoxy]Killzone Session High/Low Levels
The Killzone Session High/Low Levels indicator by SmartFoxy provides a complete intraday framework for understanding session-based liquidity, market structure rotation, and breakout behavior across global trading sessions.
It automatically plots the High/Low ranges for each selected session, highlights session killzones, and tracks breakout events with optional alerts.
This tool is designed for traders who rely on session dynamics (Asia, Frankfurt, London, New York) to identify liquidity targets, sweep zones, key ranges, and continuation/reversal opportunities.
________________________________________
How It Works
The indicator detects the active trading sessions for each day and builds structural High/Low ranges for them:
• Asia Session Range (High/Low);
• Frankfurt Session Range;
• London Session Range;
• New York Session Range;
• Optional custom session (NY Open, or any killzone).
For each session, the script can display:
• Session box or column;
• High/Low levels;
• Labels for every range (H/L);
• True session boundaries using user-defined timezone;
• Auto-extended levels up to the latest candle;
• Break levels after a breakout;
• Conditional removal or recoloring after a level is breached.
This gives traders a clean visual map of session liquidity and how price interacts with it throughout the day.
________________________________________
Key Features
1. Multiple Global Sessions •➤ Asia, Frankfurt, London, New York, plus one custom session for advanced killzone mapping.
2. Session High/Low Liquidity Levels •➤ Automatic plotting of every session’s High and Low, with optional labels and price markers.
3. Session Boxes or Columns •➤ Two display modes allow traders to visualize the session either as a filled box or a clear vertical column.
4. Breakout Logic & Temporary Levels .
When price breaks a session High/Low:
• Levels can be extended for a selected number of bars
• Or removed instantly after a breakout
• Or recolored to highlight the sweep event
This enables clean identification of liquidity grabs, breakouts, and continuation setups.
5. Alerts for Session Breakouts .
Set alerts when price breaks:
• Any session level
• Only levels formed on the current day
Perfect for traders who want real-time notifications of sweeps or key structure breaks.
6. Full Customization
You can configure:
• Session times;
• Timezone;
• Colors;
• Labels;
• Line styles and widths;
• Breakout behavior;
• Killzone range handling.
Everything is adjustable to match any trading style.
________________________________________
How to Use
1. Enable the sessions you want to track •➤ Asia, Frankfurt, London, New York, or custom.
2. Choose display mode
Box mode for visual range blocks;
Column mode for clean vertical alignment.
3. Enable High/Low Levels .
These act as liquidity magnets and key rejection zones.
4. Turn on Breakout Levels (optional)
Useful for spotting sweeps and continuation setups.
5. Turn on Alerts if you want notifications when price breaks levels.
6. Use session levels as liquidity reference points .
They work exceptionally well with smart money concepts (SMC), ICT, and intraday structure analysis.
________________________________________
Why This Indicator Is Useful
Shows exactly where liquidity is placed each session;
Highlights market structure transitions as sessions hand over control;
Helps identify stop hunts, sweeps, reversals, and continuation patterns;
Provides real-time alerts for structural breaks;
Organizes the chart and reduces noise;
Works with any intraday timeframe and any market.
This makes it valuable for scalpers, day traders, and SMC/ICT-style analysts.
________________________________________
Summary
Killzone Session High/Low Levels delivers a complete, highly customizable intraday mapping system based on global trading sessions.
It clarifies the session structure, reveals liquidity targets, and empowers traders to make confident trading decisions using clean, objective market data.
Market Structure Volume ProfileThis indicator visualizes volume profiles that are dynamically anchored to market structure events, rather than fixed time intervals. It builds these profiles using high-resolution intra-bar data to provide a precise view of where value is established during critical market phases.
Key Features:
Event-Based Profile Anchoring: The indicator starts a new profile based on one of three user-selected events ('Profile Anchor'):
Swing: A new profile begins when the 'impulse baseline' (derived from intra-bar delta) changes. This baseline adjusts when a new price pivot is confirmed: When a price high forms, the baseline moves to the lower of its previous level or the peak delta (max of delta O/C) at the pivot. When a price low forms, it moves to the higher of its previous level or the trough delta (min of delta O/C) at the pivot.
Structure: A new profile begins immediately on the bar that confirms a market structure break (e.g., a new HH or LL, based on a sequence of price pivots).
Delta: A new profile begins immediately on the bar that confirms a break in the cumulative delta's market structure (e.g., a new HH or LL in the delta). Both 'Swing' and 'Delta' anchors are derived from the same continuous (non-resetting) Cumulative Volume Profile Delta (CVPD), which is built from the intra-bar statistical analysis.
Statistical Profile Engine: For each bar in the anchored period, the indicator builds a volume profile on a lower 'Intra-Bar Timeframe'. Instead of simple tick counting, it uses advanced statistical models:
Allocation ('Allot model'): 'PDF' (Probability Density Function) distributes volume proportionally across the bar's range based on an assumed statistical model (e.g., T4-Skew). 'Classic' assigns all volume to the close.
Buy/Sell Split ('Volume Estimator'): 'Dynamic' applies a model that analyzes candle wicks and recent trend to estimate buy/sell pressure. 'Classic' classifies all volume based on the candle color.
Visualization & Lag: The indicator plots the final profile (as a polygon) and the developing statistical lines (POC, VA, VWAP, StdDev).
Note on Lag: All anchor events require Pivot Right Bars for confirmation.
In 'Structure' and 'Delta' mode, the developing lines (POC, VA, etc.) are plotted using a non-repainting method (showing the value from pivRi bars ago).
In 'Swing' mode, the profile is plotted retroactively, starting from the bar where the pivot occurred. The developing lines are also plotted with this full pivRi lag to align with the past data.
Flexible Display Modes: The finalized profile can be displayed in three ways: 'Up/Down' (buy vs. sell), 'Total' (combined volume), and 'Delta' (net difference).
Dynamic Row Sizing: Includes an option ('Rows per Percent') to automatically adjust the number of profile rows (buckets) based on the profile's price range.
Integrated Alerts: Includes 13 alerts that trigger for:
A new profile reset ('Profile was resetted').
Price crossing any of the 6 developing levels (POC, VA High/Low, VWAP, StdDev High/Low).
Alert Lag Assumption: In 'Swing' mode, alerts are delayed to match the retroactively plotted lines. In 'Structure' and 'Delta' modes, alerts fire in real-time based on the current price crossing the current (repainting) value of the metric, which may differ from the non-repainting plotted line.
Caution: Real-Time Data Behavior (Intra-Bar Repainting) This indicator uses high-resolution intra-bar data. As a result, the values on the current, unclosed bar (the real-time bar) will update dynamically as new intra-bar data arrives. This includes the values used for real-time alerts in 'Structure' and 'Delta' modes.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
Market Structure Pivots TrendThis indicator identifies and visualizes key market structure by plotting confirmed, non-repainting pivot points. It goes beyond simple markers by classifying the pivots, extending dynamic support/resistance lines, and providing a visual representation of the current trend state.
Key Features:
Non-Repainting Pivot Detection:
Uses a standard lookback method (left and right bars) to identify historical pivot points.
Note on Confirmation: Pivots are only confirmed after the Pivot Right Bars input has passed. This is essential for ensuring the signal is non-repainting, but it introduces an inherent lag.
Automatically classifies the sequence of pivots according to Dow Theory: Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL).
Pivot Classification Filter:
Price Tolerance Filter: A user-defined percentage tolerance filters out insignificant market noise. A pivot is only classified as 'Higher' or 'Lower' if its price exceeds the previous one by more than the set tolerance, leading to more robust signals.
Equal Pivot Detection: The tolerance also enables the detection of Equal Highs (EH) and Equal Lows (EL), highlighting consolidation zones.
Dynamic Support & Resistance Lines:
When enabled, the indicator extends a horizontal line from the most recent confirmed pivot high and low.
These lines update in real-time, providing clear S/R levels.
Lines automatically terminate if the price decisively breaks through them or if a new pivot of the same type is formed.
Trend State Visualization:
A built-in state machine analyzes the sequence of pivots and breaks to determine the current market trend (Uptrend, Downtrend, or Neutral).
Plots a dynamic step-line based on recent highs/lows to visually represent the current trend state.
Full Customization & Alerts:
Display Options: Choose between simple triangles or detailed text labels that show the pivot type, price, and the absolute or relative change from the previous pivot of the same type.
Visual Styling: Full control over colors for all six pivot types (HH, LH, EH, LL, HL, EL) and line styles.
Comprehensive Alerts: Set up alerts for every new pivot formation (e.g., HH, LL), for S/R line breaks, and for changes in the overall trend state (Up, Down, Neutral).
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
Pivots High Low Live DetectionPivots High Low Live Detection
Identifies and visualizes swing highs and lows on the chart in real time.
Helps to observe evolving market structure by connecting confirmed or developing pivot points with lines and labels.
Using a configurable lookback, minimum deviation, and confirmation bar system, the indicator highlights new Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) as they form.
When “Live (repainting)” mode is enabled, the current swing leg updates dynamically with each candle, giving immediate feedback as price develops.
When disabled, only confirmed pivots are plotted, ideal for historical validation and backtesting.
+ Key Features
Detects and labels major swing points (HH, HL, LH, LL).
Works in live or confirmed (non-repainting) mode.
Adjustable parameters for lookback, deviation (in ticks), and confirmation bars.
Lightweight and compatible with any timeframe or symbol.
Includes runtime alerts for new structural pivots and direction shifts.
+ How to Use
Adjust the inputs under the “Pivots” group to control sensitivity.
Enable “Live (repainting)” to see developing swing legs, or disable it for confirmed structure only.
Use alerts to track structural changes or potential trend reversals.
Pivot Points High Low or Close OpenStandard Pivot High Low from tradingview but you can use input close open so it uses the body instead of the wicks.
Smart SuperTrend v.1 [TradeMindsetAI]
✅ 🚀 Smart Super Trend v.1 🚀 is an advanced Pine Script indicator that combines real pivot points with ATR-based dynamic bands to create a highly responsive Super Trend system — but smarter, using a weighted Adaptive Pivot Center for adaptive trend detection.
✅ Key Features:
• Detects pivot highs/lows with customizable period
• Builds a dynamic Adaptive Pivot Center from confirmed pivots (weighted averaging)
• Calculates upper/lower bands using ATR × Factor for volatility adaptation
• Generates clean Buy/Sell signals on trend flips with optional labels
• Plots Support/Resistance from last pivot levels (optional)
• Optional Adaptive Pivot Center visualization for deeper trend insight
• Fully customizable: ATR period, factor, pivot sensitivity, visuals
✅ Ideal for scalpers, swing traders & algo developers across crypto, forex, stocks.
✅ Note: Works best after 50+ bars for pivot stabilization.
✅ Recommended Settings (Optimized & Tested):
`Pivot Point Period: 2` | `ATR Factor: 3.0` | `ATR Period: 10` → Best for 1H–4H (All Markets)
`Pivot Point Period: 3` | `ATR Factor: 3.0` | `ATR Period: 14` → Best for Daily & Long-Term Trends
`Pivot Point Period: 1` | `ATR Factor: 2.5` | `ATR Period: 10` → Best for 15M & Scalping
🎯 Built for traders who want SuperTrend + Pivot Intelligence = Unbreakable Edge.
⭐ Like & Follow for more elite tools!
#supertrend #pivot #atr #trendfollowing #crypto #forex #tradingview
✅ اندیکاتور 🚀 Smart SuperTrend v.1 🚀 با ترکیب پیوتهای واقعی و باندهای دینامیک ATR، یک سوپرترند هوشمند و تطبیقپذیر ارائه میدهد — اما با یک خط مرکزی تطبیقی پیوت
(Adaptive Pivot Center) برای تشخیص روند دقیقتر.
✅ ویژگیهای کلیدی:
• شناسایی پیوتهای کف و سقف با دوره قابل تنظیم
• ساخت خط مرکزی تطبیقی پیوت بر اساس پیوتهای تأییدشده (میانگین وزنی)
• محاسبه باندهای بالا / پایین با ATR × ضریب برای تطبیق با نوسانات
• تولید سیگنالهای خرید / فروش تمیز در لحظه تغییر روند + برچسب اختیاری
• نمایش سطوح حمایت / مقاومت از آخرین پیوتها (اختیاری)
• نمایش خط مرکزی تطبیقی پیوت برای تحلیل عمیقتر روند (اختیاری)
• کاملاً قابل تنظیم: دوره ATR، ضریب، حساسیت پیوت، ظاهر
✅ مناسب برای اسکالپرها، سوئینگ تریدرها و توسعهدهندگان الگو در کریپتو، فارکس، سهام.
✅ نکته: پس از ۵۰ کندل برای تثبیت پیوتها بهترین عملکرد را دارد.
✅ تنظیمات پیشنهادی بهینه (تستشده):
`Pivot Point Period: 2` | `ATR Factor: 3.0` | `ATR Period: 10` → مناسب برای 1 و 4 ساعته (تمام بازارها)
`Pivot Point Period: 3` | `ATR Factor: 3.0` | `ATR Period: 14` → مناسب رای روند روزانه و بلندمدت
`Pivot Point Period: 1` | `ATR Factor: 2.5` | `ATR Period: 10` → مناسب برای ۱۵ دقیقه و اسکالپینگ
🎯 برای معاملهگرانی که سوپرترند + پیوت هوشمند = برتری غیرقابل شکست میخواهند.
⭐ لایک و فالو کنید تا ابزارهای حرفهای بیشتری ببینید!
#سوپرترند #پیوت #ای_تی_آر #دنبال_روند #کریپتو #فارکس #تریدینگ_ویو
Rolling Pivot RibbonRolling Pivot Ribbon
This indicator displays historical and developing pivot levels across multiple days,
creating a dynamic "ribbon" effect as pivots roll forward through time.
DESIGNED FOR: Intraday timeframes (≤1D). Shows warning on higher timeframes.
USE CASE: Identify key support/resistance levels, track pivot evolution, and spot
price interaction zones with enhanced visual clarity.
WHY?
There comes a time in every Pinescript developer's evolution, they feel compelled to write a script that draws many lines, possibly triangles, into the future. This is mine. It's both totally useless, and a constant source of comfort to me.
KEY FEATURES:
• Multiple pivot calculation methods (Classic, Camarilla)
• Historical pivot tracking with configurable lookback period (default 4 days)
• Real-time "developing" pivots that update intraday based on current day's HLC
• Gradient fills between adjacent pivot levels for visual depth
• 13 pivot levels: PP, R1-R6, S1-S6
TASTY MODE (Advanced):
• Intelligent filtering: only shows lines that price has recently intersected
• Dynamic transparency: opacity adjusts based on intersection frequency
• Auto-cleanup: removes stale lines that haven't been touched in X days
• Smart extensions: lines that see more action project further into the future
• Focus mode options to reduce chart clutter
VISUAL CONTROLS:
• Toggle individual pivot levels on/off
• Customizable colors and transparency for lines and fills
• Flexible label positioning (left-align or right-align)
• Adjustable projection length for pivot lines (defaults to 1. Set to 0 for just a ribbon)
AutoPivot Levels with Alerts [ChartWhizzperer] – Dynamic EditionAuto-Pivot Levels 4 methods with alerts – Dynamic Edition
Now with
- Live Mode
- 4 Pivot Methods
- 7 Session Types (5m, 15m, 30m, Hourly, Daily, Weekly, Monthly)
- PineConnector-Ready Alerts!
Free, Open Source, Pine Script v6-compliant.
NEW: Live Mode (Ultra-Dynamic, Repainting) – Switchable in UI!
Instantly switch between Classic (session-based, repaint-free) and Live (rolling window, real-time, repainting) using the simple checkbox in the settings!
Live Mode recalculates all pivots on every tick/bar, using the current high/low/close for the chosen session (5m, 15m, 30m, hourly, daily, weekly, monthly).
Perfect for:
- Scalping and high-frequency trading
- Real-time bot/automation setups (PineConnector-ready)
- Fast-moving or breakout markets
Classic Mode: For traditional, stable levels based on confirmed session data – ideal for backtesting and trading history.
Four Calculation Methods (Choose What Fits YOU)
1. Classic
Standard pivot calculation.
Based on previous session’s High, Low, Close.
Simple, proven, and suitable for any asset.
2. Fibonacci
Projects levels using Fibonacci ratios of the prior session’s range.
Great for traders who want to align pivots with fib retracements and extensions.
3. Camarilla
Uses unique multipliers for support/resistance, focusing on mean reversion and volatility.
Popular among futures and forex day traders.
4. Woodie
Puts extra weight on previous Close for more responsive pivots.
Often used in trending or choppy conditions.
Switch methods anytime in the UI – the script recalculates instantly and keeps your chart clean!
Level-Specific Alerts – PineConnector Ready!
Dedicated alert for EVERY level and direction (Up/Down):
Pivot (P), R1, R2, R3, S1, S2, S3
No configuration hassle:
All alerts are pre-defined in the TradingView Alert Panel and work across all session types (5m → monthly).
Machine-readable message format:
PIVOT=R1 DIR=UP SYMBOL={{ticker}} PRICE={{close}}
Direct plug-and-play with PineConnector, webhooks, Discord, Telegram, bots, and other automation tools.
Never miss a breakout, reversal, or key support/resistance touch!
Powerful Customization & Performance
- Session selection: 5m, 15m, 30m, Hourly, Daily, Weekly, Monthly (choose what suits your trading style).
- Show/hide any level (Pivot, R1–R3, S1–S3) for minimal chart clutter.
- Color selection for each level to match your theme or highlight key pivots.
- Auto-cleanup: Old lines and labels are cleared on every recalculation or session change for maximum performance and visual clarity.
- Zero runtime errors: Strict Pine Script v6 practices for stability.
How To Use – Quick Start
1) Add the indicator to your TradingView chart.
2) Pick your calculation method (Classic, Fibonacci, Camarilla, Woodie).
3) Set session type (5m, 15m, 30m, Hourly, Daily, Weekly, Monthly).
4) Switch between Classic and Live Mode with a single click in settings.
5) Customize your levels (on/off, colors).
6) Open the Alert Panel, select any pre-configured alert (e.g. "R2 Cross Down"), and go live!
7) Connect with PineConnector or any webhook system instantly using the pre-formatted alert messages.
Who Is It For?
- Active scalpers & bot traders: Live Mode + PineConnector-ready alerts = instant, automated reactions.
- Swing and position traders: Use Classic Mode for stable, repaint-free levels.
- Strategy developers: Seamless integration into automated and manual trading workflows.
License & Community
Open Source, Non-Commercial:
Free for personal & educational use under CC BY-NC-SA 4.0.
Feedback, bug reports & ideas:
Drop a comment, or contact me for feature requests.
Trade smart. Trade dynamic. Unlock the true power of pivots – with ChartWhizzperer!
Swing LevelsThe Swing Levels indicator automatically detects and plots recent swing highs and lows on the chart, turning them into dynamic support and resistance levels.
Each new swing point creates a horizontal line that extends forward in time until price “fills” (touches or breaks) that level. Once a level is filled, it can either disappear or remain visible — depending on your settings.
You can enable alerts to be notified whenever price fills a swing high (breaks resistance) or a swing low (breaks support).
A lookback filter allows limiting how far back in history swing levels are drawn, helping keep the chart clean and efficient.
Main benefits:
• Automatically tracks key market structure turning points
• Helps visualize support and resistance zones in real time
• Optional alerts for breakout confirmations
• Fully customizable colors, line styles, and management behavior
• Works on any timeframe or market
In short:
Swing Levels gives you a clear and automated view of where price has recently reversed — powerful zones where liquidity and reactions often occur again.
Сreated with vibecoding using ChatGPT and Claude.
Fixed High Timeframe Moving AveragesFixed High Timeframe Moving Averages (W/D/4H)
Summary
This indicator plots essential, high-timeframe (HTF) Moving Averages onto your chart, **no matter which timeframe you are currently viewing**.
It is designed for traders who need multi-timeframe context at a glance. Stop switching charts to see where the 200-Week or 50-Day MA is—now you can see all critical HTF levels directly on your 5-minute (or any other) chart.
---
Who it’s for
Traders who rely on moving averages but like to work on lower chart timeframes while keeping higher timeframe context in sight. If you scalp on 1–15m yet want Weekly/Daily/4H MAs always visible, this is for you.
---
What it shows
Pinned (“fixed”) moving averages from higher timeframes—Weekly (20/100/200) , Daily (50/100/200/365) and 4H (200) —rendered on any chart timeframe. Your favorite HTF MAs stay on screen no matter what TF you’re currently analyzing.
---
Features
* **MA types:** SMA, EMA, VWMA, Hull.
* **Fully configurable:** toggle each line, set periods, colors, and thickness.
* **Two alert modes (see below):** intrabar vs confirmed HTF close.
* **Works on any symbol & chart TF** using `request.security` to fetch HTF data.
---
Alerts & Modes
This indicator solves the biggest problem with MTF alerts: false signals. You can choose one of two modes:
1. **Intrabar mode** — compares current chart price to the HTF MA. Triggers as soon as price crosses the HTF line; great for early signals but may update until the HTF bar closes.
2. **Confirmed mode** — checks HTF close vs HTF MA. Signals only on the higher-TF bar close; fewer false starts, no intrabar repainting on that TF.
Per-line *Cross Above / Cross Below* conditions are provided for all enabled MAs (e.g., “20W — Cross Above”, “365D — Cross Below”, etc.).
**How to use alerts:** add the script → “Create Alert” → pick any condition from the script’s list.
---
Why this helps
* Keeps Weekly/Daily structure visible while you execute on LTF.
* Classic anchors (e.g., 200D, 20W/100W/200W) are popular for trend bias, dynamic support/resistance, and pullback context.
* Lets you standardize MA references across all your lower-TF playbooks.
---
Notes on confirmation & repainting
* Intrabar signals can change until the higher-TF bar closes (that’s expected with multi-TF data).
* Confirmed mode waits for the HTF close—cleaner, but later. Choose what fits your workflow.
---
Quick setup
1. Pick `MA Type` (SMA/EMA/VWMA/Hull).
2. Enable the HTF lines you want (Weekly 20/100/200; Daily 50/100/200/365; 4H 200).
3. Choose `Alert Mode` (Intrabar vs Confirmed).
4. Style colors/widths to taste and set alerts on the lines you care about.
---
Good practice
* Combine HTF MAs with price action (swings, structure, liquidity grabs) rather than using them in isolation.
* Always validate signals in your execution TF and use a risk plan tailored to volatility.
* Protect your capital: position sizing, stops, and disciplined risk management matter more than any single line on the chart.
---
Disclaimer
For educational/informational purposes only; not financial advice. Trading involves risk—manage it responsibly.
Curvature Tensor Pivots🌀 Curvature Tensor Pivots
Curvature Tensor Pivots: Geometric Pivot Detection Through Differential Geometry
Curvature Tensor Pivots applies mathematical differential geometry to market price analysis, identifying pivots by measuring how price trajectories bend through space. Unlike traditional pivot indicators that rely solely on price highs and lows, this system calculates the actual geometric curvature of price paths and detects inflection points where the curvature changes sign or magnitude—the mathematical hallmarks of directional transitions.
The indicator combines three components: precise curvature measurement using second-derivative calculus, tensor weighting that multiplies curvature by volatility and momentum, and a tension-based prediction system that identifies compression before pivots form. This creates a forward-looking pivot detector with built-in confirmation mechanics.
What Makes This Original
Pure Mathematical Foundation
This indicator implements the classical differential geometry curvature formula κ = |y''| / (1 + y'²)^(3/2), which measures how sharply a curve bends at any given point. In price analysis, high curvature indicates sharp directional changes (active pivots), while curvature approaching zero indicates straight-line motion (inflection points forming). This mathematical approach is fundamentally different from pattern recognition or statistical pivots—it measures the actual geometry of price movement.
Tensor Weighting System
The core innovation is the tensor scoring mechanism, which multiplies geometric curvature by two market-state variables: volatility (ATR expansion/compression) and momentum (rate of change strength). This creates a multi-dimensional strength metric that distinguishes between meaningful pivots and noise. A high tensor score means high curvature is occurring during significant volatility with strong momentum—a genuine structural turning point. Low tensor scores during high curvature indicate choppy, low-conviction moves.
Tension-Based Prediction
The system calculates tension as the inverse of curvature (Tension = 1 - κ). When curvature is low, tension is high, indicating price is moving in a straight line and approaching an inflection point where it must curve. The tension cloud visualizes this compression, tightening before pivots form and expanding after they complete. This provides anticipatory signals rather than purely reactive confirmation.
Integrated Confirmation Architecture
Rather than simply flagging high curvature, the system requires convergence of four elements: geometric inflection detection (sign changes in second derivative or curvature extrema), traditional price structure pivots (pivot highs/lows), tensor strength above threshold, and minimum spacing between signals. This multi-layer confirmation prevents false signals while maintaining sensitivity to genuine turning points.
This is not a combination of existing indicators—it's an application of pure mathematical concepts (differential calculus and tensor algebra) to market geometry, creating a unique analytical framework.
Core Components and How They Work Together
1. Differential Geometry Engine
The foundation is calculus-based trajectory analysis. The system treats price as a function y(t) and calculates:
First derivative (y'): The slope of the price trajectory, representing directional velocity
Second derivative (y''): The acceleration of slope change, representing how quickly direction is shifting
Curvature (κ): The normalized geometric bend, calculated using the formula κ = |y''| / (1 + y'²)^(3/2)
This curvature value is then normalized to a 0-1 range using adaptive statistical bounds (mean ± 2 standard deviations over a rolling window). High κ values indicate sharp bends (active pivots), while κ approaching zero indicates inflection points where the trajectory is straightening before changing concavity.
2. Tensor Weighting Components
The raw curvature is weighted by market dynamics to create the tensor score:
Volatility Component: Calculated as current ATR divided by baseline ATR (smoothed average). Values above 1.0 indicate expansion (higher conviction moves), while values below 1.0 indicate compression (lower reliability). This ensures pivots forming during volatile periods receive higher scores than those in quiet conditions.
Momentum Component: Measured using rate of change (ROC) strength normalized by recent average. High momentum indicates sustained directional pressure, confirming that curvature changes represent genuine trend shifts rather than noise.
Tensor Score Fusion: The final tensor score = κ × Volatility × Momentum × Direction × Gain. This creates a directional strength metric ranging from -1 (strong bearish curvature) to +1 (strong bullish curvature). The magnitude represents conviction, while the sign represents direction.
These components work together by filtering geometric signals through market-state context. A high curvature reading during low volatility and weak momentum produces a low tensor score (likely noise), while the same curvature during expansion and strong momentum produces a high tensor score (likely genuine pivot).
3. Inflection Point Detection System
Inflection points occur where the second derivative changes sign (concave to convex or vice versa) or where curvature reaches local extrema. The system detects these through multiple methods:
Sign change detection: When y'' crosses zero, the price trajectory is transitioning from curving upward to downward (or vice versa)
Curvature extrema: When κ reaches a local maximum or minimum, indicating peak bend intensity
Near-zero curvature: When κ falls below an adaptive threshold, indicating straight-line motion before a directional change
These geometric signals are combined with traditional pivot detection (pivot highs and lows using configurable lookback/lookahead periods) to create confirmed inflection zones. The geometric math identifies WHERE inflections are forming, while price structure confirms WHEN they've completed.
4. Tension Cloud Prediction
Tension is calculated as 1 - κ, creating an inverse relationship where low curvature produces high tension. This represents the "straightness" of price trajectory—when price moves in a straight line, it's building tension that must eventually release through a curved pivot.
The tension cloud width adapts to this tension value: it tightens (narrows) when curvature is low and tension is high, providing visual warning that a pivot is forming. After the pivot completes and curvature increases, tension drops and the cloud expands, confirming the turn.
This creates a leading indicator component within the system: watch for the cloud to compress, then wait for the pivot marker and tensor direction confirmation to enter trades.
5. Multi-Layer Visualization System
The visual components work hierarchically:
Curvature ribbons (foundation): Width expands with curvature magnitude, color shifts with tensor direction (green bullish, red bearish)
Tension cloud (prediction): Purple overlay that compresses before pivots and expands after
Tensor waves (context): Harmonic oscillating layers driven by three phase accumulators (curvature, tensor magnitude, volatility), creating visual texture that becomes erratic before pivots and smooth during trends
Inflection zones (timing): Golden background highlighting when geometric conditions indicate inflection points forming
Pivot markers (confirmation): Triangles marking confirmed pivots where geometric inflection + price structure + tensor strength all align
Each layer adds information without redundancy: ribbons show current state, tension shows prediction, waves show regime character, zones show geometric timing, and markers show confirmed entries.
Calculation Methodology
Phase 1 - Derivative Calculations
Price is normalized by dividing by a 50-period moving average to improve numerical stability. The first derivative is calculated as the bar-to-bar change, then smoothed using a configurable smoothing length (default 3 bars) to reduce noise while preserving structure.
The second derivative is calculated as the bar-to-bar change in the first derivative, also smoothed. This represents the acceleration of directional change—positive values indicate price is curving upward (concave up), negative values indicate curving downward (concave down).
Phase 2 - Curvature Formula
The classical curvature formula is applied:
Calculate y'² (first derivative squared)
Calculate (1 + y'²)^1.5 as the denominator
Divide |y''| by this denominator to get raw curvature κ
This formula ensures curvature is properly normalized regardless of the steepness of the trajectory. A vertical line with high slope (large y') can still have low curvature (straight), while a gradual slope with changing direction produces high curvature (curved).
The raw curvature is then normalized to 0-1 range using adaptive bounds (rolling mean ± 2 standard deviations), allowing the system to adapt to different market volatility regimes.
Phase 3 - Tensor Weighting
ATR is calculated over the specified volatility length (default 14). Current ATR is divided by smoothed ATR to create the volatility ratio. Momentum is calculated as the rate of change over the momentum length (default 10), normalized by recent average ROC.
The tensor score is computed as: Curvature × Volatility × Momentum × Tensor Gain × Direction Sign
This creates the final directional strength metric used for ribbon coloring and signal generation.
Phase 4 - Inflection Detection
Multiple conditions are evaluated simultaneously:
Second derivative sign changes (y'' × y'' < 0)
Curvature local maxima (previous bar κ > current bar κ AND previous bar κ > two bars ago κ)
Curvature local minima (opposite condition)
Low curvature threshold (current κ < adaptive threshold)
Any of these conditions triggers inflection zone highlighting. For confirmed pivot signals, inflection detection must coincide with traditional pivot highs/lows AND tensor magnitude must exceed threshold AND minimum spacing since last signal must be satisfied.
Phase 5 - Tension Calculation
Tension = 1 - κ (smoothed)
This inverse relationship creates the compression/expansion dynamic. When curvature approaches zero (straight trajectory), tension approaches 1 (maximum compression). When curvature is high (sharp bend), tension approaches zero (released).
The tension cloud bands are calculated as: Basis ± (Ribbon Width × Tension)
This creates the visual tightening effect before pivots.
Phase 6 - Wave Generation
Three phase accumulators are maintained:
Phase 1: Accumulates based on curvature magnitude (0.1 × κ per bar)
Phase 2: Accumulates based on tensor magnitude (0.15 × tensor per bar)
Phase 3: Accumulates based on volatility (0.08 × volatility per bar)
For each wave layer (2-8 configurable), a unique frequency is used (layer number × 0.6). The wave offset is calculated as:
Amplitude × (sin(phase1 × frequency) × 0.4 + sin(phase2 × frequency × 1.2) × 0.35 + sin(phase3 × frequency × 0.8) × 0.25)
This creates complex harmonic motion that reflects the interplay of curvature, strength, and volatility. When these components are aligned, waves are smooth; when misaligned (pre-pivot conditions), waves become chaotic.
All calculations are deterministic and execute on closed bars only—there is no repainting.
How to Use This Indicator
Setup and Configuration
Apply the indicator to your chart with default settings initially
Enable the main dashboard (top right recommended) to monitor curvature, tensor, and tension metrics in real-time
Enable the curvature matrix (bottom right) to see historical patterns in the heatmap
Choose your ribbon mode: "Dual Ribbon" shows both bullish and bearish zones, "Tension Cloud" emphasizes the compression zones
For your first session, observe how the tension cloud behaves before confirmed pivots—you'll notice it consistently tightens (narrows) before pivot markers appear, then expands after.
Signal Interpretation
High Pivot (Bearish) - Red triangle above price:
Occurs when price makes a pivot high (local maximum)
Second derivative is negative (concave down curvature)
Tensor magnitude exceeds threshold (strong confirmation)
Minimum spacing requirement met (noise filter)
Interpretation: A confirmed bearish inflection point has formed. Price trajectory has curved over and is transitioning from upward to downward movement.
Low Pivot (Bullish) - Blue triangle below price:
Occurs when price makes a pivot low (local minimum)
Second derivative is positive (concave up curvature)
Tensor magnitude exceeds threshold
Spacing requirement met
Interpretation: A confirmed bullish inflection point has formed. Price trajectory has curved upward and is transitioning from downward to upward movement.
Dashboard Metrics
κ (Curvature): 0-100% reading. Above 70% = sharp active pivot, 40-70% = moderate curve, below 40% = gentle or approaching inflection
Tensor: Directional strength. Arrow indicates bias (⬆ bullish, ⬇ bearish, ⬌ neutral). Magnitude indicates conviction.
Volatility: Current ATR expansion state. Above 70% = high volatility (pivots more significant), below 40% = compressed (pivots less reliable)
Momentum: Directional strength. High values confirm trend continuation, low values suggest exhaustion
Tension: 0-100% reading. Above 70% = pivot forming soon (high compression), below 40% = pivot recently completed (expanded)
State: Real-time regime classification:
"🟢 STABLE" = normal trending conditions
"🟡 TENSION" = pivot forming (high compression)
"🔴 HIGH κ" = active sharp pivot in progress
"⚠ INFLECTION" = geometric inflection zone (critical transition)
Curvature Matrix Heatmap
The matrix shows the last 30 bars (configurable 10-100) of historical data across five metrics:
κ row: Curvature evolution (green = low, yellow = moderate, red = high)
Tension row: Purple intensity shows compression building
Tensor row: Strength evolution (green = strong, yellow = moderate, red = weak)
Volatility row: Expansion state
Momentum row: Directional conviction
Pattern recognition: Look for purple clustering in the tension row followed by red spikes in the κ row—this shows compression → release pivot sequence.
Trading Workflow
Step 1 - Monitor Tension:
Watch the tension cloud and dashboard tension metric. When tension rises above 60-70% and the cloud visibly tightens, a pivot is building. The matrix will show purple bands clustering.
Step 2 - Identify Inflection Zone:
Wait for the golden background glow (inflection zone) to appear. This indicates the geometric conditions are met: curvature is approaching zero, second derivative is near sign change, or curvature extrema detected. The dashboard state will show "⚠ INFLECTION ZONE".
Step 3 - Confirm Direction:
Check the tensor arrow in the dashboard:
⬆ (bullish tensor) = expect bullish pivot
⬇ (bearish tensor) = expect bearish pivot
Also verify the y'' status in the dashboard:
"🔵↑ Concave Up" = bullish curvature forming
"🔴↓ Concave Down" = bearish curvature forming
Step 4 - Wait for Pivot Marker:
Do not enter on inflection zones alone—wait for the confirmed pivot marker (triangle). This ensures all confirmation layers have aligned: geometric inflection + price structure pivot + tensor strength + spacing filter.
Step 5 - Execute Entry:
Long entry: Blue triangle below price + ⬆ tensor + tension releasing (dropping)
Short entry: Red triangle above price + ⬇ tensor + tension releasing
Step 6 - Manage Risk:
Initial stop: Place beyond the opposite ribbon edge plus one ATR buffer
Trailing stop: Follow the ribbon edge (basis ± adaptive width) as curvature sustains in your direction
Exit signal: If tension spikes again quickly (another inflection forming), consider taking profit—the trend may be reversing
Best Practices
Use multiple timeframe confirmation: Check that higher timeframe tensor aligns with your trade direction
Respect the spacing filter: If a pivot just fired, wait for minimum spacing before taking another signal
Distinguish regime: In "🔴 HIGH κ" state (choppy), reduce position size; in "🟢 STABLE" state, full confidence
Combine with support/resistance: Pivots near key levels have higher probability
Watch particle density: Clustering of particles indicates rising curvature intensity
Observe wave texture: Smooth flowing waves = trending environment (pivots are reversals); chaotic erratic waves = reversal environment (pivots are trend starts)
Ideal Market Conditions
Best Performance
Liquid markets with clear swing structure (forex majors, large-cap stocks, major indices)
Timeframes from 15-minute to daily (the system adapts across timeframes)
Markets with periodic swings and clear directional phases (where geometric curvature is meaningful)
Trending markets with consolidation phases (where tension builds before breakouts)
Challenging Conditions
Extremely choppy/sideways markets for extended periods (high curvature but low tensor magnitude—system will reduce signals appropriately)
Very low liquidity instruments (erratic price action creates false geometric signals)
Ultra-low timeframes (1-minute or below) where spread and noise dominate structure
Markets in deep consolidation (the system will show high tension but no clean pivot confirmation)
The indicator is designed to adapt: in poor conditions, tensor scores remain low and signals reduce naturally. In optimal conditions, tension compression → inflection → pivot confirmation sequences occur cleanly.
Parameter Optimization by Trading Style
Scalping (5-15 Minute Charts)
Curvature Window: 3-5 (faster response)
Curvature Smoothing: 2 (minimal lag)
Volatility Length: 10-14
Momentum Length: 8-10
Tensor Gain: 1.2-1.5 (moderate sensitivity)
Inflection Threshold: 0.10-0.15 (more sensitive)
Min Pivot Spacing: 3-5 bars
Pivot Mode: Aggressive
Ribbon Mode: Dual Ribbon (clearer entries)
Day Trading (15-60 Minute Charts)
Curvature Window: 5 (default)
Curvature Smoothing: 3 (balanced)
Volatility Length: 14
Momentum Length: 10
Tensor Gain: 1.5 (default)
Inflection Threshold: 0.15 (default)
Min Pivot Spacing: 5-8 bars
Pivot Mode: Normal or Adaptive
Ribbon Mode: Dual Ribbon
Swing Trading (4-Hour to Daily Charts)
Curvature Window: 7-10 (smoother)
Curvature Smoothing: 4-5 (noise reduction)
Volatility Length: 20-30
Momentum Length: 14-20
Tensor Gain: 1.8-2.5 (higher conviction requirement)
Inflection Threshold: 0.20-0.30 (more selective)
Min Pivot Spacing: 8-12 bars
Pivot Mode: Conservative
Ribbon Mode: Tension Cloud (focus on compression zones)
Performance Optimization
If you experience lag on lower-end systems:
Reduce Wave Layers: 4 → 2 (50% reduction in calculations)
Lower Particle Density: 3 → 1 (66% reduction in label creation)
Decrease Matrix History: 30 → 15 bars (50% reduction in table size)
Disable Tensor Waves entirely if not needed for your trading
Important Disclaimers
- This indicator is a technical analysis tool designed to identify potential pivot points through mathematical analysis of price trajectory geometry. It should not be used as a standalone trading system. Always combine with proper risk management, position sizing, and additional confirmation methods (support/resistance, volume analysis, multi-timeframe alignment).
- The curvature and tensor calculations are deterministic mathematical formulas applied to historical price data—they do not predict future price movements with certainty. Past geometric patterns do not guarantee future pivot behavior. The tension-based prediction system identifies conditions where pivots are likely to form based on trajectory straightness, but market conditions can change rapidly.
- All trading involves risk. Use appropriate stop losses and never risk more than you can afford to lose. The signal spacing filters and tensor confirmation layers are designed to reduce noise, but no indicator can eliminate false signals entirely.
This system is most effective when combined with sound trading principles, market context awareness, and disciplined execution.
Technical Notes
All calculations execute on closed bars only (no repainting)
Lookback functions limited to 5000 bars maximum
Arrays are fixed-size (waves) or hard-capped (particles at 80 labels)
Dashboard and matrix update only on the last bar to minimize computational load
Particle generation throttled to every 2 bars
Phase accumulators use modulo operations to prevent overflow
Statistical normalization (mean ± 2σ) automatically adapts to different volatility regimes
— Dskyz, Trade with insight. Trade with anticipation.
DXY ChecklistDxy Checklist
Used to stay on track on what the market is performing on index market.
Check list asks questions, when performed we acknowledge the deal done on index.
Daily Key Levels + VWAPThis indicator is daily price levels and previous day's VWAP for precision intraday trading decisions.
Strong PivotsThis finds pivots based on your inputs (number of candles back and forward that are above or below the range of the potential pivot points) and then optionally changes the color to help you visually identify the pivot. You can also specify pivots as strong pivots if they reverse in 1 time segment beyond a certain percentage (wick % of full candle range).
For example, if the pivot is at a high point but has a green body candle and a wick > 35% of the candle, it will change the body color to red to help visually understand that the candle can be considered a strong part of the downtrend, regardless of it closing green. This will help your mind interpret the top pivot candle as part of the potential trend reversal for the following candles and could even be used as part of your strategy ruleset.
Smart Trend Lines v.1 [TradeMindsetAI]
✅ " 🚀 Smart Trend Lines V.1 🚀 " is an advanced Pine Script indicator that automatically detects and draws dynamic trend lines based on real pivot points from candle shadows (wicks).
✅ Key Features:
• Accurately identifies pivot highs and lows using customizable lookback periods
• Draws support/resistance trend lines only if price has respected them (via pullback or bounce validation)
• Validates lines by ensuring price doesn't cross the projected line in its path
• Limits the number of displayed lines to keep the chart clean
• Auto-removes outdated lines (older than 500 bars)
• Fully customizable line colors, styles (solid/dashed/dotted), and widths
✅ Ideal for traders seeking reliable, reactive trend lines across all timeframes.
✅ Note: Lines are calculated only after analyzing at least 1000 candles for maximum accuracy.
✅ Recommended Settings:
`Lookback Candles: 500` | `Pivot Period: 20` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 17` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 11` | `Pivot Points: 3`
🎯Built for traders who demand **pixel-perfect accuracy**.
⭐Like & Follow for more elite tools!
#trendline #smart #support #resistance #pivot #crypto #forex
✅ این اندیکاتور🚀"Smart Trend Lines V.1" 🚀 به صورت خودکار خطوط روند صعودی (حمایتی) و نزولی (مقاومتی) را بر اساس پیوتهای واقعی سایه کندلها شناسایی و رسم میکند.
✅ ویژگیهای کلیدی:
• تشخیص خودکار پیوتهای کف و سقف با دوره قابل تنظیم
• رسم خطوط روند تنها در صورتی که قیمت به آنها واکنش نشان داده باشد
• اعتبارسنجی دقیق خطوط با بررسی عدم نفوذ قیمت در مسیر روند
• محدود کردن تعداد خطوط نمایش داده شده برای جلوگیری از شلوغی چارت
• حذف خودکار خطوط قدیمی (بیش از ۵۰۰ کندل)
• قابلیت تنظیم رنگ، سبک و ضخامت خطوط حمایتی و مقاومتی
✅ مناسب برای تحلیلگرانی که به دنبال خطوط روند معتبر و پویا در تایمفریمهای مختلف هستند.
✅ نکته: خطوط فقط پس از بررسی حداقل ۱۰۰۰ کندل رسم میشوند تا از دقت بالا اطمینان حاصل شود.
✅ تنظیمات پیشنهادی:
`Lookback Candles: 500` | `Pivot Period: 20` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 17` | `Pivot Points: 3`
`Lookback Candles: 500` | `Pivot Period: 11` | `Pivot Points: 3`
🎯 برای معاملهگرانی که دقت پیکسلبهپیکسل میخواهند.
⭐ لایک و فالو کنید تا ابزارهای حرفهای بیشتری ببینید!
W1 Keyzones Overlay (D1) by Delta 1 / Norman AXLRODW1 Keyzones Overlay (D1) — Description and User Guide
What it does:
This indicator projects weekly key zones (W1) onto your D1 chart. It detects confirmed weekly pivot highs and lows and derives resistance and support zones. Zones are intentionally invisible (no fill, no border). Instead, centered labels are shown at the current bar: “W1 Res” for weekly resistance and “W1 Sup” for weekly support. Two alerts are included: “Approach” (price approaches a zone within a set distance) and “Hit” (price is inside a zone).
Features:
Automatic W1 pivot high/low detection. Configurable zone width (percentage of pivot price). Centered labels placed at the zone midpoint and aligned to the current bar on the right. Invisible zones to keep the chart clean. Alerts for approach and hit. FX pip handling including the JPY 0.01 pip convention.
Inputs:
W1 Pivot Period (default 5): sensitivity of weekly pivot detection; higher values produce fewer, stronger zones.
Max Zones: maximum number of stored and visible zones.
Zone Width (% of price): for example 0.0025 equals 0.25% of price.
Show Labels: toggle to show or hide W1 Res/W1 Sup labels.
Colors: base colors for resistance and support labels (zones remain invisible).
Approach Distance (pips): distance to the top of a zone that triggers the Approach alert; pip size is handled automatically, JPY pairs use 0.01.
How to read it:
Focus on the labels. W1 Res marks an active weekly resistance zone. W1 Sup marks an active weekly support zone. Labels sit at the midpoint of each zone and at the current bar, so key levels are always visible on the right side of the chart. Zones are invisible by design; the internal zone width still governs the alert logic and whether price is considered “inside” the zone. Use the alerts as prompts: “Approach” is an early heads-up, “Hit” signals active interaction with the zone where you can look for confirmation via price action.
Typical use:
Set your directional bias on D1 by noting which weekly levels are nearby. Check confluence with your own levels, moving averages, structure, volume and the calendar. Consider playbook ideas such as rebounds at W1 Sup after confirmation, fades at W1 Res with protective stops, or break-and-retest setups after a clean break.
Best practices:
Use D1 for context and time entries on H1 or M15. Increase the pivot period if you see too many labels. Adjust zone width so it is neither too narrow (false touches) nor too wide (diluted signals). Set a larger approach distance for JPY pairs. Never use the tool in isolation; combine it with price action, regime (trend or range), volatility and event risk.
Alert setup (TradingView):
Create a new alert. In Condition, select this indicator. Choose either “Approach to W1 Keyzone” or “W1 Keyzone Hit.” Pick the frequency (once per bar or once per bar close). Optionally customize the message with symbol and plan. Save.
Notes and limits:
FX pip logic auto-detects JPY pairs (pip equals 0.01). Non-FX defaults to 1.0 for the pip unit. The indicator uses confirmed weekly pivots and does not look ahead; labels update each bar while zones remain stable. Very large Max Zones values over long histories may affect performance. Zones are intentionally invisible; reduce transparency or add border width in the code if you want visible boxes.
Example workflow:
On D1, locate nearby W1 Res or W1 Sup relative to current price. Check the calendar for risk events such as CPI, NFP or central bank decisions. Drop to H1 or M15 and wait for a trigger (rejection or break and retest). Place the stop beyond or behind the zone and plan risk-reward. Manage the trade with partials at the first structure level, move to break even after a retest, and let the remainder run.
FAQ:
Why do I only see labels? This is by design to keep charts clean. The logic still uses the zones internally.
Can I make zones visible? Yes. Reduce transparency and/or increase border width in the code or expose those as inputs.
How large should the approach distance be for JPY pairs? Typically larger than for non-JPY, for example 40 to 80 pips where one pip equals 0.01.
Disclaimer:
This is not financial advice. For educational purposes only. Always do your own research and use strict risk management.
Support / contact:
Questions or suggestions: (mailto:Delta1trading@protonmail.com).
MAG Support Resistance Lines⚡ MAG Support Resistance Lines
💡 MAG S/R maps high-probability intraday reversal zones derived from directional magnitude — letting you trade where structure and liquidity truly converge.
🔍 Purpose
Automatically detects dynamic support and resistance zones using a Magnitude Bias Line — a proprietary directional-strength model built from historical price behavior.
Optimized for 1m–15m intraday charts to highlight high-impact support and resistance areas.
🧭 How It Works
Magnitude Bias Line – Computes a long-length bias curve that smooths directional flow (default 258 bars).
Pivot Detection – Identifies local highs/lows of this curve to mark potential structural turning points.
These zones DO NOT repaint, meaning the lines you see were plotted before price reached them.
Zones do expire once historic price data fed by TradingView is too far back/no longer available.
Zones should be treated as "nothing" until price action confirms it wants to respect it or continue past it.
Zone Creation –
A zone box is created around each pivot level, providing a visual approximation of potential support or resistance.
Thickness is defined by Box Height % (e.g. 0.0004 ≈ 0.04 %).
Extension & Mitigation – Zones extend forward until a new bias pivot overlaps them; new pivots replace old ones at updated price levels.
⚙️ Key Inputs
Setting | Default | Description
Magnitude Range | 258 | Controls how smooth/strong the Magnitude Bias Line is (larger = fewer zones).
Box Height % | 0.0004 | Fraction of price defining zone height (use 0.0007 on SPX, 0.0004 on ES).
Zone Color / Transparency | Green / 85% | Visual style for zone fill and border.
🕐 Timeframe Guidelines
Fitted for 1m → 15m charts. Future updates may allow higher timeframes.
If loaded outside this range, a red label reminder will appear.
🎯 Usage Tips
Watch price action for reversals or continuations at each zone. Price may V-rebound from a zone or punch through then retest the opposite side before continuing.
Utilize next zone as a TP or SL depending on your strategy rules.
Combine with VWAP, Expected Move bands, or Gamma levels for confluence.
Adjust Box Height % to match current volatility.
If you see a specific indicator that pairs well with this one, please let other's know in the comments! Together we find success and I am forever grateful to the trading communities that shared knowledge with me!
⚠️ Disclaimer (NIF)
This tool is for research and informational purposes only (Not Investment or Financial advice).
Trading involves risk; users should exercise independent judgment before making financial decisions.
Pivot Regime Anchored VWAP [CHE] Pivot Regime Anchored VWAP — Detects body-based pivot regimes to classify swing highs and lows, anchoring volume-weighted average price lines directly at higher highs and lower lows for adaptive reference levels.
Summary
This indicator identifies shifts between top and bottom regimes through breakouts in candle body highs and lows, labeling swing points as higher highs, lower highs, lower lows, or higher lows. It then draws anchored volume-weighted average price lines starting from the most recent higher high and lower low, providing dynamic support and resistance that evolve with volume flow. These anchored lines differ from standard volume-weighted averages by resetting only at confirmed swing extremes, reducing noise in ranging markets while highlighting momentum shifts in trends.
Motivation: Why this design?
Traders often struggle with static reference lines that fail to adapt to changing market structures, leading to false breaks in volatile conditions or missed continuations in trends. By anchoring volume-weighted average price calculations to body pivot regimes—specifically at higher highs for resistance and lower lows for support—this design creates reference levels tied directly to price structure extremes. This approach addresses the problem of generic moving averages lagging behind swing confirmations, offering a more context-aware tool for intraday or swing trading.
What’s different vs. standard approaches?
- Baseline reference: Traditional volume-weighted average price indicators compute a running total from session start or fixed periods, often ignoring price structure.
- Architecture differences:
- Regime detection via body breakout logic switches between high and low focus dynamically.
- Anchoring limited to confirmed higher highs and lower lows, with historical recalculation for accurate line drawing.
- Polyline rendering rebuilds only on the last bar to manage performance.
- Practical effect: Charts show fewer, more meaningful lines that start at swing points, making it easier to spot confluences with structure breaks rather than cluttered overlays from continuous calculations.
How it works (technical)
The indicator first calculates the maximum and minimum of each candle's open and close to define body highs and lows. It then scans a lookback window for the highest body high and lowest body low. A top regime triggers when the body high from the lookback period exceeds the window's highest, and a bottom regime when the body low falls below the window's lowest. These regime shifts confirm pivots only when crossing from one state to the other.
For top pivots, it compares the new body high against the previous swing high: if greater, it marks a higher high and anchors a new line; otherwise, a lower high. The same logic applies inversely for bottom pivots. Anchored lines use cumulative price-volume products and volumes from the anchor bar onward, subtracting prior cumulatives to isolate the segment. On pivot confirmation, it loops backward from the current bar to the anchor, computing and storing points for the line. New points append as bars advance, ensuring the line reflects ongoing volume weighting.
Initialization uses persistent variables to track the last swing values and anchor bars, starting with neutral states. Data flows from regime detection to pivot classification, then to anchoring and point accumulation, with lines rendered globally on the final bar.
Parameter Guide
Pivot Length — Controls the lookback window for detecting body breakouts, influencing pivot frequency and sensitivity to recent action. Shorter values catch more pivots in choppy conditions; longer smooths for major swings. Default: 30 (bars). Trade-offs/Tips: Min 1; for intraday, try 10–20 to reduce lag but watch for noise; on daily, 50+ for stability.
Show Pivot Labels — Toggles display of text markers at swing points, aiding quick identification of higher highs, lower highs, lower lows, or higher lows. Default: true. Trade-offs/Tips: Disable in multi-indicator setups to declutter; useful for backtesting structure.
HH Color — Sets the line and label color for higher high anchored lines, distinguishing resistance levels. Default: Red (solid). Trade-offs/Tips: Choose contrasting hues for dark/light themes; pair with opacity for fills if added later.
LL Color — Sets the line and label color for lower low anchored lines, distinguishing support levels. Default: Lime (solid). Trade-offs/Tips: As above; green shades work well for bullish contexts without overpowering candles.
Reading & Interpretation
Higher high labels and red lines indicate potential resistance zones where volume weighting begins at a new swing top, suggesting sellers may defend prior highs. Lower low labels and lime lines mark support from a fresh swing bottom, with the line's slope reflecting buyer commitment via volume. Lower highs or higher lows appear as labels without new anchors, signaling possible range-bound action. Line proximity to price shows overextension; crosses may hint at regime shifts, but confirm with volume spikes.
Practical Workflows & Combinations
- Trend following: Enter longs above a rising lower low anchored line after higher low confirmation; filter with rising higher highs for uptrends. Use line breaks as trailing stops.
- Exits/Stops: In downtrends, exit shorts below a higher high line; set aggressive stops above it for scalps, conservative below for swings. Pair with momentum oscillators for divergence.
- Multi-asset/Multi-TF: Defaults suit forex/stocks on 1H–4H; on crypto 15M, shorten length to 15. Scale colors for dark themes; combine with higher timeframe anchors for confluence.
Behavior, Constraints & Performance
Closed-bar logic ensures pivots confirm after the lookback period, with no repainting on historical bars—live bars may adjust until regime shift. No higher timeframe calls, so minimal repaint risk beyond standard delays. Resources include a 2000-bar history limit, label/polyline caps at 200/50, and loops for historical point filling (up to current bar count from anchor, typically under 500 iterations). Known limits: In extreme gaps or low-volume periods, anchors may skew; lines absent until first pivots.
Sensible Defaults & Quick Tuning
Start with the 30-bar length for balanced pivot detection across most assets. For too-frequent pivots in ranges, increase to 50 for fewer signals. If lines lag in trends, reduce to 20 and enable labels for visual cues. In low-volatility assets, widen color contrasts; test on 100-bar history to verify stability.
What this indicator is—and isn’t
This is a structure-aware visualization layer for anchoring volume-weighted references at swing extremes, enhancing manual analysis of regimes and levels. It is not a standalone signal generator or predictive model—always integrate with broader context like order flow or news. Use alongside risk management and position sizing, not as isolated buy/sell triggers.
Many thanks to LuxAlgo for the original script "McDonald's Pattern ". The implementation for body pivots instead of wicks uses a = max(open, close), b = min(open, close) and then highest(a, length) / lowest(b, length). This filters noise from the wicks and detects breakouts over/under bodies. Unusual and targeted, super innovative.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Multi Timeframe Market Structure ContinuationOverview
This indicator identifies Break of Structure (BOS) and Change of Character (ChoCh) patterns using multi-timeframe (MTF) analysis to filter high-probability trade setups. By aligning lower timeframe signals with higher timeframe bias, it helps traders enter positions in the direction of the dominant trend while avoiding counter-trend traps.
Multi-Timeframe Analysis
The indicator analyzes market structure on two timeframes simultaneously:
Current Timeframe (CTF): Detects immediate BOS and ChoCh signals for entry timing
Higher Timeframe (HTF): Establishes the overall trend direction (default: 1H, customizable)
Signals only appear when the current timeframe structure aligns with the higher timeframe bias, ensuring you're trading with the momentum, not against it.
Break of Structure (BOS)
BOS signals indicate trend continuation - when price breaks a previous high in an uptrend or a previous low in a downtrend. These are reliable entries that confirm the trend is still active and strong.
Change of Character (ChoCh)
ChoCh signals mark early trend reversals - when market structure shifts from bearish to bullish (or vice versa). When captured in alignment with the higher timeframe trend, ChoCh entries can achieve exceptional risk-to-reward ratios as they allow entry near the beginning of a new impulse move.
Exit Signals
Exit signals are plotted when a ChoCh occurs in the opposite direction of the HTF trend. For example, if the HTF is bullish and a bearish ChoCh forms on the current timeframe, an orange "EXIT" signal appears - warning long traders that the lower timeframe structure is shifting against them. This provides an early warning system to protect profits or minimize losses before the HTF trend itself reverses.
Trading Strategy Recommendations
Trending Markets (Recommended)
In strong trending conditions, both BOS and ChoCh signals can be taken when aligned with the HTF bias. ChoCh entries are particularly powerful as they catch early reversals within the larger trend, offering entries with tight stop losses and extended profit targets.
Ranging Markets
During consolidation or choppy conditions, it's best to be selective and take only BOS entries. BOS signals confirm that the trend is continuing beyond the range, reducing false breakouts and whipsaw trades that are common with counter-trend ChoCh signals in sideways markets.
Customization
Pivot Length: Adjust the sensitivity of structure detection (default: 5). Lower values detect structure more frequently with earlier but potentially noisier signals. Higher values provide cleaner, more significant structural breaks but with some delay.
Higher Timeframe: Customize the HTF to suit your trading style. Day traders might use 1H HTF on 5m charts, while swing traders could use 4H or Daily HTF.
Alert System
Six alert conditions available:
Long BOS Entry / Long ChoCh Entry
Short BOS Entry / Short ChoCh Entry
Long Exit / Short Exit
All alerts fire only on confirmed candle closes to eliminate repainting and false signals.
Visual Features
Color-coded background showing HTF bias
Clear BOS/ChoCh labels with horizontal lines at structure levels
Orange "EXIT" signals when structure breaks against your position
Gray lines tracking current swing highs/lows
HTF trend indicator in the top-right corner






















