Volatility High/Low Projection (PHOD / PLOD)AP Capital – Volatility + High/Low Projection
This indicator is designed to identify high-probability intraday turning points by combining daily range statistics, session behaviour, and volatility context into a single clean framework.
It is built for index, forex, and metals traders who want structure, not noise.
🔹 Core Features
1️⃣ Potential High of Day (PHOD) & Potential Low of Day (PLOD)
The indicator highlights likely intraday extremes based on:
Session timing (Asia, London, New York)
Current day volatility vs historical averages
Prior day expansion or compression behaviour
Each level is displayed with:
A clear label (PHOD / PLOD)
A forward-extending box acting as a live Point of Interest (POI)
Automatic invalidation when price breaks the zone
2️⃣ Volatility & Range Context (Info Panel)
A compact information panel in the top-right corner provides real-time context without cluttering the chart:
20-Day Average Range
% of the average range already used today
Range status (NORMAL / EXHAUSTED)
Average session ranges for:
Asia
London
New York
This allows traders to immediately assess whether price is:
Early in the day with room to trend
Statistically stretched and prone to reversal
Over-extended where breakout chasing is risky
3️⃣ Session-Aware Logic
The model respects how markets behave across the trading day:
Asia favours accumulation and potential lows
London provides expansion
New York often delivers distribution or exhaustion
This prevents random high/low marking and focuses only on structurally meaningful levels.
🧠 How to Use
Use PHOD / PLOD boxes as reaction zones, not blind entries
Combine with your own confirmation (structure break, momentum, volume, EMA reclaim, etc.)
Avoid chasing trades when the Range Status = EXHAUSTED
Particularly effective on 15m – 1h timeframes
⚠️ Important Notes
This indicator does not repaint
It is contextual, not a buy/sell signal generator
Best used as part of a complete trading plan
📈 Suitable Markets
XAUUSD (Gold)
Indices (NASDAQ, S&P 500, DAX)
Major FX pairs
📌 Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice. Trading involves risk.
Supportandresistancezones
Visible Range / POC / Volume / SNR Detector PROVisible Range POC & Volume SNR Detector PRO
Visible Range POC & Volume SNR Detector PRO is a professional-grade volume-based market structure tool designed to identify institutional Support & Resistance zones, Point of Control (POC), and Value Areas directly from the visible chart range.
This indicator goes beyond traditional swing highs and lows by analyzing real traded volume, revealing where large players are active, where price finds fair value, and where high-probability reactions are most likely to occur.
🔍 Core Features
📊 Visible Range Volume Profile
🔹Builds a full Volume Profile using only the visible chart range
🔹Splits price into configurable precision bins for maximum accuracy
🔹Detects true volume clusters instead of subjective price levels
🎯 Point of Control (POC)
🔹 Automatically identifies the highest-volume price level
🔹Acts as a magnet price where market participants agree on value
🔹Fully customizable line style, width, and color
🔹 Optional label with timeframe + price + volume (K / M / B)
📦 Value Area (VAH / VAL)
* Calculates Value Area High & Low around the POC
* Default **70% volume range** (institutional standard)
* Optional Value Area fill for clear fair-value visualization
* Helps distinguish **range conditions vs trending moves**
🧱 Volume-Based Support & Resistance Zones
🔹Automatically detects high-impact S&R zones from volume behavior
🔹Zones are visually classified by strength:
🔹 🟢 Strong
🔹 🟡 Medium
🔹 🔴 Weak
🔹Clean box rendering with customizable borders:
🔹 Solid / Dashed / Dotted
🔹 Zones extend dynamically into the future for planning trades
🔄 Dynamic Flip Logic (PRO Standard)
🔹 Advanced Dynamic Flip system:
🔹 Support ➜ Resistance after a breakdown
🔹Resistance ➜ Support after a breakout
🔹 Reflects real market structure shifts
🔹Eliminates outdated static levels
🔁 True Retest & Zone Intelligence
🔹Each zone includes detailed contextual data:
🔹🔄 True Retest Count (price leaves zone and comes back)
🔹⏳ Zone Age (minutes / hours / days)
🔹💪 Strength Classification
🔹🔁 Flip Status
🔹⏱️ Timeframe
🔹💲 Exact price level
🔹All information is displayed in a single clean label.
🔔 Smart Alerts System
🔹Never miss key interactions:
🔹🟢 Touch Alert — price enters a zone
🔹⬇️⬆️ Break Alert — zone failure or breakout
🔹🔄 Retest Alert — classic break & retest setup
Alerts trigger on confirmed bars to reduce noise and false signals.
📋 Professional Dashboard
🔹At-a-glance market overview:
🔹Total Support & Resistance zones
🔹🎯 POC level
🔹📦 VA High / VA Low
🔹💪 Strong / Medium / Weak zone distribution
🔹📍 Nearest Support & Resistance
🔹📏 Distance to key levels
🔹 🎨 Auto / Dark / Light theme support
🔹 📐 Adjustable size & position
PivotX# PivotX - TradingView Description
## Title
PivotX - Exhaustion & Pivot Detection
## Description
**PivotX** is a powerful visual indicator that helps traders identify when major buying or selling pressure has exhausted and when significant market reversals are likely to occur. Think of it as your market "exhaustion detector" that spots the exact moments when one side of the market runs out of steam.
### What Does PivotX Do?
PivotX watches for three critical market conditions:
1. **Selling Exhaustion** - When sellers have pushed price down aggressively but can't push it lower anymore. This is when buyers step in and price often reverses upward.
2. **Buying Exhaustion** - When buyers have pushed price up aggressively but can't push it higher anymore. This is when sellers step in and price often reverses downward.
3. **Major Pivot Points** - Key price levels where the market has made significant turns, marking important support (bottoms) and resistance (tops).
### How It Works (Simple Explanation)
Imagine a tug-of-war between buyers and sellers:
- When sellers are winning (price dropping), PivotX watches for when they get tired
- When buyers are winning (price rising), PivotX watches for when they get tired
- When one side gets exhausted, the other side usually takes over - that's when reversals happen!
PivotX uses multiple signals to confirm exhaustion:
- Volume patterns (when trading activity slows down after a big move)
- Price stabilization (when price stops moving in one direction)
- Absorption patterns (when high volume doesn't move price much - someone is absorbing the pressure)
- Support/Resistance levels (when price bounces off key levels)
### Visual Signals
**Green X Markers** (Below Price)
- Appears when selling has exhausted
- Buyers are stepping in
- Potential upward reversal signal
**Red X Markers** (Above Price)
- Appears when buying has exhausted
- Sellers are stepping in
- Potential downward reversal signal
**Yellow Diamonds**
- Marks major pivot points (support/resistance)
- Shows where significant price turns occurred
- Helps identify key levels for future trades
**Neon Green/Red Lines**
- Support lines (green) - where price found a bottom
- Resistance lines (red) - where price found a top
- These levels often act as future support/resistance
### Best Use Cases
✅ **Swing Trading** - Catch reversals at major pivot points
✅ **Scalping** - Enter trades when exhaustion is confirmed
✅ **Trend Following** - Identify when trends are losing steam
✅ **Support/Resistance Trading** - Use pivot lines as key levels
✅ **Reversal Trading** - Enter counter-trend trades at exhaustion points
### Settings Explained
**Detection Settings:**
- **Lookback Period** - How many bars to analyze (default: 20)
- **Volume Threshold** - Minimum volume spike to consider (default: 1.5x average)
- **Exhaustion Periods** - Bars to check for exhaustion signals (default: 3)
- **Min Price Move %** - Minimum price movement to trigger analysis (default: 2%)
**Pivot Detection:**
- **Pivot Strength** - Bars on each side for pivot confirmation (default: 3)
- Higher = fewer but stronger pivots
- Lower = more but weaker pivots
**Visual Settings:**
- Toggle exhaustion markers, pivot points, and support/resistance lines
- Customize colors to match your chart theme
### Pro Tips
1. **Wait for Confirmation** - PivotX requires multiple signals before showing exhaustion. This reduces false signals but means you might miss some early entries.
2. **Combine with Price Action** - Use PivotX signals with candlestick patterns for stronger confirmation.
3. **Watch the Pivot Lines** - The support/resistance lines often act as key levels. Price bouncing off these lines can be strong reversal signals.
4. **Volume Matters** - The indicator is more reliable when volume patterns confirm the exhaustion signals.
5. **Timeframe Flexibility** - Works on all timeframes, but signals on higher timeframes (4H, Daily) tend to be more reliable.
### What Makes PivotX Unique?
Unlike simple pivot indicators, PivotX combines:
- Volume exhaustion analysis
- Price action confirmation
- Multi-signal validation
- Clean, non-intrusive visualization
- Automatic support/resistance line drawing
This multi-layered approach helps filter out noise and focus on high-probability reversal setups.
### Important Notes
⚠️ **Not Financial Advice** - This indicator is a tool, not a guarantee. Always use proper risk management.
⚠️ **No Indicator is Perfect** - PivotX helps identify potential reversals, but markets can be unpredictable. Always use stop losses.
⚠️ **Combine with Other Analysis** - For best results, use PivotX alongside other technical analysis tools and your trading strategy.
### Support
If you find PivotX helpful, please consider leaving a like and sharing your feedback. Your support helps improve the indicator for everyone!
---
**Happy Trading! 🚀**
*Remember: The best traders don't just follow signals - they understand what the signals mean and how to use them in their overall trading strategy.*
Dynamic Pivot PointDynamic Pivot Points
Description
Concept This script provides a comprehensive support and resistance system by calculating Dynamic Pivot Points based on a user-defined timeframe and lookback period. Unlike static pivot tools that only look at the previous candle, this indicator allows traders to customize the "Pivot Period" (defaulting to 5), offering a more flexible approach to identifying market structure across different resolutions.
How It Works The indicator calculates a central Pivot Point (P) alongside three levels of Support (S1, S2, S3) and three levels of Resistance (R1, R2, R3).
Calculation Logic: The central pivot is derived from the average price (High, Low, and Close) over the selected timeframe and period.
Support & Resistance: These levels are projected above and below the central pivot, calculated based on the volatility (price range) of the selected period.
Multi-Timeframe (DPP) Capability: The script allows you to view higher-timeframe levels (e.g., Weekly or Monthly) while trading on a lower-timeframe chart (e.g., 15-minute or 1-hour), ensuring you are always aware of the macro trend levels.
How to Use Traders can use this tool to identify potential reversal zones, breakout levels, and the general trend bias.
Trend Confirmation:
Bullish Bias: If the price is sustaining above the central Pivot Line (White), the market is generally considered to be in an uptrend.
Bearish Bias: If the price remains below the central Pivot Line, the market is likely in a downtrend.
Reversal Trading:
Support Levels (Green): Look for bullish reversal signals (such as hammer candles or divergence) near S1, S2, or S3. These are potential "Buy" zones.
Resistance Levels (Red): Look for bearish rejection signals near R1, R2, or R3. These are potential "Sell" zones.
Breakout Trading:
A strong volume push above Resistance (R1-R3) may indicate a bullish breakout.
A breakdown below Support (S1-S3) may signal a bearish continuation.
Settings
Pivot Timeframe: Select the specific resolution for the calculation (e.g., Daily, Weekly).
Defined Period: Adjust the lookback length for the calculation (Default: 5).
Visibility: Toggles to show/hide specific levels based on your chart cleanliness preference.
Note: This script does not guarantee future performance. Pivot points are lagging indicators derived from historical price action and should be used in conjunction with other forms of analysis.
VCAI BOS-Zone PROVCAI BOS-Zone PRO is a structure-driven order-block mapper that tracks swing highs/lows, detects Break of Structure (BOS), and automatically draws clean bullish and bearish OB zones with midlines and directional flags.
It provides a clear, rules-based map of where structural shifts occurred and where price may react on future retests.
What it does:
Uses configurable swing pivots to define structure.
A bullish BOS is triggered when price closes above the last swing high;
a bearish BOS when price closes below the last swing low.
After each BOS, the script finds the last opposite candle (bearish before a bullish BOS, bullish before a bearish BOS) and builds an order-block zone from that candle’s high/low.
Each zone is projected a fixed number of bars into the future, keeping charts clean and preventing zones from extending into the price scale.
Only the latest N bullish and N bearish zones are kept, so the chart focuses on the most relevant active levels.
How to read it:
Yellow boxes + BULL flags = bullish demand zones.
Purple boxes + BEAR flags = bearish supply zones.
The edges of each zone act as potential support/resistance.
Reactions inside a yellow zone suggest buy-side interest;
rejection at a purple zone suggests sell-side pressure.
Optional midlines mark the 50% level of each zone, commonly used for refined entries, mitigations, and partial management.
How traders typically use it:
BOS-Zone PRO does not generate buy/sell alerts, but many traders use the zones as part of a broader decision process:
Bullish zones are often monitored for long setups when price returns and shows strength or continuation.
Bearish zones are often monitored for short setups when price retests and shows rejection or weakness.
Midlines provide refined entry levels with clearer invalidation points.
This tool is best used as structural context alongside your own entry model, risk settings, and trade management.
Notes & best practices:
BOS is directional, not predictive — treat zones as context, not guaranteed reversals.
Works on all symbols and timeframes.
Lower swing settings capture local structure; higher settings focus on major breaks and cleaner OB's.
Ideal as a structural map for discretionary traders or as a component inside automated systems.
Part of the VCAI toolset.
We develop a range of market-structure, volume, trend and liquidity tools designed to work together or stand alone.
Intermarket Swing Projection [LuxAlgo]The Intermarket Swing Projection allows traders to plot price movement swings from any user-selected asset directly onto the chart in the form of zigzags and/or horizontal support and resistance levels.
This tool rescale the external asset price on the user chart, enabling traders to make direct comparisons.
It answers the question of how different the price behavior is between two assets, accounting for each asset's volatility.
🔶 USAGE
This tool is based on swing detection of two different assets: the chart and a user-selected asset. It allows traders to compare two assets on an equal footing while accounting for volatility and price behavior.
Traders can customize the detection by selecting a custom ticker, timeframe, the number of swings and length for swing detection. This makes the tool a Swiss army knife for asset comparison.
As we can see in the image below, the Show Last, Pivot Length, and Spread parameters are key to defining the final output of the tool.
"Show Last" defines how many pivots are displayed. "Pivot Length" is used for pivot detection; a larger value will detect larger market structures. "Spread" defines how far apart the horizontal levels will be from their original location in terms of volatility.
🔹 Comparing different assets
This image shows the Nasdaq 100 futures contract compared to four other futures contracts: S&P 500, gold, bitcoin, and euro/U.S. dollar.
Plotting all of these assets in Nasdaq 100 terms makes it easy to compare and analyze price behaviors and identify key levels.
In the top left chart, we have NQ vs. ES. It's no surprise that they are practically an exact match; a large portion of the S&P 500 is technology.
In the top right chart, NQ vs. GC, we see totally different behaviors. We can clearly see the summer consolidation in gold and the resumption of the uptrend, which took gold above 29,200 NQ points, up from 21,200.
In the bottom right chart, we see bitcoin making new highs, way above the Nasdaq in May, July, and October. However, the last high was way below the Nasdaq prices on October 27—the first lower high in a while. Sellers are pushing down.
Finally, the bottom left chart is NQ vs. 6E. We can see large volatility in the uptrend since February, with NQ unable to catch up until now. The last swing low was almost a match, and 6E is in a range.
As we can see, this tool allows us to perform intermarket analysis properly by accounting for each asset's volatility and price behavior. Then, we plot them on the same scale on equal terms, which makes performing this kind of analysis easy.
As we can see in the chart above, the assets are the same as in the previous image, but the timeframe is 1H with different settings.
Note the horizontal levels acting as support and resistance, as well as how NQ prices react to the zones marked with white circles. These levels are derived from custom assets selected by the user.
🔹 Displaying Elements
Zig-zag allows traders to clearly see the path that the selected asset's price took, as well as its turning points.
Horizontal levels are displayed from those turning points to the present and can be used as support or resistance. Traders can adjust the spread parameter in the settings panel to expand or contract those levels' volatility.
There are two color modes for the levels: average and pivots. In the first mode, green is used for levels below the average and red for levels above the average. The second uses green for swing lows and red for swing highs.
The backpaint feature is enabled by default and allows the swings to be displayed in the correct location. With this feature disabled, the swings will be displayed in the current location when a new swing is detected.
🔶 DETAILS
On a more technical note, the rescaling is formed by calculating three main elements from all the swings detected on the custom and chart assets:
The chart asset's average of all swing points
The chart asset's standard deviation of all swing points
The custom asset's z-score for each swing point
Then, the re-scaled swing point is calculated as the average plus the z-score multiplied by the standard deviation. This makes it possible to plot AAPL swings on an NQ chart, for example.
Thanks to re-scaling, we can directly compare the price behavior of two assets with different price ranges and volatility on the same chart.
🔶 SETTINGS
🔹 Trendlines
Ticker: Select the custom ticker.
Timeframe: Select a custom timeframe.
Show Last: Select how many swing points to display.
Pivot Length: Select the size for swing point detection.
Spread: Volatility multiplier for horizontal levels. Larger values mean the levels are farther apart.
Backpaint: Enable or disable the backpaint feature. When enabled, the drawings will be displayed where they were detected. When disabled, the drawings will be displayed at the moment of detection.
🔹 Style
Show ZigZag: Enable or disable the ZigZag display and choose a line style.
Show Levels: Enable or disable the levels display and choose a line style.
Color Mode: Choose between Average Mode, which colors all levels below the average bullish and all levels above bearish, and Pivot Mode, which colors swing highs bearish and swing lows bullish.
Bullish: Select a bullish color.
Bearish: Select a bearish color.
ZigZag: Select the ZigZag color.
KIMATIX S|R Zones Intra-SwingKIMATIX S|R Zones Intra-Swing is a higher-timeframe support–resistance engine designed to map the most important swing levels for intraday and swing traders.
The script scans Daily and 4H price action, detects wick-based swing highs and lows,
and converts them into clean S/R zones that project into the future.
Zones are color-coded by timeframe and by role (support or resistance),
giving you an instant visual map of where price is most likely to react.
When price breaks cleanly through a zone,
it dynamically flips (resistance → support or support → resistance),
so your levels always reflect the current market structure.
To avoid clutter, only the closest zones around current price are displayed – ideal for planning entries, targets, and stop placement.
Use it as a higher-timeframe roadmap and combine it with your intraday execution system for precise, high-confluence trades.
CK: Locked Session H/L + Volume Profile (1m Fixed)The session roadmap every futures trader needs — without the clutter.
This tool automatically locks the previous session’s structure and gives you the five most important institutional levels:
✅ Locked Session High
✅ Locked Session Low
✅ Session POC (Point of Control)
✅ VAH – Value Area High
✅ VAL – Value Area Low
Everything is calculated using 1-minute data only, so your levels are accurate, consistent, and never repaint.
💡 What It Does
Tracks the entire session from the RTH close to the next RTH close.
Builds a volume-by-price profile for that session.
Automatically freezes the session’s:
Highest price
Lowest price
Most-traded price (POC)
70% value area (VAH/VAL)
Plots all levels as clean horizontal lines for today’s trading.
🚀 Why Traders Use This
These 5 levels control most algorithmic and institutional activity.
This indicator shows you exactly where price reacted yesterday, so you can:
Catch retests and bounces with confidence
Avoid trading in the middle of nowhere
Anticipate reversals, breakouts, and liquidity grabs
Build a consistent plan around the same fixed levels every day
Box TheoryBox Theory – Description
This indicator is based on the popular “Box Theory” concept, where the previous session’s High–Low range acts as the most important structure for the next session.
Traders use this because the market often reacts to the same areas where liquidity, orders, and imbalances were created in the prior session.
At every new session open, the indicator automatically records:
Previous High
Previous Low
Middle (50% level)
These three levels form a box, which becomes your roadmap for the new session.
This method is widely used because it highlights where most reversals, sweeps, and reactions occur—without needing any extra indicators.
How the Zones Are Calculated
Previous High
The highest price of the last session.
This forms the top edge, which acts as resistance and the basis for the Sell Zone.
Previous Low
The lowest price of the last session.
This forms the bottom edge, acting as support and the basis for the Buy Zone.
Middle Line (50% Level)
The exact midpoint between High and Low.
This is the fair-value zone, where price often consolidates and becomes directionless.
No signals are triggered near the middle, because trades taken here historically have low accuracy.
Buy Zone (Green Area)
The lower part of the box.
Price often reacts here because this area held buyers in the previous session.
When price enters this green zone inside the box, the indicator can show a Buy Zone label.
Sell Zone (Red Area)
The upper part of the box.
Price commonly rejects here because this area acted as resistance previously.
When price enters this red zone inside the box, the indicator can show a Sell Zone label.
How Zone Size Is Set (Sensitivity %)
You can adjust how big the Buy/Sell zones are using the Sensitivity (%) input.
Lower % → Smaller zones → More precise signals
Higher % → Larger zones → Signals appear earlier and from farther away
Formula:
Zone Size = (Previous High − Previous Low) × (Sensitivity % ÷ 100)
This lets you customize how tight or how early your signals appear.
Inside-Box Only Logic
The indicator only works inside the previous session’s range.
If price breaks above the previous High → No sell signal
If price breaks below the previous Low → No buy signal
This avoids false signals during breakouts or trending markets.
Alerts
The indicator includes two alerts:
Buy Zone Alert → Triggers when price enters the Buy Zone
Sell Zone Alert → Triggers when price enters the Sell Zone
Just enable them in TradingView’s alert panel.
Market Analysis Pro [Trademy]OVERVIEW
Trademy Market Analysis Pro is a professional-grade trading system that combines advanced momentum analysis with institutional-level Supply/Demand zone mapping. This indicator is designed to provide crystal-clear market analysis with precise risk management tools, creating a complete trading framework within a single, streamlined interface.
Unlike complex indicators that overwhelm traders with information, Trademy focuses on what matters: high-probability setups with clear entry points, defined risk levels, and multiple profit targets. The system is built to eliminate guesswork and provide actionable signals that work across multiple timeframes and asset classes eg: ( INDEX:BTCUSD , NASDAQ:NVDA and more )
CORE CONCEPTS
Advanced Momentum Engine: The foundation of Trademy Market Analysis Pro is a proprietary momentum detection system that identifies true directional shifts in the market. The algorithm analyzes price behavior relative to volatility-adjusted dynamic levels, generating signals only when genuine momentum reversals occur. The "Signal Sensitivity" control allows you to adapt the system from conservative (fewer, higher-quality signals) to aggressive (more frequent opportunities) based on your trading style and market conditions.
Institutional Supply/Demand Zones: The system automatically identifies and plots key institutional levels where significant buying (Demand) or selling (Supply) pressure has occurred. These zones are calculated using advanced price structure analysis, filtered through intelligent overlap detection to ensure only the most relevant zones appear on your chart. When price approaches these levels, they often act as strong support or resistance, providing logical areas for entries and exits.
Intelligent Signal Classification: Not all signals are created equal. Trademy categorizes every signal as either "Normal" or "Strong" based on its alignment with the broader market structure and trend context. Strong signals represent higher-conviction setups where momentum and trend align perfectly, while normal signals indicate counter-trend or early reversal opportunities.
Non-Repainting Architecture: Every signal is locked in at bar close (when enabled), and all TP/SL levels are calculated using volatility measurements captured at the moment of signal generation.
KEY FEATURES
Precision Signal System
Dual Signal Modes: Choose between Normal signals (standard momentum reversals) or Strong signals (high-conviction trend-aligned setups), or view both simultaneously
Wait for Bar Close: Optional no-repaint mode ensures signals only appear after candle confirmation
Visual Signal Hierarchy: Normal signals shown with standard arrows (▲/▼), Strong signals marked with distinctive colors for instant recognition
Adjustable Arrow Sizes: Customize signal display from tiny to large based on your chart preferences
Professional Risk Management
Automated TP/SL Calculation: Three take-profit levels (TP1, TP2, TP3) and one stop-loss level automatically calculated using advanced volatility measurement
Fixed Risk Levels: TP/SL lines are locked at signal generation and never move—providing consistent, reliable risk parameters
Visual Risk Zones: Optional colored zones highlight your risk and reward areas for instant position assessment
Adjustable Risk Multiplier: Scale your targets up or down with a single parameter while maintaining proper risk-reward ratios
Clear On-Chart Labels: Every level displays exact price values in an easy-to-read format
Supply/Demand Zone Mapping
Automatic Zone Detection: System identifies high-probability supply and demand zones using advanced price structure analysis
Anti-Overlap Algorithm: Intelligent filtering prevents zone clutter by removing overlapping levels
Extended Zone Projection: Zones extend into the future, showing you key levels before price reaches them
Break-of-Structure Tracking: Monitors when zones are broken and removes invalidated levels
Fully Customizable: Adjust zone colors, swing length, history depth, and box width to match your analysis style
Visual Customization
Flexible Color Schemes: Customize colors for bull/bear signals, TP/SL levels, and supply/demand zones
Trend Background: Optional background coloring to instantly visualize the current market bias
Support/Resistance Lines: Toggle automatic S/R level plotting from key price pivots
Multiple Arrow Sizes: Choose from tiny, small, normal, or large signal arrows
WHAT MAKES TRADEMY MARKET ANALYSIS PRO DIFFERENT
✅ Simplicity Meets Power
✅ TP/SL Levels
✅ Institutional Zone Integration
✅ Universal Indicator for all markets
✅ Multi-Timeframe Flexibility
BEST PRACTICES
📌 Always Use Stop-Loss: Enable the TP/SL system and respect your stop-loss levels,risk management is key to long-term success
📌 Backtest First: Before live trading, replay historical charts to understand signal behavior on your specific asset and timeframe
📌 Combine Timeframes: Use higher timeframe signals as your bias, enter on lower timeframe signals in the same direction
📌 Watch the Zones: Highest probability setups occur when signals align with supply/demand zones (buy near demand, sell near supply)
📌 Don't Chase: If you miss a signal, wait for the next one,forcing trades leads to losses
📌 Partial Profits: Consider taking partial profits at TP1, moving stop to breakeven, and letting the rest run to TP2/TP3
📩 ACCESS & SUPPORT
This is an invite-only indicator. For access inquiries, please contact via TradingView private message.
Important Disclaimers:
This indicator is a tool for technical analysis and does not constitute financial advice
Past performance does not guarantee future results
Always practice proper risk management and never risk more than you can afford to lose
Trading carries substantial risk of loss and is not suitable for all investors
Institutional Trend & Liquidity Nexus [Pro]Concept & Methodology
The core philosophy of this script is "Confluence Filtering." It does not simply overlay indicators; it forces them to work together. A signal is only valid if it aligns with the macro trend and liquidity structure.
Key Components:
Trend Engine: Uses a combination of EMA (7/21) for fast entries and SMA (200) for macro trend direction. The script includes a logical filter that invalidates Buy signals below the SMA 200 to prevent counter-trend trading.
Liquidity Imbalance (FVG): Automatically detects Fair Value Gaps to identify areas where price is likely to react. Unlike standalone FVG scripts, this module is visually optimized to show support/resistance zones without obscuring price action.
Smart Confluence Zones (Originality):
The script calculates a background "State" based on multiple factors.
Bullish Zone (Green Background): Triggers ONLY when Price > SMA 200 AND RSI > 50 AND Price > Baseline EMA.
Bearish Zone (Red Background): Triggers ONLY when Price < SMA 200 AND RSI < 50 AND Price < Baseline EMA.
This visual aid helps traders stay out of choppy markets and only focus when momentum and trend are aligned.
█ How to Use
Entry: Wait for a "Triangle" signal (Buy/Sell).
Validation: Check the Background Color. Is it highlighting a Confluence Zone?
Example: A Buy Signal inside a Green Confluence Zone is a high-probability setup.
Example: A Buy Signal with no background color suggests weak momentum and should be taken with caution.
Targets: Use the plotted FVG boxes as potential take-profit targets or re-entry zones.
Price Action Strategy v2.0 [Ista]💎 Overview
Price Action Strategy v2.0 is a comprehensive, all-in-one institutional trading toolkit designed for visual traders who demand precision. Unlike standard indicators, this tool focuses on the narrative of price by combining advanced Market Structure, Institutional Order Flow, and Predictive Analytics into a single, non-cluttered interface.
The core philosophy of this script is "Clean Precision". It filters out noise and presents only the most critical decision-making data via smart chart overlays and a state-of-the-art Analytic Dashboard.
🚀 Key Features
1. 🏛️ Institutional Order Blocks (Origin Scan Engine)
This is not a standard pivot-based OB indicator. We utilize a proprietary "Origin Scan" algorithm that:
Detects the exact origin candle responsible for a structural break (BOS).
Filters out weak blocks, keeping only the most significant institutional footprints.
Smart Management: Limits active blocks to the 3 most recent per side (Support/Resistance) to keep charts clean.
Ghost Mode: When an Order Block is broken, it doesn't just disappear; it turns into a faint "Ghost" level, allowing you to see historical reactions without visual clutter.
2. 🔮 Echo Forecast (Predictive Path)
A powerful forecasting engine based on Pattern Similarity:
Scans historical price action (Evaluation Window) to find patterns mathematically similar to the current market state.
Projects the most likely future path (Forecast Window) directly onto the chart.
Uses a cumulative calculation method to smooth out noise and provide a realistic trajectory.
Visual Coding: The forecast line thickens and changes color based on the Confidence Score (Correlation %). High confidence patterns (>80%) are highlighted in deep green.
3. 📊 ISTA Command Center (Analytic Dashboard)
A professional, compact, and right-aligned dashboard that acts as your trading HUD. It monitors 8 vital market vitals in real-time:
Market Structure: Real-time Swing trend direction.
HTF Trend: Higher Timeframe bias (Price Action based).
Momentum: Current & HTF RSI status (Overbought/Oversold).
MACD: Signal crossover status.
Smart Money Flow (MFI): Detects institutional accumulation/distribution.
Volatility (ATR%): Current market volatility percentage.
Forecast Confidence: The statistical reliability of the current Echo Forecast.
4. 📉 Dynamic EMAs
Includes three key moving averages (20, 200, 1440) with dynamic transparency logic. They fade into the background when not interacting with price, ensuring they are there when you need them but invisible when you don't.
🛠️ How to Use
Identify Trend: Look at the Dashboard. If Structure and HTF Trend align (e.g., both Bullish), look for longs.
Wait for Pullback: Wait for price to return to a Bullish Order Block.
Confirm: Check the Forecast line. Does it suggest a bounce? Check MFI and RSI on the dashboard for oversold conditions.
Execute: Use the Order Block edges for precise entry and invalidation points.
⚙️ Settings
Swing Length: Adjust sensitivity of the structure (Default: 10).
Evaluation Window: How far back the Echo Forecast looks for patterns (Default: 300).
Dashboard: Fully customizable position and size.
Developed by Soheil_kheiri | Ista Web Analytics
Range Lattice## RangeLattice
RangeLattice constructs a higher-timeframe scaffolding on any intraday chart, locking in structural highs/lows, mid/quarter grids, VWAP confluence, and live acceptance/break analytics. It provides a non-repainting overlay that turns range management into a disciplined process.
HOW IT WORKS
Structure Harvesting – Using request.security() , the script samples highs/lows from a user-selected timeframe (default 240 minutes) over a configurable lookback to establish the dominant range.
Grid Construction – Midpoint and quarter levels are derived mathematically, mirroring how institutional traders map distribution/accumulation zones.
Acceptance Detection – Consecutive closes inside the range flip an acceptance flag and darken the cloud, signaling balanced auction conditions.
Break Confirmation – Multi-bar closes outside the structure raise break labels and alerts, filtering the countless fake-outs that plague breakout traders.
VWAP Fan Overlay – Session VWAP plus ATR-based bands provide a live measure of flow centering relative to the lattice.
HOW TO USE IT
Range Plays : Fade taps of the outer rails only when acceptance is active and VWAP sits inside the grid—this is where mean-reversion works best.
Breakout Plays : Wait for confirmed break labels before entering expansion trades; the dashboard's Width/ATR metric tells you if the expansion has enough fuel.
Market Prep : Carry the same lattice from pre-market into regular trading hours by keeping the structure timeframe fixed; alerts keep you notified even when managing multiple tickers.
VISUAL FEATURES
Range Tap and Mid Pivot markers provide a tape-reading breadcrumb trail for journaling.
Cloud fill opacity tightens when acceptance persists, visually signaling balance compressions ready to break.
Dashboard displays absolute width, ATR-normalized width, and current state (Balanced vs Transitional) so you can glance across charts quickly.
Acceptance Flag toggle: Keep the repeated acceptance squares hidden until you need to audit balance.
PARAMETERS
Structure Timeframe (default: 240): Choose the timeframe whose ranges matter most (4H for indices, Daily for stocks).
Structure Lookback (default: 60): Bars sampled on the structure timeframe.
Acceptance Bars (default: 8): How many consecutive bars inside the range confirm balance.
Break Confirmation Bars (default: 3): Bars required outside the range to validate a breakout.
ATR Reference (default: 14): ATR period for width normalization.
Show Midpoint Grid (default: enabled): Display the midpoint and quarter levels.
Show Adaptive VWAP Fan (default: enabled): Toggle the VWAP channel for assets where volume distribution matters most.
Show Acceptance Flags (default: disabled): Turn the acceptance markers on/off for maximum visual control.
Show Range Dashboard (default: enabled): Disable if screen space is limited, re-enable during prep sessions.
ALERTS
The indicator includes five alert conditions:
Range High Tap: Price interacted with the RangeLattice high
Range Low Tap: Price interacted with the RangeLattice low
Range Mid Tap: Price interacted with the RangeLattice mid
Range Break Up: Confirmed upside breakout
Range Break Down: Confirmed downside breakout
Where it works best
This indicator works best on liquid instruments with clear structural levels. On very low timeframes (1-minute and below), the structure may update too frequently to be useful. The acceptance/break confirmation system requires patience—faster traders may find the multi-bar confirmation too slow for scalping. The VWAP fan is session-based and resets daily, which may not suit all trading styles.
Direction via Zone Break [by rukich]🟠 OVERVIEW
The indicator shows the direction of movement and zones: SSL, BSL, FVG.
Zones serve as support/resistance and as validation/invalidation of a movement reversal.
🟠 COMPONENTS
The direction of movement is built based on a three-candle swing high (BSL) and swing low (SSL) pattern. If swing high (BSL) and swing low (SSL) are formed, and then an internal swing high/low is formed (depending on the direction of movement), then in case the initial movement continues — for example, in an upward movement — the new swing low (SSL) will be the minimum before the update, i.e., the internal low, while the swing high (BSL) will be formed according to the three-candle pattern.
A change of direction is considered when a candle closes beyond the key swing high/low (BSL/SSL), depending on the direction of movement. For example, in an upward movement, a break occurs when a candle closes beyond the swing low (SSL). After that, the swing high (BSL) will be the nearest fractal (swing high), and the swing low (SSL) will be formed according to the three-candle pattern.
All the above logic also applies to downward movements.
Within each movement, there can be FVG zones, which can act as support/resistance or indicate weakness in the movement direction.
Note: if the movement is upward, only bullish FVG+ will be displayed; if the movement is downward, only bearish FVG- will be displayed.
Weakness of movement direction.
For example, consider an upward impulse with the nearest FVG+ zone. If the price closes beyond the lower boundary of the zone, it will be considered invalidated (inv. FVG-), which in turn indicates weakness in the movement direction and a possible local short, which may subsequently lead to a break of the entire movement.
🟠 HOW TO USE
There are only two visual settings in the configuration:
Show previous SSL/BSL – enables/disables the display of all previous SSL/BSL zones
Show Bullish/Bearish trend – enables/disables background shading between SSL and BSL for visual understanding of the movement direction
On the chart, the following are displayed:
Labels with current SSL/BSL
FVG+- / inv. FVG+- zones, for trading in the movement direction
In case the nearest FVG is invalidated, a label will appear with the text: Weak bullish/bearish & local short/long (this is not a signal, but only indicates the probability of a potential move based on the weakness of the nearest zone)
🟠 CONCLUSION
The indicator helps determine the current movement with zones for trading in the direction, and also indicates movement weakness through invalidation of the nearest zones.
FluxPulse Beacon## FluxPulse Beacon
FluxPulse Beacon applies a microstructure lens to every bar, combining directional thrust, realized volatility, and multi-timeframe liquidity checks to decide whether the tape is being pushed by real sponsorship or just noise. The oscillator's color-coded columns and adaptive burst thresholds transform complex flow dynamics into a single actionable flux score for futures and equities traders.
HOW IT WORKS
Momentum Extraction – Price differentials over a configurable pulse distance are smoothed using exponential moving averages to isolate directional thrust without reacting to single prints.
Volatility + Liquidity Normalization – The momentum stream is divided by realized volatility and multiplied by both local and higher-timeframe EMA volume ratios, ensuring pulses only appear when volatility and liquidity align.
Adaptive Thresholding – A volatility-derived standard deviation of flux is blended with the base threshold so bursts scale automatically between low-volatility and high-volatility market conditions.
Divergence Engine – Linear regression slopes compare price vs. flux to tag bullish/bearish divergences, highlighting stealth accumulation or distribution zones.
HOW TO USE IT
Continuation Entries : Go with the trend when histogram bars stay above the adaptive threshold, the signal line confirms, and trend bias agrees—this is where liquidity-backed follow-through lives.
Fade Plays : Watch for divergence alerts and shrinking compression values; when flux prints below zero yet price grinds higher, hidden selling pressure often precedes rollovers.
Session Filter : Compression percentage in the diagnostics table instantly tells you whether to trade thin overnight sessions—low compression means stand down.
VISUAL FEATURES
Dynamic background heat maps flux magnitude, while threshold lines provide a quick read on whether a pulse is statistically significant.
Diagnostics table displays live flux, signal, adaptive threshold, and compression for quick reference.
Alert-first workflow: The surface is intentionally clean—bursts and divergences are delivered via alerts instead of on-chart clutter.
PARAMETERS
Trend EMA Length (default: 34): Defines the macro bias anchor; increase for higher-timeframe confirmation.
Pulse Distance (default: 8): Controls how sensitive momentum extraction becomes.
Volatility Window (default: 21): Sample window for realized volatility normalization.
Liquidity Window (default: 55): Volume smoothing window that proxies liquidity expansion.
Liquidity Reference TF (default: 60): Select a higher timeframe to cross-check whether current volume matches institutional flows.
Adaptive Threshold (default: enabled): Disable for fixed thresholds on slower markets; enable for high-volatility assets.
Base Burst Threshold (default: 1.25): Minimum flux magnitude that qualifies as an actionable pulse.
ALERTS
The indicator includes four alert conditions:
Bull Burst: Detects upside liquidity pulses
Bear Burst: Detects downside liquidity pulses
Bull Divergence: Flags bullish delta divergence
Bear Divergence: Flags bearish delta divergence
LIMITATIONS
This indicator is designed for liquid futures and equity markets. Performance may degrade in low-volume or highly illiquid instruments. The adaptive threshold system works best on timeframes where sufficient volatility history exists (typically 15-minute charts and above). Divergence signals are probabilistic and should be confirmed with price action.
INSERT_CHART_SNAPSHOT_URL_HERE
---
## RangeLattice Mapper
RangeLattice Mapper constructs a higher-timeframe scaffolding on any intraday chart, locking in structural highs/lows, mid/quarter grids, VWAP confluence, and live acceptance/break analytics. It provides a non-repainting overlay that turns range management into a disciplined process.
HOW IT WORKS
Structure Harvesting – Using request.security() , the script samples highs/lows from a user-selected timeframe (default 240 minutes) over a configurable lookback to establish the dominant range.
Grid Construction – Midpoint and quarter levels are derived mathematically, mirroring how institutional traders map distribution/accumulation zones.
Acceptance Detection – Consecutive closes inside the range flip an acceptance flag and darken the cloud, signaling balanced auction conditions.
Break Confirmation – Multi-bar closes outside the structure raise break labels and alerts, filtering the countless fake-outs that plague breakout traders.
VWAP Fan Overlay – Session VWAP plus ATR-based bands provide a live measure of flow centering relative to the lattice.
HOW TO USE IT
Range Plays : Fade taps of the outer rails only when acceptance is active and VWAP sits inside the grid—this is where mean-reversion works best.
Breakout Plays : Wait for confirmed break labels before entering expansion trades; the dashboard's Width/ATR metric tells you if the expansion has enough fuel.
Market Prep : Carry the same lattice from pre-market into regular trading hours by keeping the structure timeframe fixed; alerts keep you notified even when managing multiple tickers.
VISUAL FEATURES
Range Tap and Mid Pivot markers provide a tape-reading breadcrumb trail for journaling.
Cloud fill opacity tightens when acceptance persists, visually signaling balance compressions ready to break.
Dashboard displays absolute width, ATR-normalized width, and current state (Balanced vs Transitional) so you can glance across charts quickly.
Acceptance Flag toggle: Keep the repeated acceptance squares hidden until you need to audit balance.
PARAMETERS
Structure Timeframe (default: 240): Choose the timeframe whose ranges matter most (4H for indices, Daily for stocks).
Structure Lookback (default: 60): Bars sampled on the structure timeframe.
Acceptance Bars (default: 8): How many consecutive bars inside the range confirm balance.
Break Confirmation Bars (default: 3): Bars required outside the range to validate a breakout.
ATR Reference (default: 14): ATR period for width normalization.
Show Midpoint Grid (default: enabled): Display the midpoint and quarter levels.
Show Adaptive VWAP Fan (default: enabled): Toggle the VWAP channel for assets where volume distribution matters most.
Show Acceptance Flags (default: disabled): Turn the acceptance markers on/off for maximum visual control.
Show Range Dashboard (default: enabled): Disable if screen space is limited, re-enable during prep sessions.
ALERTS
The indicator includes five alert conditions:
Range High Tap: Price interacted with the RangeLattice high
Range Low Tap: Price interacted with the RangeLattice low
Range Mid Tap: Price interacted with the RangeLattice mid
Range Break Up: Confirmed upside breakout
Range Break Down: Confirmed downside breakout
LIMITATIONS
This indicator works best on liquid instruments with clear structural levels. On very low timeframes (1-minute and below), the structure may update too frequently to be useful. The acceptance/break confirmation system requires patience—faster traders may find the multi-bar confirmation too slow for scalping. The VWAP fan is session-based and resets daily, which may not suit all trading styles.
---
Hash Pivot DetectorHash Pivot Detector
Professional Support & Resistance Detection with Multi-Timeframe Zone Analysis
Developed by Hash Capital Research, the Hash Pivot Detector is a sophisticated indicator designed for identifying key support and resistance levels using pivot-based detection with institutional-grade zone analysis.
Key Features
Zone-Based Detection
Unlike traditional single-line S/R indicators, Hash Pivot Detector uses configurable zones around pivot levels to represent realistic institutional order areas. Adjustable zone width accommodates different asset volatilities.
Multi-Timeframe Analysis
Displays higher timeframe support/resistance levels alongside current timeframe pivots, providing crucial context for institutional positioning and stronger price barriers.
Clean Visual Design
Features Hash Capital's signature fluorescent color scheme (pink resistance, cyan support) optimized for dark charts with high contrast and instant visual recognition. Semi-transparent zones keep your chart clean and readable.
How It Works
The indicator uses pivot high/low detection with configurable left and right bar parameters. When a pivot is confirmed, it plots:
Primary support/resistance lines at pivot levels
Semi-transparent zones representing realistic order areas
Higher timeframe S/R levels as crosses for additional context
Recommended Settings
For Swing Trading:
Pivot Bars: 10-20 left/right
Zone Width: 0.5-1.0%
HTF: Daily (on 1H-4H charts)
For Intraday Trading:
Pivot Bars: 5-10 left/right
Zone Width: 0.3-0.5%
HTF: 1H or 4H (on 5min-15min charts)
Asset-Specific Zone Width:
Forex/Crypto: 0.3-0.5%
Stocks: 0.5-1.0%
Volatile Assets: 1.0-2.0%
What Makes It Different
✓ Zone-based approach (more realistic than lines)
✓ Multi-timeframe confluence detection
✓ Minimal visual clutter with maximum information
✓ Professional institutional aesthetic
✓ Comprehensive tooltips for easy optimization
✓ No repainting - all pivots are confirmed
Best Used For
Identifying high-probability entry/exit zones
Setting stop-loss and take-profit levels
Recognizing breakout/breakdown areas
Multi-timeframe confluence analysis
Swing trading and position trading
Intraday scalping with adjusted parameters
Notes
Works on all timeframes and markets
Fully customizable colors and parameters
All settings include detailed optimization guidance
Clean code, efficient performance
No alerts or notifications (visual analysis only)
RVol based Support & Resistance ZonesDescription:
This indicator is designed to help traders identify significant price levels based on institutional volume. It monitors two higher timeframes (defined by the user) simultaneously. When a candle on these higher timeframes exhibits unusually high volume—known as high Relative Volume (RVol)—the indicator automatically draws a "Zone of Interest" box on your current chart.
These zones are defined by:
Up candle : from candle open to low of candle
Down candle : from candle open to high of candle
Key Features:
Multi-Timeframe Monitoring: You can trade on a lower timeframe (e.g., 5-minute) while the indicator monitors the 30-minute and 1-hour charts for volume spikes.
RVol Boxes: Automatically draws boxes extending from high-volume candles.
Up Candles: Box covers Low to Open.
Down Candles: Box covers High to Open.
Live Dashboard: A neat, color-coded table displays the current Volume, Average Volume, and RVol percentage for your watched timeframes.
Real-Time vs. Confirmed: Choose whether to see boxes appear immediately as volume spikes (Live) or only after the candle has closed and confirmed the volume (Candle Close).
Settings Guide:
1. General Settings
Relative Volume Length: The number of past candles used to calculate the "Average Volume." (Default is 20).
Max Days Back to Draw: To keep your chart clean, this limits how far back in history the script looks for high-volume zones. (e.g., set to 5 to only see zones created in the last 5 days).
Draw Mode:
- Live (Real-time): Draws the box immediately if the current developing candle hits the volume threshold. (Note: The box may disappear if the volume average shifts before the candle closes).
- Candle Close: The box only appears once the candle has finished and permanently confirmed the volume spike.
2. Table Settings
Show Info Table: Toggles the dashboard on or off.
Text Size & Position: Customise where the table appears on your screen and how large the text is.
Colours: Fully customisable colours for the Table Header (Top row) and Data Rows (Bottom rows).
3. Timeframe 1 & 2 Settings
You have two identical sections to configure two different timeframes (e.g., 30m and 1H).
Timeframe: The chart interval to monitor (e.g., "30" for 30 minutes, "60" for 1 Hour, "240" for 4 Hours).
Threshold %: The "Trigger" for drawing a box based on relative candle volume in that timeframe.
Example:
100% = Candle Volume is equal to the average volume for the specified timeframe.
200% = Candle Volume is 2x the average volume for the specified timeframe.
300% = Candle Volume is 3x the average volume for the specified timeframe.
Box & Edge Colour: Distinct colours for each timeframe so you can easily tell which timeframe created the zone.
Multi-Tool VWAP + EMAs (Multi-Timeframe) + Key LevelsDescription
This indicator combines several commonly used technical analysis tools into a single script, especially useful for traders using the free version of TradingView or anyone looking to reduce the number of indicators on their chart.
The goal is to provide clear visual references for trend, structure, and key levels—without generating buy/sell signals or automated trading functions.
Included Features
1. VWAP (session-anchored)
Source: HLC3
Purple line, thickness 2
Useful as a reference for daily institutional average price.
2. EMAs of the current timeframe
EMA 200 (red, thickness 3)
EMA 9 (green, thickness 1)
These EMAs help visualize long-term trend and short-term momentum.
3. Dynamic EMAs (MTF – Multi-Timeframe)
The indicator displays the 200 EMA from higher timeframes as dynamic horizontal levels:
5 minutes
15 minutes
30 minutes
1 hour
4 hours
1 day
Each level includes a descriptive label such as “15 min EMA 200”.
These EMAs serve as reference points for potential support/resistance areas coming from higher timeframes.
4. Automatic Key Levels
The indicator plots several important price levels:
Previous day:
PDH (Previous Day High)
PDL (Previous Day Low)
Previous Day 50% Fibonacci level
Pre-market (04:00–09:30 exchange time):
PMH (Pre-Market High)
PML (Pre-Market Low)
Current session:
Open (session opening price)
Previous Close (prior day’s closing price)
Purpose and Scope
This script is designed to provide basic visual reference points to support discretionary analysis.
It does not generate signals or trading suggestions, and it is not intended to predict future price movements.
How to Use It
Enable or disable each block in the Inputs section according to your analysis style.
Observe how the levels, EMAs, and VWAP interact with market structure.
Use it as a visual complement to your personal technical analysis.
Limitations
This indicator is not a trading system and does not guarantee results.
It does not include alerts, backtesting, or entry/exit logic.
Some values (such as PMH/PML) depend on the symbol’s exchange trading hours.
Credits
Designed as an educational and analytical tool for traders seeking to simplify their charts without losing key information.
SMC Statistical Liquidity Walls [PhenLabs]📊 SMC Statistical Liquidity Walls
Version: PineScript™ v6
📌 Description
The SMC Statistical Liquidity Walls indicator is designed to visualize market volatility and potential reversal zones using advanced statistical modeling. Unlike traditional Bollinger Bands that use simple lines, this script utilizes an “Inverted Sigmoid” opacity function to create a “fog of war” effect. This visualizes the density of liquidity: the further price moves from the equilibrium (mean), the “harder” the liquidity wall becomes.
This tool solves the problem of over-trading in low-probability areas. By automatically mapping “Premium” (Resistance) and “Discount” (Support) zones based on Standard Deviation (SD), traders can instantly see when price is overextended. The result is a clean, intuitive overlay that helps you identify high-probability mean reversion setups without cluttering your chart with manual drawings.
🚀 Points of Innovation
Inverted Sigmoid Logic: A custom mathematical function maps Standard Deviation to opacity, creating a realistic “wall” density effect rather than linear gradients.
Dynamic “Solidity”: The indicator is transparent at the center (Equilibrium) and becomes visually solid at the edges, mimicking physical resistance.
Separated Directional Bias: distinct Red (Premium) and Green (Discount) coding helps SMC traders instantly recognize expensive vs. cheap pricing.
Smart “Safe” Deviation: Includes fallback logic to handle calculation errors if deviation hits zero, ensuring the indicator never crashes during data gaps.
🔧 Core Components
Basis Calculation: Uses a Simple Moving Average (SMA) to determine the market’s equilibrium point.
Standard Deviation Zones: Calculates 1SD, 2SD, and 3SD levels to define the statistical extremes of price action.
Sigmoid Alpha Calculation: Converts the SD distance into a transparency value (0-100) to drive the visual gradient.
🔥 Key Features
Automated Premium/Discount Zones: Red zones indicate overbought (Premium) areas; Green zones indicate oversold (Discount) areas.
Customizable Density: Users can adjust the “Steepness” and “Midpoint” of the sigmoid curve to control how fast the walls become solid.
Integrated Alerts: Built-in alert conditions trigger when price hits the “Solid” wall (2SD or higher), perfect for automated trading or notifications.
Visual Clarity: The center of the chart remains clear (high transparency) to keep focus on price action where it matters most.
🎨 Visualization
Equilibrium Line: A gray line representing the mean price.
Gradient Fills: The space between bands fills with color that increases in opacity as it moves outward.
Premium Wall: Upper zones fade from transparent red to solid red.
Discount Wall: Lower zones fade from transparent green to solid green.
📖 Usage Guidelines
Range Period: Default 20. Controls the lookback period for the SMA and Standard Deviation calculation.
Source: Default Close. The price data used for calculations.
Center Transparency: Default 100 (Clear). Controls how transparent the middle of the chart is.
Edge Transparency: Default 45 (Solid). Controls the opacity of the outermost liquidity wall.
Wall Steepness: Default 2.5. Adjusts how aggressively the gradient transitions from clear to solid.
Wall Start Point: Default 1.5 SD. The deviation level where the gradient shift begins to accelerate.
✅ Best Use Cases
Mean Reversion Trading: Enter trades when price hits the solid 2SD or 3SD wall and shows rejection wicks.
Take Profit Targets: Use the Equilibrium (Gray Line) as a logical first target for reversal trades.
Trend Filtering: Do not initiate new long positions when price is deep inside the Red (Premium) wall.
⚠️ Limitations
Lagging Nature: As a statistical tool based on Moving Averages, the walls react to past price data and may lag during sudden volatility spikes.
Trending Markets: In strong parabolic trends, price can “ride” the bands for extended periods; mean reversion should be used with caution in these conditions.
💡 What Makes This Unique
Physics-Based Visualization: We treat liquidity as a physical barrier that gets denser the deeper you push, rather than just a static line on a chart.
🔬 How It Works
Step 1: The script calculates the mean (SMA) and the Standard Deviation (SD) of the source price.
Step 2: It defines three zones above and below the mean (1SD, 2SD, 3SD).
Step 3: The custom `get_inverted_sigmoid` function calculates an Alpha (transparency) value based on the SD distance.
Step 4: Plot fills are colored dynamically, creating a seamless gradient that hardens at the extremes to visualize the “Liquidity Wall.”
💡 Note
For best results, combine this indicator with Price Action confirmation (such as pin bars or engulfing candles) when price touches the solid walls.
Signal Algo - Elephant EdgeDescription
Signal Algo - Advance Elephant Edge is a rule-based, intraday detection system that combines candle-pattern logic with session-driven support and resistance zones. creating a clean confluence-based signal that removes noise.
This tool is designed for traders who prefer structured rules over subjective drawing, and want clear, event-driven alerts without unrealistic promises or over-optimized behavior.
What This Script Does (Short & Simple)
1. Hammer-Type Candle Detection
The script looks for long-wick hammer or inverted hammer candles using your wick-ratio setting. It also checks candle size, body size, and doji conditions so that only clean and meaningful rejection candles are highlighted.
2. Session-Based Percentile Support & Resistance
The indicator calculates percentile levels from previous sessions and plots up to four upper and lower S/R lines around the daily open. These levels act as dynamic zones where price often reacts.
3. Optional Strike-Price Zones
For symbols that move around round numbers or strike intervals, the script can draw strike-based S/R lines (like 50 or 100 points) You can choose solid or dotted lines and select how many zones to show.
4.Higher-Timeframe Trend Background
A light green or red background shows the overall trend direction. Green = bullish bias, Red = bearish bias.
🔶 USAGE & EXAMPLES Elephant Support & Resistance
Elephant Support & Resistance creates intraday support and resistance levels using percentile data from previous sessions. Instead of drawing lines manually, calculates how far price usually moves above and below previous sessions. and then plots those levels automatically.
Each percentile pair (Level 1–4) gives one upper line and one lower line. These lines represent price zones where the market has reacted many times in the past. When price reaches these levels, it often pauses, reverses, or shows rejection candles.
🔶USAGE & EXAMPLES Strike Price Support & Resistance
Strike Price Zones are plotted because most markets naturally react around fixed strike levels. Every index, stock, or international market has its own commonly traded strike prices. These levels attract large traders and institutions, who often build positions around them.
When price moves toward one of these strike levels, big players frequently defend or reject that zone. As a result, price may pause, reverse, or show strong reactions at or near these strikes.
Because of this behavior, Strike Price Zones work as practical intraday support and resistance levels. They help traders see where important reactions can occur, where momentum may slow down, and where potential reversals may form.
These zones are not buy/sell signals by themselves, but they provide a simple, objective roadmap of key levels that the market respects during the session.
🔷 FEATURES
1. Hammer-Based Rejection Signals
2. Candle Size Filtering
3. Elephant Percentile Support & Resistance
4. Strike Price Support & Resistance Zones
5. Combined Confluence Logic
6. Higher-Timeframe Trend Background
7. Clean Visual Layout
8. Yellow Highlight Candle
9. Intraday Session Handling
10. Built-In Alerts
11. Fully Customizable Inputs
12. Lightweight & Rule-Driven Design
🔴 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by Signal Algo are purely for informational & educational purposes only. Past performance does not guarantee future results.
Discipline Box Trader — by chaitu50cDiscipline Box Trader — by chaitu50c is a rule-based price action tool built around alternating candle structures.
For each session, the indicator detects FIRST key alternating zone, marks it as a gray “Discipline Box”, and then tracks how price breaks and rotates through that zone with clear green/red segments.
The idea is simple:
The script continuously looks for alternating candle sequences:
Red → Green → Red → Green …
or
Green → Red → Green → Red …
When the sequence reaches your minimum required length (Min candles in alternate combo), it:
Finds the highest high and lowest low of that entire alternation combo.
Draws a gray rectangular box from the start of the combo to its end.
This gray region is named the “Discipline Box”.
After this Discipline Box is created:
Upside breakout → close > box high
Downside breakout → close < box low
For example if, Upside Breakout → Green Regime Segment
The gray box is visually closed at the previous bar.
A new green box segment starts from the breakout bar.
Box fill, border, and center line all turn green.
This green segment extends to the right until another breakout flips the regime.
There is a small visible gap between the gray box and the new coloured segment, clearly showing where the breakout actually occurred.
Within the same session, price may:
Break up → green segment.
Later break down through the same band → red segment.
Possibly flip again.
All of this happens inside the one original Discipline Box, giving a clean visual map of who is in control now without creating new zones.
Reset Mode
None
No automatic reset; box can persist across all data.
New Day
At each new trading day:
Current box and center line are closed.
All internal counters reset.
A completely fresh Discipline Box can form for the new day.
Gap Minutes
If time between candles exceeds Gap Threshold (minutes):
Treat this as a session break.
Close the current box and restart detection after the gap.
This ensures clarity and separation between sessions and prevents overlapping “old” structure from dominating new market conditions.
Trading Framework: 2 Trades per Discipline Box
⚠️ This is not financial advice. This is a structured usage idea to support discipline.
A suggested trading framework to pair with this indicator:
Trade 1 — First Breakout Trade
Wait for the first body-based breakout from the Discipline Box:
Upside breakout → consider a single long trade.
Downside breakout → consider a single short trade.
Use the box high, low, and midline as reference points for:
Stop placement, partial exits, or risk-reward zones.
Trade 2 — Opposite Regime Flip
If price later breaks the opposite side of the same box:
Consider exactly one more trade in the new direction (a failed breakout / reversal play).
Example: green regime first, later broken down into red → potential short trade.
After these maximum 2 trades per Discipline Box, you can:
Skip additional trades inside that session’s structure.
Wait patiently for the next session and next Discipline Box to form.
This hard rule helps avoid over-trading, revenge trades, and emotional interference — staying faithful to the “Discipline” theme.
The indicator has a built-in alert condition: Discipline Box Detected
Triggers Whenever a new gray Discipline Box is created (i.e., the first valid alternation zone for that session).
Practical Notes & Disclaimer
The indicator does not tell you when to buy or sell; it simply:
Marks a disciplined structure zone.
Shows live regime shifts (green/red).
Supports a clear “max 2 trades per box” framework.
Use on a demo first, adapt to your style, and always remember:
Your discipline matters more than the indicator.
HTF Candle overlayOverview
This Pine Script indicator overlays three separate Mini Charts onto the right side of your main chart area. These mini charts display price action from Higher Timeframes (HTF), allowing traders to monitor multi-timeframe market structure and trends without switching screens. Each mini chart is overlaid with up to 5 customizable EMA (Exponential Moving Average) Clouds.
Key Features
1. Three Independent Mini Charts
Users can select three distinct higher timeframes (e.g., 1 Hour, 4 Hours, 1 Day).
The script automatically checks to ensure the selected timeframe is higher than the current chart's timeframe.
Displays up to 10 historical candles per mini chart (limited to optimize Pine Script drawing resources).
2. Smart Data Handling (RTH vs. ETH)
Daily, Weekly, Monthly: For timeframes of 1 Day or higher, the script forces Regular Trading Hours (RTH) data. This ensures daily candles look standard and aren't distorted by pre/post-market low volume ticks.
Intraday (e.g., 1H, 4H): For timeframes below 1 Day, the script uses Extended Trading Hours (ETH) data, ensuring you see the full picture of pre-market and after-hours moves.
Ticker Cleaning: The script automatically sanitizes ticker IDs to prevent "Symbol Resolve Errors" when used on charts with complex session settings.
3. Comprehensive EMA Clouds
5 Customizable Clouds: Each mini chart can display up to 5 different EMA Clouds (pairs of Short and Long Moving Averages).
Full Color Control: Users can individually customize:
Line Colors: Distinct colors for Short and Long EMA lines.
Cloud Fill: Distinct colors and transparency for Bullish and Bearish trends.
Toggle Visibility: Each of the 5 clouds can be turned On or Off via settings.
Source Selection: Users can calculate EMAs based on Close, Open, High, Low, HL2, HLC3, or OHLC4.
4. Custom Visuals & Positioning
Candle Aesthetics: Users can define Bull/Bear candle colors, transparency, and Candle Width (thickness).
Positioning:
Horizontal Offset: Shift the entire dashboard left or right to avoid overlapping with current price action.
Spacing: Adjust the gap between the three mini charts.
Assistance Lines: Optional Support/Resistance lines (Fibonacci or Range High/Low) can be drawn extending from the mini charts.
How it Works (Technical Summary)
The script utilizes request.security to fetch OHLC data and Moving Average data from the specified higher timeframes. It stores this data in Matrices and Arrays to manage history. It then uses Pine Script's line.new and label.new functions to manually draw the candles and EMA lines onto the main chart canvas, relative to the current bar_index. It includes logic to handle dynamic array resizing and garbage collection to stay within Pine Script's execution limits.
Momentum Market Structure ProThis first indicator in the Beyond Market Structure Suite gives you clear market structure at a glance, with adaptive support & resistance zones. It's the only SMC-style indicator built from momentum highs & lows, as far as I know. It creates dynamic support & resistance zones that change strength and resize intelligently, and gives you timely alerts when price bounces from support/rejects from resistance.
You’re free to use the provided entry and exit signals as a ready-to-use, self-contained strategy, or plug its structure into your existing system to sharpen your edge :
• Market structure bias may help improve a compatible system's win rate by taking longs only in bullish bias and shorts in bearish structure.
• Support/resistance can help trend traders identify inflection points, and help range traders define ranges.
🟩 HIGHLIGHTS
⭐ Unique market structure with different characteristics than purely price-based models.
⭐ Support and resistance created from only the extreme levels.
⭐ Support & resistance zones adapt to remain relevant. Zones are deactivated when they become too weak.
⭐ Long and short signals for a bounce from support/rejection from resistance.
🟩 WHY "MARKET STRUCTURE FIRST, ALWAYS"?
"There is only one side to the stock market; and it is not the bull side or the bear side, but the right side." — Jesse Livermore, Reminiscences of a Stock Operator (1923)
If the market is structurally against your trade, you're gonna have a bad time. So you must know what the market structure is before you plan your trade. The more precise and relevant your definition of market structure, the better.
🟩 HOW TO TRADE USING THIS INDICATOR (SIMPLE)
• Directional filter : The prevailing bias background can be used for any kind of trades you want to take. For example, you can long a bounce from support in a bullish market structure bias, or short a rejection from resistance in bearish bias.
• Entries : For more conservative entries, you could wait for a Candle Trend flip after a reaction from your chosen zone (see below for more about Candle Trend).
• Stops : The included running stop-loss level based on Average True Range (ATR) can be used for a stop-loss — set the desired multiplier, and use the level from the bar where you enter your trade.
• Take-profit : Similarly, you can set a Risk:Return-based take-profit target. Support and resistance zones can also be used as full or partial take-profit targets.
See the Advanced section below for more ideas.
🟩 SIGNALS
⭐ ENTRIES
You can enable signals and alerts for bounces from support and rejections from resistance (you'll get more signals using Adaptive mode). You can filter these by requiring corresponding market structure bias (it uses the bias you've already set for the background), and by requiring that Candle Trend confirm the move.
I've slipped in my all-time favourite creation to this indicator: Candle Trend. When price makes a Simple Low pivot, the trend flips bullish. When price then makes a Simple High pivot, the trend flips bearish (see my Market Structure library for a full explanation). This tool is so simple, yet I haven't noticed it anywhere else. It shows short-term trends beautifully. I use it mainly as confirmation of a move. You can use it to confirm ANY kind of move, but here we use it for bounces from support/rejections from resistance.
Note that the pivots and Zigzags are structure, not signals.
⭐ STOPS
You can use the supplied running ATR-based stop level to find a stop-loss level that suits your trading style. Set the desired multiplier, and use the level from the bar where you enter your trade.
⭐ TAKE-PROFIT
Similarly, you can set a take-profit target based on Risk:Return (R:R). If this setting is enabled, the indicator calculates the distance between the closing price and your configured stop, then multiplies that by the configured R:R factor to calculate an appropriate take-profit level. Note that while the stop line is reasonably smooth, the take-profit line varies much more, reflecting the fact that if price has moved away from your stop, the trade requires a greater move in order to hit a given R:R ratio.
Since the indicator doesn't know where you were actually able to enter a position, add a ray using the drawing tool and set an alert if you want to be notified when price reaches your stop or target.
🟩 WHAT'S UNIQUE ABOUT THIS INDICATOR
⭐ MOMENTUM PIVOTS
Almost all market structure indicators use simple Williams fractals. A very small number incorporate momentum, either as a filter or to actually derive the highs and lows. However, of those that derive pivots from momentum, I'm not aware of any that then create full market structure from it.
⭐ SUPPORT & RESISTANCE
Some other indicators also adjust S/R zones after creation, some use volume in zone creation, some increase strength for overlap, a few merge zones together, and many use price interactions to classify zones. But my implementation differs from others, as far as I can tell after looking at many many indicators, in seven specific ways:
+ Zones are *created* from purely high-momentum pivots, not derived or filtered from simple Williams pivots (e.g. `ta.pivothigh()`).
+ Zones are *weakened* dynamically as well as strengthened. Many people know that S/R gets stronger if price rejects from it, but this is only half the story. Different price patterns strengthen *or weaken* zones.
+ We use *conviction-weighted candle patterns* to adjust strength. Not simply +1 for price touching the zone, but a set of single-bar and multi-bar patterns which all have different effects.
+ The rolling strength adjustments are all *moderated by volume*. The *relative volume* forms a part of each adjustment pattern. Some of our patterns reward strong volume, some punish it.
+ We do our own candle modelling, and the adjustment patterns take this into account.
+ We *resize* zones as a result of certain candle patterns ("indecision erodes, conviction defends").
+ We shrink overlapping zones to their sum *and* add their strengths.
🟩 HOW TO TRADE USING THIS INDICATOR (ADVANCED)
In addition to the ideas in the How to Trade Using This indicator (Simple) section above, here are some more ideas.
You can use the market structure:
• As a bias for entries given by more reactive momentum resets, or indeed other indicators and systems.
• You could use a change in market structure to close a long-running trend-following position.
You can use the distance from a potential entry to the CHoCH line as a filter to choose higher-potential trades in ranging assets.
Confluence between market structure and your favourite trend indicator can be powerful.
Multi timeframe analysis
This is a bit of a rabbit hole, but you could use a split screen with this indicator on a higher timeframe (HTF) view of the same asset:
• If the 1D structure turns bullish, the next time that the 1H structure also flips bullish might be a good entry.
• Rejection from a HTF zone, confirmed by lower timeframe (LTF) structure, could be a good entry.
None of this is advice. You need to master your own system, and especially know your own strengths and weaknesses, in order to be a successful trader. An indicator, no matter how cool, is not going to one-shot that process for you.
In Adaptive mode, a skillful trader will be able to spot more opportunities to classify and use support and resistance than any algorithm, including mine, now that they've been automatically drawn for you.
If you are doing historical analysis, note that the "Calculated bars" setting is set to a reasonably small number by default, which helps performance. Either increase this number (setting to zero means "use all the bars"), or use Bar Replay to examine further back in the chart's history. If you encounter errors or slow loading, reduce this number.
🟩 SUPPORT & RESISTANCE
A support zone is an area where price is more likely to bounce, and a resistance zone is an area where price is more likely to reject. Marking these zones up on the chart is extremely helpful, but time-consuming. We create them automatically from only high-momentum areas, to cut noise and highlight the zones we consider most important.
In Simple mode, we simply mark S/R zones from momentum and Implied pivots. We don't update them, just deactivate them if price closes beyond them. Use this mode if you're interested in only recent levels.
In Adaptive mode, zones persist after they're traversed. Once the zones are created, we adjust them based on how price and volume interact with them. We display stronger zones with more opaque fills, and weaker zones with more transparent fills. To calculate strength, we first preprocess candles to take into account gaps between candles, because price movement after market is just as important in its own way. The preprocessing also redefines what constitutes upper and lower wicks, so as to better account for order flow and commitment. We use these modelled candle values, as well as their relative amplitude historically, rather than the raw OHLC for all calculations for interactions of price and zones. It's important to understand, when trying to figure out why the indicator strengthened or weakened a zone, that it sees fundamental price action in a different way to what is shown on standard chart candles (and in a way that can't easily be represented accurately on chart candles).
Then, we strengthen or weaken , and resize support and resistance zones dynamically using different formulas for different events, based on principles including these:
• The close is the market's "vote", the momentum shift anchor.
• Defended penetrations reveal validated liquidity clusters.
• Markets contract to defended levels.
• "The wick is the fakeout, but the close tells you if institutions held the level." — ICT (Inner Circle Trader)
Adaptive mode is more powerful, but you might need to tweak some of the Advanced Support & Resistance settings to get a comfortable number of zones on the chart.
🟩 MOMENTUM PIVOTS
The building blocks of market structure are Highs and Lows — places where price hits a temporary extreme and reverses. All the indicators I could find that create full market structure do so from basic price pivots — Williams fractals, being the highest/lowest candle wick for N candles backwards and forwards (there are some notable first attempts on TradingView to use momentum to define pivots, but no full structure). "Highest/lowest out of N bars" is the almost universal method, but it also picks up somewhat arbitrary price movements. Recognising this, programmers and traders often use longer lookbacks to focus on the more significant Highs and Lows. This removes some noise, but can also remove detail.
My indicator uses a completely different way of thinking about High and Low pivots. A High is where *momentum* peaks and falls back, and a low is where it dips and then recovers. While this is happening, we record the extremes in price, and use those prices as the High or Low pivot zones.
This deliberately picks out different, more meaningful pivots than any purely price-based approach, helping you focus on the swings that matter. By design, it also ignores some stray wicks and other price action that doesn't reflect significant momentum. Price action "purists" might not like this at first, but remember, ultimately we want to trade this. Check and see which levels the market later respects. It's very often not simply the numerically higher/lower local maxima and minima, but the levels that held meaning, interpreted here through momentum.
The first-release version uses the humble Stochastic as the structural momentum metric. Yes, I know — it's overlooked by most people, but that's because they're using it wrong. Stochastic is a full-range oscillator with medium excursions, unlike RSI, say, which is a creeping oscillator with reluctant resets. This makes Stoch (at the default period of 14) not quite reactive enough for on-the-ball momentum reset entry signals, but close to perfect (no metric is 100%) for structural pivots.
Stochastic is also a solid choice for structure because divergences are rare and not usually very far away in terms of price. More reactive momentum metrics such as Stochastic RSI produce very noisy structure that would take a whole extra layer of interpreting (see Further Research, below).
For these reasons, I may or may not add other options for momentum. In the initial release, I've added smoothed RSI as an alternative just to show it's possible, which takes even longer than Stochastic to migrate from one extreme to another, creating an interesting, longer-term structure.
🟩 IMPLIED PIVOTS
We want pivots to mark important price levels so that we can compute market direction and support & resistance zones from them.
In this context, we see that some momentum metrics, and Stochastic in particular, tend to give multiple consecutive resets in the same direction. In other words, we get High followed by High, or Low followed by Low, which does not give us the chance to create properly detailed structure. To remedy this, we simply take the most extreme price action between two same-direction pivots, and create an Implied pivot out of it, after the second same-direction pivot is created.
Obviously these pivots are created very late. Recalling why we wanted them, we realise that this is fine. By definition , price has not exceeded the Implied Pivot level when they're created. So they show us an interesting level that is yet untested.
Implied Pivots are thus created indirectly by momentum but defined directly by price. They are for structure only. We choose not to give them a Dow type (HH, HL, LH, LL) and not to include them in the Main Zigzag to emphasise their secondary nature. However, Implied Pivots are not "internal" or "minor" pivots. There is no such concept in the current Momentum Market Structure model.
If you want less responsive, more long-term structure, you can turn Implied Pivots off.
🟩 DOW STRUCTURE
Dow structure is the simplest form of market structure — Higher Highs (HHs) and Higher Lows (HLs) is an uptrend (showing buyer dominance), and vice-versa for a downtrend.
We label all Momentum (not Implied) Pivots with their Dow qualifier. You can also choose to display the background bias according to the Dow trend.
There is an input option to enable a "Ranging" Dow state, which happens when you get Lower Highs in an uptrend or Higher Lows in a downtrend.
🟩 SMC-STYLE STRUCTURE (BOS, CHOCH)
The ideas of trend continuation after taking out prior highs/lows and looking for early signs of possible reversal go back to Dow and Wyckoff, but have been popularised by SMC as Break Of Structure (BOS) and Change of Character (CHoCH).
BOS can be used as a trigger: for example:
• Wait for a bullish break of structure
• Then attempt to buy the pullback
• Cancel if structure breaks bearish (meaning, we get a bearish CHoCH break)
How to buy the pullback? This is the trillion-dollar question. First, you need solid structure. Without structure, you got nothin'. Then, you want some identified levels where price might bounce from.
If only we incorporated intelligent support and resistance into this very indicator 😍
Creating and maintaining correct BOS and CHoCH continuously , without resetting arbitrarily when conditions get difficult, is technically challenging. I believe I've created an implementation of this structure that is at least as solid as any other available.
In general, BOS is fully momentum‑pivot‑driven; CHoCH is anchored to momentum pivots but maintained mainly by raw price extremes relative to those anchors (breaks are obviously pure price). This means that the exact levels will sometimes differ from your previous favourite market structure indicator.
We have made some assumptions here which may or may not match any one person's understanding of the "correct" way to do things, including: BOS is not reset on wicks because, for us, if price cannot close beyond the BOS there is no BOS break, therefore the previous wick level is still important. The candidate for CHoCH on opposing CHoCH break *is* reset on a wick, because we want to be sure to overcome the leftover liquidity at that new extreme before calling a Change of Character. The CHoCH is moved on a BOS break. For a bullish BOS break, the new CHoCH is the lowest price *since the last momentum pivot was confirmed, creating the BOS that just broke*, and vice-versa for bearish. If there's a stray wick before that, which doesn't shift momentum, we don't care about it.
🟩 ZIGZAG
The Major Swing Zigzag dynamically connects momentum highs and lows (e.g., from a Higher Low to the latest Higher High), adjusting as new extremes form to reveal the overall trend leg.
The Implied Structure Zigzag joins momentum pivots and Implied pivots, if enabled.
🟩 REPAINTING
It's really important to understand two things before asking "Does it repaint?":
1. ALL structure indicators repaint, in the sense of drawing things into the past or notifying you of things that happened in past bars, because by definition, structure needs some kind of confirmation, which takes at least one bar, usually several. This is normal.
2. Almost all indicators of ANY kind repaint in that they display unconfirmed values until the current bar closes. This is also normal.
Most features of this indicator repaint in the ordinary, intended ways described above: the pivots (Implied doubly so), BOS and CHoCH lines, and formation of S/R zones.
The Zigzags, by design, adjust themselves to new pivots. The active lines often change and attach themselves to new anchors. This is a form of repainting. It's important to note that the Zigzags are not signals. They're there to help visualise market structure, and structure does change. Therefore, I prioritised clearly explaining what price did rather than preserving its history.
One of the "bad" kinds of repainting is if a signal is printed when the bar closes, but then on a later bar that "confirmed" signal changes. This is a fundamental issue with some high timeframe implementations. It's bad because you might already have entered a trade and now the indicator is pretending that it never signalled it for you. My indicators do not do this (in fact I wrote an entire library to help other authors avoid this).
If you are ever in any doubt, play with an indicator in Bar Replay mode to see exactly what it does.
To understand repainting, see the official docs: www.tradingview.com
🟩 FURTHER RESEARCH
I've attempted to answer two of the tricky problems in technical analysis in Pine: how to do robust and responsive market structure, and how to maintain support and resistance zones once created. However, this just opens up more possibilities. Which momentum metrics are suitable for structure? Can more reactive metrics be used, and how do we account for divergences in a structural model based on key horizontal levels? Which sets of rules give the best results for maintaining support and resistance? Does the market have a long or a short memory? Is bar decay a natural law or a coping mechanism?
🟩 CREDITS
❤️ I'd like to thank my humble trading mentor, whose brilliant ideas inspire me to garble out code. Thanks are also due to @Timeframe_Titans for guidance on the finer points of market structure (all mistakes and distortions are my own), and to @NJPorthos for feedback and encouragement during the months in the wilderness.
สคริปต์แบบชำระเงิน






















