High Probability Order Blocks [AlgoAlpha]🟠 OVERVIEW
This script detects and visualizes high-probability order blocks by combining a volatility-based z-score trigger with a statistical survival model inspired by Kaplan-Meier estimation. It builds and manages bullish and bearish order blocks dynamically on the chart, displays live survival probabilities per block, and plots optional rejection signals. What makes this tool unique is its use of historical mitigation behavior to estimate and plot how likely each zone is to persist, offering traders a probabilistic perspective on order block strength—something rarely seen in retail indicators.
🟠 CONCEPTS
Order blocks are regions of strong institutional interest, often marked by large imbalances between buying and selling. This script identifies those areas using z-score thresholds on directional distance (up or down candles), detecting statistically significant moves that signal potential smart money footprints. A bullish block is drawn when a strong up-move (zUp > 4) follows a down candle, and vice versa for bearish blocks. Over time, each block is evaluated: if price “mitigates” it (i.e., closes cleanly past the opposite side and confirmed with a 1 bar delay), it’s considered resolved and logged. These resolved blocks then inform a Kaplan-Meier-like survival curve, estimating the likelihood that future blocks of a given age will remain unbroken. The indicator then draws a probability curve for each side (bull/bear), updating it in real time.
🟠 FEATURES
Live label inside each block showing survival probability or “N.E.D.” if insufficient data.
Kaplan-Meier survival curves drawn directly on the chart to show estimated strength decay.
Rejection markers (▲ ▼) if price bounces cleanly off an active order block.
Alerts for zone creation and rejection signals, supporting rule-based trading workflows.
🟠 USAGE
Read the label inside each block for Age | Survival% (or N.E.D. if there aren’t enough samples yet); higher survival % suggests blocks of that age have historically lasted longer.
Use the right-side survival curves to gauge how probability decays with age for bull vs bear blocks, and align entries with the side showing stronger survival at current age.
Treat ▲ (bullish rejection) and ▼ (bearish rejection) as optional confluence when price tests a boundary and fails to break.
Turn on alerts for “Bullish Zone Created,” “Bearish Zone Created,” and rejection signals so you don’t need to watch constantly.
If your chart gets crowded, enable Prevent Overlap ; tune Max Box Age to your timeframe; and adjust KM Training Window / Minimum Samples to trade off responsiveness vs stability.
Supportandresistancezones
The Quasar Strategy Magic LevelsThis indicator plots key market levels that remain valid from 4:00pm New York close until the next day’s 4:00pm close.
The core logic combines:
A custom Goldbach-inspired range,
Circuit breaker percentages,
And hidden PO3 overlays.
These levels often act as magnets, targets, and later as support or resistance zones.
The central line of the whole range is what I call “the restaurant” — a strong attraction point where prices tend to gravitate, especially after the 9:30 a.m. opening.
Since these levels are based on a certain fixed price in a %, they will change over time. Then I will updated the indicator.
Use these levels as a confluence with your own trading strategy for entries and exits.
session Zone Hunter 🚀 | Session + Ignition + LiquidityTitle: session Zone Hunter | Session + Ignition + Liquidity
Description:
1. Indicator Philosophy and Originality
This indicator is an integrated trading framework designed to analyze market behavior through the lens of trading sessions and high-probability liquidity zones. The core philosophy is that the most significant trading opportunities arise from the interplay between session context and liquidity events.
The originality of this script lies in its synergistic combination of two distinct but complementary modules:
A Session Analysis Engine: This module defines the temporal context, identifying the high, low, and behavioral characteristics (e.g., Trend, Consolidation) of each trading session.
An Ignition Zone Module: This module identifies potent supply and demand zones created by "explosive" price moves, which often signal institutional intent.
By overlaying these two analyses, a trader can answer critical questions that are not possible by using separate indicators: "Did this 'Ignition' demand zone form at the low of the London session?" or "Is the price currently consolidating near the high of the Asian session, preparing for a liquidity grab?" This fusion of "when" (session context) and "where" (liquidity zones) provides a unique and powerful analytical edge.
2. Module 1: Session Analysis
This is the foundational layer of the indicator, providing a structured view of the market based on the major trading sessions (Asia, Europe, US).
Session Boxes & Timing: The script automatically draws colored boxes for each session based on user-defined start and end times (in UTC minutes). It also includes a countdown table showing the time left in the current session and when the next one begins.
Session Behavior Analysis: At the close of each session, the indicator analyzes the price action within that session and classifies its behavior into one of four categories:
Trend Up/Down: Characterized by a strong directional move and a large price range.
Consolidation: Characterized by a tight, non-directional price range.
Manipulation: Characterized by significant wicks on both sides of the candle body, suggesting a battle between buyers and sellers with no clear winner.
Range: Any behavior that doesn't fit the above criteria.
Closing Price Bias: In addition to the overall behavior, the indicator analyzes where the session's price closed relative to its range (e.g., "Strong Bullish Close" if it closes in the top 40% of its range). This provides insight into the final sentiment of the session.
Session Edge Traps (Liquidity Grabs): This sub-module identifies potential liquidity grabs. It triggers a "Sell Trap" alert if price creates a new session high but the candle body is bearish, and a "Buy Trap" if price creates a new session low but the candle body is bullish. These signals can be filtered to only appear near the edges of the session range.
3. Module 2: Ignition Alert Zones (Supply & Demand)
This is an independent, embedded module designed to detect high-probability supply and demand zones based on the concept of "Ignition" candles.
Zone Creation Logic: A zone is identified when a "boring" (low momentum) candle is followed by an "explosive" (high momentum) candle.
Boring Candle: A candle where the total length of the wicks is greater than the body size by a user-defined ratio.
Explosive Candle: A candle with a strong directional body that is significantly larger than the preceding "boring" candle's body.
A bullish (Demand) zone is created from the high/low of the boring candle that precedes an explosive up-move. A bearish (Supply) zone is created from the boring candle preceding an explosive down-move.
Zone Management:
Non-Repaint & Close-Only Checks: The logic is designed to be non-repainting by confirming signals only on bar close.
Overlap Policy: To maintain chart clarity, the indicator has a built-in policy to handle overlapping zones, either by keeping the most "Current" zone or using a "Strict" policy that prevents any overlap.
Zone Lifecycle: Zones can be configured to be automatically deleted after being filled, broken, or after a certain number of bars have passed (aging). They can also be set to "dim" (become more transparent) after the first price touch.
Comprehensive Alerts: A full suite of alerts is available for every event in a zone's life, including: New Zone Created, Zone Filled, First Retest, Any Touch, and Zone Break/Invalidation.
By combining these two powerful modules, the Session Zone Hunter aims to provide traders with a complete system for identifying high-probability setups based on session dynamics and institutional liquidity footprints
ZoneRadar by Chaitu50cZoneRadar
ZoneRadar is a tool designed to detect and visualize hidden buy or sell pressures in the market. Using a Z-Score based imbalance model, it identifies areas where buyers or sellers step in with strong momentum and highlights them as dynamic supply and demand zones.
How It Works
Z-Score Imbalance : Calculates statistical deviations in order flow (bull vs. bear pressure).
Buy & Sell Triggers: Detects when imbalances cross predefined thresholds.
Smart Zones: Marks potential buy (green) or sell (red) zones directly on your chart.
Auto-Merge & Clean: Overlapping or noisy zones are automatically merged to keep the chart clean.
History Control: Keeps only the most recent and strongest zones for focus.
Key Features
Customizable Z-Score level and lookback period
Cooldown filter to avoid over-signaling
Smart zone merging to prevent clutter
Adjustable price tolerance for merging overlapping zones (ticks)
Extend zones into the future with right extensions
Fully customizable colors and display settings
Alert conditions for Buy Pressure and Sell Pressure
Why ZoneRadar?
Simplifies complex order flow into clear, tradable zones
Helps identify high-probability reversal or continuation levels
Avoids noise by keeping only the cleanest zones
Works across any timeframe or market (stocks, futures, forex, crypto)
Disclaimer
This tool is designed for educational and informational purposes only. It does not provide financial advice. Always test on demo and combine with your own trading strategy.
MTF MidpointsOverview :
The MTF Midpoints indicator provides comprehensive multi-timeframe analysis by displaying mid points that act as support / resistance. It also comes with the ability to view trend strength across multiple timeframes.
Key Features :
1) Multi-Timeframe Support -
- 1 Minute, 5 Minute, 15 Minute, 1 Hour, and 4 Hour timeframes.
- Each timeframe displays its calculated midpoint level.
- Toggle individual timeframes on/off as needed.
2) Dynamic Trend Calculation
- Calculates trend direction based on configurable lookback period (default: 30 bars).
- Identifies swing highs and lows to determine trend changes.
- Computes midpoint levels as the average between current swing high and low.
- Tracks price action relative to midpoint to gauge trend strength.
3) Visual Elements -
- Colored Lines : Each timeframe displays as a distinct colored line.
- Fill Areas : Main timeframe shows colored fills above and below midpoint.
- Info Table : Real-time summary of all timeframe data with trend percentages.
4) Customization Options -
- Colors : Individual color settings for each timeframe.
- Display : Adjustable line width, label sizes, and positioning.
- Labels : Toggle price display in labels, customize text color and size.
- Info Table: Configurable info table with trend strength indicators.
How It Works :-
The indicator uses a proprietary algorithm that:
1. Monitors price action over a specified lookback period.
2. Identifies trend direction changes based on new highs/lows.
3. Calculates dynamic support/resistance levels (midpoints).
4. Tracks closes above/below midpoint to determine trend bias.
5. Displays trend strength as a percentage in both table and candle colors.
Trading Applications :-
- Confluence Analysis : Identify where multiple timeframe midpoints align.
- Support/Resistance : Use midpoints as dynamic S/R levels.
- Trend Assessment : Gauge trend strength across different timeframes.
- Entry/Exit Points : Look for price reactions at key midpoint levels.
- Risk Management : Use midpoints to set stop losses and profit targets.
Disclaimer :
This indicator is for educational and analysis purposes. It does not constitute financial advice. Always conduct your own research and consider your risk tolerance before making trading decisions. Past performance does not guarantee future results.
Machine Learning-Inspired Supply & Demand Zones [AlgoPoint]This indicator is a Smart Supply & Demand Zone tool, developed with principles inspired by Machine Learning (ML). It intelligently filters out market noise, allowing you to focus only on the most significant zones where institutional order flow is likely present.
💡 How It Works: Why Is This Indicator "Smart"?
Unlike traditional indicators that only measure simple price movements, this script uses an algorithm that asks the same critical questions an experienced market analyst would to qualify a zone:
- 1. Price Imbalance: How fast and aggressively did the price leave the zone? Our algorithm measures the body size of the "departure candle" relative to the current market volatility (ATR). A zone is only considered if it was formed by an explosive move that is statistically significant, indicating a major imbalance between buyers and sellers.
- 2. Volume Confirmation: Did the "smart money" participate in this move? The script checks if the volume on the departure candle was significantly higher than the recent average volume. A spike in volume confirms that the move was backed by institutional interest, adding strength and validity to the zone.
- 3. Valid Pivot Structure: Did the zone originate from a meaningful swing high or low? The algorithm first identifies a valid pivot structure, ensuring that zones are not drawn from insignificant or random price fluctuations.
Only when a potential zone passes these three critical tests—our "quality filter"—is it drawn on your chart.
🚀 Features & How to Use
Using the indicator is straightforward. You will see two primary types of boxes on your chart:
* 🟥 Red Box (Supply Zone): An area of potential resistance where selling pressure is likely to be strong. Look for potential shorting opportunities as the price approaches this zone.
* 🟩 Green Box (Demand Zone): An area of potential support where buying pressure is likely to be strong. Look for potential long opportunities as the price pulls back into this zone.
Dynamic Zone Management
This indicator is not static; it lives and breathes with the market:
- Fresh Zone: A newly formed zone appears in its full, vibrant color. These are the highest-probability zones as they have not yet been re-tested.
- Broken / Flipped Zone: You have full control over what happens when a zone is broken! In the settings, you can choose:
- Delete Zone: The zone will be removed completely when the price closes through it.
- Show as Broken (Flip): When broken, the zone will turn gray, stop extending, and remain on your chart. This is extremely useful for identifying Support/Resistance Flips, where a broken demand zone becomes new resistance, or a broken supply zone becomes new support.
⚙️ Settings & Customization
Fine-tune the indicator to match your personal trading style via the settings menu:
- Breakout Behavior: The most powerful feature. Choose between Delete Zone and Show as Broken (Flip) to customize your chart.
- Zone Finding Logic: Control the indicator's sensitivity.
- Selective: Requires both strong imbalance and high volume. Finds fewer, but higher-quality, zones.
- Moderate: Requires either strong imbalance or high volume. Finds more potential zones.
- Sensitivity Settings: Adjust the ATR Multiplier and Volume Multiplier to make the criteria for a "strong" zone stricter or looser.
Wick Pressure Zones [BigBeluga]
The Wick Pressure Zones indicator highlights areas where extreme wick activity occurred, signaling strong buy or sell pressure. By measuring unusually long upper or lower wicks and mapping them into gradient volume zones , the tool helps traders identify levels where liquidity was absorbed, leaving behind footprints of supply and demand imbalances. These zones often act as support, resistance, or liquidity sweep magnets .
🔵 CONCEPTS
Extreme Wicks : Large upper or lower shadows indicate aggressive rejection — upper wicks suggest selling pressure, lower wicks suggest buying pressure.
Volumatic Gradient Zones : From each detected wick, the indicator projects a layered gradient zone, proportional to the wick’s size, showing where most pressure occurred.
Liquidity Footprints : These zones mark levels where significant buy/sell volume was executed, often becoming reaction points on future retests.
Automatic Expiration : Zones persist until price decisively trades through them, after which they are cleared to keep the chart clean.
🔵 FEATURES
Automatic Wick Detection : Identifies extreme upper and lower wick events using percentile filtering and Realative Strength Index.
Gradient Zone Visualization : Builds a 10-layer zone from the wick top/bottom, shading intensity according to pressure strength.
Volume Labels : Each zone is annotated with the bar’s volume at the origin point for added context.
Dynamic Zone Extension : Zones extend to the right as long as they remain relevant; once price closes through them, they are removed.
Support & Resistance Mapping : Upper wick zones (red) behave like supply/resistance, lower wick zones (green) like demand/support.
Clutter Control : Limits the number of active zones (default 10) to keep charts responsive.
Background Highlighting : Optional background shading when new wick zones appear (red for sell, green for buy).
🔵 HOW TO USE
Look for Upper Wick Zones (red) : Indicate strong selling pressure; watch for resistance, reversals, or liquidity sweeps above.
Look for Lower Wick Zones (green) : Indicate strong buying pressure; watch for support or liquidity sweeps below.
Trade Retests : When price returns to a zone, expect a reaction (bounce or rejection) due to leftover liquidity.
Combine with Context : Align wick pressure zones with HTF support/resistance, order blocks, or volume profile for stronger signals.
Use Volume Labels : High-volume wicks indicate more significant liquidity events, making the zone more likely to act as a strong reaction point.
🔵 CONCLUSION
The Wick Pressure Zones is a powerful way to visualize hidden liquidity and aggressive rejections. By mapping extreme wick events into dynamic, volume-annotated zones, it shows traders where the market absorbed heavy buy/sell pressure. These levels frequently act as magnets or turning points, making them valuable for timing entries, stop placement, or fade strategies.
Relative and Absolute Support Resistance Levels (MTF)Relative and Absolute SR Levels
1. Relative SR Levels
This indicator is unique and powerful because it doesn't rely on the traditional method of just finding swing highs and lows. Instead, it uses a more sophisticated approach focused on identifying 'Candle Strength' on a higher timeframe. This method helps pinpoint more reliable and impactful price zones.
Key Features that Make this Indicator Unique:
1. Non - Repainting
2. Zero Lag
3. Higher and Current Time Frame Support
4. Intelligent Algo for Dynamic Line Visibility
5. Very Sophisticated approach than traditional SR Levels
Higher Timeframe (HTF) Analysis:
The indicator calculates S&R levels based on a timeframe larger than your current chart. For example, if you are on a 5-minute chart, you can set the indicator to analyze the 30-minute or 1-hour timeframe.
This is crucial because levels from larger timeframes often hold more significance and are respected more frequently on smaller timeframes.
Focus on Candle Strength :
This feature is highly effective because Candle Strength typically indicate strong market momentum and often leave behind important S&R levels.
Dynamic Line Visibility:
This is one of the most clever features. The indicator draws all identified levels but keeps them invisible by default. On the last bar, it intelligently analyses the current price and makes only a select number of levels visible. This prevents your chart from becoming cluttered.
The number of visible lines is completely customizable using the 'Number of Lines to Display' input. You can set it to show just the 2 or 3 most relevant levels, for example.
Automatic S&R Selection:
The indicator automatically sorts the identified S&R levels based on their distance from the current price. It then picks the closest lines, both above and below the current price, to display. This ensures that the levels shown on the chart are the ones most relevant to the current market situation, helping you focus on the most immediate areas of interest.
2. Absolute Levels:
This indicator is a powerful tool designed to identify and visualize "Absolute Levels", which are essentially significant price zones created by strong market movements.
This works on current timeframe and doesn't use Higher/Multi Time Frame Concept.
Market Spiralyst [Hapharmonic]Hello, traders and creators! 👋
Market Spiralyst: Let's change the way we look at analysis, shall we? I've got to admit, I scratched my head on this for weeks, Haha :). What you're seeing is an exploration of what's possible when code meets art on financial charts. I wanted to try blending art with trading, to do something new and break away from the same old boring perspectives. The goal was to create a visual experience that's not just analytical, but also relaxing and aesthetically pleasing.
This work is intended as a guide and a design example for all developers, born from the spirit of learning and a deep love for understanding the Pine Script™ language. I hope it inspires you as much as it challenged me!
🧐 Core Concept: How It Works
Spiralyst is built on two distinct but interconnected engines:
The Generative Art Engine: At its core, this indicator uses a wide range of mathematical formulas—from simple polygons to exotic curves like Torus Knots and Spirographs—to draw beautiful, intricate shapes directly onto your chart. This provides a unique and dynamic visual backdrop for your analysis.
The Market Pulse Engine: This is where analysis meets art. The engine takes real-time data from standard technical indicators (RSI and MACD in this version) and translates their states into a simple, powerful "Pulse Score." This score directly influences the appearance of the "Scatter Points" orbiting the main shape, turning the entire artwork into a living, breathing representation of market momentum.
🎨 Unleash Your Creativity! This Is Your Playground
We've included 25 preset shapes for you... but that's just the starting point !
The real magic happens when you start tweaking the settings yourself. A tiny adjustment can make a familiar shape come alive and transform in ways you never expected.
I'm genuinely excited to see what your imagination can conjure up! If you create a shape you're particularly proud of or one that looks completely unique, I would love to see it. Please feel free to share a screenshot in the comments below. I can't wait to see what you discover! :)
Here's the default shape to get you started:
The Dynamic Scatter Points: Reading the Pulse
This is where the magic happens! The small points scattered around the main shape are not just decorative; they are the visual representation of the Market Pulse Score.
The points have two forms:
A small asterisk (`*`): Represents a low or neutral market pulse.
A larger, more prominent circle (`o`): Represents a high, strong market pulse.
Here’s how to read them:
The indicator calculates the Pulse Strength as a percentage (from 0% to 100%) based on the total score from the active indicators (RSI and MACD). This percentage determines the ratio of circles to asterisks.
High Pulse Strength (e.g., 80-100%): Most of the scatter points will transform into large circles (`o`). This indicates that the underlying momentum is strong and It could be an uptrend. It's a visual cue that the market is gaining strength and might be worth paying closer attention to.
Low Pulse Strength (e.g., 0-20%): Most or all of the scatter points will remain as small asterisks (`*`). This suggests weak, neutral, or bearish momentum.
The key takeaway: The more circles you see, the stronger the bullish momentum is according to the active indicators. Watch the artwork "breathe" as the circles appear and disappear with the market's rhythm!
And don't worry about the shape you choose; the scatter points will intelligently adapt and always follow the outer boundary of whatever beautiful form you've selected.
How to Use
Getting started with Spiralyst is simple:
Choose Your Canvas: Start by going into the settings and picking a `Shape` and `Palette` from the "Shape Selection & Palette" group that you find visually appealing. This is your canvas.
Tune Your Engine: Go to the "Market Pulse Engine" settings. Here, you can enable or disable the RSI and MACD scoring engines. Want to see the pulse based only on RSI? Just uncheck the MACD box. You can also fine-tune the parameters for each indicator to match your trading style.
Read the Vibe: Observe the scatter points. Are they mostly small asterisks or are they transforming into large, vibrant circles? Use this visual feedback as a high-level gauge of market momentum.
Check the Dashboard: For a precise breakdown, look at the "Market Pulse Analysis" table on the top-right. It gives you the exact values, scores, and total strength percentage.
Explore & Experiment: Play with the different shapes and color palettes! The core analysis remains the same, but the visual experience can be completely different.
⚙️ Settings & Customization
Spiralyst is designed to be highly customizable.
Shape Selection & Palette: This is your main control panel. Choose from over 25 unique shapes, select a color palette, and adjust the line extension style ( `extend` ) or horizontal position ( `offsetXInput` ).
scatterLabelsInput: This setting controls the total number of points (both asterisks and circles) that orbit the main shape. Think of it as adjusting the density or visual granularity of the market pulse feedback.
The Market Pulse engine will always calculate its strength as a percentage (e.g., 75%). This percentage is then applied to the `scatterLabelsInput` number you've set to determine how many points transform into large circles.
Example: If the Pulse Strength is 75% and you set this to `100` , approximately 75 points will become circles. If you increase it to `200` , approximately 150 points will transform.
A higher number provides a more detailed, high-resolution view of the market pulse, while a lower number offers a cleaner, more minimalist look. Feel free to adjust this to your personal visual preference; the underlying analytical percentage remains the same.
Market Pulse Engine:
`⚙️ RSI Settings` & `⚙️ MACD Settings`: Each indicator has its own group.
Enable Scoring: Use the checkbox at the top of each group to include or exclude that indicator from the Pulse Score calculation. If you only want to use RSI, simply uncheck "Enable MACD Scoring."
Parameters: All standard parameters (Length, Source, Fast/Slow/Signal) are fully adjustable.
Individual Shape Parameters (01-25): Each of the 25+ shapes has its own dedicated group of settings, allowing you to fine-tune every aspect of its geometry, from the number of petals on a flower to the windings of a knot. Feel free to experiment!
For Developers & Pine Script™ Enthusiasts
If you are a developer and wish to add more indicators (e.g., Stochastic, CCI, ADX), you can easily do so by following the modular structure of the code. You would primarily need to:
Add a new `PulseIndicator` object for your new indicator in the `f_getMarketPulse()` function.
Add the logic for its scoring inside the `calculateScore()` method.
The `calculateTotals()` method and the dashboard table are designed to be dynamic and will automatically adapt to include your new indicator!
One of the core design philosophies behind Spiralyst is modularity and scalability . The Market Pulse engine was intentionally built using User-Defined Types (UDTs) and an array-based structure so that adding new indicators is incredibly simple and doesn't require rewriting the main logic.
If you want to add a new indicator to the scoring engine—let's use the Stochastic Oscillator as a detailed example—you only need to modify three small sections of the code. The rest of the script, including the adaptive dashboard, will update automatically.
Here’s your step-by-step guide:
#### Step 1: Add the User Inputs
First, you need to give users control over your new indicator. Find the `USER INTERFACE: INPUTS` section and add a new group for the Stochastic settings, right after the MACD group.
Create a new group name: `string GRP_STOCH = "⚙️ Stochastic Settings"`
Add the inputs: Create a boolean to enable/disable it, and then add the necessary parameters (`%K`, `%D`, `Smooth`). Use the `active` parameter to link them to the enable/disable checkbox.
// Add this code block right after the GRP_MACD and MACD inputs
string GRP_STOCH = "⚙️ Stochastic Settings"
bool stochEnabledInput = input.bool(true, "Enable Stochastic Scoring", group = GRP_STOCH)
int stochKInput = input.int(14, "%K Length", minval=1, group = GRP_STOCH, active = stochEnabledInput)
int stochDInput = input.int(3, "%D Smoothing", minval=1, group = GRP_STOCH, active = stochEnabledInput)
int stochSmoothInput = input.int(3, "Smooth", minval=1, group = GRP_STOCH, active = stochEnabledInput)
#### Step 2: Integrate into the Pulse Engine (The "Factory")
Next, go to the `f_getMarketPulse()` function. This function acts as a "factory" that builds and configures the entire market pulse object. You need to teach it how to build your new Stochastic indicator.
Update the function signature: Add the new `stochEnabledInput` boolean as a parameter.
Calculate the indicator: Add the `ta.stoch()` calculation.
Create a `PulseIndicator` object: Create a new object for the Stochastic, populating it with its name, parameters, calculated value, and whether it's enabled.
Add it to the array: Simply add your new `stochPulse` object to the `array.from()` list.
Here is the complete, updated `f_getMarketPulse()` function :
// Factory function to create and calculate the entire MarketPulse object.
f_getMarketPulse(bool rsiEnabled, bool macdEnabled, bool stochEnabled) =>
// 1. Calculate indicator values
float rsiVal = ta.rsi(rsiSourceInput, rsiLengthInput)
= ta.macd(close, macdFastInput, macdSlowInput, macdSignalInput)
float stochVal = ta.sma(ta.stoch(close, high, low, stochKInput), stochDInput) // We'll use the main line for scoring
// 2. Create individual PulseIndicator objects
PulseIndicator rsiPulse = PulseIndicator.new("RSI", str.tostring(rsiLengthInput), rsiVal, na, 0, rsiEnabled)
PulseIndicator macdPulse = PulseIndicator.new("MACD", str.format("{0},{1},{2}", macdFastInput, macdSlowInput, macdSignalInput), macdVal, signalVal, 0, macdEnabled)
PulseIndicator stochPulse = PulseIndicator.new("Stoch", str.format("{0},{1},{2}", stochKInput, stochDInput, stochSmoothInput), stochVal, na, 0, stochEnabled)
// 3. Calculate score for each
rsiPulse.calculateScore()
macdPulse.calculateScore()
stochPulse.calculateScore()
// 4. Add the new indicator to the array
array indicatorArray = array.from(rsiPulse, macdPulse, stochPulse)
MarketPulse pulse = MarketPulse.new(indicatorArray, 0, 0.0)
// 5. Calculate final totals
pulse.calculateTotals()
pulse
// Finally, update the function call in the main orchestration section:
MarketPulse marketPulse = f_getMarketPulse(rsiEnabledInput, macdEnabledInput, stochEnabledInput)
#### Step 3: Define the Scoring Logic
Now, you need to define how the Stochastic contributes to the score. Go to the `calculateScore()` method and add a new case to the `switch` statement for your indicator.
Here's a sample scoring logic for the Stochastic, which gives a strong bullish score in oversold conditions and a strong bearish score in overbought conditions.
Here is the complete, updated `calculateScore()` method :
// Method to calculate the score for this specific indicator.
method calculateScore(PulseIndicator this) =>
if not this.isEnabled
this.score := 0
else
this.score := switch this.name
"RSI" => this.value > 65 ? 2 : this.value > 50 ? 1 : this.value < 35 ? -2 : this.value < 50 ? -1 : 0
"MACD" => this.value > this.signalValue and this.value > 0 ? 2 : this.value > this.signalValue ? 1 : this.value < this.signalValue and this.value < 0 ? -2 : this.value < this.signalValue ? -1 : 0
"Stoch" => this.value > 80 ? -2 : this.value > 50 ? 1 : this.value < 20 ? 2 : this.value < 50 ? -1 : 0
=> 0
this
#### That's It!
You're done. You do not need to modify the dashboard table or the total score calculation.
Because the `MarketPulse` object holds its indicators in an array , the rest of the script is designed to be adaptive:
The `calculateTotals()` method automatically loops through every indicator in the array to sum the scores and calculate the final percentage.
The dashboard code loops through the `enabledIndicators` array to draw the table. Since your new Stochastic indicator is now part of that array, it will appear automatically when enabled!
---
Remember, this is your playground! I'm genuinely excited to see the unique shapes you discover. If you create something you're proud of, feel free to share it in the comments below.
Happy analyzing, and may your charts be both insightful and beautiful! 💛
Gann Static Square of 9 - CEGann Static Square of 9 - Community Edition
Welcome to the Gann Static Square of 9 - Community Edition, a meticulously crafted tool designed to empower traders with the timeless principles of W.D. Gann’s Square of 9 methodology. This indicator is tailored for the TradingView community and Gann Traders, providing a robust solution for analyzing price and time dynamics across various markets.
Overview
The Gann Static Square of 9 harnesses the mathematical precision of Gann’s Square of 9 chart, plotting key price and time levels based on a fixed starting point of 1. Unlike its dynamic counterpart , this static version uses a consistent origin, making it ideal for traders seeking to map Gann’s geometric angles (45°, 90°, 135°, 180°, 225°, 270°, 315°, and 360°) with a standardized framework. By adjusting the price and time units, users can tailor the indicator to suit any asset, from equities and forex to commodities and cryptocurrencies.
Key Features
Fixed Starting Point: Begins calculations at a base value of 1, providing a standardized approach to plotting Gann’s Square of 9 levels.
Comprehensive Angle Projections: Plots eight critical Gann angles (45°, 90°, 135°, 180°, 225°, 270°, 315°, and 360°), enabling precise identification of support, resistance, and time-based targets.
Customizable Price and Time Units: Adjust the price unit (Y-axis) and time unit (X-axis) to align with the specific characteristics of your chosen market, ensuring optimal fit for price action and volatility.
Horizontal and Vertical Levels: Enable horizontal price levels to identify key support and resistance zones, and vertical time levels to pinpoint potential market turning points.
Revolution Control: Extend projections across multiple 360° cycles to uncover long-term price and time objectives, with user-defined revolution counts.
Customizable Aesthetics: Assign distinct colors to each angle for enhanced chart clarity and visual differentiation.
and more!
How It Works
Configure Settings: Set the price and time units to match your asset’s characteristics, and select the desired number of revolutions to project future levels.
Enable Levels: Choose which Gann angles (45° to 360°) to display, tailoring the indicator to your analysis needs.
Visualize Key Levels: The indicator plots horizontal price levels and optional vertical time levels, each labeled with its corresponding angle and price/time value.
Analyze and Trade: Leverage the plotted levels to identify critical support, resistance, and time-based turning points, enhancing your trading strategy with Gann’s proven methodology.
Get Started
As a token of appreciation for the TradingView community, and Gann traders, this Community Edition is provided free of charge. Trade safe and enjoy!
Gann Dynamic Square of 9 - CEWelcome to the Gann Dynamic Square of 9 - Community Edition
a powerful and versatile tool designed for traders utilizing W.D. Gann's renowned Square of 9 methodology. Crafted with gratitude for the TradingView community and Gann trading enthusiasts worldwide.
Overview
The Gann Dynamic Square of 9 leverages the mathematical precision of Gann’s Square of 9 chart, plotting key price and time levels based on a user-defined high or low pivot point. Unlike static Square of 9 models, this dynamic version adapts to your chosen anchor point, starting calculations from your selected price level rather than a fixed value. The indicator projects critical angles (45°, 90°, 135°, 180°, 225°, 270°, 315°, and 360°) with a customizable price unit, enabling precise alignment with market dynamics.
Key Features
Customizable Pivot Points : Anchor the Square of 9 to a user-defined high or low price level, allowing for tailored projections of support, resistance, and time-based targets.
Dynamic Angle Projections : Automatically calculates and plots the eight key Gann angles (45°, 90°, 135°, 180°, 225°, 270°, 315°, and 360°) based on your input, with support for multiple revolutions to identify future price and time targets.
Flexible Price Unit : Adjust the price unit to suit any asset, ensuring compatibility across various markets and price scales. Experimentation is encouraged to find the optimal setting for your trading instrument.
Horizontal and Vertical Levels : Enable horizontal price levels and vertical time levels to visualize critical support/resistance zones and time-based turning points.
User-Friendly Interface : Intuitive input options make it easy to configure price units, pivot placement, revolution counts, and more, streamlining your analysis process.
and more!
How It Works
Select Your Pivot: Choose a significant high or low price level to anchor the Square of 9, setting the foundation for all calculations.
Adjust Settings: Customize the price unit, enable/disable specific angles, and select the number of revolutions to match your trading strategy.
Visualize Key Levels: The indicator plots horizontal price levels and optional vertical time levels, each labeled with its corresponding Gann angle and price/time value.
Analyze and Trade: Use the plotted levels to identify potential support, resistance, and time-based turning points, enhancing your market analysis with Gann’s time-tested principles.
Get Started, enjoy, trade wisely, and unlock the power of Gann’s timeless methodology!
Liquidity Swing Points [BackQuant]Liquidity Swing Points
This tool marks recent swing highs and swing lows and turns them into persistent horizontal “liquidity” levels. These are places where resting orders often accumulate, such as stop losses above prior highs and below prior lows. The script detects confirmed pivots, records their prices, draws lines and labels, and manages their lifecycle on the chart so you can monitor potential sweep or breakout zones without manual redrawing.
What it plots
LQ-H at confirmed swing highs
LQ-L at confirmed swing lows
Horizontal levels that can optionally extend into the future
Timed removal of old levels to keep the chart clean
Each level stores its price, the bar where it was created, its type (high or low), plus a label and a line reference for efficient updates.
How it works
Pivot detection
A swing high is confirmed when the highest high has swing_length bars on both sides that are lower.
A swing low is confirmed when the lowest low has swing_length bars on both sides that are higher.
Pivots are only marked after they are confirmed, so they do not repaint.
Level creation
When a pivot confirms, the script records the price and the creation bar (offset by the right lookback).
A new line is plotted at that price, labeled LQ-H or LQ-L.
Rendering and extension
Levels can be drawn to the most recent bar only or extended to the right for forward reference.
Label size and line color/transparency are configurable.
Lifecycle management
On each confirmed bar, the script checks level age.
Levels older than a chosen bar count are removed automatically to reduce clutter.
How it can be used
Liquidity sweeps: Watch for price to probe beyond a level then close back inside. That behavior often signals a potential fade back into the prior range.
Breakout validation: If price pushes through a level and holds on closes, traders may treat that as continuation. Retests of the level from the other side can serve as structure checks.
Context for entries and exits: Use nearby LQ-H or LQ-L as reference for stop placement or partial-take zones, especially when other tools agree.
Multi-timeframe mapping: Plot swing points on higher timeframes, then drill down to time entries on lower timeframes as price interacts with those levels.
Why liquidity levels matter
Prior swing points are focal areas where many strategies set stops or pending orders. Price often revisits these zones, either to “sweep” resting liquidity before reversing, or to absorb it and trend. Marking these areas objectively helps frame scenarios like failed breaks, successful breakouts, and retests, and it reduces the subjectivity of eyeballing structure.
Settings to know
Swing Detection Length (swing_length), Controls sensitivity. Lower values find more local swings. Higher values find more significant ones.
Bars until removal (removeafter), Deletes levels after a fixed number of bars to prevent buildup.
Extend Levels Right (extend_levels), Keeps levels projected into the future for easier planning.
Label Size (label_size), Choose tiny to large for chart readability.
One color input controls both high and low levels with transparency for context.
Strengths
Objective marking of recent structure without hand drawing
No repaint after confirmation since pivots are locked once the right lookback completes
Lightweight and fast with simple lifecycle management
Clear visuals that integrate well with any price-action workflow
Practical tips
For scalping: use smaller swing_length to capture more granular liquidity. Keep removeafter short to avoid clutter.
For swing trading: increase swing_length so only more meaningful levels remain. Consider extending levels to the right for planning.
Combine with time-of-day filters, ATR for stop sizing, or a separate trend filter to bias trades taken at the levels.
Keep screenshots focused: one image showing a sweep and reversal, another showing a clean breakout and retest.
Limitations and notes
Levels appear after confirmation, so they are delayed by swing_length bars. This is by design to avoid repainting.
On very noisy or illiquid symbols, you may see many nearby levels. Increasing swing_length and shortening removeafter helps.
The script does not assess volume or session context. Consider pairing with volume or session tools if that is part of your process.
HTF Bollinger Bands S/R with ShadingBollinger Band works as good support and resistance levels. This indicator shows the BB 2SD and 3SD on daily, weekly and monthly on lower timeframes.
Buy/Sell Indicator with Resistance/Support LevelsThis is a simple Multi-Indicator Analysis
Customizable moving averages (SMA, EMA, WMA)
RSI with overbought/oversold levels
MACD with signal line crossovers
Automatic support and resistance level detection
Smart Signal Generation
Strong signals: Require multiple indicators to align
Weak signals: Single indicator confirmations
Visual markers for different signal strengths
Advanced Features
Real-time info table showing current values
Automatic support/resistance line drawing
Multiple alert conditions
Clean, customizable display options
AI Gold Liquidity Breakout CatcherTitle: Gold AI Liquidity Breakout Catcher
Description:
Indicator Philosophy and Originality:
This indicator is not merely a collection of separate tools, but an integrated trading framework designed to improve decision-making by ensuring signal confluence. The core philosophy is that high-probability trading signals occur when multiple, distinct analysis methodologies align.
The originality of this script lies in how it systematically combines a leading signal (the Liquidity Breakout) with multiple, independent lagging confirmation tools (the Classic Filters, the Hull MA, and the Range Filter). A user can see a primary breakout signal and immediately validate its strength against the broader trend defined by the Hull MA, the intermediate trend from the Range Filter, and the specific conditions of the classic filters.
This synergy, where different components work together to validate a single event, is the primary value and reason for this mashup. It provides a structured, multi-layered confirmation process within a single tool, which is not achievable by adding these indicators separately to the chart.
This indicator is a comprehensive technical analysis tool designed to identify potential trading opportunities and provide supplemental trend analysis. It features a primary signal engine based on pivot trendline breakouts, a sophisticated confirmation layer using classic technical indicators, and three separate modules for discretionary analysis: an ICT-based structure plotter, a highly customizable Hull Moving Average (HMA), and a volatility-adaptive Range Filter. This document provides a detailed, transparent explanation of all underlying logic.
1. Core Engine: Pivot-Based Liquidity Trendline Signals
The indicator's foundational signal is generated from a custom method we call "Liquidity Trendlines," which aims to identify potential shifts in momentum.
How It Works:
The script first identifies significant swing points in the price using ta.pivothigh() and ta.pivotlow().
It then draws a trendline connecting consecutive pivot points.
A "Liquidity Breakout" signal (liquidity_plup for buy, liquidity_pldn for sell) is generated when the price closes decisively across this trendline, forming the basis for a potential trade.
2. The Signal Confirmation Process: Multi-Layered Filtering System
A raw Liquidity Breakout signal is only a starting point. To enhance reliability, the signal must pass through a series of user-enabled filters. A final Buy or Sell signal is only plotted if all active filter conditions are met simultaneously.
General & Smart Trend Filters: Use a combination of EMAs, DMI (ADX), and market structure to define the trend.
RSI & MACD Filters: Used for momentum confirmation.
Directional Body Strength Filter: A custom filter that validates the signal based on the strength and direction of the signal candle's body (bodyUpOK / bodyDownOK).
Support & Resistance (S&R) Filter: Blocks signals forming too close to key S&R zones.
Higher Timeframe (HTF) Filter: Provides confluence by checking the trend on higher timeframes.
3. Visual Aid 1: ICT-Based Structure & Premium/Discount Zones
This module is for visual and discretionary analysis only and does not directly influence the automated Buy/Sell signals.
ICT Market Structure: Plots labels for CHoCH, SMS, and BMS based on a Donchian-channel-like logic.
ICT Premium & Discount Zones: When enabled, it draws colored zones corresponding to Premium, Discount, and Equilibrium levels.
4. Visual Aid 2: Hull Moving Average (HMA) Integration
This is another independent tool for trend analysis. It does not affect the primary signals but has its own alerts and serves as a powerful visual confirmation layer.
Functionality: Includes multiple Hull variations (HMA, THMA, EHMA), customizable colors based on trend, and the ability to pull data from a higher timeframe.
5. Visual Aid 3: Range Filter Integration
This module is a volatility-adaptive trend filter that provides its own set of signals and visuals. It is designed to be a standalone trend analysis tool integrated within the indicator for additional confluence.
How It Works: The Range Filter calculates a dynamic volatility threshold based on the average range of the price. A central filter line moves up or down only when the price exceeds this threshold, effectively filtering out market noise.
Visuals: It plots the central filter line and upper/lower bands that create a volatility channel. It can also color the price bars based on the trend.
Signals & Alerts: The Range Filter generates its own "Manual Buy" and "Manual Sell" signals when the price crosses the filter line after a change in trend direction. These signals have their own dedicated alerts.
6. Risk Management & Additional Features
TP/SL Calculations: Automatically calculates Take Profit and Stop Loss levels for the primary signals based on the ATR.
Multi-Timeframe (MTF) Scanner: A dashboard that monitors the final Buy/Sell signal status across multiple timeframes.
Session Filter & Alerts: Allows for restricting trades to specific market sessions and configuring alerts for any valid signal.
By combining breakout detection with a rigorous confirmation process and multiple supplemental analysis tools, this indicator provides a structured and transparent approach to trading.
HZ Key LevelsThe HZ Key Levels script is a powerful tool designed to help traders identify sharp and precise entry and take profit levels on their charts. Utilizing a unique proprietary formula, this indicator provides a clear visual guide for strategic trading decisions. The levels are plotted as solid lines with corresponding price values, ensuring they remain relevant across different timeframes. Ideal for traders seeking reliable reference points to enhance their market analysis and execution precision.
Support and Resistance Lines by Jaehee📌 SUPPORT AND RESISTANCE LINES — PIVOT-BASED AUTOMATIC S/R WITH DYNAMIC FLIP
🔍 WHAT IT IS
• Automatically detects and plots support and resistance levels based on recent pivot highs and lows
• Groups nearby pivots into channels, then draws the channel mid-point as a horizontal line across the chart
• Resistance lines are shown in red, support lines in blue, both with dual glow layers for visibility
• Includes dynamic S/R flip — when price closes beyond a level, it switches role (support ↔ resistance) and updates its color in real time
⚙️ HOW IT WORKS
• Pivot Detection — Scans recent bars for highs and lows using a configurable lookback period
• Channel Clustering — Merges pivots within a set percentage of the recent range into a single channel
• Strength Filtering — Keeps only channels with a minimum number of touches
• Dynamic Flip — Automatically changes support to resistance and vice versa when broken
• Line Plotting — Draws each channel’s mid-price as a solid line extending in both directions
💡 WHY THIS COMBINATION
• Manual S/R drawing is slow and subjective
• Combines pivot detection, clustering, strength filtering, and dynamic flip to produce objective, evolving levels
• Dual glow layers ensure levels stay visible even on crowded charts
🆚 HOW IT DIFFERS FROM COMMON S/R INDICATORS
• Dynamic clustering — Merges nearby pivots into cleaner, more useful levels
• Strength metric — Ranks levels by the number of touches to reduce noise
• Dual glow layers — Improves readability on any chart theme
• Dynamic S/R flip — Instantly updates line type and color when levels are broken
• Full customization — Adjust pivot period, channel width %, maximum levels, colors, widths, and glow transparency
📖 HOW TO READ IT (CONTEXT, NOT SIGNALS)
• Trend continuation — Break and close beyond a strong level can indicate continuation
• Reversal zones — Multiple strong levels in a tight range can signal potential turning points
• Trading range — Boundaries formed by these lines can define range-bound market conditions
• S/R flip — Support becomes resistance when broken, and resistance becomes support when broken, shown visually in real time
🛠 INPUTS
• Pivot period length
• Source: High/Low or Close/Open
• Maximum pivots and S/R levels
• Maximum channel width %
• Minimum strength (touches)
• Label location offset for pivot markers
• Colors and line widths for resistance, support, and glow layers
🎨 DESIGN NOTES
• Lines extend fully across the chart for continuous reference
• Adjustable glow transparency for both resistance and support
• Optional pivot point labels for cleaner visuals
• Real-time calculation on the selected timeframe
• Automatic visual flip between support and resistance
⚠️ LIMITATIONS AND GOOD PRACTICE
• Past levels do not guarantee future reactions
• Strength is based on historical touches only
• Best used with trend, momentum, or volume confirmation
• Not a strategy — no performance claims
📂 DEFAULTS AND SCOPE
• Works on any OHLCV instrument
• No repainting after levels are confirmed
Clean Pivot Lines with AlertsTechnical Overview
This Script is designed for detecting untouched pivot highs and lows. It draws horizontal levels only when those pivots remain unviolated within a configurable lookback window and removes them automatically upon price breaches or sweeps.
Key components include:
Pivot detection logic : Utilizes ta.pivothigh()/ta.pivotlow() (or equivalent via request.security for HTF) with parameterized pivotLength to ensure flexibility and adaptability to different timeframes.
Cleanliness filtering : Checks lookbackBars prior to line creation to skip levels already violated, ensuring only uncontaminated pivots are used.
Dynamic level tracking : Stores active levels in arrays (highLines, lowLines) for continuous real-time monitoring.
Violation logic : Detects both close-based breaks (breakAbove/breakBelow) and wick-based sweeps (sweepAbove/sweepBelow), triggering alerts and automatic teardown.
Periodic housekeeping : Every N (10) confirmed bars, re-verifies “clean” status and removes silently invalidated levels—maintaining chart hygiene and avoiding stale overlays.
Customization options : Supports pivot timeframe override, colors, line width/style, lookback length, and alert toggling.
Utility
This overlay script provides a disciplined workflow for drawing meaningful support/resistance levels, filtering out contaminated pivot points, and signaling validations (breaks/sweeps) with alerts. Its modular design and HTF support facilitate integration into systematic workflows, offering far more utility than mere static pivot plots.
Usage Instructions
1. Adjust `pivot_timeframe`, `pivot_length`, and `lookback_bars` to suit your strategy timeframe and volatility structure.
2. Customize visual parameters as required.
3. Enable alerts to receive in-platform messages upon pivot violations.
4. Use HTF override only if analyzing multi-timeframe pivot behavior; otherwise, leave empty to default to chart timeframe.
Performance & Limitations
- Pivot lines confirmation lags by `pivot_length` bars; real-time signals may be delayed.
- Excessive active lines may impact performance on low-TF charts.
- The “clean” logic is contingent on the `lookback_bars` parameter; choose sufficiently high values to avoid false cleanliness.
- Alerts distinguish between closes beyond and wick-only breaches to aid strategic nuance.
Nifty Smart Zones & Breakout Bars(5min TF only) by Chaitu50cNifty Smart Zones & Breakout Bars is a purpose-built intraday trading tool, tested extensively on Nifty50 and recommended for Nifty50 use only.
All default settings are optimised specifically for Nifty50 on the 5-minute timeframe for maximum accuracy and clarity.
Why Last Bar of the Session Matters
The last candle of a trading session often represents the final battle between buyers and sellers for that day.
It encapsulates closing sentiment, influenced by end-of-day positioning, profit booking, and institutional activity.
The high and low of this bar frequently act as strong intraday support/resistance in the following sessions.
Price often reacts around these levels, especially when combined with volume surges.
Core Features
Session Last-Candle Zones
Plots a horizontal box at the high and low of the last candle in each session.
Boxes extend to the right to track carry-over levels into new sessions.
Uses a stateless approach — past zones reappear if relevant.
Smart Suppression System
When more than your Base Sessions (No Suppression) are shown, newer zones overlapping or within a proximity distance (in points) of older zones are hidden.
Older zones take priority, reducing chart clutter while keeping critical levels.
Breakout Bar Coloring
Highlights breakout bars in four categories:
Up Break (1-bar)
Down Break (1-bar)
Up Break (2-bar)
Down Break (2-bar)
Breakouts use a break buffer (in ticks) to filter noise.
Toggle coloring on/off instantly.
Volume Context (User Tip)
For best use, pair with volume analysis.
High-volume breakouts from last-session zones have greater conviction and can signal sustained momentum.
Usage Recommendations
Instrument: Nifty50 only (tested & optimised).
Timeframe: 5-minute chart for best results.
Approach:
Watch for price interaction with the plotted last-session zones.
Combine zone breaks with bar color signals and volume spikes for higher-probability trades.
Use suppression to focus on key, non-redundant levels.
Why This Tool is Different
Unlike standard support/resistance plotting, this indicator focuses on session-closing levels, which are more reliable than arbitrary highs/lows because they capture the final market consensus for the session.
The proximity-based suppression ensures your chart stays clean, while breakout paints give instant visual cues for momentum shifts.
Momentum_EMABand📢 Reposting Notice
I am reposting this script because my earlier submission was hidden due to description requirements under TradingView’s House Rules. This updated version fully explains the originality, the reason for combining these indicators, and how they work together. Follow me for future updates and refinements.
🆕 Momentum EMA Band, Rule-Based System
Momentum EMA Band is not just a mashup — it is a purpose-built trading tool for intraday traders and scalpers that integrates three complementary technical concepts into a single rules-based breakout & retest framework.
Originality comes from the specific sequence and interaction of these three filters:
Supertrend → Sets directional bias.
EMA Band breakout with retest logic → Times precise entries.
ADX filter → Confirms momentum strength and avoids noise.
This system is designed to filter out weak setups and false breakouts that standalone indicators often fail to avoid.
🔧 How the Indicator Works — Combined Logic
1️⃣ EMA Price Band — Dynamic Zone Visualization
Plots upper & lower EMA bands (default: 9-period EMA).
Green Band → Price above upper EMA = bullish momentum
Red Band → Price below lower EMA = bearish pressure
Yellow Band → Price within band = neutral zone
Acts as a consolidation zone and breakout trigger level.
2️⃣ Supertrend Overlay — Reliable Trend Confirmation
ATR-based Supertrend adapts to volatility:
Green Line = Uptrend bias
Red Line = Downtrend bias
Ensures trades align with the prevailing trend.
3️⃣ ADX-Based No-Trade Zone — Choppy Market Filter
Manual ADX calculation (default: length 14).
If ADX < threshold (default: 20) and price is inside EMA Band → gray background marks low-momentum zones.
🧩 Why This Mashup Works
Supertrend confirms trend direction.
EMA Band breakout & retest validates the breakout’s strength.
ADX ensures the market has enough trend momentum.
When all align, entries are higher probability and whipsaws are reduced.
📈 Example Trade Walkthrough
Scenario: 5-minute chart, ADX threshold = 20.
Supertrend turns green → trend bias is bullish.
Price consolidates inside the yellow EMA Band.
ADX rises above 20 → trend momentum confirmed.
Price closes above the green EMA Band after retesting the band as support.
Entry triggered on candle close, stop below band, target based on risk-reward.
Exit when Supertrend flips red or ADX momentum drops.
This sequence prevents premature entries, keeps trades aligned with trend, and avoids ranging markets.
🎯 Key Features
✅ Multi-layered confirmation for precision trading
✅ Built-in no-trade zone filter
✅ Fully customizable parameters
✅ Clean visuals for quick decision-making
⚠ Disclaimer: This is Version 1. Educational purposes only. Always use with risk management.
Previous Day High/Low Levels [OWI]📘 How to Use the “Previous Day High/Low Levels ” Indicator
This TradingView indicator automatically tracks and displays the previous day's high and low during the Regular Trading Hours (RTH) session. It’s perfect for traders who want to visualize key support/resistance levels from the prior day in futures like CME_MINI:NQ1! and COMEX:GC1! .
🛠 Setup Instructions
1. Customize RTH Session Times
- In the Settings panel, adjust the following under the Levels group:
- RTH Start Hour and RTH Start Minute: Default is 9:30 AM (New York time).
- RTH End Hour and RTH End Minute: Default is 4:15 PM.
- These define the active trading session used to calculate the day’s high and low.
2. Toggle Labels
- Use the Show PDH/PDL Labels checkbox to display or hide the “PDH” and “PDL” labels on the chart.
- Labels appear after the session ends and follow price dynamically.
📊 What the Indicator Does
- During the RTH session:
- Tracks the highest and lowest price of the day.
- After the session ends:
- Draws horizontal lines at the previous day’s high (green) and low (red).
- Optionally displays labels ("PDH" and "PDL") at those levels.
- Lines extend into the current day to help identify potential support/resistance zones.
✅ Best Practices
- Use this indicator on intraday timeframes (e.g., 5m, 15m, 1h) for best results.
- Combine with volume or price action analysis to confirm reactions at PDH/PDL levels.
- Adjust session times if trading non-US markets or custom hours.
Smart Zone Detector by Mihkel00Advanced support/resistance indicator with dynamic zones and volume confirmation.
Smart Zone Detector automatically identifies key support and resistance zones using pivot points with following features:
Dynamic ATR-based zones that adapt to market volatility
Volume confirmation to filter out weak levels
Touch counting with strength classification (3x, 8x, 13x+ touches)
What You Get
Active Zones: Current qualified S/R levels (3+ touches)
Strong Zones: High-confidence areas with multiple confirmations
Color-coded zone strength (Green=Strong, Orange=Medium, Red=Weak)
Touch count labels showing zone significance
How to Use
Zone Identification: Look for zones with 3+ touches - these are qualified levels
Strength Assessment: Higher touch counts (8x, 13x+) = stronger zones
Volume Confirmation: volume-backed zones (more reliable)
Zone Interactions: Green/red X-crosses show real-time support/resistance tests
Dynamic Sizing: Zones automatically adjust width based on ATR
Settings
Lookback: How far back to scan for pivots (default: 100 bars)
Min Touches: Qualification threshold (default: 3 touches)
Volume Confirmation: Enable for higher-quality zones
Zone Tolerance: Sensitivity for merging nearby levels