Super DCA (DEMO)Spot Trading Signal Indicator with Priority-Based DCA Strategy
This indicator is designed for spot trading with a Dollar Cost Averaging (DCA) approach. It generates buy signals with 5 priority levels, allowing you to build your position gradually with multiple orders.
Pivot Points
Malama's RSI (Linear Regression)Malama's RSI Linear Regression Channel is an advanced momentum tool that replaces static oscillator levels with a dynamic, statistical baseline. By fitting a Linear Regression Channel directly onto the Relative Strength Index (RSI), this indicator adapts to trending markets where traditional overbought/oversold levels often fail.
The Problem with Standard RSI: In a strong uptrend, RSI can stay "overbought" (>70) for long periods, generating premature sell signals. Conversely, in a downtrend, it can hug the "oversold" zone (>30). The Solution: This script calculates a Dynamic Mean (Linear Regression Line) and Volatility Bands (Standard Deviations) based on the RSI's own history. This allows you to identify when momentum is statistically overextended relative to the current trend, rather than an arbitrary static number.
Key Features:
Adaptive Momentum Channel: Automatically draws a Regression Line (Mean) and Upper/Lower Deviation Bands on the RSI pane.
Structural Pivot Labels: Uses a ZigZag algorithm to detect and label Higher Highs (HH), Lower Lows (LL), etc., helping you visualize momentum structure and potential divergence points.
Statistical Dashboard: An on-chart table provides real-time data on the RSI Slope (Trend Direction), Standard Error (Volatility), and exact band values for precision entries.
How to Use:
Trend Filter: Check the "Slope" in the dashboard. A positive slope generally confirms a bullish trend; look for entries when RSI pulls back to the Middle Line.
Mean Reversion: When RSI pierces the Upper or Lower Deviation Bands, it is a statistical anomaly. These extremes often precede a reversion to the mean (the Regression Line).
Momentum Breakouts: A crossover of the Middle Line can signal a shift in the short-term momentum regime.
Technical Methodology: The script utilizes a loop-based calculation to determine the Least-Squares Linear Regression Slope and Intercept for maximum precision, avoiding the lag often associated with simple moving average envelopes. It dynamically computes the standard error of the residuals to plot volatility bands that expand and contract with momentum variance.
Disclaimer: This indicator is provided for educational purposes. Trading involves significant risk.
Support and Resistence -> Reversal (Top/Bottom) SignalingThis script determines local support and resistance levels and signals when the level has been broken.
4H Pivot Levels# 4-Hour Pivot Levels - Quick Guide
## What It Does
Displays 4-hour pivot support and resistance levels on any timeframe chart with clear BUY (green) and SELL (red) labels.
## Installation
1. Open TradingView Pine Editor
2. Paste the script code
3. Save and "Add to Chart"
## Understanding the Levels
**Pivot Point (P)** - Yellow line, central reference point
- Price above = bullish bias
- Price below = bearish bias
**Support Levels (S1, S2, S3)** - Green "BUY" labels
- Demand zones where price may bounce up
- Use as long entry targets or short exit points
- S1 strongest, S3 weakest
**Resistance Levels (R1, R2, R3)** - Red "SELL" labels
- Supply zones where price may reverse down
- Use as short entry targets or long exit points
- R1 strongest, R3 weakest
## How to Use
**For Longs:**
- Buy near green support levels
- Target red resistance levels or pivot
- Stop loss below the support level
**For Shorts:**
- Sell near red resistance levels
- Target green support levels or pivot
- Stop loss above the resistance level
**For Ranging Markets:**
- Buy support, sell resistance
- Use pivot as mid-range guide
## Settings
**Display:** Toggle pivot point, support, or resistance on/off
**Line Extension:** Adjust how far lines project forward (default: 50 bars)
**Colors:** Customize pivot (yellow), support (green), resistance (red)
**Style:** Change line width (1-5) and style (solid/dashed/dotted)
## Tips
- Works on any timeframe but best on 15min-4H charts
- R1/S1 are typically the strongest levels
- Always use with price action confirmation and stop losses
- Levels update every 4 hours based on previous 4H candle
- Combine with volume and other indicators for best results
## Quick Strategy
1. Identify the trend (above/below pivot)
2. Wait for price to approach a level
3. Look for confirmation (candlestick pattern, volume)
4. Enter with stop beyond the level
5. Target next level or pivot point
[uPaSKaL] Adaptive Swing StructureOverview :
Adaptive Swing Structure identifies and labels swing structure using HH / HL / LH / LL and can optionally draw wave connectors between successive swing points.
The goal is to provide a clean, practical view of market structure that remains readable across different market conditions.
Instead of relying only on a classic fixed-window pivot scan (left/right bars), this indicator uses an adaptive swing-detection approach designed to better match how traders visually interpret legs and structure.
Why this approach (vs. a simple pivot scan)?
Classic pivot scans (e.g., โpivot high/low with left/right barsโ) are simple and widely used, but they often have practical limitations:
They depend heavily on a fixed window size (too sensitive in chop, too slow in trends)
They can mark pivots that are locally valid but not always representative of the broader leg
They may produce frequent structure changes during ranges, reducing readability
What you get with this indicator
A more stable swing structure view that adapts to price movement
Cleaner HH / HL / LH / LL labeling for context and decision-making
Optional wave connectors to visually follow the swing path
Visual comparison:
The screenshots below illustrate the difference in how structure can appear when using a classic pivot scan versus Adaptive Swing Structure.
Classic Pivot Points (High / Low):
Adaptive Swing Structure (This Indicator):
How to read the labels
This indicator labels swing structure using the standard notation:
HH = Higher High
HL = Higher Low
LH = Lower High
LL = Lower Low
How to interpret Wave Lines
When enabled, wave lines connect successive swing points to help you visually track the current swing path and structural transitions.
Inputs guide
Tracer Line Len
Main sensitivity control. Adjust this to fit the instrument and timeframe.
Higher values โ fewer swing points, smoother structure (macro view)
Lower values โ more swing points, more detail (micro view)
Show Wick (High / Low) Line
Shows the wick-based tracer (visual reference).
More sensitive to extremes and wick behavior
Useful when wicks matter (liquidity spikes / stop-runs)
Show Body (Open / Close) Line
Shows the body-based tracer (visual reference).
Filters wick noise and often looks smoother
Useful when you prefer structure based on candle bodies
Show Slope Flip Labels
Shows small markers that highlight swing turning moments (study/verification).
Helpful for understanding where structure updates
Optional and can be disabled for a cleaner chart
Wave Labels (WICK)
Shows HH/HL/LH/LL labels using wick-based swings.
More responsive to wick extremes
Wave Lines (WICK)
Connects wick-based swing points with wave lines.
Improves visual continuity of swings
Wave Labels (BODY)
Shows HH/HL/LH/LL labels using body-based swings.
Typically smoother and less sensitive to wick spikes
Wave Lines (BODY)
Connects body-based swing points with wave lines.
Cleaner wave path for body-based structure
Max Wave Labels Kept (per Wick / Body)
Limits the number of labels kept on the chart (older ones are removed first).
Reduces clutter
Helps maintain performance
Max Wave Lines Kept (per Wick / Body)
Limits the number of wave lines kept on the chart (older ones are removed first).
Keeps the chart readable
Helps maintain performance
History Window (map size / scan clamp)
Performance / stability control for how much recent history is considered.
Higher values โ more history considered, higher CPU usage
Lower values โ lighter execution, structure limited to more recent swings
Usage / Tuning
1) Find โyour numberโ for each market
There is no universal best setting. The optimal Tracer Line Len depends on:
Instrument volatility
Your trading timeframe
Whether you want micro structure or macro structure
2) Build a simple baseline
Choose your chart timeframe (e.g., 4H).
Start with a moderate Len (e.g., 10โ30).
Increase or decrease Len until the swing structure matches how you would manually map it.
3) Practical โtimeframe scalingโ intuition
You can use Len to โzoom outโ or โzoom inโ structure without changing your chart timeframe.
Example on 4H :
If Len = 20 produces the swing structure you want for 4H decisions, keep it as your baseline.
If you increase it to something like Len = 120 , the structure becomes much smoother and swing points appear less frequently.
This means:
4H with a smaller Len โ focuses on 4H-level swings (more detail).
4H with a much larger Len โ filters many local swings and highlights broader legs (more โhigher-timeframe-likeโ context).
This is not a strict mathematical replacement for switching timeframes, but it is a practical and effective way to compress or expand structure density on the same chart.
4) Wick vs Body (which one to choose?)
WICK : Choose when extreme wicks matter to your reading of structure.
BODY : Choose when you want smoother structure and less sensitivity to wick spikes.
5) Suggested workflow for active traders
Use one preset for local structure (entries / short-term decisions).
Use a second preset with a larger Len for higher-level context (major swings / directional bias).
STRIKEZONE INDICATORSTRIKEZONE INDICATOR is an all-in-one trading tool designed for scalping, day trading, and swing trading.
It combines an adaptive EMA based on trading mode, multi-timeframe SuperTrend, dynamic support and resistance levels, RSI, and a multi-TF dashboard for instant market clarity.
The indicator provides:
Main trend identification using EMA and SuperTrend
Key support and resistance zones with breakout detection
Filtered Buy and Sell signals aligned with the trend
A multi-timeframe board showing SuperTrend and EMA alignment
A Mega Signal when all timeframe conditions align and RSI remains neutral
Perfect for spotting high-probability strike zones, improving entry timing, and trading confidently in the direction of the dominant trend.
Pivot Levels [BigBeluga]๐ต OVERVIEW
The Pivot Levels indicator automatically detects and draws key market pivot levels across multiple sensitivity settings. Each pivot level represents a significant local high or low in price structure, acting as potential zones of support and resistance. Traders can visualize short-, medium-, and long-term pivot layers simultaneously, helping to identify where price may react, reverse, or break out.
๐ต CONCEPTS
Different pivot lengths provide multi-length sensitivity on the same timeframe โ shorter lengths detect local micro-swings, while longer lengths capture broader swing structure within the current chart.
ATR-based color logic marks active, bullish, or bearish pivot zones dynamically.
Lines can extend to the right or both sides to track reactions over time.
๐ต FEATURES
Detects up to four custom pivot levels simultaneously.
Each pivot level has independent settings for length , style , and extension mode .
Auto-colors each pivot as support (green), resistance (orange), or active zone (blue).
Displays dual-width line layers: a solid base and a transparent overlay for visual depth.
Dynamic price labels show exact pivot levels for clarity.
Fully customizable line styles: dashed (--), solid (-), or dotted (..).
Extends lines to the right for future reaction tracking or both directions for structure alignment.
๐ต HOW TO USE
Enable or disable pivot levels (1โ4) to control how many layers of structure you want visible.
Use shorter pivot lengths for intraday turning points and longer ones for macro structure.
Watch for multiple pivot lines clustering in the same region โ these often mark strong reversal zones.
Observe color changes: green = support, orange = resistance, blue = active neutral zone.
Combine with price action or volume analysis to confirm reactions near major pivots.
๐ต CONCLUSION
The Pivot Levels indicator provides a clean, multi-layered visualization of market structure.
By tracking pivots of varying lengths, traders can easily identify overlapping support and resistance regions, gauge breakout strength, and align trades with the dominant structural zones visible across multiple time horizons.
Custom Session ORB - Extending Past Current CandleCustom Session ORB - Extending Past Current Candle
This indicator plots Opening Range Breakout (ORB) levels for one or two customizable trading sessions directly on your chart. It dynamically tracks the high, low, and midpoint of the defined session(s) and extends these levels beyond the session using a configurable offset.
Features:
Supports two custom sessions.
New York and Asia pre-saved.
Automatically tracks session High, Low, and Mid.
Option to extend ORB levels past the live candle.
Option to display only the most recent ORB for a clean chart.
Configurable line thickness, style, and label size.
Works in Eastern Standard Time (EST) without manual adjustment.
Settings:
Show Labels: Toggle to display ORB values on chart.
Label Font Size: Small, Normal, Large.
Mid Line Style: Solid, Dashed, or Dotted.
ORB Line Thickness: Set line thickness of ORB levels.
Extend Past Current Candle by N Bars: Controls how far the ORB extends visually.
Show Only Current ORB: Cleans chart by removing previous session ORB levels.
Enable Session 1 / 2: Toggle individual sessions on/off.
Session Time: Set the start and end times for each session (automatically in EST).
How It Works:
The indicator monitors the defined session time, records the high, low, and midpoint, and draws lines at those levels. When the session ends, the lines are extended by the specified offset for easy breakout visualization. Labels can optionally show the exact price levels.
Liquidity ZonesLiquidity Zones
Liquidity Zones is a price-actionโbased indicator designed to identify high-probability support and resistance areas where liquidity has historically accumulated.
Instead of drawing single lines, the script builds dynamic price zones based on repeated pivot reactions validated by volume, helping traders focus on meaningful levels rather than noise.
How It Works
Pivot Detection
The indicator scans historical price data for pivot highs and pivot lows using a fixed pivot strength.
Each pivot represents a potential liquidity interaction point.
Volume Qualification
A pivot is only considered valid if the volume at the pivot bar exceeds:
Volume SMA ร Sensitivity
This filters out weak or low-participation levels and keeps zones formed during strong market interest.
Zone Construction
Nearby pivots are grouped into a single zone if their price difference stays within an ATR-based threshold.
Each time price reacts within this threshold, the zoneโs touch count increases.
Once the minimum number of touches is reached, a liquidity zone is drawn and extended to the right.
Adaptive Zone Expansion
As new qualifying pivots appear, zones automatically expand to reflect the true liquidity range instead of staying static.
Dynamic Zone Coloring
Zones update their color in real time based on price position:
Green (Support) โ Price is above the zone
Red (Resistance) โ Price is below the zone
Gray (In-Zone) โ Price is trading inside the zone
This allows instant visual feedback on whether a level is acting as support, resistance, or an active liquidity area.
Settings Overview
Bars to Apply
Controls how much historical data is scanned for liquidity zones.
Volume Sensitivity
Higher values require stronger volume spikes to validate pivots, resulting in fewer but higher-quality zones.
Styling Options
Fully customizable colors and transparency for support, resistance, and in-zone states.
Best Use Cases
Identifying high-liquidity support and resistance zones
Planning entries, exits, and stop placement
Combining with trend-following or momentum indicators
Filtering out weak levels in sideways or choppy markets
AperonFx Pivot Points 1.1This indicator plots ATR-based pivot levels with a clean, institutional layout.
The central pivot (P) is calculated from the selected timeframe and price formula, while support and resistance levels are placed at equal distance steps above and below the pivot.
Users can choose between an automatic step based on ATR or a fixed price step for fully controlled, symmetric levels.
All levels are drawn as continuous segments that align precisely with the active pivot period.
Price annotations are displayed in a minimal, unobtrusive style and always match the exact level values.
The indicator is designed to remain consistent across chart timeframes without recalculation drift.
It is intended for traders who want clear, structured reference levels rather than reactive signals.
AperonFx ATR Pivot Points 1.0This indicator combines classic pivot levels with ATR-based extensions and a refined weekly timing logic. The objective is to provide clean, robust support and resistance levels that remain consistent across all chart timeframes.
FatihStrategy: Universal Pivot System v3.3.1FatihStrategy: Universal Pivot System v3.3.1 is an advanced technical analysis indicator that combines multi-timeframe pivot averages with EMA trend filters in a single visual system.
๐น How It Works
Depending on the selected pivot mode, the indicator calculates and visualizes:
Daily & 3-Day Average Pivots
Weekly & 3-Week Average Pivots
Monthly & 3-Month Average Pivots
Yearly & 3-Year Average Pivots
The difference between pivot levels is displayed as colored boxes:
Red Box โ Lower timeframe pivot zone
Yellow Box โ Higher timeframe pivot zone
These zones help identify potential support, resistance, and consolidation areas.
๐น EMA Trend Support
Optional exponential moving averages:
20 EMA
50 EMA
200 EMA
can be enabled to assist with trend direction and trade filtering.
๐น Suitable For
Day traders and swing traders
Pivot-based strategies
Traders looking for clear visual support/resistance zones
Crypto, forex, and stock market analysis
โ ๏ธ Disclaimer
This indicator is not financial advice.
Always use proper risk management and confirm signals with your own trading strategy.
Daily/Weekly Swing Highs-Lows + Candle PatternsDescription
Daily/Weekly Swing Highs-Lows + Candle Patterns
This indicator plots the most recent Daily and Weekly Swing Highs and Lows (key support/resistance levels) using a simple and effective logic: a swing high/low is confirmed when the previous bar's extreme is higher/lower than both the current and the one before it.
Features:
โข Daily Swing Highs/Lows (teal/maroon circles) โ toggleable
โข Weekly Swing Highs/Lows (blue/purple circles) โ optional
โข Visual separators for new daily and weekly bars (light background color)
โข Daily candle pattern labels (optional):
- US = Up Swing (strong bullish continuation)
- DS = Down Swing (strong bearish continuation)
- IN = Inside Bar
- OUT = Outside Bar
โข Daily close position labels (optional):
- P = Positive (close in upper 25% of the range)
- mP = minor Positive (50โ75%)
- mN = minor Negative (25โ50%)
- N = Negative (lower 25%)
All elements are fully customizable (colors, visibility) and work on any timeframe.
Best suited for intraday timeframes (1 min to 4 hours) where daily and weekly key levels provide important context for price action and reversals.
The optional "Trading session length" input is mainly useful for markets with shorter sessions (e.g., European indices) and does not affect swing detection.
Open-source, free to use and modify.
How to Use the Indicator + Practical Use Case
Key Settings (Inputs)
Trading session length (hours) โ Default 8.5 h (useful for FTSEMIB, DAX, etc.). Leave it as is unless you trade a market with a different session length.
Daily Swing Levels โ Show/Hide daily swing highs (teal) and lows (maroon).
Weekly Swing Levels โ Usually keep off on intraday charts to avoid clutter (turn on for higher-timeframe context).
Daily Candle Patterns โ Enable only if you want to see US/DS/IN/OUT labels on the daily close.
Close Position (P/mP/mN/N) โ Enable if you want to quickly see how strong/weak the daily close was.
What You See on the Chart
Teal circles = Last confirmed daily swing high (resistance).
Maroon circles = Last confirmed daily swing low (support).
Blue/purple circles (if enabled) = Weekly swing high/low.
Light gray background = Start of a new trading day.
Purple background (if weekly enabled) = Start of a new week.
Small labels on daily close (if enabled):
- US = strong bullish day
- DS = strong bearish day
- IN = inside bar (consolidation)
- OUT = outside bar (expansion)
- P/mP/mN/N = how far the close was from the high/low of the day.
Best Timeframes 1 min to 240 min charts โ Daily levels act as major support/resistance zones for intraday trading.
Avoid using on daily or higher charts (the logic is designed for intraday context).
Why this works well intraday:
The daily swing high/low levels are high-probability zones where institutions and algorithms often defend positions. On intraday charts, they act as โmagnetsโ for price, giving you clean entries and exits with clear invalidation levels.
This indicator keeps your chart clean while providing exactly the context most intraday traders need: key daily levels + daily momentum context.
Box Indicator - Auto Draw Previous Day's - High / Midline / LowThis indicator draws a box around the previous dayโs high and low, calculates the midline, and displays them on the current dayโs chart. It helps visualize key support/resistance levels from the prior trading day.
This script gives you a static reference box from the prior dayโs trading range, including a midpoint. Itโs useful for spotting potential reversal zones, breakout levels, or intraday targets based on yesterdayโs price action.
Gann High Low Strategy## Trend & Structure Strategy โ Overview
This strategy is designed to follow directional market moves by using a **dynamic price reference** to identify transitions between strength and weakness.
### Core concept
* It visually highlights when the market shifts from a **favorable phase** to an **unfavorable phase**, and vice versa.
* Signals are generated only when price behavior shows **minimum structural consistency**, helping to avoid random or low-quality conditions.
### Entries & trade management
* Entries aim to align with moments where price shows a **renewed directional intent**.
* Trade management is based on **technical price references**, allowing risk and objectives to adapt naturally to the current market context.
* Key directional and operational areas are clearly displayed on the chart to keep decision-making simple and visual.
### Best use cases
* Performs best in markets with **clear directional movement** and readable transitions.
* In very tight or choppy conditions, a more selective approach may be required.
*This content is for educational purposes only. Always test on different markets and timeframes before live use.*
Ichimoku Trading Checklist - 5 Rules๐ง Description
This indicator implements a rule-based checklist built on Ichimoku Kinko Hyo, complemented with RSI and price structure, designed to help traders objectively evaluate whether a bullish setup is valid or not.
โ ๏ธ This indicator does NOT generate buy or sell signals.
โ ๏ธ It is NOT a trading system or financial advice.
The core philosophy is discipline and consistency:
If there is no setup, there is no trade.
________________________________________
โ
The 5 Rules Evaluated
1. Chikou Span above price (26 bars back)
Confirms that current price is above historical price, validating a bullish context.
2. Bullish TK Cross (Tenkan-sen > Kijun-sen)
Measures bullish momentum within the Ichimoku framework.
3. Bullish divergence or convergence between RSI and price
Evaluates relative strength using recent RSI pivots and price structure.
4. Kumo breakout followed by a valid pullback
Requires a bullish cloud breakout and a pullback that respects the structure.
5. Bullish Kumo (green cloud / twist)
Confirms that the Ichimoku cloud supports a bullish bias.
________________________________________
๐ฆ Decision Traffic Light (Final Row)
The last row of the table provides a traffic-light style summary:
โข ๐ข 5/5 rules met โ Valid setup
โข ๐ก 1โ4 rules met โ Incomplete setup
โข ๐ด 0 rules met โ No trade
Core message displayed: โNo setup, No trade!โ ๐ซ
________________________________________
๐จ Customization
Through the Inputs panel, users can customize:
โข Header, body, and footer background colors
โข Traffic-light colors and icons (๐ข ๐ก ๐ด)
โข Text alignment (left / center / right)
โข Optional rule counter (x/5)
โ ๏ธ Tables do not use TradingViewโs Style tab; all customization is handled via Inputs.
________________________________________
โฑ๏ธ Timeframe
The indicator is timeframe-agnostic, but it was designed and tested primarily on the 1H timeframe, where Ichimoku and RSI structure tend to be more consistent.
________________________________________
โ ๏ธ Disclaimer
This script is provided for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any asset.
Trading involves risk, and all decisions remain the sole responsibility of the user.
Remember that every strategy is based on probabilities and scenarios that you have already tested in hundreds of trades.
________________________________________
๐ค Author
ยฉ Yesid Correa Cano
Pine Script v6
License: Mozilla Public License 2.0 (MPL-2.0)
Stepped Multi Timeframe MAs with PDH PDL TDH TDL Dynamic Labels
Plots stepped (blocky) higherโtimeframe moving averages and VWAP on the current chart (HMA/EMA/VWMA/SMA/VWAP toggles).โ
Automatically switches MA source to the chartโs timeframe on Daily/Weekly/Monthly (e.g., Weekly chart shows weekly MAs), while intraday charts can use a user-selected higher timeframe.โ
Draws Previous Day High/Low (PDH/PDL) anchored from the exact candle that formed the level, then extends the line across the chart up to the latest bar.โ
Draws Todayโs High/Low (TDH/TDL) the same way, and updates dynamically as new intraday highs/lows are made (the anchor shifts to the new wick candle).โ
Keeps labels readable by placing them above/below each line with no background and a clean grey style, and repositions label X based on the visible chart window (so labels stay at a consistent % from the right edge while you pan/zoom)
Multi-Timeframe CPR Pattern AnalyzerMulti-Timeframe CPR + Advanced Pattern Analyzer
A powerful, all-in-one indicator designed for professional price-action traders who use CPR (Central Pivot Range) as the core of their intraday, positional, and swing-trading strategies.
This script automatically plots Daily, Weekly, and Monthly CPR, identifies major CPR patterns, highlights Developing / Next CPR, and displays everything neatly in an interactive dashboard.
โจ Key Features
1๏ธโฃ Daily, Weekly & Monthly CPR
Fully configurable CPR for all three timeframes
Clean plots with no vertical connector lines
Automatic zone shading
Adjustable line width, transparency, and colors
2๏ธโฃ Support & Resistance (S1โS3, R1โR3)
Choose which timeframeโs S/R you want
Only plotted for the current day/week/month (no cluttering past charts)
Helps traders identify reaction zones and breakout levels
3๏ธโฃ Next / Developing CPR
A unique feature rarely found in CPR indicators.
You can display:
Developing Daily CPR
Developing Weekly CPR
Next Monthly CPR (after month close)
All next/developing CPRs are plotted in a dashed style with optional transparency, plus labels:
โDeveloping Daily CPRโ
โDeveloping Weekly CPRโ
โNext Weekly CPRโ
โNext Monthly CPRโ
This allows you to anticipate the next sessionโs CPR in advance, a major edge for intraday, swing, and options traders.
4๏ธโฃ Advanced CPR Pattern Detection
The script automatically detects all important CPR market structures:
๐ Narrow CPR
Uses statistical percentiles based on historical CPR width
Helps identify potential high-volatility breakout days
๐ CPR Width Contraction
Detects compression zones
Excellent for identifying trending days after tight ranges
๐ Ascending / Descending CPR
Bullish trend continuation (Ascending)
Bearish trend continuation (Descending)
๐ Virgin CPR
Highlights untouched CPR zones
Strong support/resistance zones for future days/weeks
๐ Overshoots
Detects:
Bullish Overshoot
Bearish Overshoot
Useful for understanding trend exhaustion.
๐ Breakouts
Identifies when price breaks above TC or below BC, signaling trend shifts.
๐ Rejections
Shows wick-based CPR rejections โ reversal cues used by many price-action traders.
5๏ธโฃ CPR Pattern Dashboard
A beautifully formatted dynamic table showing:
For Daily, Weekly, Monthly:
TC, Pivot, BC values
Current CPR Pattern
CPR Width with %
+ Next/Developing CPR values and patterns (for Daily/Weekly)
No need to manually calculate anything โ everything is displayed in a clean, compact panel.
6๏ธโฃ Completely Dynamic Across Timeframes
Works on all intraday, daily, weekly, and monthly charts
Automatically adjusts CPR length based on chart timeframe
Perfect for NIFTY, BANKNIFTY, FINNIFTY, stocks, crypto, forex
7๏ธโฃ Alerts Included
Receive alerts for:
Narrow CPR formation
Virgin CPR
CPR breakouts
Pattern transitions
Great for traders who want automated monitoring.
8๏ธโฃ Clean Chart, No Clutter
The script includes:
No vertical connecting lines
S/R only on the current period
Smart hiding of CPR on boundaries (to avoid "jump lines")
Fully toggleable features
You get a professional-grade, clutter-free CPR experience.
๐ฏ Why This Indicator?
This script goes beyond standard CPR tools by offering:
Next AND Developing CPR
Multi-timeframe CPR analysis
Professional CPR pattern detection
Smart dashboard visualization
Perfect setup for trend traders, reversal traders, and breakout traders
Whether you're scalping, day trading, swing trading, or doing positional analysis โ this tool gives you context, structure, and precision.
๐ Recommended Use Cases
Intraday index trading (NIFTY, BANKNIFTY, NIFTY 50 Stocks)
Swing trading stocks
Crypto CPR analysis
Options directional setups
CPR-based breakout and reversal strategies
Trend continuation identification
Understanding volatility days (Narrow CPR Days)
โ ๏ธ Disclaimer
This is a technical tool for chart analysis and does not guarantee profits. Always combine CPR analysis with price action, volume, and risk management.
Structure Pivot (LL-HL / HH-LH)Structure Pivot (LL-HL / HH-LH) - Indicator Guide
This indicator scans for market structure pivot patternsโspecifically the bullish Higher Low (LLโHL) and the bearish Lower High (HHโLH) โacross multiple lengths simultaneously.
It automatically selects the most optimal pattern based on a "Priority Mode" and plots the structure and breakout/breakdown levels on the chart.
1. Basic Calculation Method
The indicator builds upon TradingViewโs ta.pivotlow and ta.pivothigh functions to identify structural points.
Bullish Structure (LLโHL)
1.LL (Lowest Low): A standard Pivot Low is identified.
2.HL (Higher Low): A subsequent Pivot Low forms higher than the previous LL. This completes the setup.
3.Pivot Line (Resistance): The indicator finds the highest price (High) that occurred between the LL and the HL. This level becomes the breakout trigger.
Bearish Structure (HHโLH)
1.HH (Highest High): A standard Pivot High is identified.
2.LH (Lower High): A subsequent Pivot High forms lower than the previous HH. This completes the setup.
3.Pivot Line (Support): The indicator finds the lowest price (Low) that occurred between the HH and the LH. This level becomes the breakdown trigger.
2. Multi-Length Scanning
Unlike standard indicators that use a single fixed length (e.g., Length = 5), this indicator scans a range of lengths simultaneously.
ใปSettings: Defined by Min Length and Max Length.
ใปMechanism: If set to Min=2 and Max=10, the indicator internally runs 9 separate calculations (Length 2 through 10) in parallel.
This allows it to capture everything from small, short-term pullbacks to larger, significant structural pivots without manual adjustment.
3. Priority Mode System
Since multiple lengths are scanned, multiple valid patterns may appear at the same time. The Priority Mode determines which single pattern is the "winner" and gets displayed.
A. Tightest Structure (Default)
ใปFor Bullish (Long): Selects the pattern with the lowest Pivot Line (Resistance).
ใปFor Bearish (Short): Selects the pattern with the highest Pivot Line (Support).
ใปAdvantage: It finds the "tightest" contraction (like a VCP). This offers the entry point closest to the stop-loss level, providing the best Risk/Reward ratio.
B. Longest Length
ใปSelects the pattern detected by the longest length setting.
ใปAdvantage: Focuses on major structural points, filtering out short-term noise. Best for trend confirmation.
C. Shortest Length
ใปSelects the pattern detected by the shortest length setting.
ใปAdvantage: Extremely sensitive. Best for scalping or catching immediate micro-pullbacks.
4. Real-Time Logic & Features
Structure Invalidation (Failure)
ใปBullish: If the current price drops below the HL (the support of the structure), the setup is considered failed.
ใปBearish: If the current price rises above the LH (the resistance of the structure), the setup is considered failed.
ใปResult: All lines and labels for that structure are immediately deleted to keep the chart clean.
Pivot Line Extension
ใปAs long as the structure remains valid (price hasn't violated the HL or LH), the Pivot Line extends to the right, acting as a live reference for breakouts or breakdowns.
Alerts
ใปBullish Breakout: Triggered when the Close price crosses over the Pivot Line.
ใปBearish Breakdown: Triggered when the Close price crosses under the Pivot Line.
Market Structure Pivots with BOS & CHoCH [zazenio]What is Market Structure?
Market structure is simply the pattern of highs and lows that price creates as it moves. When you look at any chart, you'll notice price doesn't move in a straight line โ it swings up, pulls back, swings up again (in an uptrend), or the opposite in a downtrend.
These swing points โ the peaks and valleys โ are what traders call pivots . Identifying them correctly is the foundation of understanding where a market has been and where it might go next.
What This Indicator Does
Swing Pivots automatically marks these peaks and valleys on your chart so you don't have to draw them manually. It works on any market โ stocks, crypto, forex, futures, indices โ and on any timeframe.
Beyond just marking pivots, this indicator also draws BOS (Break of Structure) and CHoCH (Change of Character) lines โ two essential concepts that help you understand when a trend is continuing or potentially reversing.
How Pivots Are Detected
This indicator confirms pivots based on price structure, not a fixed bar count.
Here's how it works:
A swing high is confirmed when price breaks below the previous swing low. At that moment, we know the high was real โ price tried to go higher, failed, and reversed. The market "proved" that level was a genuine turning point.
A swing low is confirmed when price breaks above the previous swing high. The same logic applies โ price tried to go lower, failed, and reversed direction.
This creates a natural alternation: high, low, high, low. Each pivot is validated by the market's actual behavior, not by waiting for an arbitrary number of bars to pass.
Understanding BOS and CHoCH
Once you can identify pivots, the next step is understanding what happens when price breaks through them. This is where BOS and CHoCH come in.
BOS (Break of Structure)
A Break of Structure occurs when price continues in the direction of the current trend by breaking a previous pivot level.
In an uptrend : Price breaks above a previous swing high โ This signals strength. Buyers are pushing price to new highs, and the trend is likely to continue.
In a downtrend : Price breaks below a previous swing low โ This signals weakness. Sellers are pushing price to new lows, and the trend is likely to continue.
Think of BOS as the market saying "the trend is still intact." Each BOS confirms that the dominant side (buyers or sellers) remains in control.
CHoCH (Change of Character)
A Change of Character occurs when price breaks a pivot level in the opposite direction of the current trend. This is an early warning signal that the trend may be reversing.
In an uptrend : Price breaks below a previous swing low โ This is unexpected. In a healthy uptrend, lows should hold. When they don't, it suggests buyers are losing control and sellers may be taking over.
In a downtrend : Price breaks above a previous swing high โ This is unexpected. In a healthy downtrend, highs should hold. When they don't, it suggests sellers are losing control and buyers may be stepping in.
Think of CHoCH as the market's behavior "changing character" โ it's no longer acting the way it should if the trend were healthy.
Why BOS and CHoCH Matter
These concepts give you a framework for reading what the market is actually doing:
BOS tells you the trend is continuing โ stay with it or look for entries in that direction
CHoCH warns you the trend may be ending โ time to be cautious, take profits, or look for trades in the new direction
By visualizing these breaks directly on your chart, you don't have to guess. You can see at a glance whether the market is trending smoothly (consecutive BOS) or showing signs of reversal (CHoCH).
Why This Approach Works
Most pivot indicators use a "lookback" method โ they wait for a certain number of bars (say, 5 or 10) on each side of a candle before confirming it as a pivot. This creates a fixed delay. By the time the pivot appears on your chart, price has already moved on.
This indicator doesn't wait. It confirms pivots the moment price structure proves them. The result is pivots that align with how traders actually read charts โ based on breaks of structure, not arbitrary countdowns.
Settings
Configuration
Swing Width : Controls how sensitive the detection is. Higher numbers show only major swings; lower numbers capture smaller moves within the structure.
Pivot Settings
High/Low Color : Customize the colors of swing high and swing low markers
Style : Choose between Triangle or Circle markers
Size : Adjust the size of pivot markers (Auto, Tiny, Small, Normal)
Structure Lines
Show CHoCH : Toggle Change of Character lines on/off
CHoCH Color : Customize the color of CHoCH lines
CHoCH Label : Show/hide the "CHoCH" text label
Show BOS : Toggle Break of Structure lines on/off
BOS Color : Customize the color of BOS lines
BOS Label : Show/hide the "BOS" text label
Use Cases
See the "skeleton" of price action at a glance
Identify potential support and resistance levels
Understand if the market is trending or ranging
Spot trend continuations with BOS lines
Catch early reversal signals with CHoCH lines
Build a foundation for more advanced trading strategies
โโโโโโโโโโโโโโโโโโโโโโ
Version History
v1.1
Added BOS (Break of Structure) lines to visualize trend continuation
Added CHoCH (Change of Character) lines to identify potential trend reversals
Added toggle options for BOS and CHoCH visibility
Added customizable colors for structure lines
Added optional labels for BOS and CHoCH
v1.0
Initial release
Automatic swing high and swing low detection
Structure-based pivot confirmation (not fixed lookback)
Customizable pivot markers (style, size, colors)
Adjustable swing width sensitivity
โโโโโโโโโโโโโโโโโโโโโโ
Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and does not constitute a recommendation to buy or sell any financial instrument. Always do your own research and trade at your own risk.
Swing Pivots - Market Structure High Low [zazenio]What is Market Structure?
Market structure is simply the pattern of highs and lows that price creates as it moves. When you look at any chart, you'll notice price doesn't move in a straight line โ it swings up, pulls back, swings up again (in an uptrend), or the opposite in a downtrend.
These swing points โ the peaks and valleys โ are what traders call pivots. Identifying them correctly is the foundation of understanding where a market has been and where it might go next.
What This Indicator Does
Swing Pivots automatically marks these peaks and valleys on your chart so you don't have to draw them manually. It works on any market โ stocks, crypto, forex, futures, indices โ and on any timeframe.
How Pivots Are Detected
This indicator confirms pivots based on price structure, not a fixed bar count.
Here's how it works:
A swing high is confirmed when price breaks below the previous swing low. At that moment, we know the high was real โ price tried to go higher, failed, and reversed. The market "proved" that level was a genuine turning point.
A swing low is confirmed when price breaks above the previous swing high. The same logic applies โ price tried to go lower, failed, and reversed direction.
This creates a natural alternation: high, low, high, low. Each pivot is validated by the market's actual behavior, not by waiting for an arbitrary number of bars to pass.
Why This Matters
Most pivot indicators use a "lookback" method โ they wait for a certain number of bars (say, 5 or 10) on each side of a candle before confirming it as a pivot. This creates a fixed delay. By the time the pivot appears on your chart, price has already moved on.
This indicator doesn't wait. It confirms pivots the moment price structure proves them. The result is pivots that align with how traders actually read charts โ based on breaks of structure, not arbitrary countdowns.
Settings
Swing Width: Controls how sensitive the detection is. Higher numbers show only major swings; lower numbers capture smaller moves within the structure.
Style/Size/Colors: Customize how the pivot markers look on your chart.
Use Cases
See the "skeleton" of price action at a glance
Identify potential support and resistance levels
Understand if the market is trending or ranging
Build a foundation for more advanced concepts like Break of Structure (BOS) and Change of Character (CHoCH)
โธป
Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and does not constitute a recommendation to buy or sell any financial instrument. Always do your own research and trade at your own risk.
LL-HL PivotThis indicator scans for the bullish structure known as a Higher Low (HL) across multiple lengths simultaneously, automatically selects the most suitable pattern, and plots it on the chart.
Below is a detailed explanation of how it works.
1. Basic Calculation Method (Definition of LL and HL)
This indicator is built on TradingViewโs ta.pivotlow function.
Detecting Pivot Lows
For a given length, a Pivot Low is identified as the lowest point among the candles within the specified range to the left and right.
LL and HL Determination
LL (Lowest Low): The most recent Pivot Low is treated as the previous low.
HL (Higher Low): When a new Pivot Low forms above the previous LL, it is recognized as an HL, and the setup is considered โcomplete.โ
Identifying the Pivot Line
During the LLโHL structure, the highest high between them is identified and used as the breakout level (Pivot Line / resistance), where a horizontal line is drawn.
2. Multi-Length Scanning
Unlike standard indicators that use only one length (e.g., Length = 5), this indicator evaluates a full range of lengths.
Min Length to Max Length
Example: Min = 2, Max = 10
Internally, it functions as if nine separate indicators (Length 2, 3, 4 โฆ 10) are running simultaneously.
This allows the indicator to capture:
Small waves (short-term pullbacks)
Larger waves (broader structural moves)
3. Priority Mode System
Because multiple lengths are calculated at the same time, different LLโHL patterns may appear simultaneously.Priority Mode determines which setup is selected and displayed.
A. Lowest LH
Selects the pattern with the lowest pivot line (intermediate high).
Advantages:
Produces the lowest possible entry price
B. Longest Length
Selects the pattern with the longest length.
Advantages:
Focuses on larger structures and broader waves
Filters out noise
C. Shortest Length
Selects the pattern with the shortest length.
Advantages:
Reacts quickly to small moves
Useful for scalping or fast trend-following
Captures very short-term pullbacks
4. Additional Behavior and Features
Real-Time Invalidation
If price breaks below the confirmed HL, the structure is immediately considered invalid.
All previously drawn lines and labels are removed instantly, preventing outdated structures from remaining on the chart.
Pivot Line Extension
As long as the HL remains intact, the Pivot Line (breakout level) continues extending to the right.
Alerts
An alert can be triggered the moment price breaks above the Pivot Line on a closing basis.






















