Elliott Wave [BigBeluga]🔵 OVERVIEW
Elliott Wave automatically finds and draws an Elliott-style 5-wave impulse and a dashed projection for a potential -(a)→(b)→(c) correction. It detects six sequential reversal points from rolling highs/lows — 1, 2, 3, 4, 5, (a) — validates their relative placement, and then renders the wave with labels and horizontal reference lines. If price invalidates the structure by closing back through the Wave-5 level inside a 100-bar window, the pattern is cleared (optionally kept as “broken”) while key dotted levels remain for context.
🔵 CONCEPTS
Reversal harvesting from extremes : The script scans highest/lowest values over a user-set Length and stores swing points with their bar indices.
Six-point validation : A pattern requires six pivots (1…5 and (a)). Their vertical/temporal order must satisfy Elliott-style constraints before drawing.
Impulse + projection : After confirming 1→5, the tool plots a curved polyline through the pivots and a dashed forward path from (a) toward (b) (midpoint of 5 and (a)) and back to (c).
Risk line (invalidator) : The Wave-5 price is tracked; a close back through it within 100 bars marks the structure as broken.
Minimal persistence : When broken, the wave drawing is removed to avoid noise, while dotted horizontals for waves 5 and 4 remain as reference.
🔵 FEATURES
Automatic pivot collection from rolling highs/lows (user-controlled Length ).
Wave labeling : Points 1–5 are printed; the last collected swing is marked b
. Projected i
& i
are shown with a dashed polyline.
Breaker line & cleanup : If price closes above Wave-5 (opposite for bears) within 100 bars, the pattern is removed; only dotted levels of 5 and 4 stay.
Styling controls :
Length (pivot sensitivity)
Text Size for labels (tiny/small/normal/large)
Wave color input
Show Broken toggle to keep invalidated patterns visible
Lightweight memory : Keeps a compact buffer of recent pivots/draws to stay responsive.
🔵 HOW TO USE
Set sensitivity : Increase Length on noisy charts for cleaner pivots; decrease to catch earlier/shorter structures.
Wait for confirmation : Once 1→5 is printed and (a) appears, use the Wave-5 line as your invalidation. A close back through it within ~100 bars removes the active wave (unless Show Broken is on).
Plan with the dashed path : The (a)→(b)→(c) projection offers a scenario for potential corrective movement and risk placement.
Work MTF : Identify cleaner waves on higher TFs; refine execution on lower TFs near the breaker or during the move toward (b).
Seek confluence : Align with structure (S/R), volume/Delta, or your trend filter to avoid counter-context trades.
🔵 CONCLUSION
Elliott Wave systematizes discretionary wave analysis: it detects and labels the 5-wave impulse, projects a plausible (a)-(b)-(c) path, and self-cleans on invalidation. With clear labels, dotted reference levels, and a practical breaker rule, it gives traders an objective framework for scenario planning, invalidation, and timing.
指標和策略
LogPressure Envelope [BOSWaves]LogPressure Envelope – Adaptive Volatility & Trend Visualizer
Overview
LogPressure Envelope is a specialized trading tool designed to normalize market behavior using logarithmic price scaling while providing an adaptive framework for volatility and trend detection. The indicator calculates a log-based moving average midline, surrounds it with asymmetric volatility envelopes, and replaces the conventional cloud with progressive fan lines to present price action in a more interpretable form.
By integrating rate-of-change midline coloring, fading trend strength, and structured buy/sell markers, LogPressure Envelope simplifies the reading of complex market dynamics. Its design makes it suitable for multiple trading approaches, including scalping, intraday, and swing trading, where volatility behavior and trend shifts must be understood quickly and objectively.
Unlike static envelope indicators, LogPressure Envelope adapts continuously to price scale and volatility conditions. It evaluates log-transformed prices, applies configurable moving average methods (EMA, SMA, WMA), and derives asymmetric standard-deviation bands for both upside and downside moves. These envelopes are projected as fan lines with adjustable opacity, producing a layered volatility map that evolves with the market.
This system ensures each visual element—midline shading, candle coloring, fan structure, and signal markers—reflects real-time market conditions, allowing traders to interpret volatility expansion, contraction, and directional bias with clarity.
How It Works
The foundation of LogPressure Envelope is the logarithmic transformation of price. By operating in log space, the indicator removes distortions caused by large nominal price differences across assets, enabling consistent analysis of both low-priced and high-priced instruments.
A moving average of log prices is calculated (EMA, SMA, or WMA depending on user input) and then re-converted to normal price scale, forming the log midline. Standard deviation of log prices is then measured over a separate period, with independent multipliers for upside and downside deviations. This asymmetry captures the fact that markets often expand differently in bullish versus bearish phases.
Instead of plotting a filled cloud, the envelope is expressed as ten equidistant fan lines stretching from the lower to upper boundary. Each line is shaded progressively to visualize volatility clustering and directional strength without overloading the chart.
Trend determination is smoothed using a fade mechanism: shifts in bias do not flip instantly but gradually move toward the new state, producing fewer false transitions. Buy and sell markers are generated when trend strength crosses confirmation thresholds, ensuring signals are event-driven and contextually meaningful.
Signals and Visuals
LogPressure Envelope provides multiple layers of structured signals:
Midline Bias – Central moving average colored by rate-of-change, reflecting directional acceleration or deceleration.
Volatility Fan – Ten progressive lines forming a gradient between lower and upper bands, visually encoding volatility spread.
Buy Signals – Labels below bars when upward trend strength is confirmed.
Sell Signals – Labels above bars when downward trend strength is confirmed.
Candle Coloring – Optional shading of candles based on trend alignment with the log midline, highlighting bullish, bearish, or neutral conditions.
These signals remain clear even during high-volatility phases, with visual hierarchy maintained through progressive opacity control.
Interpretation
Trend Analysis : Midline direction and candle coloring provide continuous feedback on prevailing bias. Upward-sloping midlines with blue shading indicate bullish phases, while downward slopes with orange shading confirm bearish conditions.
Volatility and Risk Assessment : Expansion of fan lines indicates rising volatility and potential breakout conditions; contraction indicates consolidation and possible mean reversion.
Signal Confirmation : Buy and sell markers validate transitions when trend strength thresholds are crossed, aligning with volatility envelope dynamics.
Market Context : Asymmetric envelopes allow traders to see where bearish acceleration differs from bullish expansion, improving interpretation of liquidity conditions and institutional pressure.
Strategy Integration
LogPressure Envelope can be applied across trading styles:
Trend Following : Enter trades in the direction of midline bias, confirmed by buy or sell markers.
Pullback Entries : Use midline retests during trending conditions as lower-risk continuation points.
Volatility Breakouts : Identify sharp expansions in fan line spacing as early signals of directional moves.
Reversal Strategies : Fade extreme envelope touches when momentum shows exhaustion and fan contraction begins.
Multi-Timeframe Confirmation : Align signals from higher and lower timeframes to reduce noise and validate trade setups.
Stop-loss levels can be set near the opposite envelope boundary, while targets may be managed through progressive volatility zones or midline convergence.
Advanced Techniques
For greater precision, LogPressure Envelope can be combined with other analytical tools:
Pair with volume or liquidity measures to validate breakout or reversal conditions.
Use momentum indicators to confirm ROC-based midline bias.
Track sequences of fan line expansions and contractions to anticipate regime shifts in volatility.
Apply across multiple timeframes to monitor how volatility clusters align at different market scales.
Adjusting parameters such as envelope multipliers, moving average type, and fade bars allows the indicator to adapt to diverse asset classes and volatility environments.
Inputs and Customization
Midline Type : Select EMA, SMA, or WMA.
Line Opacity : Control visibility of fan lines.
Enable Candle Coloring : Toggle trend-based bar shading.
MA Length / StdDev Length : Define periods for midline and volatility calculation.
Multipliers : Set asymmetric scaling for upside and downside envelopes.
Fade Bars : Control smoothness of trend strength transitions.
Fan Lines : Adjust number of envelope subdivisions for visualization granularity.
Why Use LogPressure Envelope
LogPressure Envelope translates complex volatility and trend interactions into a structured and adaptive framework. By combining logarithmic normalization, asymmetric standard deviation envelopes, and smoothed trend confirmation, it allows traders to:
Normalize price analysis across assets of different scales.
Visualize volatility expansion and contraction in real time.
Identify and confirm directional shifts with objective signal markers.
Apply a disciplined system for trend, breakout, and reversal strategies.
This indicator is designed for traders who want a systematic, visually clear approach to volatility-based market analysis without relying on static bands or arbitrary scaling.
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.
Relative Strength Heat [InvestorUnknown]The Relative Strength Heat (RSH) indicator is a relative strength of an asset across multiple RSI periods through a dynamic heatmap and provides smoothed signals for overbought and oversold conditions. The indicator is highly customizable, allowing traders to adjust RSI periods, smoothing methods, and visual settings to suit their trading strategies.
The RSH indicator is particularly useful for identifying momentum shifts and potential reversal points by aggregating RSI data across a range of periods. It presents this data in a visually intuitive heatmap, with color-coded bands indicating overbought (red), oversold (green), or neutral (gray) conditions. Additionally, it includes signal lines for overbought and oversold indices, which can be smoothed using RAW, SMA, or EMA methods, and a table displaying the current index values.
Features
Dynamic RSI Periods: Calculates RSI across 31 periods, starting from a user-defined base period and incrementing by a specified step.
Heatmap Visualization: Displays RSI strength as a color-coded heatmap, with red for overbought, green for oversold, and gray for neutral zones.
Customizable Smoothing: Offers RAW, SMA, or EMA smoothing for overbought and oversold signals.
Signal Lines: Plots scaled overbought (purple) and oversold (yellow) signal lines with a midline for reference.
Information Table: Displays real-time overbought and oversold index values in a table at the top-right of the chart.
User-Friendly Inputs: Allows customization of RSI source, period ranges, smoothing length, and colors.
How It Works
The RSH indicator aggregates RSI calculations across 31 periods, starting from the user-defined Starting Period and incrementing by the Period Increment. For each period, it computes the RSI and determines whether the asset is overbought (RSI > threshold_ob) or oversold (RSI < threshold_os). These states are stored in arrays (ob_array for overbought, os_array for oversold) and used to generate the following outputs:
Heatmap: The indicator plots 31 horizontal bands, each representing an RSI period. The color of each band is determined by the f_col function:
Red if the RSI for that period is overbought (>threshold_ob).
Green if the RSI is oversold (
Day Zero Fakeout Detector MTFDay Zero Template (Stacey Burke)
Definition:
“Day Zero” is essentially the setup day in Stacey Burke’s playbook.
It’s the day when the market creates a significant inflection — often forming a Peak Formation High (PFH) or Peak Formation Low (PFL).
It usually occurs after 3 days of directional movement (the classic 3-day cycle Stacey teaches).
Example:
Day 1: Breakout expansion.
Day 2: Continuation or consolidation.
Day 3: Exhaustion + reversal (forms PFH/PFL).
Day Zero: The day after this reversal template begins — where traders start looking for measured moves back inside the range.
👉 Day Zero = the transition day where the new weekly cycle (up or down) begins.
2️⃣ Peak Formation Highs (PFH) and Lows (PFL)
A PFH occurs when the market fails above prior highs (often with stop hunts/fakeouts).
A PFL occurs when the market fails below prior lows.
These PFHs/PFLs mark the anchor points for the next 3-day cycle.
Once identified, they become reference levels:
Above PFH → fade long traps (short bias).
Below PFL → fade short traps (long bias).
👉 This is where rectangles (Peter Brandt style) can come in handy to box in the PFH/PFL area.
3️⃣ Peter L. Brandt – Rectangles & Classical Charting
Peter Brandt’s approach (classical charting) complements Stacey’s playbook:
Rectangles are consolidation zones (value areas).
When a PFH or PFL forms, price often consolidates in a rectangle range.
A breakout from that rectangle confirms direction (continuation or reversal).
The measured move target is typically the height of the rectangle projected from the breakout point.
👉 Applied to Day Zero:
PFH/PFL = the extreme boundary of the rectangle.
A breakout from the rectangle in the opposite direction = confirmation of Day Zero reversal.
4️⃣ How They Fit Together
Stacey Burke: Focus on intraday cycles, 3-day cycle, Day Zero as the reset after PFH/PFL.
Peter Brandt: Focus on classical rectangle consolidation and breakout targets.
Integration:
Day Zero = when you’ve spotted a PFH or PFL and are preparing for the new cycle to begin.
Mark the PFH/PFL → draw a rectangle around the consolidation.
Wait for breakout/acceptance beyond rectangle → trade toward measured move (often aligning with Stacey’s Day 1/Day 2 directional bias).
✅ Example in practice:
Monday & Tuesday rally → Wednesday exhaustion → PFH forms.
Thursday = Day Zero (new short bias starting).
Rectangle consolidation forms under PFH.
Breakout below rectangle = signal.
Target = rectangle height measured down → often aligns with yesterday’s lows or prior session value area.
ForecastForecast (FC), indicator documentation
Type: Study, not a strategy
Primary timeframe: 1D chart, most plots and the on-chart table only render on daily bars
Inspiration: Robert Carver’s “forecast” concept from Advanced Futures Trading Strategies, using normalized, capped signals for comparability across markets
⸻
What the indicator does
FC builds a volatility-normalized momentum forecast for a chosen symbol, optionally versus a benchmark. It combines an EWMAC composite with a channel breakout composite, then caps the result to a common scale. You can run it in three data modes:
• Absolute: Forecast of the selected symbol
• Relative: Forecast of the ratio symbol / benchmark
• Combined: Average of Absolute and Relative
A compact table can summarize the current forecast, short-term direction on the forecast EMAs, correlation versus the benchmark, and ATR-scaled distances to common price EMAs.
⸻
PineScreener, relative-strength screening
This indicator is excellent for screening on relative strength in PineScreener, since the forecast is volatility-normalized and capped on a common scale.
Available PineScreener columns
PineScreener reads the plotted series. You will see at least these columns:
• FC, the capped forecast
• from EMA20, (price − EMA20) / ATR in ATR multiples
• from EMA50, (price − EMA50) / ATR in ATR multiples
• ATR, ATR as a percent of price
• Corr, weekly correlation with the chosen benchmark
Relative mode and Combined mode are recommended for cross-sectional screens. In Relative mode the calculation uses symbol / benchmark, so ensure the ratio ticker exists for your data source.
⸻
How it works, step by step
1. Volatility model
Compute exponentially weighted mean and variance of daily percent returns on D, annualize, optionally blend with a long lookback using 10y %, then convert to a price-scaled sigma.
2. EWMAC momentum, three legs
Daily legs: EMA(8) − EMA(32), EMA(16) − EMA(64), EMA(32) − EMA(128).
Divide by price-scaled sigma, multiply by leg scalars, cap to Cap = 20, average, then apply a small FDM factor.
3. Breakout momentum, three channels
Smoothed position inside 40, 80, and 160 day channels, each scaled, then averaged.
4. Composite forecast
Average the EWMAC composite and the breakout composite, then cap to ±20.
Relative mode runs the same logic on symbol / benchmark.
Combined mode averages Absolute and Relative composites.
5. Weekly correlation
Pearson correlation between weekly closes of the asset and the benchmark over a user-set length.
6. Direction overlay
Two EMAs on the forecast series plus optional green or red background by sign, and optional horizontal level shading around 0, ±5, ±10, ±15, ±20.
⸻
Plots
• FC, capped forecast on the daily chart
• 8-32 Abs, 8-32 Rel, single-leg EWMAC plus breakout view
• 8-32-128 Abs, 8-32-128 Rel, three-leg composite views
• from EMA20, from EMA50, (price − EMA) / ATR
• ATR, ATR as a percent of price
• Corr, weekly correlation with the benchmark
• Forecast EMA1 and EMA2, EMAs of the forecast with an optional fill
• Backgrounds and guide lines, optional sign-based background, optional 0, ±5, ±10, ±15, ±20 guides
Most plots and the table are gated by timeframe.isdaily. Set the chart to 1D to see them.
⸻
Inputs
Symbol selection
• Absolute, Relative, Combined
• Vs. benchmark for Relative mode and correlation, choices: SPY, QQQ, XLE, GLD
• Ticker or Freeform, for Freeform use full TradingView notation, for example NASDAQ:AAPL
Engine selection
• Include:
• 8-32-128, three EWMAC legs plus three breakouts
• 8-32, simplified view based on the 8-32 leg plus a 40-day breakout
EMA, applied to the forecast
• EMA1, EMA2, with line-width controls, plus color and opacity
Volatility
• Span, EW volatility span for daily returns
• 10y %, blend of long-run volatility
• Thresh, Too volatile, placeholders in this version
Background
• Horizontal bg, level shading, enabled by default
• Long BG, Hedge BG, colors and opacities
Show
• Table, Header, Direction, Gain, Extension
• Corr, Length for correlation row
Table settings
• Position, background, opacity, text size, text color
Lines
• 0-lines, 10-lines, 5-lines, level guides
⸻
Reading the outputs
• Forecast > 0, bullish tilt; Forecast < 0, bearish or hedge tilt
• ±10 and ±20 indicate strength on a uniform scale
• EMA1 vs EMA2 on the forecast, EMA1 above EMA2 suggests improving momentum
• Table rows, label colored by sign, current forecast value plus a green or red dot for the forecast EMA cross, optional daily return percent, weekly correlation, and ATR-scaled EMA9, EMA20, EMA50 distances
⸻
Data handling, repainting, and performance
• Daily and weekly series are fetched with request.security().
• Calculations use closed bars, values can update until the bar closes.
• No lookahead, historical values do not repaint.
• Weekly correlation updates during the week, it finalizes on weekly close.
• On intraday charts most visuals are hidden by design.
⸻
Good practice and limitations
• This is a research indicator, not a trading system.
• The fixed Cap = 20 keeps a common scale, extreme moves will be clipped.
• Relative mode depends on the ratio symbol / benchmark, ensure both legs have data for your feed.
⸻
Credits
Concept inspired by Robert Carver’s forecast methodology in Advanced Futures Trading Strategies. Implementation details, parameters, and visuals are specific to this script.
⸻
Changelog
• First version
⸻
Disclaimer
For education and research only, not financial advice. Always test on your market and data feed, consider costs and slippage before using any indicator in live decisions.
Dips & Rips — OVERLAY (Triangles on Price Only, size fixed)This script calculates extreme dips (blue triangle) or rips (yellow triangle) as likely reversal points, with confirmation long (green triangles) and short (red triangles) triggers occurring on subsequent RSI divergences.
Dual Channel System [Alpha Extract]A sophisticated trend-following and reversal detection system that constructs dynamic support and resistance channels using volatility-adjusted ATR calculations and EMA smoothing for optimal market structure analysis. Utilizing advanced dual-zone methodology with step-like boundary evolution, this indicator delivers institutional-grade channel analysis that adapts to varying volatility conditions while providing high-probability entry and exit signals through breakthrough and rejection detection with comprehensive visual mapping and alert integration.
🔶 Advanced Channel Construction
Implements dual-zone architecture using recent price extremes as foundation points, applying EMA smoothing to reduce noise and ATR multipliers for volatility-responsive channel widths. The system creates resistance channels from highest highs and support channels from lowest lows with asymmetric multiplier ratios for optimal market reaction zones.
// Core Channel Calculation Framework
ATR = ta.atr(14)
// Resistance Channel Construction
Resistance_Basis = ta.ema(ta.highest(high, lookback), lookback)
Resistance_Upper = Resistance_Basis + (ATR * resistance_mult)
Resistance_Lower = Resistance_Basis - (ATR * resistance_mult * 0.3)
// Support Channel Construction
Support_Basis = ta.ema(ta.lowest(low, lookback), lookback)
Support_Upper = Support_Basis + (ATR * support_mult * 0.4)
Support_Lower = Support_Basis - (ATR * support_mult)
// Smoothing Application
Smoothed_Resistance_Upper = ta.ema(Resistance_Upper, smooth_periods)
Smoothed_Support_Lower = ta.ema(Support_Lower, smooth_periods)
🔶 Volatility-Adaptive Zone Framework
Features dynamic ATR-based width adjustment that expands channels during high-volatility periods and contracts during consolidation phases, preventing false signals while maintaining sensitivity to genuine breakouts. The asymmetric multiplier system optimizes zone boundaries for realistic market behavior patterns.
// Dynamic Volatility Adjustment
Channel_Width_Resistance = ATR * resistance_mult
Channel_Width_Support = ATR * support_mult
// Asymmetric Zone Optimization
Resistance_Zone = Resistance_Basis ± (ATR_Multiplied * )
Support_Zone = Support_Basis ± (ATR_Multiplied * )
🔶 Step-Like Boundary Evolution
Creates horizontal step boundaries that update on smoothed bound changes, providing visual history of evolving support and resistance levels with performance-optimized array management limited to 50 historical levels for clean chart presentation and efficient processing.
🔶 Comprehensive Signal Detection
Generates break and bounce signals through sophisticated crossover analysis, monitoring price interaction with smoothed channel boundaries for high-probability entry and exit identification. The system distinguishes between breakthrough continuation and rejection reversal patterns with precision timing.
🔶 Enhanced Visual Architecture
Provides translucent zone fills with gradient intensity scaling, step-like historical boundaries, and dynamic background highlighting that activates upon zone entry. The visual system uses institutional color coding with red resistance zones and green support zones for intuitive
market structure interpretation.
🔶 Intelligent Zone Management
Implements automatic zone relevance filtering, displaying channels only when price proximity warrants analysis attention. The system maintains optimal performance through smart array management and historical level tracking with configurable lookback periods for various market conditions.
🔶 Multi-Dimensional Analysis Framework
Combines trend continuation analysis through breakthrough patterns with reversal detection via rejection signals, providing comprehensive market structure assessment suitable for both trending and ranging market conditions with volatility-normalized accuracy.
🔶 Advanced Alert Integration
Features comprehensive notification system covering breakouts, breakdowns, rejections, and bounces with customizable alert conditions. The system enables precise position management through real-time notifications of critical channel interaction events and zone boundary violations.
🔶 Performance Optimization
Utilizes efficient EMA smoothing algorithms with configurable periods for noise reduction while maintaining responsiveness to genuine market structure changes. The system includes automatic historical level cleanup and performance-optimized visual rendering for smooth operation across all timeframes.
Why Choose Dual Channel System ?
This indicator delivers sophisticated channel-based market analysis through volatility-adaptive ATR calculations and intelligent zone construction methodology. By combining dynamic support and resistance detection with advanced signal generation and comprehensive visual mapping, it provides institutional-grade channel analysis suitable for cryptocurrency, forex, and equity markets. The system's ability to adapt to varying volatility conditions while maintaining signal accuracy makes it essential for traders seeking systematic approaches to breakout trading, zone reversals, and trend continuation analysis with clearly defined risk parameters and comprehensive alert integration. Also to note, this indicator is best suited for the 1D timeframe.
VHB by bigmmVolume-Based Support/Resistance Levels Indicator identifies significant price levels based on high-volume trading activity across three timeframes (4H, D, W). The script draws horizontal lines at key support/resistance levels where trading volume exceeded 60% of the maximum volume observed over the previous 499 periods.
Analyzes volume spikes on 4-hour, daily, and weekly timeframes
Displays colored lines (green for bullish candles, red for bearish candles)
Maintains only the 5 most recent significant levels to avoid chart clutter
Labels each line with its respective timeframe (4H, 1D, 1W)
Lines extend in real-time to show current relevance of each level
Traders can use these volume-based levels to identify potential support/resistance zones and make informed decisions about entry/exit points, recognizing areas where significant trading activity previously occurred.
VXN UT Bot AlertsThis indicator is based on other open source scripts. It's designed for use with Nasdaq futures (NQ or MNQ). It generates buy/sell signals based on a trailing stop mechanism, filtered by the VXN index direction to eliminate signals that do not align with the VXN trend (bullish or bearish).
Session Based Liquidity# Session Based Liquidity Indicator - Educational Open Source
## 📊 Overview
The Session Based Liquidity indicator is a comprehensive educational tool designed to help traders understand and visualize liquidity concepts across major trading sessions. This indicator identifies Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL) levels created during Asia, London, and New York trading sessions, providing insights into institutional order flow and potential market reversal zones.
## 🎯 Key Features
### 📈 Multi-Session Tracking
- **Asia Session**: Tokyo/Sydney overlap (20:00-02:00 EST)
- **London Session**: European markets (03:00-07:30 EST)
- **New York Session**: US markets (09:30-16:00 EST)
- Individual session toggle controls for focused analysis
### 💧 Liquidity Level Detection
- **Buy-Side Liquidity (BSL)**: Identifies stop losses above swing highs where short positions get stopped out
- **Sell-Side Liquidity (SSL)**: Identifies stop losses below swing lows where long positions get stopped out
- Advanced filtering algorithm to identify only significant liquidity zones
- Configurable pivot strength for sensitivity adjustment
### 🎨 Visual Management System
- **Unclaimed Levels**: Active liquidity zones that haven't been hit (default: black lines)
- **Claimed Levels**: Swept liquidity zones showing historical interaction (default: red lines)
- Customizable line styles, colors, and widths for both states
- Dynamic label system showing session origin and level significance
- Real-time line extension and label positioning
### ⚙️ Advanced Configuration
- **Pivot Strength**: Adjust sensitivity (1-20) for liquidity detection
- **Max Levels Per Side**: Control number of tracked levels (1-10) per session
- **Label Offset**: Customize label positioning
- **Style Customization**: Full control over visual appearance
## 📚 Educational Value
### Core Concepts Explained
- **Liquidity Pools**: Areas where stop losses and pending orders cluster
- **Liquidity Sweeps**: When price moves through levels to trigger stops, then reverses
- **Session-Based Analysis**: How different market sessions create distinct liquidity characteristics
- **Institutional Order Flow**: Understanding how large players interact with retail liquidity
### Trading Applications
- Identify high-probability reversal zones after liquidity sweeps
- Understand where stop losses are likely clustered
- Avoid trading into obvious liquidity traps
- Use session context for timing entries and exits
- Recognize institutional accumulation and distribution patterns
### Code Learning Opportunities
- **Pine Script v6 Best Practices**: Modern syntax and efficient coding patterns
- **Object-Oriented Design**: Custom types and methods for clean code organization
- **Array Management**: Dynamic data structure handling for performance
- **Visual Programming**: Line, label, and styling management
- **Session Detection**: Time-based filtering and timezone handling
## 🔧 Technical Implementation
### Performance Optimized
- Efficient memory management with automatic cleanup
- Limited historical level tracking to maintain responsiveness
- Optimized array operations for smooth real-time updates
- Smart filtering to reduce noise and focus on significant levels
### Code Architecture
- **Modular Design**: Clean separation of concerns with dedicated methods
- **Type Safety**: Custom SessionLiquidity type for organized data management
- **Extensible Structure**: Easy to modify and enhance for specific needs
- **Educational Comments**: Comprehensive documentation throughout
## 💡 Usage Guide
### Basic Setup
1. Add indicator to chart
2. Configure session times for your timezone
3. Adjust pivot strength based on timeframe (higher for lower timeframes)
4. Enable/disable sessions based on your trading focus
### Interpretation
- **Unclaimed levels**: Watch for price interaction and potential reversals
- **Claimed levels**: Use as potential support/resistance after sweep
- **External levels**: Beyond session range, higher significance
- **Internal levels**: Within session range, may indicate ranging conditions
### Best Practices
- Use higher timeframes (15m+) for cleaner signals
- Combine with price action analysis for confirmation
- Consider session overlap periods for increased significance
- Monitor multiple sessions for comprehensive market view
## 🎓 Educational Goals
This open-source project aims to:
- Demystify liquidity concepts for retail traders
- Provide practical coding examples in Pine Script v6
- Encourage understanding of institutional trading behavior
- Foster community learning and collaboration
- Bridge the gap between theory and practical application
## 📄 License & Usage
Released under Mozilla Public License 2.0 - free for educational and commercial use with proper attribution.
## 🤝 Contributing
As an open-source educational tool, contributions are welcome! Whether it's bug fixes, feature enhancements, or educational improvements, your input helps the trading community learn and grow.
## ⚠️ Disclaimer
This indicator is for educational purposes only. All trading involves risk, and past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
---
*By studying and using this indicator, traders can develop a deeper understanding of market microstructure and improve their ability to read institutional order flow patterns.*
Futures Rotation Strategy - Overlay (Tables & Signals)This strategy focuses on the laggards and leaders of the market indices and does some weird stuff and determines which to long or short.
Script_Algo - Gap Strategy - Long Only🚀 Enhanced Gap Trading Strategy for US Session Open🚀
An advanced strategy based on gaps that appear at the opening of the US stock market session. In many cases, under certain market conditions, the gap acts as a strong zone of support or resistance.
🎯 Key Improvement: The script opens trades only after confirmed bullish gaps, when the close of the second candle is above the **high of the candle on which the trading day opened. This confirms the strength of the bulls, allowing for a higher win rate with a good risk-to-reward ratio.
➡️ The strategy works only in LONG!
How the Script Works (Step-by-Step):
1. Detection of a Bullish Gap (`high < low`)
Logic:The high of the previous candle is below the low of the current one. This means the price opened with a gap up.
2. Entry Conditions
The strategy does not enter immediately upon gap appearance but waits for confirmation:
* Long (Buy):** `bullGap and close > high `
* A bullish gap AND the price of the current candle closes above the high of the previous candle. This confirms bull strength.
* Entry occurs at the **close** of the candle that formed the gap.
3. Filters
To avoid false signals, the strategy uses a SuperTrend filter:
* For entry: The price must be **above the SuperTrend line**. This ensures the overall trend is bullish.
4. Risk Management
Stop-Loss: Set at the low of the previous candle (`low `). The idea is that if the price returns there, the gap will be filled, and the reason for the buy will disappear.
* Take-Profit: Calculated based on a risk-reward ratio (`riskRewardRatio`).
* Example for Long: If the risk (distance from entry price to stop) is 10 points, and R/R = 2, then take-profit will be set 20 points away from the entry price into the profit zone.*
5. Execution
The strategy prohibits opening new positions (`ignoreNewSignals`) if one is already open. This prevents overlapping trades.
6. Visualization
The chart displays:
* Entry arrows 🟢
* Stop-loss and take-profit levels for the current position
* A green background when SuperTrend is bullish
* Blue crosses `❌` marking the gaps.
⚠️ Potential Weaknesses & Important Notes
* "Runaway Gap": Sometimes a gap does not fill but is the start of a new powerful trend. In this case, the strategy may prematurely close the position by stop-loss, although it was possible to earn more. However, show me a strategy that works without losing trades. Let's laugh together 😄)
* Entry on Close: The strategy enters at the closing price of the candle. During periods of high volatility, the price by the time of closing may have already moved far from the gap, which worsens the risk/profit ratio. Unfortunately, this strategy can only be traded manually, as I am unaware of any services today that allow trading CFDs or stocks via WEBHOOK like crypto exchanges. If you know, please write.
* Parameter Optimization: The SuperTrend parameters and risk/reward must be carefully selected for a specific asset and timeframe.
* The strategy works well on stocks, does **not work on crypto**. I haven't tested it on other assets.
* As seen on the strategy results since February 2024, over a year and a half the strategy could have potentially brought *170% profit on NVDA stocks. The win rate is over 50% with a risk/reward ratio of 1:4.
* Someone might say NVDA stocks themselves grew by 200% during this period. I will answer this: which of us knew it would be like this a year and a half ago? Many stocks fell to the bottom during this period. For example, the once promising Virgin Galactic stocks fell by **1000%** from $35 to $3.5. Are you ready to take such risks?
* Secondly, with this strategy, you can allocate significantly less capital by trading CFDs and risking much smaller amounts.
* The strategy showed good results during a **bullish trend**, but it is unknown how it will behave in a **falling market**. Therefore, I do not recommend using it if you see that the global trend has changed to a downward one.
**ALWAYS REMEMBER that past strategy results do not necessarily repeat in the future. The market is constantly changing, so constantly monitor the situation, test on history, and adjust settings for each asset.**
**Advice:** Remember the bugs that exist in any algorithmic trading strategies, even if the script is well-tested and the algorithm is proven. No one knows what non-standard situations may happen on the market tomorrow. Try to trade only on proven, highly liquid assets to avoid excessive volatility, strong slippage, high spreads, and commissions.
---
🚨 **DISCLAIMER**
The author of the strategy does not urge anyone to use this algorithm and is not responsible for any possible financial losses as a result of its application! Any decisions to use this strategy are made personally by the owners of TradingView and crypto exchange accounts!
**Conclusion: ✅**
This is a well-structured, professional strategy that combines a simple basic idea (trading at the gap support zone) with a trend filter to increase the probability of successful trades. Its effectiveness highly depends on the correct setup of filters for the chosen instrument and the direction of the global trend.
**This is not the final version.** I have thoughts on how to improve this strategy, so **subscribe** so you don't miss updates. If you have any ideas on how to improve this or my other strategy, don't hesitate to write to me. I will try to implement it in the script. If you see any bugs or inconsistencies in my algorithm, please write to me about it - I will try to fix it as soon as possible.
I wish everyone good luck and a beautiful, clean trend without drawdowns! 📈✨
PDT AI✅ Features
Multi-indicator fusion: RSI + MACD + EMA + higher timeframe RSI
Signal strength (%): Each signal gets a confidence score (0–100)
Dynamic ATR-based targets and stops
Alerts: Buy/Sell triggers for real-time notifications
Fully customizable inputs
TCLC - Multi TimeFrame VWAPVWAP :
VWAP, or Volume Weighted Average Price, is a trading indicator that represents the average price of a security over a specific period, weighted by the volume of trades at each price level. It is calculated by taking the sum of the product of price and volume and dividing it by the total volume for the period. Essentially, VWAP shows the average price at which most trades occurred, giving more weight to prices with higher trading volumes.
The Indicator Plots the VWAP in Daily, WEEKLY , MONTHLY , YEARLY which helps to gauage the trend where the Volume vs Price exists....
Momentum Signals – Real-time (Repainting)This indicator generates real-time BUY/SELL signals using a confluence of VWMA trend, 3-bar momentum, and volume, then filters them by a strength score.
⚠️ **WARNING:** This version **repaints**; signals can appear and disappear before the bar closes.
Trend and Entry Marker with MA, Supports, Fib, and Trend LinesJust a little indicator I made when I was bored ...
Helps you find entries for trades!
BE-Volume Footprint & Pressure Candles█ Overview:
BE-Volume Footprint & Pressure Candles, is an indicator which is preliminarily designed to analyze the supply and demand patterns based on Rally Base Rally (RBR), Drop Base Drop (DBD), Drop Base Rally (DBR) & Rally Base Drop (RBD) concepts in conjunction to volume pressure. Understanding these concepts are crucial. Let's break down why the "Base" is you Best friend in this context.
Commonness in RBR, DBD, DBR, RBD patterns ?
There is an impulse price movement at first, be it rally (price moving up) or the Drop (price moving down), followed by a period of consolidation which is referred as "BASE" and later with another impulse move of price (Rally or Drop).
Why is the Base Important
1. Market Balance: Base represents a balance between buyers and sellers. This is where decisions are made.
2. Confirmation: It confirms the strength of previous impulse move which has happened.
Base & the Liquidity Play:
Supply & Demand Zone predict the presence of all large orders within the limits of the Base Zone. Price is expected to return to the zone to fill the unfilled orders placed by large players.
For the price to move in the intended direction Liquidity plays the major role. hence indicator aims to help traders in identifying those zones where liquidity exists and the volume pressure helps in confirming that liquidity is making its play.
Bottom pane in the below snapshots is a visual representation of Buyers volume pressure (Green Line & the Green filled area) making the price move upwards vs Sellers volume pressure (Red Line & the Red filled area) making the price move downwards.
Top pane in the below snapshots is a visual representation on the pattern identification (Blue marked zone & the Blue line referred as Liquidity level)
Bullish Pressure On Buy Liquidity:
Bearish Pressure On Sell Liquidity:
█ How It Works:
1. Indicator computes technical & mathematical operations such as ATR, delta of Highs & Lows of the candle and Candle ranges to identify the patterns and marks the liquidity lines accordingly.
2. Indicator then waits for price to return to the liquidity levels and checks if Directional volume pressure to flow-in while the prices hover near the Liquidity zones.
3. Once the Volume pressure is evident, loop in to the ride.
█ When It wont Work:
When there no sufficient Liquidity or sustained Opposite volume pressure, trades are expected to fail.
█ Limitations:
Works only on the scripts which has volume info. Relays on LTF candles to determine intra-bar volumes. Hence, Use on TF greater than 1 min and lesser than 15 min.
█ Indicator Features:
1. StrictEntries: employs' tighter rules (rather most significant setups) on the directional volume pressure applied for the price to move. If unchecked, liberal rules applied on the directional volume pressure leading to more setups being identified.
2. Setup Confirmation period: Indicates Waiting period to analyze the directional volume pressure. Early (lesser wait period) is Risky and Late (longer wait period) is too late for the
ride. Find the quant based on the accuracy of the setup provided in the bottom right table.
3. Algo Enabled with Place Holders:
Indicator is equipped with algo alerts, supported with necessary placeholders to trade any instrument like stock, options etc.
Accepted PlaceHolders (Case Sensitive!!)
1. {{ticker}}-->InstrumentName
2. {{datetime}}-->Date & Time Of Order Placement
3. {{close}}-->LTP Price of Script
4. {{TD}}-->Current Level:
Note: Negative Numbers for Short Setup
5. {{EN}} {{SL}} {{TGT}} {{T1}} {{T2}} --> Trade Levels
6. {{Qty}} {{Qty*x}} --> Qty -> Trade Qty mapped in Settings. Replace x with actual number of your choice for the multiplier
7. {{BS}}-->Based on the Direction of Trade Output shall be with B or S (B == Long Trade & S == Short Trade)
8. {{BUYSELL}}-->Based on the Direction of Trade Output shall be with BUY or SELL (BUY == Long Trade & SELL == Short Trade)
9. {{IBUYSELL}}-->Based on the Direction of Trade Output shall be with BUY or SELL (BUY == SHORT Trade & SELL == LONG Trade)
Dynamic Alerts:
10. { {100R0} }-->Dynamic Place Holder 100 Refers to Strike Difference and Zero refers to ATM
11. { {100R-1} }-->Dynamic Place Holder 100 Refers to Strike Difference and -1 refers to
ATM - 100 strike
12. { {50R2} }-->Dynamic Place Holder 50 Refers to Strike Difference and 2 refers to
ATM + (2 * 50 = 100) strike
13. { {"ddMMyy", 0} }-->Dynamically Picks today date in the specified format.
14. { {"ddMMyy", n} }-->replace n with actual number of your choice to Pick date post today date in the specified format.
15. { {"ddMMyy", "MON"} }-->dynamically pick Monday date (coming Monday, if today is not Monday)
Note. for the 2nd Param-->you can choose to specify either Number OR any letter from =>
16. {{CEPE}} {{ICEPE}} {{CP}} {{ICP}} -> Dynamic Option Side CE or C refers to Calls and PE or P refers to Puts. If "I" is used in PlaceHolder text, On long entries PUTs shall be used
Indicator is equipped with customizable Trade & Risk management settings like multiple Take profit levels, Trailing SL.
Primitive Delta DivergencePrimitive Delta Divergence
This indicator detects volume-price divergences by analyzing the relationship between price direction and volume bias over a rolling lookback period, revealing potential momentum shifts before they become apparent in price action alone.
Instead of relying solely on price movements, you can identify moments when volume sentiment contradicts price direction — a core concept borrowed from footprint chart analysis, adapted for traditional bar charts.
For example, when price moves higher but volume is predominantly bearish, or when price declines while volume shows bullish accumulation.
🔹 How it works
Lookback Period (n) → defines the rolling window for analyzing price and volume relationships
Creates a "meta-candle" from the lookback period, comparing its open vs. close for price bias
Volume classification → separates each bar's volume into bullish (green candles), bearish (red candles), or neutral (doji candles)
Volume bias calculation → generates a continuous score (-1 to +1) representing the directional volume pressure
Plots divergence signals when price direction and volume bias disagree
🔹 Use cases
Spot early momentum exhaustion when price and volume move in opposite directions
Identify potential reversal zones where volume suggests underlying weakness or strength
Enhance entry/exit timing by incorporating volume-based confirmation alongside price action
Apply footprint-style analysis to any timeframe without specialized charting tools
✨ Primitive Delta Divergence reveals the hidden story volume tells about price, uncovering divergences that traditional indicators might miss.
Cnagda Liquidit Trading SystemCnagda Liquidit Trading System helps spot where price is likely to trap traders and reverse, then gives simple, actionable Level to entry, place SL, and take profits with confidence. It blends imbalance zones, trend bias, order blocks, liquidity pools, high-probability fake Signal, and context-aware candle patterns into one clean workflow.
🟩🟥 Imbalance boxes: “Crowd rushed, gaps left”
What it is: Green/red boxes mark fast, one-sided moves where price “skipped” orders—think FVG-like zones that often get revisited.
Why it helps: Price frequently pulls back to “fill” these zones, creating clean retest entries with logical stops.
⏩How to use:
Green box = potential demand retest; Red box = potential supply retest. Enter on pullback into box, not on first impulse. Put stop on far side of box and aim first targets at recent swing points.
↕️ Swing bias (HH/HL vs LH/LL): “Which way is the road?”
What it is: Higher-highs/higher-lows = up-bias; Lower-highs/lower-lows = down-bias. system plots Buy/Sell OB levels aligned with that bias.
Why it helps: Trading with the broader flow reduces “hero trades” against institutions. Bias gives clearer entries and cleaner drawdowns.
⏩How to use:
Up-bias: look for long on Buy OB retests. Down-bias: look for short on Sell OB retests. Wait for a small rejection/engulfing to confirm before triggering.
🧱Order blocks: “Where big players remember”
What it is: last opposite-colored candle before an impulsive move—these zones often hold memory and reaction. system plots these as Buy/Sell OB lines.
Why it helps: Many breakouts pull back to the origin. Good entries often happen on retest, not on the breakout chase.
⏩ How to use:
Let price return into the OB, show wick rejection, and decent volume. Enter with stop beyond OB; define risk-reward before entry.
📊Volume coloring: “How Volume is move?”
What it is: Bar color reflects relative volume; inside bars are black. The dashboard also shows Volume and “Volume vs Prev.”
Why it helps: Patterns without volume often fade; volume validates strength and intent of moves.
⏩ How to use:
Favor entries where imbalance/OB/liquidity-grab coincide with higher volume. If volume is weak, reduce size or skip.
🧲 BSL/SSL liquidity pools: “Fishing for stops”
What it is: Equal highs cluster stops above (BSL); equal lows cluster stops below (SSL). system plots these and highlights the nearest one (“magnet”).
Why it helps: Price often sweeps these pools to trigger stops before reversing. This is a prime trap-reversal location.
⏩ How to use:
Watch nearest BSL/SSL. If price wicks through and closes back inside, anticipate a reversal. Trade reaction, not first poke. When price closes beyond, consider that pool mitigated and move on.
🟢🔴 Advanced liquidity grab: “Catch fakeout”
What it is: Bullish grab = makes a new low beyond a prior low but closes back above it, with a long lower wick, small body, and higher volume. Bearish is mirror. Labeled automatically.
Why it helps: It exposes trap moves (stop hunts) and often precedes true direction.
⏩ How to use:
Best when it aligns with a nearby imbalance/OB and supportive volume. Enter on reversal candle break or on retest. Stop goes beyond sweep wick.
🧠 Smart candlestick patterns (only in right place)
What it is: Engulfing, Hammer, Shooting Star, Hanging Man, Doji (with high volume), Morning/Evening Star, Piercing—but marked “effective” only if context (swing/trend/location) agrees.
Why it helps: same pattern in the wrong place is noise; in the right place, it’s signal.
⏩ How to use:
Location first (BSL/SSL/OB/imbalance), then pattern. Treat pattern as trigger/confirmation—one fresh label shows to keep chart clean.
🧭 Dashboard: “Context in a glance”
⏩ Reversal Level: current swing anchor—expect turns or reactions nearby; great for alerts and planning.
⏩ Volume vs Prev + Volume: Strength meter for signal candle—higher adds conviction.
⏩ Nearest Pool: next “magnet” area—look for sweeps/rejections there.
🧩Step-by-step trading flow (with mindset)
⏩ Set bias: HH/HL = long bias, LH/LL = short bias. Counter-trend only on clean sweeps with strong confirmation.
⏩ Find magnet: Check Nearest Pool (BSL/SSL). Focus attention there; it saves screen time.
⏩ Wait for event: Look for a sweep/grab label, or sharp rejection at pool/OB/imbalance. Avoid FOMO.
⏩ Add confluence: Stack 2–3 of these—imbalance box, OB, contextual pattern, supportive volume.
⏩Plan entry: Bullish: trigger above reversal candle high or take retest of FVG/OB. Stop below sweep wick/zone. Target at least 1:1.5–1:2.
Bearish: mirror above.
⏩Manage smartly: Take partials, move to breakeven or trail thoughtfully. Don’t drag stops inside zone out of emotion.
🎛️ Parameter tuning (to reduce human error)
⏩ swingLen: Smaller = faster but noisier; larger = cleaner but slower. Backtest first, then go live.
⏩ Tolerance (ATR or percent): ATR tolerance adapts to volatility (good for fast markets and lower TFs). Start around 0.15–0.30. In calm markets, try percent 0.05–0.15%.
⏩ minBarsGap: Start with 3–5 so equal highs/lows are truly equal—reduces false pools.
❌Common mistakes → ✅ Better habits
⏩Chasing every breakout → Wait for sweep/rejection, then confirm.
⏩Ignoring volume → Validate strength; cut size or skip on weak volume.
⏩Losing history of pools → If reviewing/backtesting, keep mitigated pools visible (dashed/faded).
⏩Over-tight tolerance/too small swingLen → Increases false signals; backtest to find balance.
📝 checklist (before entry)
⏩ Is there a nearby BSL/SSL and did a sweep/grab happen there?
⏩ Is there a close imbalance/OB that price can retest?
⏩ Do we have an effective pattern plus supportive volume?
⏩Is the stop beyond the wick/zone and RR ≥ 1:1.5?
•?((¯°·._.• 🎀 𝐻𝒶𝓅𝓅𝓎 𝒯𝓇𝒶𝒹𝒾𝓃𝑔 🎀 •._.·°¯((?•
MTF Last Closed Highs & LowsThis indicator plots the most recent closed high and low levels from multiple timeframes (4H, Daily, Weekly, Monthly, etc.) directly on your chart. It helps traders quickly spot key support and resistance zones, track market structure across different timeframes, and identify breakout or reversal opportunities.
ICT Unicorn Strategy [RoboQuant]What it detects
Structure: uses pivots (ta.pivothigh/low) to build a mini zigzag (A–B–C–D).
“Unicorn” Pattern:
Bull: bullish direction, C below A (protected swing), with a bullish “BRB” candle at B.
Bear: mirrored version.
FVG: searches for a valid gap between candle i and i+2 inside the BRB candle range and greater than 0.05 × ATR (quality filter).
When an FVG appears, it plots boxes/lines (top/bottom of range, protected swing, FVG box).
How it enters
Bull Trigger: a candle opens inside the FVG and closes above the top of the FVG (mitigation + continuation).
SL = protected swing (firstBl.swing, pivot C).
TP = top + (top - swing) * (reward/risk).
Draws Risk and Reward boxes if showTargets=true.
Bear Trigger: mirror setup (opens inside FVG and closes below bottom).
Management & sizing
Sizing: calculates position size = riskAmount / SL distance, capped by maxPositionSize.
RR configurable with risk and reward (default 1:2).
Trailing optional: adjusts TsL using short pivots (lenS).
Trade closes at SL (break of swing) or TP (target reached).
combine: if false, a bull setup cancels a bear setup (and vice versa). If true, both can coexist.
Key parameters
len: pivot sensitivity (structure).
riskAmount and maxPositionSize: risk control.
trail, lenS: trailing logic.
Box colors/visibility (showTargets, colRisk, colReward).
ICT translation
Seeks impulse → FVG → pullback into FVG → expansion, with a protected swing (implicit BOS/MSS via zigzag) and mitigation of imbalance.
The ATR * 0.05 filter avoids micro-gaps without intent.
How I’d use it (quick checklist)
Mark HTF bias (only take bull or bear setups with the trend).
On LTF, wait for a valid FVG inside the BRB candle.
Enter only if a candle re-enters the FVG and closes breaking its edge.
SL at swing C, TP by RR (default 1:2).
Enable trailing only after 1R is reached (optional, tuned via lenS).