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.
Трендовый анализ
BE-Fib Channel 2 Sided Trading█ Overview:
"BE-Fib Channel 2 Sided Trading" indicator is built with the thought of 2 profound setups named "Cup & Handle (C&H)" and "Fibonacci Channel Trading (FCT)" with the context of "day trading" or with a minimum holding period.
█ Similarities, Day Trading Context & Error Patterns:
While the known fact is that both C&H and FCT provide setups with lesser risk with bigger returns, they both share the similar "Base Pattern".
Note: Inverse of the above Image shall switch the setups between long vs short.
Since the indicator is designed for smaller time-frame candles, there may be instances where the "base pattern" does not visually resemble a Cup & Handle (C&H) pattern. However, patterns are validated using pivot points. The points labeled "A" and "C" can be equal or slightly slanted. Settings of the Indicator allows traders a flexibility to control the angle of these points to spot the strategies according to set conditions. Therefore, understanding the nuances of these patterns is crucial for effective decision-making.
█ 2 Sided Edge: FCT suggests to take trade closer to the yellow line to get better RR ratio. this leaves a small chance of doubt as to; what if price is intended to break the Yellow line thereby activating the C&H.
Wait for the confirmation is a Big FOMO with a compromised RR.
Hence, This indicator is designed to handle both the patterns based on the strength, FIFO and pattern occurring delay.
█ How to Use this Indicator:
Step 1: Enable the Show Sample Sensitivity option to understand the angle of yellow line shown in the sample image. By enabling this option, On the last bar you shall see 4 lines being plotted depicting the max angle which is acceptable for both long and short trades.
Note: Angle can be controlled via setting "Sensitivity".
Higher Sensitivity --> Higher Setup identification --> can lead to failed setups due to 2 sided trading.
Lower Sensitivity --> Lower Setup identification --> can increase the changes of being right.
Step 2: Adjust the look back & look forward periods which shall be used for identifying patterns.
Note: Smaller values can lead to more setups being identified but can hamper the performance of the indicator while increasing the chances of failures. larger values identifies more significant setup but leads to more waiting period thereby compromising on the RR.
Step 3: Adjust the Base Range.
Note: Smaller values can lead to more setups being identified but can hamper the performance of the indicator while increasing the chances of failures. larger values identifies more significant setup but leads to more Risk on play.
Step 4: set the Entry level for FCT & Set the SL for Both FCT & C&H and Target Reward ratio for C&H.
█ Features of Indicator & How it works:
1. Patterns are being identified using Pivot Points method.
2. Tracks & validates both the setups simultaneously on every candle and traded one at a time based on FIFO, New setups found in-between, Defined Entry Levels while on wait for the other pattern to get activated.
3. Alerts added for trade events.
4. FCT setups are generally traded with trailed SL level and increasing Target level on every completed bar. while C&H has the standard SL & TP level with no Trail SL option.
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
Happy to receive suggestions and feedback in order to improve the performance of the indicator better.
Universal Trend+ [BackQuant]Universal Trend+
This indicator blends several well-known technical ideas into a single composite trend and momentum model. It can be show primarily as an overlay or a oscillator:
In which it produces two things:
a composite oscillator that summarizes multiple signals into one normalized score
a regime signal rendered on the chart as a colored ribbon with optional 𝕃 and 𝕊 markers
The goal is to simplify decision-making by having multiple, diverse measurements vote in a consistent framework, rather than relying on any single indicator in isolation.
What it does
Computes five independent components, each reading a different aspect of price behavior
Converts each component into a standardized bullish / neutral / bearish vote
Averages the available votes to a composite score
Compares that score to user thresholds to label the environment bullish, neutral, or bearish
Colors a fast/slow moving-average ribbon by the current regime, optionally paints candles, and can plot the composite oscillator in a lower pane
The five components (conceptual)
1)RSI Momentum Bias
A classic momentum gauge on a selectable source and lookback. The component emphasizes whether conditions are persistently strong or weak and applies a neutral buffer to avoid reacting to trivial moves. Output is expressed as a vote: bullish, neutral, or bearish.
2) Rate-of-Change Impulse
A smoothed rate-of-change that focuses on short bursts in acceleration. It is used to detect impulsive pushes rather than slow drift. Extreme readings cast a directional vote, mid-range readings abstain.
3) EMA Oscillator
A slope-style trend gauge formed by contrasting a fast and a slow EMA on a chosen source, normalized so that the sign and relative magnitude matter more than absolute price. A small dead-zone reduces whipsaws.
4) T3-Based Normalized Oscillator
A T3 smoother is transformed into a bounded oscillator via rolling normalization, then optionally smoothed by a user-selectable MA. This highlights directional drift while keeping scale consistent across symbols and regimes.
5) DEMA + ATR Bands State
A double-EMA core is wrapped in adaptive ATR bands to create a stepping state that reacts when pressure exceeds a volatility envelope. The component contributes an event-style vote on meaningful shifts.
Each component is designed to measure something different: trend slope, momentum impulse, normalized drift, and volatility-aware pressure. Their diversity is the point.
Composite scoring model
Standardization: Each component is mapped to -1 (bearish), 0 (neutral), or +1 (bullish) using bands and guards to cut noise.
Aggregation: The composite score is the average of the available votes. If a component is inactive on a bar, the composite uses the votes that are present.
Decision layer: Two user thresholds define your action bands.
Above the upper band → bullish regime
Below the lower band → bearish regime
Between the bands → neutral
This separation between measurement, aggregation, and decision avoids over-fitting any single threshold and makes the tool adaptable across assets and timeframes.
Plots and UI
Composite oscillator (optional lower pane): A normalized line that trends between bearish and bullish zones with user thresholds drawn for context.
Signal ribbon (on price): A fast/slow MA pair tinted by the current regime to give an at-a-glance market state.
Markers: Optional 𝕃 and 𝕊 labels when the regime flips.
Candle painting and background tint: Optional visual reinforcement of state.
Color and style controls: User inputs for long/short colors, threshold line color, and visibility toggles.
How it can be used
1) Regime filter
Use the composite regime to define bias. Trade only long in a bullish regime, only short in a bearish regime, and stand aside or scale down in neutral. This simple filter often reduces whipsaw.
2) Confirmation layer
Keep your entry method the same (breaks, pullbacks, liquidity sweeps, order-flow cues) but require agreement from the composite regime or a fresh flip in the 𝕃/𝕊 markers.
3) Momentum breakouts
Look for the composite oscillator to leave neutrality while the EMA oscillator is already positive and the ATR-band state has flipped. Confluence across components is the intent.
4) Pullback entries within trend
In a bullish regime, consider entries on shallow composite dips that recover before breaching the lower band. Reverse the logic in a bearish regime.
5) Exits and risk
Common choices are:
reduce on a return to neutral,
exit on an opposite regime flip, or
trail behind your own stop model (ATR, structure, session levels) while using the ribbon for context.
6) Multi-timeframe workflow
Select a higher timeframe for bias with this indicator, and time executions on a lower timeframe. The indicator itself stays on a single chart; you can load a second chart or pane if you prefer a strict top-down process.
Strengths
Diversified evidence: Five independent perspectives keep the model from hinging on one idea.
Noise control: Neutral buffers and a composite layer reduce reaction to minor wiggles.
Clarity: A single oscillator and a clearly colored ribbon present a complex assessment in a simple form.
Adaptable: Thresholds and lookbacks let you tune for faster or slower markets.
Practical tuning
Thresholds: Wider bands produce fewer regime flips and longer holds. Narrower bands increase sensitivity.
Lookbacks: Shorter lookbacks emphasize recent action; longer lookbacks emphasize stability.
T3 normalization window and volume factor: Increase the window to suppress noise on choppy symbols; tweak the factor to adjust the smoother’s response.
ATR factor for the band state: Raise it to demand more decisive pressure before registering a shift; lower it to respond earlier.
Alerts
Built-in alerts trigger when the regime flips long or short. If you prefer confirmed signals, set your alerts to bar close on your timeframe. Intrabar the composite can move with price; bar-close confirmation stabilizes behavior.
Limitations
Sideways markets: Even with buffers, any trend model can chop in range-bound conditions.
Lag vs sensitivity trade-off: Tighter thresholds react faster but flip more often; wider thresholds are steadier but later.
Asset specificity: Volatility regimes differ. Expect to retune ATR and normalization settings when switching symbols or timeframes.
Final Remarks
Universal Trend+ is meant to act like a disciplined voting committee. Each component contributes a different angle on the same underlying question: is the market pressing up, pressing down, or doing neither with conviction. By standardizing and aggregating those views, you get a single regime read that plays well with many entry styles and risk frameworks, while keeping the heavy math under the hood.
Unfilled ImbalancesUNFILLED IMBALANCES TRACKER - IDENTIFY HIGH-PROBABILITY REVERSAL ZONES
This advanced indicator automatically detects and tracks unfilled price imbalances (Fair Value Gaps/FVGs) between candle bodies, providing traders with crucial levels where price is likely to return.
METHODOLOGY
This indicator employs an approach to imbalance detection that differs from standard FVG indicators:
1. Body-to-Body Gap Detection: Unlike typical FVG indicators that use wicks, this system exclusively tracks gaps between candle bodies, filtering out noise and focusing on the most significant price inefficiencies.
2. Dynamic Partial Fill Tracking: Our unique algorithm continuously monitors and adjusts imbalance zones as they're partially filled, showing exactly how much of each gap remains unfilled in real-time. This feature helps traders identify the strongest remaining levels.
3. Dual Fill Detection Logic: Proprietary fill detection offers two distinct modes - Distal (gap filled when touched) and Through (requires complete price movement through the entire gap), allowing adaptation to different market behaviors.
KEY FEATURES
Real-Time Imbalance Detection
Identifies body-to-body gaps between consecutive candles
Tracks both bullish and bearish imbalances
Automatically removes filled imbalances from the chart
Advanced Fill Detection Modes
Distal Mode: Imbalance considered filled when price touches the near edge
Through Mode: Requires price to completely trade through the gap
Body Fill Option: Requires candle body (not just wick) to enter the gap zone
Partial Fill Visualization
Watch imbalances shrink in real-time as price partially fills them
Visual representation shows exact percentage of gap remaining
Critical for position sizing and risk management
Flexible Display Options
Full Box Mode: Shows complete imbalance zones
Line Mode: Displays only critical edge levels for cleaner charts
Customizable visual parameters (colors, transparency, line thickness)
Smart Extension Features
Auto-extends visual elements to current price bar
Optional extension into future (0-500 bars)
Statistics table showing active imbalances count and fill rates
TRADING METHODOLOGY
Unfilled imbalances represent areas where price moved too quickly, leaving behind inefficiencies that markets tend to revisit. This indicator helps identify:
High-probability entry zones for trend continuation trades
Logical take profit targets at unfilled gaps
Stop loss placement beyond strong imbalance zones
Market structure breaks when key imbalances are filled
Supply and demand zone identification
HOW TO USE
Apply the indicator to any timeframe (works best on 15m and above)
Configure fill detection mode based on your trading style
Watch for price approaching unfilled imbalance zones
Use partial fill information to gauge zone strength
Combine with your existing strategy for confirmation
TARGET AUDIENCE & BEST PRACTICES
This tool is designed for traders who understand price action and market structure. It works best on:
Liquid instruments with consistent volume
Trending markets where imbalances are more likely to be revisited
Higher timeframes for more reliable signals
LIMITATIONS & CONSIDERATIONS
Imbalances may not always be filled, especially in strong trending markets
Performance varies across different market conditions and instruments
Should be used in conjunction with other analysis methods, not as a standalone system
Gap detection is based on candle closes and may miss intrabar movements
Historical imbalances from many bars ago may lose relevance
SETTINGS EXPLANATION
The indicator includes multiple customization options:
Require Body Fill: Controls whether wicks or bodies must enter gaps
Fill Detection Mode: Choose between Distal or Through modes
Visual Display: Select between boxes or lines
Alert Configuration: Set minimum age before fill alerts trigger
Debug Mode: Learn how the algorithm works with visual feedback
This indicator represents months of research into price inefficiency patterns and provides a systematic approach to identifying and tracking these critical market levels.
Note: Works on all timeframes and markets. Best results on liquid instruments with consistent volume patterns.
Muzyorae - ICT Quarter Cycle (Once)ICT Quarterly Theory — 06:00 to 12:00 (NY) Micro-Quarters
This tool focuses on the 06:00–12:00 New York time window and subdivides it into four equal “micro-quarters,” each 90 minutes long. In many ICT layouts this block is treated as a single higher-level quarter; here we break it into a finer structure to help you frame intraday narratives, liquidity runs, and session shifts with consistent time anchors.
How it’s partitioned
q1: 06:00 → 07:30 (NY)
q2: 07:30 → 09:00 (NY)
q3: 09:00 → 10:30 (NY)
q4: 10:30 → 12:00 (NY)
Each boundary is plotted at the exact start time, so you can see where one 90-minute cycle ends and the next begins. Labels can be placed above or below price, and colors/styles are configurable to match your chart.
Why it’s useful
Provides fixed time scaffolding for building AM session bias, execution windows, and narrative transitions.
Helps distinguish pre-cash open, cash open, and late-AM distribution/accumulation phases without guessing.
Standardizes replay and journaling: the same 90-minute checkpoints every day.
Key features
NY-time anchored (handles DST automatically through TradingView’s exchange time).
Four precise 90-minute segments inside the 06:00–12:00 block.
Customizable line styles, colors, and label placement (above/below).
Optional visibility controls to keep charts clean.
Note: Some ICT mappings name the 06:00–12:00 block differently (e.g., Q2 vs. Q3). This indicator uses the same time bounds regardless of the label you prefer; you can rename the macro label in settings if desired.
Disclaimer: Time framing does not guarantee outcomes. Use alongside your own analysis, risk management, and execution plan.
Muzyorae - ICT Quarterly Theory (Intraday)ICT Quarterly Theory — Intraday
What it is
ICT’s Quarterly Theory models the intraday session as repeating cycles of four “quarters.” On NY time, a trading day is split into four macro quarters of 6 hours each:
Q1: 00:00–06:00 NY (Asia / pre-London)
Q2: 06:00–12:00 NY (London–NY overlap, AM session)
Q3: 12:00–18:00 NY (Midday / PM session)
Q4: 18:00–24:00 NY (Asia re-open / late session)
Each macro quarter can be further subdivided into micro quarters of 90 minutes (q1–q4). This fractal view helps traders frame accumulation → expansion → distribution → liquidation phases and align executions with time-of-day liquidity.
Why it matters
Orderflow, liquidity raids, and displacement are highly time-dependent. Marking the quarters makes it easier to:
Anticipate when the market is likely to deliver the day’s expansion (often Q2) versus retracement/distribution (often Q3) or late liquidity runs (often Q4).
Compare today’s behavior to prior days within the same quarter windows.
Anchor bias, entries, and risk management to session-specific highs/lows rather than arbitrary clock times.
What this indicator shows
Macro quarters (6h): Vertical lines and optional labels (Q1–Q4) on NY time.
Micro quarters (90m): Optional finer verticals inside each macro quarter (q1–q4) for precise timing.
True Open (Q2 AM): Optional line at the AM session’s true open (default 06:00 NY) to study premium/discount development from the intraday benchmark.
Futures Sunday handling: Optional treatment of Sunday 18:00 NY as Q4 (useful for FX/futures).
Label controls: Choose above/below placement, offset, size, and colors; micro labels can be toggled independently.
Performance-friendly: De-duplicated labels and a look-back “days to show” setting keep charts clean.
How to use
Timeframe: Works on intraday charts (1–60m). 5–15m is a common balance of signal vs. noise.
Bias framing:
Map Asia (Q1), AM expansion (Q2), midday distribution (Q3), late session runs (Q4).
Compare where the daily range forms versus the True Open to gauge premium/discount and likely continuations.
Execution: Look for standard ICT tools (liquidity sweeps, FVGs, displacement, PD arrays) inside the active quarter to avoid fighting time-of-day flow.
Review: Scroll back multiple days and evaluate where the day’s high/low typically forms relative to Q2–Q3; adapt expectations.
Settings (high level)
Show Macro Labels / Micro Lines / Micro Labels
Label position (above/below), X-shift, colors, sizes
Days to show, de-dup window (prevents label overlaps)
Q2 True Open toggle and extension (doesn't work)
Include Sunday as Q4 (18:00 NY)
Notes
Quarter boundaries are fixed to America/New York session logic to match ICT timing.
This is a context tool; it does not generate buy/sell signals. Combine with your existing execution model.
Past behavior does not guarantee future results. Use proper risk management.
Goldbach Time IndicatorA simple, time-only study that highlights “Goldbach minutes”—bars where any of three time transforms hit a curated integer set. It’s designed for timing research, session rhythm analysis, and building time-of-day confluence with your own strategy.
What it shows
Three time transforms (per bar, using your UTC offset):
Minute (Raw) → the current minute mm (yellow)
Min+Hr → mm + hh with a smart 60→00 rule & capped to 77 (lime)
Min−Hr → mm − hh (only if ≥ 0) (orange)
A minute is flagged when a transform equals a value in the script’s Goldbach set:
0, 3, 7, 11, 14, 17, 23, 29, 35, 41, 44, 47, 50, 53, 56, 59, 65, 71, 77
Background tint whenever there is ≥1 hit on the bar.
Goldbach Count histogram (0–3) showing how many of the three transforms hit.
Reference lines at common values (0, 11, 23, 35, 47, 59).
Live info table (bottom-right): current time (with offset), each transform’s value, and hit status.
Optional crosshair pane label showing time and “Goldbach: YES/NO”.
“00” guardrails (fewer false pings)
Zeros are plotted only when they’re time-valid:
1- Full hour: raw minute is 00
2- Equal pair: mm == hh > 0 so mm−hh = 0
3- Sum=60: mm + hh == 60 so Min+Hr becomes 00
Inputs
UTC Offset (−12…+14): shifts the evaluation clock.
Show Pane Label: on-chart crosshair label (optional).
Show All Plot Lines: plot everything (incl. tiny values 0–3) or, when OFF, show only “meaningful” hits (≥4) plus the strictly-validated 00 cases.
How to use it
Add as a separate pane (overlay=false).
Choose your UTC offset so the indicator matches your session clock.
Look for clusters (Goldbach Count 2–3) and compare with your own trade triggers, session opens, or news windows.
Treat this as timing confluence, not a buy/sell signal.
Notes
Purely time-derived (no price inputs). It doesn’t look ahead; values can update on the live bar as time advances.
The Min+Hr track can exceed 59; it’s capped at 77 to fit the set.
No alerts are included by design; pair it with your strategy’s alerts if needed.
Short description:
Highlights bars where mm, mm+hh, or mm−hh land in a curated “Goldbach” set, with strict 00 rules, UTC offset, count histogram, and a live info table—useful for time-of-day confluence research.
Support and Resistance levels from Options DataINTRODUCTION
This script is designed to visualize key support and resistance levels derived from options data on TradingView charts. It overlays lines, labels, and boxes to highlight levels such as Put Walls (gamma support), Call Walls (gamma resistance), Gamma Flip points, Vanna levels, and more.
These levels are intended to help traders identify potential areas of price magnetism, reversal, or breakout based on options market dynamics. All calculations and visualizations are based on user-provided data pasted into the input field, as Pine Script cannot directly fetch external options data due to platform limitations (explained below).
For convenience, my website allows users to interact with a bot that will generate the string for up to 30 tickers at once getting nearly real-time data on demand (data is cached for 15min). With the output string pasted into this indicator, it's a bliss to shuffle through your portfolio and see those levels for each ticker.
The script is open-source under TradingView's terms, allowing users to study, modify, and improve it. It draws inspiration from common options-derived metrics like gamma exposure and vanna, which are widely discussed in financial literature. No external code is copied without rights; all logic is original or based on standard mathematical formulas.
How the Options Levels Are Calculated
The levels displayed by this script are not computed within Pine Script itself—instead, they rely on pre-calculated values provided by the user (via a pasted data string). These values are derived from options chain data fetched from financial APIs (e.g., using libraries like yfinance in Python). Here's a step-by-step overview of how these levels are generally calculated externally before being input into the script:
Fetching Options Data:
Historical and current options chain data for a ticker (e.g., strikes, open interest, volume, implied volatility, expirations) is retrieved for near-term expirations (e.g., up to 90 days).
Current stock price is obtained from recent history.
Gamma Support (Put Wall) and Resistance (Call Wall):
Gamma Calculation: For each option, gamma (the rate of change of delta) is computed using the Black-Scholes formula:
gamma = N'(d1) / (S * sigma * sqrt(T))
where S is the stock price, K is the strike, T is time to expiration (in years), sigma is implied volatility, r is the risk-free rate (e.g., 0.0445), and N'(d1) is the normal probability density function.
Weighted gamma is multiplied by open interest and aggregated by strike.
The Put Wall is the strike below the current price with the highest weighted gamma from puts (acting as support).
The Call Wall is the strike above the current price with the highest weighted gamma from calls (acting as resistance).
Short-term versions focus on strikes closer to the money (e.g., within 10-15% of the price).
Gamma Flip Level:
Net dealer gamma exposure (GEX) is calculated across all strikes:
GEX = sum (gamma * OI * 100 * S^2 * sign * decay)
where sign is +1 for calls/-1 for puts, and decay is 1 / sqrt(T).
The flip point is the price where net GEX changes sign (from positive to negative or vice versa), interpolated between strikes.
Vanna Levels:
Vanna (sensitivity of delta to volatility) is calculated:
vanna = -N'(d1) * d2 / sigma
where d2 = d1 - sigma * sqrt(T).
Weighted by open interest, the highest positive and negative vanna strikes are identified.
Other Levels:
S1/R1: Significant strikes with high combined open interest and volume (80% OI + 20% volume), below/above price for support/resistance.
Implied Move: ATM implied volatility scaled by S * sigma * sqrt(d/365) (e.g., for 7 days).
Call/Put Ratio: Total call contracts divided by put contracts (OI + volume).
IV Percentage: Average ATM implied volatility.
Options Activity Level: Average contracts per unique strike, binned into levels (0-4).
Stop Loss: Dynamically set below the lowest support (e.g., Put Wall, Gamma Flip), adjusted by IV (tighter in low IV).
Fib Target: 1.618 extension from Put Wall to Call Wall range.
Previous day levels are stored for comparison (e.g., to detect Call Wall movement >2.5% for alerts).
Effect as Support and Resistance in Technical Trading
Options levels like gamma walls influence price action due to market maker hedging:
Put Wall (Gamma Support): High put gamma below price creates a "magnet" effect—market makers buy stock as price falls, providing support. Traders might look for bounces here as entry points for longs.
Call Wall (Gamma Resistance): High call gamma above price leads to selling pressure from hedging, acting as resistance. Rejections here could signal trims, sells or even shorts.
Gamma Flip: Where gamma exposure flips sign, often a volatility pivot—crossing it can accelerate moves (bullish above, bearish below).
Vanna Levels: Positive/negative vanna indicate volatility sensitivity; crosses may signal regime shifts.
Implied Move: Shows expected range; prices outside suggest overextension.
S1/R1 and Fib Target: Volume/OI clusters act as classic S/R; Fib extensions project upside targets post-breakout.
In trading, these are not guarantees—combine with TA (e.g., volume, trends). High activity levels imply stronger effects; low CP ratio suggests bearish sentiment. Alerts trigger on proximities/crosses for awareness, not advice.
Limitations of the TradingView Platform for Data Pulling
TradingView's Pine Script is sandboxed for security and performance:
No direct internet access or API calls (e.g., can't fetch yfinance data in-script).
Limited to chart data/symbol info; no real-time options chains.
Inputs are static per load; updates require manual pasting.
Caching isn't persistent across sessions.
This prevents dynamic data pulling, ensuring scripts remain lightweight but requiring external tools for fresh data.
Creative Solution for On-Demand Data Pulling
To overcome these limitations, users can use external tools or scripts (e.g., Python-based) to fetch and compute levels on demand. The tool processes tickers, generates a formatted string (e.g., "TICKER:level1,level2,...;TIMESTAMP:unix;"), and users paste it into the script's input. This keeps data fresh without violating platform rules, as computation happens off-platform. For example, run a local script to query APIs and output the string—adaptable for any ticker.
Script Functionality Breakdown
Inputs: Custom data string (parsed for levels/timestamp); toggles for short-term/previous/Vanna/stop loss; style options (colors, transparency).
Parsing: Extracts levels for the chart symbol; gets timestamp for "updated ago" display.
Drawing: Lines/labels for levels; boxes for gamma zones/implied move; clears old elements on updates.
Info Panel: Top-right summary with metrics (CP ratio, IV, distances, activity); emojis for quick status.
Alerts: Conditions for proximities, crosses, bounces (e.g., 0.5% bounce from Put Wall).
Performance: Uses vars for persistence; efficient for real-time.
This script is educational—test thoroughly. Not financial advice; past performance isn't indicative of future results. Feedback welcome via TradingView comments.
Draw Trend LinesSometimes the simplest indicators help traders make better decisions. This indicator draws simple trend lines, the same lines you would draw manually.
To trade with an edge, traders need to interpret the recent price action, whether it's noisy or choppy, or it's trending. Trend Lines will help traders with that interpretation.
The lines drawn are:
1. lower tops
2. higher bottoms
Because trends are defined as higher lows, or lower highs.
When you see "Wedges", formed by prices chopping between top and bottom trend lines, that's noisy environment not to be traded. When you learn to "stop yourself", you already have an edge.
Often when you see a trend, it's still not too late. Trend will continue until it doesn't. But the caveat is a very steep trend is unlikely to continue, because buying volume is extremely unbalanced to cause the steep trend, and that volume will run out of energy. (Same on the sell side of course)
Trends can reverse, and when price action breaks the trend line, Breakout/Breakdown traders can take this as an entry signal.
Enjoy, and good trading!
Volume Profile + Pivot Levels [ChartPrime]⯁ OVERVIEW
Volume Profile + Pivot Levels combines a rolling volume profile with price pivots to surface the most meaningful levels in your selected lookback window. It builds a left-side profile from traded volume, highlights the session’s Point of Control (PoC) , and then filters pivot highs/lows so only those aligned with significant profile volume are promoted to chart levels. Each promoted level extends forward until price retests it—so your chart stays focused on levels that actually matter.
⯁ KEY FEATURES
Rolling Volume Profile (Period & Resolution)
Calculates a profile over the last Period bars (default 200). The profile is discretized into Volume Profile Resolution bins (default 50) between the highest high and lowest low inside the window. Each bin accumulates traded volume and is drawn as a smooth left-side polyline for compact, lightweight rendering.
HL = array.new()
// collect highs/lows over 'start' bars to define profile range
for i = 0 to start - 1
HL.push(high ), HL.push(low )
H = HL.max(), L = HL.min()
bin_size = (H - L) / bins
// accumulate per-bin volume
for i = 0 to bins - 1
for j = 0 to start - 1
if close >= (L + bin_sizei) - bin_size and close < (L + bin_size*(i+1)) + bin_size
Bins += volume
Delta-Aware Coloring
The script tracks up-minus-down volume across all period to compute a net Delta . The profile, PoC line, and PoC label adopt a teal tone when net positive, and maroon when net negative—an immediate read on buyer/seller dominance inside the window.
Point of Control (PoC) + Volume Label
Automatically marks the highest-volume bin as the PoC . A horizontal PoC line extends to the last bar, and a label shows the absolute volume at the PoC. Toggle visibility via PoC input.
Pivot Detection with Volume Filter
Identifies raw pivots using Length (default 10) on both sides of the bar. Each candidate pivot is then validated against the profile: only pivots that land within their bin and meet or exceed the Filter % threshold (percentage of PoC volume) are promoted to chart levels. This removes weak, low-participation pivots.
// pivot promotion when volume% >= pivotFilter
if abs(mid - p.value) <= bin_size and volPercent >= pivotFilter
// draw labeled pivot level
line.new(p.index - pivotLength, p.value, p.index + pivotLength, p.value, width = 2)
Forward-Extending, Self-Stopping Levels
Promoted pivot levels extend forward as dotted rays. As soon as price intersects a level (high/low straddles it), that level stops extending—so your chart doesn’t clutter with stale zones.
Concise Level Labels (Volume + %)
Each promoted pivot prints a compact label at the pivot bar with its bin’s absolute volume and percentage of PoC volume (ordering flips for highs vs. lows for quick read).
Lightweight Visuals
The volume profile is rendered as a smooth polyline rather than dozens of boxes, keeping charts responsive even at higher resolutions.
⯁ SETTINGS
Volume Profile → Period : Lookback window used to compute the profile (max 500).
Volume Profile → Resolution : Number of bins; higher = finer structure.
Volume Profile → PoC : Toggle PoC line and volume label.
Pivots → Display : Show/hide volume-validated pivot levels.
Pivots → Length : Pivot detection left/right bars.
Pivots → Filter % 0–100 : Minimum bin strength (as % of PoC) required to promote a pivot level.
⯁ USAGE
Read PoC direction/color for a quick net-flow bias within your window.
Prioritize promoted pivot levels —they’re backed by meaningful participation.
Watch for first retests of promoted levels; the line will stop extending once tested.
Adjust Period / Resolution to match your timeframe (scalps → higher resolution, shorter period; swings → lower resolution, longer period).
Tighten or loosen Filter % to control how selective the level promotion is.
⯁ WHY IT’S UNIQUE
Instead of plotting every pivot or every profile bar, this tool cross-checks pivots against the profile’s internal volume weighting . You only see levels where price structure and liquidity overlap—clean, data-driven levels that self-retire after interaction, so you can focus on what the market actually defends.
PulseMA Oscillator Normalized v2█ OVERVIEW
PulseMA Oscillator Normalized v2 is a technical indicator designed for the TradingView platform, assisting traders in identifying potential trend reversal points based on price dynamics derived from moving averages. The indicator is normalized for easier interpretation across various market conditions, and its visual presentation with gradients and signals facilitates quick decision-making.
█ CONCEPTS
The core idea of the indicator is to analyze trend dynamics by calculating an oscillator based on a moving average (EMA), which is then normalized and smoothed. It provides insights into trend strength, overbought/oversold levels, and reversal signals, enhanced by gradient visualizations.
Why use it?
Identifying reversal points: The indicator detects overbought and oversold levels, generating buy/sell signals at their crossovers.
Price dynamics analysis: Based on moving averages, it measures how long the price stays above or below the EMA, incorporating trend slope.
Visual clarity: Gradients, fills, and colored lines enable quick chart analysis.
Flexibility: Configurable parameters, such as moving average lengths or normalization period, allow adaptation to various strategies and markets.
How it works?
Trend detection: Calculates a base exponential moving average (EMA with PulseMA Length) and measures how long the price stays above or below it, multiplied by the slope for the oscillator.
Normalization: The oscillator is normalized based on the minimum and maximum values over a lookback period (default 150 bars), scaling it to a range from -100 to 100: (oscillator - min) / (max - min) * 200 - 100. This ensures values are comparable across different instruments and timeframes.
Smoothing: The main line (PulseMA) is the normalized oscillator (oscillatorNorm). The PulseMA MA line is a smoothed version of PulseMA, calculated using an SMA with the PulseMA MA length. As PulseMA MA is smoothed, it reacts more slowly and can be used as a noise filter.
Signals: Generates buy signals when crossing the oversold level upward and sell signals when crossing the overbought level downward. Signals are stronger when PulseMA MA is in the overbought or oversold zone (exceeding the respective thresholds for PulseMA MA).
Visualization: Draws lines with gradients for PulseMA and PulseMA MA, levels with gradients, gradient fill to the zero line, and signals as triangles.
Alerts: Built-in alerts for buy and sell signals.
Settings and customization
PulseMA Length: Length of the base EMA (default 20).
PulseMA MA: Length of the SMA for smoothing PulseMA MA (default 20).
Normalization Lookback Period: Normalization period (default 150, minimum 10).
Overbought/Oversold Levels: Levels for the main line (default 100/-100) and thresholds for PulseMA MA, indicating zones where PulseMA MA exceeds set values (default 50/-50).
Colors and gradients: Customize colors for lines, gradients, and levels; options to enable/disable gradients and fills.
Visualizations: Show PulseMA MA, gradients for overbought/oversold/zero levels, and fills.
█ OTHER SECTIONS
Usage examples
Trend analysis: Observe PulseMA above 0 for an uptrend or below 0 for a downtrend. Use different values for PulseMA Length and PulseMA MA to gain a clearer trend picture. PulseMA MA, being smoothed, reacts more slowly and can serve as a noise filter to confirm trend direction.
Reversal signals: Look for buy triangles when PulseMA crosses the oversold level, especially when PulseMA MA is in the oversold zone. Similarly, look for sell triangles when crossing the overbought level with PulseMA MA in the overbought zone. Such confirmation increases signal reliability.
Customization: Test different values for PulseMA Length and PulseMA MA on a given instrument and timeframe to minimize false signals and tailor the indicator to market specifics.
Notes for users
Combine with other tools, such as support/resistance levels or other oscillators, for greater accuracy.
Test different settings for PulseMA Length and PulseMA MA on the chosen instrument and timeframe to find optimal values.
Day Range Breakout Strategy + Trend Structure Filter🚀 Enhanced Strategy for Breaking Previous Day’s Extremes with Market Structure-Based Trend
The strategy focuses on breakouts of previous day’s highs and lows, filtered by trend direction based on market structure.
🔑 Key Improvements
1️⃣ Solved the repainting issue.
There are similar strategies in the community, but the historical results of those algorithms do not correspond to the results of real backtesting.
2️⃣ Added a trend filter.
In most cases, this makes it possible to achieve higher profitability. It works as follows:
The script determines market structure based on a defined number of previous candles.
If there are higher highs and higher lows, this is considered an uptrend structure.
If there are lower highs and lower lows, this is considered a downtrend structure.
The trend filter is adjusted using the Lookback Period setting.
3️⃣ Choice of entry principle.
Implemented the ability to choose whether trades are opened based on closing prices or by high/low breakout, which allows finding the optimal settings for a specific instrument.
4️⃣ Improved entry/exit logic.
When an opposite signal appears, before entering a trade, the script first closes the previous position.
✅ This makes the strategy fully ready for algorithmic trading via webhook on any exchange that supports this function.
5️⃣ Better visualization.
🟥 Red and 🟩 green backgrounds indicate the trend direction.
⚙️ How It Works
The principle of the strategy as follows:
Wait for the breakout of the previous day’s high or low.
Enter long on a breakout of the high, or short on a breakout of the low in the market structure trend direction.
Exit occurs on the breakout of the opposite extreme.
📈 This allows capturing long trends.
⚠️ But, like all similar strategies, in a sideways market it produces losing trades.
⚙️ Default Settings
Breakout Confirmation:
The breakout is determined by the candle close.
You can also choose high/low, but this often gives more false signals. However, on some assets, it may show higher profitability in backtesting.
Trend Structure Period:
The default value is 15.
This means the script analyzes the last 15 candles on the selected timeframe to determine market structure as described above.
Position Size:
Fixed at $1,000, which is 1% of the initial capital of $100,000 to keep risks under control.
Commission:
Set to 0.1%, which is sufficient for most cryptocurrency exchanges.
Slippage:
Configured at 1 tick.
Funding Note:
Keep in mind that funding is not included in this strategy.
It’s impossible to predict whether it will be positive or negative, and it can vary significantly across exchanges, so it is not part of the default settings.
🕒 Recommended Settings
Timeframe: 1H and higher
On lower timeframes → significant discrepancies may occur between historical and real backtesting data.
On higher timeframes → minor differences are possible, related to slippage, sharp moves, and other unpredictable situations.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
This is not the final version. I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
Session & Swing Levels + Smart AlertsMulti-Timeframe Level Tracker with Advanced Alert System
This comprehensive indicator combines session-based trading levels with multi-timeframe swing analysis, for key level identification and alert management.
Key Features:
Session Analysis:
Asia Session (7:00 PM - 4:00 AM ET) - Tracks high/low levels during Asian market hours
London Session (3:00 AM - 11:00 AM ET) - Identifies key European session levels
Previous Day Levels - Displays prior day's high and low levels
Visual session backgrounds and customizable timezone support
Multi-Timeframe Swing Detection:
Up to 5 configurable timeframes (default: 15m, 1h, 4h, 1D, 1W)
Intelligent swing high/low identification using customizable pivot strength
Each timeframe uses distinct colors for easy identification
Advanced Alert System:
Anti-repainting protection - Alerts only trigger on confirmed bars for reliable live trading
Specific alert messages for each level type (Asia High, London Low, Previous Day levels, etc.)
Individual alert toggles for each session and timeframe
Timestamps in Eastern Time for consistency
Visual Customization:
Independent color schemes for sessions and timeframes
Configurable line styles (solid, dashed, dotted) and widths
Separate styling for active vs. mitigated levels
Optional line extension past mitigation points
📊 How It Works:
Level Creation: Automatically identifies and draws key levels at session closes
Mitigation Detection: Monitors price interaction with levels in real-time
Visual Updates: Changes line appearance when levels are crossed
Smart Alerts: Sends targeted notifications with level-specific information
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.
ZLEMA Trend Index 2.0ZTI — ZLEMA Trend Index 2.0 (0–1000)
Overview
Price Mapped ZTI v2.0 - Enhanced Zero-Lag Trend Index.
This indicator is a significant upgrade to the original ZTI v1.0, featuring enhanced resolution from 0-100 to 0-1000 levels for dramatically improved price action accuracy. The Price Mapped ZTI uses direct price-to-level mapping to eliminate statistical noise and provide true proportional representation of market movements.
Key Innovation: Instead of statistical normalization, this version maps current price position within a user-defined lookback period directly to the ZTI scale, ensuring perfect correlation with actual price movements. I believe this is the best way to capture trends instead of directly on the charts using a plethora of indicators which introduces bad signals resulting in drawdowns. The RSI-like ZTI overbought and oversold lines filter valid trends by slicing through the current trading zone. Unlike RSI that can introduce false signals, the ZTI levels 1 to 1000 is faithfully mapped to the lowest to highest price in the current trading zone (lookback period in days) which can be changed in the settings. The ZTI line will never go off the beyond the ZTI levels in case of extreme trend continuation as the trading zone is constantly updated to reflect only the most recent bars based on lookback days.
Core Features
✅ 10x Higher Resolution - 0-1000 scale provides granular movement detection
✅ Adjustable Trading Zone - Customizable lookback period from 1-50 days
✅ Price-Proportional Mapping - Direct correlation between price position and ZTI level
✅ Zero Statistical Lag - No rolling averages or standard deviation calculations
✅ Multi-Strategy Adaptability - Single parameter adjustment for different trading styles
Trading Zone Optimization
📊 Lookback Period Strategies
Short-term (1-3 days):
Ultra-responsive to recent price action
Perfect for scalping and day trading
Tight range produces more sensitive signals
Medium-term (7-14 days):
Balanced view of recent trading range
Ideal for swing trading
Captures meaningful support/resistance levels
Long-term (21-30 days):
Broader market context
Excellent for position trading
Smooths out short-term market noise
⚡ Market Condition Adaptation
Volatile Markets: Use shorter lookback (3-5 days) for tighter ranges
Trending Markets: Use longer lookback (14-21 days) for broader context
Ranging Markets: Use medium lookback (7-10 days) for clear boundaries
🎯 Timeframe Optimization
1-minute charts: 1-2 day lookback
5-minute charts: 2-5 day lookback
Hourly charts: 7-14 day lookback
Daily charts: 21-50 day lookback
Trading Applications
Scalping Setup (2-day lookback):
Super tight range for quick reversals
ZTI 800+ = immediate short opportunity
ZTI 200- = immediate long opportunity
Swing Trading Setup (10-day lookback):
Meaningful swing levels captured
ZTI extremes = high-probability reversal zones
More stable signals, reduced whipsaws
Advanced Usage
🔧 Real-Time Adaptability
Trending days: Increase to 14+ days for broader perspective
Range-bound days: Decrease to 3 days for tighter signals
High volatility: Shorter lookback for responsiveness
Low volatility: Longer lookback to avoid false signals
💡 Multi-Timeframe Approach
Entry signals: Use 7-day ZTI on main timeframe
Trend confirmation: Use 21-day ZTI on higher timeframe
Exit timing: Use 3-day ZTI for precise exits
🌐 Session Optimization
Asian session: Shorter lookback (3-5 days) for range-bound conditions
London/NY session: Longer lookback (7-14 days) for trending conditions
How It Works
The indicator maps the current price position within the specified lookback period directly to a 0-1000 scale and plots it using ZLEMA (Zero Lag Exponential Moving Average) which has the least lag of the available popular moving averages:
Price at recent high = ZTI at 1000
Price at recent low = ZTI at 1
Price at mid-range = ZTI at 500
This creates perfect proportional representation where every price movement translates directly to corresponding ZTI movement, eliminating the false signals common in traditional oscillators.
This single, versatile indicator adapts to any market condition, timeframe, or trading style through one simple parameter adjustment, making it an essential tool for traders at every level.
Credits
ZLEMA techniques widely attributed to John Ehlers.
Disclaimer
This tool is for educational purposes only and is not financial advice. Backtest and forward‑test before live use, and always manage risk.
Please note that I set this as closed source to prevent source code cloning by others, repackaging and republishing which results in multiple confusing choices of the same indicator.
master2.0 ✅ How It Works
The Master 2.0 indicator is a custom-developed trend and signal tool based on a modified range filter algorithm, specifically designed for clarity, non-repainting signals, and actionable trade execution.
🔧 1. Custom Adaptive Range Filter (Original Logic)
At its core is a custom-built filter that adapts to price volatility. Unlike standard MAs or public-domain range indicators, this version:
(1) Uses a double-smooth EMA logic on absolute price changes.
(2)Multiplies the range by an Impact Factor, giving a dynamic width.
(3) Applies a custom filter algorithm that limits noise and locks on trend movement.
This logic was modified from the concept of range-based filters, but entirely re-engineered to serve trend-following and TP triggering.
🟩 2. Visual Trend Zones (Upper/Lower Lines)
The filtered value generates two dynamic lines:
(1)One above the filter
(2)One below the filter
These create a color-filled “trend tunnel”, making it easy to identify:
(3)🔵 Uptrend (blue fill)
(4)🔴 Downtrend (red fill)
(5)🟡 Sideways market (no fill or neutral color)
These visual cues allow instant identification of market direction without reading complex data
📈 3. Smart Buy/Sell Signals (Confirmed, Non-Repainting ✅)
(1)🚀 Smart Buy is triggered when a confirmed uptrend begins (filter shifts upward with a
new confirmation).
(2)🔻 Smart Sell appears at the start of a confirmed downtrend.
(3)Sideways filters out choppy signals, reducing whipsaws.
✅ All signals are confirmed only after the candle closes (barstate.isconfirmed is used), meaning:
🔒 No repainting or false previews — 100% reliable on live charting.
💰 4. Take Profit System (Unique Utility)
This indicator tracks the entry price after a signal, and auto-detects when a Take Profit level
(in pips) is reached.
(1)💰 Book Profit alert is triggered above/below the candle.
(2)Helps secure gains without relying on external bots or platforms.
🔔 5. Real-Time Alerts Included
All alerts are built-in for automation:
(1)🚀 Smart Buy
(2)🔻 Smart Sell
(3)💰 Book Profit (Buy/Sell)
Advanced Candlestick Patterns [MAB]🔎 Overview
Advanced Candlestick Patterns is a framework that detects well-defined candlestick patterns with a consistent Validation / Devalidation process, optional swing-context filters , and a hidden-candle reconstruction mode for stricter pattern anatomy.
The goal is clarity and discipline: signals are described, thresholds are visible, and risk parameters are explicit.
⚙️ Key Features
📊 Pattern Engine (Extensible) — Modular detection methods so new patterns can be added without changing workflow.
✅ Validation / Devalidation — Clear rules for confirmation and invalidation; plotted with distinct lines for transparency.
📈 Swing Filter (Optional) — Require setups to align with local swing highs/lows via selectable lookbacks.
🧩 Hidden-Candle Mode — Reconstructs OHLC (prev close + current extremes) to reveal intra-bar structure; visuals may differ from native bars.
🎯Target Systems — Choose Points, Percentage, or Risk:Reward; info label shows EP/SL/TP-1.
Performance-Safe Controls — Label size, info toggle, and non-editable internal lines.
📈 How to Use
Add the script to your chart (after access is granted).
Choose pattern types for Bullish and Bearish detection from the inputs.
⁃ Enable Hidden Candles if you want stricter intra-bar anatomy.
⁃ Enable Detect near Swings and pick a swing length (Smaller/Medium/Bigger).
💬Decide whether to show Trade Info Labels (Entry, SL, Target 1).
🎯Set your Target Mode (Points / Percentage / Risk:Reward) and parameter.
✅ Use the plotted Validation (confirmation) and Devalidation (invalidation) levels to plan.
Tip: With Detect near Swings ON, a setup counts only if the prior bar’s high/low equals the rolling extreme. If too strict, adjust the lookback or disable.
💡Recommended charting
• Intraday structure: 5m–15m–30m
• Swing confirmation: 2h-4h–1D
• Test across multiple symbols; avoid cherry-picking.
🛡 Risk Management System
This tool displays mechanics— you control the risk. A common template:
Entry : Entry is typically considered only after validation.
Stop-Loss : Initial SL at the structure-defined level (displayed).
Target 1 : Choose Points / % / Risk:Reward (e.g., 1R).
After TP-1 : Consider partial profits and trail the remainder via ATR / short MA / swing boxes (user-defined).
No target or trail is guaranteed—market conditions change.
🧭 Visual Guide
#1. Input Selections Window:
#2. Bearish Patterns: Valid and Devaild rules for the Bearish Patterns
#3. Bullish Patterns: Valid and Devalied rules for the Bullish Patterns
#4. Spotted Bullish Harami Pattern & Trade Info label explained:
#5. Spotted Bearish Engulfing Pattern:
⚠️ Important Notes
⏱️ Timeframes : Works on all timeframes. For intraday, start 5m–15m; for swing, use 4h–1D. Evaluate on bar close .
✅ Instruments : Any OHLC market (Crypto/FX/Indices/Equities). Forward-adjusted data may show minor visual differences.
🧩 Hidden-Candle Mode : Detection follows reconstructed bars; visuals may differ from native candles.
🔔 Signal Lifecycle : Deterministic New → Validated → Devalidated . Levels reset to na when devalidated.
🚫 No Look-Ahead : No repainting after bar close. Intrabar values can update until the bar closes.
📊 Performance : High label/line counts can slow charts on lower TFs; reduce label size or toggle Trade Info if needed.
🔐 Conclusion and Access
This framework promotes a disciplined, rules-first approach to pattern-based trading: clear definitions, visible Validation/Devalidation levels, and explicit risk references.
👉 For how to request access, please see the Author’s Instructions section below.
🧾 Disclaimer
This script is intended solely for educational and informational purposes. It does not provide financial or investment advice, nor should it be interpreted as a recommendation to buy, sell, or trade any securities or derivatives.
We are not SEBI-registered advisors , and the strategies shown are not personalized guidance . Past performance or backtested results are not indicative of future outcomes and should not be relied upon for live trading without thorough evaluation.
Trading in financial markets—especially options—involves significant risk. Both profits and losses are inherent to the trading process.
MuLegend's Break & Retest StrategyThis strategy was produced to help traders who trade NQ: win! try it out on a demo, see how you like and happy trading!! Works well if you are a break & retest trader!!!
MuMu
@atltime2shine on IG
B@dshah Indicator🚀 Advanced Multi-Indicator Trading System
A comprehensive trading indicator that combines multiple technical analysis tools for high-probability signal generation:
📊 CORE FEATURES:
- EMA Trend Analysis (Fast/Slow crossovers)
- RSI Momentum Detection
- MACD Signal Confirmation
- Bollinger Bands (Squeeze & Mean Reversion)
- Fibonacci Retracement Levels
- Volume & ATR Filtering
- Multi-Confluence Scoring System (0-10 scale)
🎯 SIGNAL QUALITY:
- Non-repainting signals (confirmed at bar close)
- Minimum 60% strength threshold for trades
- Dynamic TP/SL based on market structure
- Real-time win rate tracking
- Signal strength percentage display
⚙️ UNIQUE FEATURES:
- BB Squeeze detection for volatility breakouts
- Fibonacci level confluence analysis
- Smart position sizing recommendations
- Visual TP/SL lines with outcome tracking
- Comprehensive statistics table
🔔 ALERTS INCLUDED:
- Buy/Sell signals with strength ratings
- TP/SL hit notifications
- BB squeeze/expansion alerts
- Fibonacci level touches
Best used on 1H+ timeframes for optimal results.
Perfect for swing trading and position entries.
Muzyorae - RTH Anchored Quarters CyclesRTH Anchored Quarters Cycles — Model Overview
The RTH Anchored Quarters Cycles model is designed to divide the Regular Trading Hours (RTH) session of U.S. equities (typically 09:30 – 16:00 New York time) into four structured “quarters” plus a closing marker. It provides a consistent framework for analyzing intraday market behavior by aligning time-based partitions with the actual trading day.
Key Features
Anchored to RTH
The model starts each cycle at 09:30 NY time (the official cash open).
It ignores overnight or extended-hours data, focusing strictly on the RTH session, where the majority of institutional order flow takes place.
After 18:00 NY time, the model still references the same trading date, preventing false signals from session rollovers.
Quarterly Time Blocks
The trading day is split into five reference points:
Q1: 09:30 – 10:00
Q2: 10:00 – 11:30
Q3: 11:30 – 13:30
Q4: 13:30 – 16:00
End: Closing marker at 16:00
Each boundary is drawn as a vertical line on the chart, clearly separating the quarters.
Customization
Users can adjust the start/end times of each quarter.
So if you would like to wish to use ICT timing Macro, intraday, daily and even weekly
The line style, color, and width are configurable (solid/dotted/dashed).
A label is placed at each quarter boundary (Q1, Q2, Q3, Q4, End) for quick visual reference.
Days Back Control
The model can display the cycles for multiple past trading days (user-defined).
Weekend days are automatically skipped, so “2 days back” means today and the previous trading day.
Why It’s Useful
Intraday Structure: Traders can quickly identify where the market is within the daily RTH cycle.
Consistency: Since the model is anchored to RTH, it avoids confusion caused by overnight Globex activity.
Clarity: Vertical markers and labels provide a clean framework for aligning trade setups, volume analysis, or order flow studies with specific time windows.
Flexibility: The customizable settings allow adaptation across instruments and strategies.
AI KNN-Dual SuperTrend MTF - by Trading Pine Lab🇬🇧
The AI KNN-Dual SuperTrend MTF is a next-generation trading strategy that merges two higher-timeframe SuperTrends with dual KNN (K-Nearest Neighbors) classifiers, an ADX/DMI filter, and a Pivot Percentile bias module. This layered architecture ensures stronger signal confirmation by requiring consensus across AI models, multi-timeframe SuperTrends, and statistical filters.
Entries occur only when both SuperTrends align with bullish or bearish KNN labels, while the ADX/DMI filter validates momentum. Exits are managed dynamically with adaptive trailing stops (ST ± ATR × factor) or when market conditions flip according to percentile bias.
All parameters are fully configurable:
-Trading direction filter: Long / Short / Both.
-KNN classifiers: neighbors (K), dataset size (N), smoothing lengths.
-Dual SuperTrend: higher timeframes, ATR length, ATR factor, baseline type.
-ADX/DMI filter: customizable length and timeframe.
-Pivot Percentile module: multi-scale statistical bias.
-Visualization: AI markers, ribbons, aura lines, and per-trend coloring.
RVM LLS Signal DetectorThe indicator detects long lower wick candle and gives indicator to buy points. Proper risk reward needs to be managed to make the indicator work
Candle Opening Price & FVG/iFVGIndicator Description: Candle Opening Price & Fair Value Gaps w/(iFVGs)
This powerful, multi-purpose indicator combines two essential trading concepts into one comprehensive tool, designed to provide traders with key price levels and areas of market imbalance.
What It Does
1. Customizable Candle Open Lines: This feature allows you to mark the opening price of specific candles from key trading sessions throughout the day.
Up to 7 Custom Time Inputs: You can define up to seven different times (e.g., "08:30" for London Open, "09:30" for New York Open).
Automatic Horizontal Lines: The script automatically draws a persistent horizontal line at the opening price of the candle corresponding to your set time.
Full Customization: Each line can be independently enabled or disabled and styled with a unique color, width, and line style (solid, dashed, dotted), allowing for a clean and personalized chart setup.
Use Cases: Ideal for marking session opens, news event candles, or any other time-based level that you consider significant for support, resistance, or directional bias.
2. Dynamic Fair Value Gaps (FVG) & Inversions (iFVG): This part of the indicator automatically identifies, draws, and manages Fair Value Gaps, a core concept in modern price action trading.
Automatic FVG Detection: The script identifies both Bullish FVGs (areas of buying inefficiency) and Bearish FVGs (areas of selling inefficiency) based on the classic three-bar pattern.
Clear Visualization: Discovered FVGs are drawn as colored boxes on the chart, extending into the future until they are mitigated. Colors for Bullish and Bearish FVGs are fully customizable.
Inversion Logic: When price wicks into an FVG, the box changes color to signify an "inversion." A Bullish FVG that gets tapped becomes potential resistance (Bearish Inversion), and a Bearish FVG becomes potential support (Bullish Inversion). This dynamic shift helps you track how the market is interacting with these zones.
Zone Mitigation: Once an inverted FVG is fully reclaimed by a candle close, the zone is considered "mitigated" and the box is automatically removed from the chart, keeping your view focused on relevant, active zones.
Disclaimer
This indicator is for educational and informational purposes only and should not be construed as financial advice. Trading in financial markets involves substantial risk, and there is always the potential for loss. Past performance is not indicative of future results.
The signals, levels, and zones generated by this tool are based on historical price data and mathematical formulas; they do not predict the future with certainty. You should always conduct your own research, practice sound risk management, and consult with a qualified financial advisor before making any trading decisions. The author and TradingView are not responsible for any financial losses you may incur by using this script. Use at your own risk.