S/R-Zones [SouthEast]Autro Support/ Resistance zones, drawn by default on 1 hr timeframe for last 3 months
แนวรับและแนวต้าน
eBacktesting - Learning: BreakoutseBacktesting - Learning: Breakouts highlights ranges & breakout behaviors in a clean, visual way.
It automatically:
- Detects consolidation ranges (tight price action) and draws a range box
- Marks a breakout only when a candle CLOSES outside the range (no wick-only breakouts)
Adds a label on the breakout candle (↑ bullish breakout / ↓ bearish breakout)
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
WaveRider [Scalping-Algo]# 📊 TrendPulse Pro - Indicator Guide
## 🎯 What is it?
A clean all-in-one trend tool. Combines 4 smoothed MAs, candlestick patterns & session highlights. No clutter, just signals.
---
## 🔧 Features
### 📈 4 Smoothed Moving Averages
- **21 SMMA** (Cyan) → Fast trend, scalping
- **50 SMMA** (Green) → Swing entries
- **100 SMMA** (Gold) → Medium trend filter
- **200 SMMA** (Red) → Major trend direction
💡 *Price above all = strong bull. Below all = strong bear.*
---
### ⚡ 3 Line Strike Pattern
Rare but powerful reversal signal.
- 🟢 **Bull 3LS** → 3 red candles + 1 big green that closes above first candle
- 🔴 **Bear 3LS** → 3 green candles + 1 big red that closes below first candle
💡 *Best near support/resistance zones.*
---
### 💎 Engulfing Candles
Shows momentum shift.
- 🟢 **Bull Engulf** → Green candle swallows previous red
- 🔴 **Bear Engulf** → Red candle swallows previous green
💡 *Filter with trend direction for better win rate.*
---
### 🕐 Session Highlight
See your trading window clearly.
- Light shade = Pre-session (prep time)
- Darker shade = Active session (go time)
💡 *Default is CME hours. Adjust in settings.*
---
## 📝 Quick Setup
1. Add to chart
2. Pick your timeframe (works on any)
3. Toggle what you need ON/OFF
4. Set your session times
5. Trade with confidence
---
## 🎨 Color Guide
| Element | Default Color | Meaning |
|---------|---------------|---------|
| 21 MA | Cyan | Fast trend |
| 50 MA | Green | Swing trend |
| 100 MA | Gold | Filter |
| 200 MA | Red | Big picture |
| Fill Green | Light Green | Bullish bias |
| Fill Red | Light Red | Bearish bias |
---
## ⚠️ Tips
✅ Use MA stack for trend bias
✅ Wait for patterns AT key levels
✅ Combine with volume
✅ Respect the 200 MA
❌ Don't trade against all MAs
❌ Don't chase every signal
❌ Don't ignore session times
---
## 🚀 Best Practices
**For Scalping:**
- Focus on 21 & 50 MA
- Trade engulfing patterns
- Use 1-5 min charts
**For Swing:**
- Focus on 100 & 200 MA
- Trade 3 Line Strike
- Use 1H-4H charts
---
Made with ☕ by a trader, for traders.
*"Keep it simple. Let price do the talking."*
NeuraCloud - Ichimoku (Purple Kumo) + Alerts (Minimal)NeuraCloud is a clean, modern interpretation of the Ichimoku Cloud, designed to identify trend direction, market structure, and key support/resistance zones at a glance.
The purple cloud (Kumo) acts as a dynamic trend filter:
• Price above the cloud indicates bullish conditions
• Price below the cloud indicates bearish conditions
• Price inside the cloud signals consolidation or uncertainty
NeuraCloud combines the cloud with Tenkan-sen and Kijun-sen to highlight momentum shifts, pullbacks, and trend continuation opportunities. Built-in alerts notify you of price/cloud breaks, momentum crosses, and cloud flips, helping you stay aligned with high-probability market structure.
Ideal for trend traders, swing traders, and multi-timeframe analysis, NeuraCloud keeps charts clean while delivering clear market context.
Supply & Demand (MTF) [Bearly Invested]Overview
This multi-timeframe supply and demand zone indicator identifies institutional price areas using a unique "Last 2 Opposite Candles" methodology. Unlike traditional support/resistance indicators, this script detects zones by analyzing momentum-based impulse moves and marking the base formed by the last two opposite-colored candles before the displacement.
How It Works
Zone Detection Logic
The indicator identifies supply and demand zones through a four-step process:
Momentum Detection: Monitors for consecutive candles with body sizes exceeding the 20-period average body size by a configurable multiplier (default 0.5x)
Impulse Confirmation: When the required number of momentum candles (default: 4 candles within 4-bar span) is detected, the script identifies a potential impulse move
Base Identification: Looks back through all consecutive momentum bars, then scans up to 50 bars to find the last two opposite-colored candles that formed before the impulse
Zone Creation: Creates a supply/demand zone using the combined high and low of those two opposite candles
Multi-Timeframe Analysis
The indicator supports up to three simultaneous timeframes, allowing you to identify higher timeframe zones while trading on lower timeframes. Each timeframe independently calculates zones using its own momentum criteria, providing confluence when multiple timeframe zones align.
Zone Combination Feature
When "Combine Zones" is enabled, overlapping zones from different timeframes or detection instances are automatically merged into single zones. Combined zones display all contributing timeframes in the label (e.g., "15 Min & 30 Min").
Zone Management
Invalidation Methods
Choose between two zone invalidation approaches:
Wick: Zone remains valid until price wicks through the boundary
Close: Zone remains valid until a candle closes through the boundary
Zone Filtering
The script includes built-in filters to reduce noise:
Minimum zone size requirement (10 bars on detection timeframe)
Maximum zone size limit (1.5x ATR)
Minimum 5-bar cooldown between new zone detections
Distance-based filtering (zones beyond max lookback are hidden)
Key Features
Retest & Break Detection
Retests: Automatically marks when price retests an active zone with "R" labels
Breaks: Optionally displays "B" labels when zones are invalidated
Built-in cooldown system prevents label spam (5-bar minimum between retests)
Alert Conditions
Four alert types are included:
Supply Zone Retest
Demand Zone Retest
Supply Zone Break
Demand Zone Break
Configuration Guide
General Settings
Zone Count: High (30 zones), Medium (5), Low (3), or One (single most recent zone per type)
Momentum Count: Number of consecutive momentum candles required (default: 4)
Momentum Span: Maximum bars to scan for momentum confirmation (default: 4)
Max Lookback For Opposite Candles: How far back to search for base candles (default: 50)
Max Distance To Last Bar: Controls historical zone visibility (High: 1250 bars, Normal: 500, Low: 150)
Timeframe Configuration
Enable up to three timeframes simultaneously. When multiple timeframes show the same value (e.g., chart timeframe), duplicate detection automatically disables redundant calculations.
Visual Options
Customizable supply/demand colors with transparency
"Show Historic Zones" toggles visibility of broken/invalidated zones
Text color and label positioning controls
Combined zones display with increased opacity for emphasis
Best Practices
Timeframe Selection: Use higher timeframes (15m, 30m, 1H) for swing trades; lower timeframes work for scalping when combined with HTF confluence
Zone Invalidation: "Close" method reduces false breaks from wicks; "Wick" method is more conservative
Zone Count: Start with "Medium" or "Low" settings to avoid chart clutter, especially on lower timeframes
Momentum Parameters: Lower values (3-4) detect more zones; higher values (5-6) create stricter, higher-quality zones
Combine Zones: Enable this feature to merge overlapping multi-timeframe zones for cleaner charts and stronger confluence areas
Important Notes
Zones are calculated in real-time on the detection timeframe and displayed on your chart timeframe
The indicator looks back a maximum of 2000 bars for calculations
Maximum of 500 boxes/labels can be displayed simultaneously due to Pine Script limitations
Zones older than the "Max Distance" setting are automatically hidden but still tracked for break/retest detection
The "Last 2 Opposite Candles" method may produce zones of varying sizes depending on the range of those base candles
MidZone Breakout Pro 🚀 MidZone Breakout Pro — Smart Balance Zone Signals
🧭 Equilibrium-Based Market Insight
MidZone Breakout Pro identifies key balance levels in the market and highlights directional opportunities when price decisively moves away from equilibrium.
📐 Dynamic Midpoint Zone Mapping
Automatically plots a central price balance zone derived from recent market ranges, helping traders visualize fair value and expansion areas.
🎯 Clear Buy & Sell Signals
Generates clean bullish and bearish signals when price exits the balance zone with momentum.
🎨 High-Visibility Zone Visualization
Color-coded zones, background shading, and bold signal markers provide instant clarity without chart clutter.
🎚 Customizable Sensitivity
Adjustable lookback period and zone width allow seamless adaptation across scalping, intraday, and swing trading.
🕰 Non-Repainting Signals
All signals are calculated using confirmed price action and remain stable on historical charts.
⚡ Lightweight & Fast Performance
Optimized design ensures smooth performance across all instruments and timeframes.
🛠 How to Use (Safe Version)
📉 **Buy Signal**: Appears when price moves strongly above the balance zone
📈 **Sell Signal**: Appears when price moves strongly below the balance zone
🟨 **Neutral Zone**: Indicates consolidation or equilibrium conditions
Best used in combination with trend direction, support/resistance, or volume confirmation.
⚠️ Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice. Always apply proper risk management.
Institutional Confluence Mapper [JOAT]Institutional Confluence Mapper (ICM)
Introduction
The Institutional Confluence Mapper is an open-source multi-factor analysis tool that combines five analytical modules into a unified confluence scoring system. It synthesizes institutional trading concepts including Relative Rotation analysis, Smart Money flow detection, Liquidity zone mapping, Session-based timing, and Volatility regime classification.
Rather than relying on a single indicator, ICM evaluates market conditions through multiple lenses simultaneously, presenting a clear confluence score (0-100%) that reflects the alignment of various market factors.
This script is fully open-source under the Mozilla Public License 2.0.
Originality and Purpose
This indicator is NOT a random mashup of existing indicators. It is an original implementation that creates a unified institutional analysis framework:
Why Multiple Modules? Most retail traders struggle because they rely on single indicators that provide conflicting signals. Institutional traders evaluate markets through multiple frameworks simultaneously. ICM bridges this gap by providing a unified view of complementary analysis methods.
The Confluence Scoring System: Each module contributes to a weighted confluence score (0-100%). Scores above 65% indicate bullish confluence; below 35% indicates bearish confluence.
How Components Work Together:
RRG (Relative Rotation) determines macro bias - is this asset outperforming or underperforming its benchmark?
Institutional Flow confirms smart money activity - are institutions accumulating or distributing?
Volatility Regime determines strategy selection - trend-follow or mean-revert?
Liquidity Detection identifies key levels - where are the stop hunts happening?
Session Analysis optimizes timing - when should you trade?
The Five Core Modules
1. Relative Rotation Momentum Matrix (RRG)
Compares the current symbol against a benchmark (default: SPY) using the JdK RS-Ratio methodology with double-smoothed EMA. Assets rotate through four quadrants:
LEADING: Outperforming with positive momentum (strongest bullish)
WEAKENING: Outperforming but losing momentum
LAGGING: Underperforming with negative momentum (strongest bearish)
IMPROVING: Underperforming but gaining momentum
2. Institutional Flow Analysis
Analyzes volume patterns to detect smart money activity:
Volume Z-Score measures how unusual current volume is
Buy/Sell pressure estimation based on candle structure
Unusual volume detection highlights institutional activity
3. Volatility Regime System
Uses ATR percentile ranking to classify market conditions:
COMPRESSION: Low volatility (ATR < 20th percentile) - potential breakout
EXPANSION: High volatility (ATR > 80th percentile) - trending
TRENDING_BULL/BEAR: Directional trends based on EMA alignment
RANGING: Sideways consolidation
4. Liquidity Detection
Identifies institutional liquidity targets using swing point analysis:
Swing highs/lows are tracked and displayed as dashed lines
Purple dashed lines mark resistance/sell-side liquidity
Teal dashed lines mark support/buy-side liquidity
Gold diamonds appear when liquidity sweeps are detected (potential reversals)
5. Session Momentum Profiler
Tracks trading sessions based on your selected timezone:
Asian Session: 7PM - 4AM EST
London Session: 3AM - 12PM EST
New York Session: 9:30AM - 4PM EST
London/NY Overlap: 8AM - 12PM EST (peak liquidity)
Visual Elements
Main Dashboard (Top-Right):
BIAS: Overall direction with confluence percentage
RRG: Current quadrant and momentum
FLOW: Smart money bias and volume status
REGIME: Market condition and volatility percentile
SESSION: Active trading session and current time
LIQUIDITY: Active zones and grab signals
SIGNAL: Actionable recommendation
Chart Elements:
Gold Diamond: Liquidity grab (potential reversal point)
Teal Dashed Line: Support / Buy-side liquidity zone
Purple Dashed Line: Resistance / Sell-side liquidity zone
EMA 21/55/200: Trend structure with cloud fill
Volatility Bands: ATR-based channels
How to Use
Step 1: Check the BIAS row for overall market direction
Step 2: Check REGIME to understand market conditions
Step 3: Identify key levels using liquidity zones and EMAs
Step 4: Wait for confluence above 65% (bullish) or below 35% (bearish)
Step 5: Look for gold diamond signals at key levels
Best Setups
Bullish: Confluence >65%, RRG in LEADING/IMPROVING, bullish flow, price near teal support zone.
Bearish: Confluence <35%, RRG in LAGGING/WEAKENING, bearish flow, price near purple resistance zone.
Reversal: Gold diamond appears after price sweeps a liquidity zone.
Key Input Parameters
Benchmark Symbol: Compare against (default: SPY)
RS-Ratio/Momentum Lookback: RRG calculation periods
Volume Analysis Period: Flow detection lookback
Swing Length: Liquidity zone detection
ATR Period/Rank Period: Regime classification
Timezone: Session detection timezone
Alerts
Liquidity Grab Bull: Bullish sweep detected
Liquidity Grab Bear: Bearish sweep detected
High Confluence Bull: Confluence above 70%
High Confluence Bear: Confluence below 30%
Best Practices
Use on 1H, 4H, or Daily timeframes for reliable signals
Combine with price action for confirmation
Respect the regime - don't fight strong trends
Trade during London/NY overlap for best liquidity
Wait for high confluence scores before entering
Always use proper risk management
Limitations
Works best on liquid markets with sufficient volume
Session features optimized for forex/crypto markets
RRG requires a valid benchmark symbol
No indicator predicts the future - use proper risk management
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results.
-Made with passion by officialjackofalltrades
Liquidation Heatmap Zones CamnextlevelFind Liquidation zones where the high leverage trades are being liquidated
Professional Grid & Reversal Bot v10 (Binance Style)Professional Grid & Reversal Bot v10 (Binance Style) – Open Source & Educational
About this Script:
This script is an advanced Grid Trading & Smart Reversal strategy, inspired by professional Binance-style execution. It is designed as an educational, open-source tool for traders who want to understand market dynamics, grid logic, and risk management.
How it Works:
1️⃣ Grid Execution:
• Divides the price range between the high and low into multiple levels (Grids).
• Opens Buy orders in the lower half and Sell orders in the upper half.
• Levels are calculated dynamically based on the highest and lowest prices over a selected lookback period.
2️⃣ Smart Reversal System:
• Detects price touches on the high or low range boundaries to identify potential reversal points.
• Opens Buy orders at the lows and Sell orders at the highs using a configurable confirmation percentage (revPct).
• Helps traders capture short-term price swings effectively.
3️⃣ Risk & Size Management:
• Position sizing based on USD amount and leverage.
• Automatic Take Profit (TP) and Stop Loss (SL) for every trade.
• Controls overtrading via the "pyramiding" parameter (max open trades).
4️⃣ Advanced Visualization:
• Plots the grid range with high/low levels and fills the background for clear context.
• Highlights potential Supply and Demand Zones.
• Displays a dynamic "Binance-style" Order Book table showing Side, Price, Quantity, and PnL.
5️⃣ Key Counters & Indicators:
• levelsArr → Stores all grid levels for execution and plotting.
• touchedHigh / touchedLow → Monitors range touches to trigger reversals.
• strategy.openprofit → Displays live open trade PnL directly on the chart.
Additional Features:
• Supports both English and Arabic languages.
• Dark Theme optimized for readability.
• Dynamic control panel updates on every bar.
• Flexible settings for Auto or Manual grid range updates.
User Guidance:
• This script is for educational purposes only; it does not guarantee profits.
• We recommend adjusting Grid Levels, Reversal Percentage, and Trade Size to experiment with different strategies.
Community Engagement:
• Suggestions and improvements are welcome! 💡
• If you have ideas for new features, let's develop them together to enhance learning.
• Please support the script with a Like & Boost if you find it useful.
• Encourages knowledge sharing to improve collective performance.
License:
Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
Free for educational use only. Please give credit to the author when sharing or modifying the script.
DuoBlocks - ICT Order Block detectorDuoBlocks (ICT Order Block Detector)
(An ICT(Inner Circle Trading)-style Order Block(OB) tool that highlights only the most relevant and recent Demand/Supply zones using FVG and Engulfing based OB sources.)
Overview
DuoBlocks is an ICT-inspired Order Block detector that uses the mostly used two major order block types: FVG(Fair Value Gap) or Engulfing. There are many Order Block indicators out there, but I couldn’t find one that consistently highlights the most relevant, most recent OB relative to the current price without making the chart a mess and that's why so I built this script.
FVG-based OB (FVG-OB): OBs derived from 3-candle fair value gap logic.
Engulfing-based OB (Engulfing-OB): OBs derived from strong 2-candle reversal/displacement (engulf) logic.
Usage
FVG-OB (Fair Value Gap Order Blocks)
This script finds bullish/bearish FVGs and draws an Order Block zone from the candle that created the move. Think of these zones as your potential next support (bullish) and resistance (bearish) levels.
Engulfing-OB (Engulfing Order Blocks)
This script also finds strong bullish/bearish engulfing candles and draws an Order Block zone from the candle that got engulfed.
Same idea: treat them as potential next support (bullish) and resistance (bearish) levels.
**Use these zones like “next level” support/resistance areas. Don’t blindly buy/sell—wait for your own confirmation and manage risk properly.
Settings
Show FVG-OB
Toggle display of the selected FVG-based bullish/bearish OB (one per side).
Show Engulfing-OB
Toggle display of the selected Engulfing-based bullish/bearish OB (one per side).
Max Invalidation Attempts (FVG OB or Engulf OB)
Controls how many separate breach events a stored OB can absorb before it is marked invalid (discarded). The counting happens when either of below occurs.
Bullish OB: price prints a low below the OB bottom.
Bearish OB: price prints a high above the OB top.
Each time this happens, the OB’s invalidation counter increments by +1.
Once the counter reaches your Max Attempts, that OB is flagged as no longer live, so it will stop being eligible for selection. Then the script automatically falls through to the next best/next nearest valid OB in memory.
Right Extend (bars)
How far to extend the selected OB boxes to the right.
Lookback bars
Maximum historical bars scanned for detection. Lower values = faster/cleaner, higher values = more history retained.
Max stored OB per side
Maximum stored bullish and bearish OBs in memory (per source).
Bullish/Bearish OB Color
Controls border/midline coloring for bullish and bearish zones.
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice or investment recommendations. Trading cryptocurrencies and other financial instruments involves significant risk, and you are solely responsible for your own decisions based on your financial situation, objectives, and risk tolerance. The author assumes no liability for losses arising from the use of this indicator.
NSDT LatticeThis script automatically detects the Open price once the Futures markets open (6PM Eastern Time) and plots Support/Resistance levels based on the "Ticks Between Levels" that the trader enters in the settings.
The trader can also chose to set their own Custom Start Price should they wish to. For example: If they want to use the New York session Open price (for RTH) instead of the Asia session Open price (ETH).
You can change the colors and thickness of the lines, as well as the numbers of levels plotted.
Support and Resistance Breakout Signals [MarkitTick]💡 This indicator provides a comprehensive, automated system for identifying, tracking, and trading Support and Resistance (S/R) breakouts. By synthesizing classic Swing High and Swing Low pivot analysis with Multi-Timeframe (HTF) capabilities and Volume confirmation, it transforms raw price action into actionable structural data. It is designed to declutter charts by automatically managing active levels and highlighting significant market structure shifts (Higher Highs, Lower Lows) alongside verified breakout signals.
✨ Originality and Utility
While many indicators draw static pivot points, this tool distinguishes itself through "State Management." It treats Support and Resistance not just as historical markers, but as active zones that evolve.
Dynamic Level Management: Instead of flooding the chart with infinite lines, the script uses arrays to store a specific number of recent levels. As price action progresses, invalid or broken levels are removed or updated, keeping the analysis focused on current relevance.
Multi-Timeframe Confluence: Uniquely, it allows you to overlay higher timeframe support and resistance levels (e.g., Daily levels on a 4-hours chart) without changing your chart view, enabling top-down analysis instantly.
Market Structure Labeling: It automatically tags pivot points with Dow Theory labels (HH, LH, LL, HL), aiding traders in instantly recognizing trend direction without manual charting.
🔬 Methodology and Concepts
The script operates on three core technical pillars:
● Swing Pivot Detection
The foundation is the detection of local extrema using a "Left/Right" bar lookback mechanism. A Swing High is identified when a high is greater than the L bars preceding it and the R bars following it. This confirms a fractal peak or valley.
Note on Confirmation: Because the script waits for R bars to close to confirm a pivot, the lines appear retroactively. However, the extension of these lines and subsequent breakout signals occur in real-time.
● Breakout Logic with Volume Integration
A breakout is triggered when the Close price crosses an active S/R line.
Resistance Break: Current Close > Resistance Level (and Previous Close ≤ Level).
Support Break: Current Close < Support Level (and Previous Close ≥ Level).
Volume Confirmation: An optional filter requires the breakout bar's volume to exceed a Moving Average of volume, ensuring momentum backs the move.
● Time Decay
To mimic the reduced relevance of stale levels, the script includes a "Time Decay" feature. If a level is not interacted with for a user-defined number of bars, it is automatically purged from the system, ensuring the chart reflects only fresh interest levels.
🎨 Visual Guide
The indicator uses a specific color-coding and labeling system to convey information quickly:
● Support & Resistance Lines
Red Lines (Thin): Represent active Resistance levels on the current timeframe.
Green Lines (Thin): Represent active Support levels on the current timeframe.
Fuchsia Lines (Thick): Represent Higher Timeframe (HTF) Resistance levels.
Aqua Lines (Thick): Represent Higher Timeframe (HTF) Support levels.
● Market Structure Labels
Located at the pivot points, these text labels define the trend structure:
HH / LH: Higher High / Lower High (Red Text).
LL / HL: Lower Low / Higher Low (Green/Aqua Text).
HTF-R / HTF-S: Indicates major structural pivots from the higher timeframe.
● Breakout Signals
When a valid break occurs, a label appears above or below the bar:
Blue Triangle Up (▲): Bullish breakout through resistance.
Blue Triangle Down (▼): Bearish breakout through support.
Number in Label: Indicates the cumulative count of breaks for that specific trend sequence (e.g., "1" is the first break, "2" is the second).
The breakout count represents the intensity of the move. A reading greater than 1 signals exceptional market strength, indicating the penetration of multiple Key Levels (Support or Resistance) within a single candle.
📖 How to Use
Trend Continuation: In an uptrend (sequence of HH/HL), wait for a Blue Triangle Up (▲) occurring at a Red Resistance line. This signals the continuation of the trend.
Trend Reversal: Watch for a "Structure Break." If price is making Higher Highs, but then breaks a Green Support line (generating a ▼ signal) and forms a Lower Low (LL), the trend may be reversing.
HTF "Bounce" Plays: Use the thick Fuchsia/Aqua lines as major zones. If price approaches a thick Aqua line (HTF Support) and fails to break it, look for LTF bullish structure (HH/HL) to form for an entry.
Volume Filtering: Enable the "Volume Confirmation" setting to filter out "fakeouts" (breaks on low volume).
⚙️ Inputs and Settings
● Swing Settings
Left/Right Bars: Determines the sensitivity of the pivot detection. Higher numbers = fewer, more significant pivots.
Max Stored Levels: How many S/R lines to keep in memory at once.
Max Break Labels: Limits visual clutter by capping the number of signal labels.
● Usability & HTF
Enable Time Decay: If true, deletes lines that are older than "Decay Period" bars.
Enable HTF Levels: Toggles the display of higher timeframe pivots.
HTF Timeframe: Select the specific timeframe for the macro view (e.g., "D" for Daily).
● Analysis
Volume Confirmation: Toggles the requirement for volume to be above its average for a signal to fire.
Show Market Structure: Toggles the HH/LL text labels.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The script's logic is rooted in Fractal Geometry and Auction Market Theory .
● Mandelbrot's Fractals: The use of `leftBars` and `rightBars` is a direct application of identifying market fractals. Markets are self-similar across timeframes; a pivot on a 5-minute chart is structurally identical to one on a Weekly chart. This script exploits this property by allowing nested timeframe analysis (LTF inside HTF).
● Memory of Price (Behavioral Finance): Support and resistance lines represent zones where market participants have previously established value (Price Memory). The "Breakout" signal is mathematically significant because it represents a shift in the supply/demand equilibrium. When price closes beyond a stored array value (the pivot price), it signifies that the aggressive limit orders that created the pivot have been exhausted or withdrawn, validating a new search for value.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Dynamic Supports + Volume Profile (Smart Time Selector)This indicator is an "All-in-One" tool designed to simplify Market Structure and Volume analysis on higher timeframes (especially Daily charts).
Its main innovation is the **Unique Period Selector**, which automatically adjusts 5 internal parameters (tolerance, pivot sensitivity, resolution, and historical depth) with a single click.
**🛠️ MAIN FEATURES:**
1. **Automatic Engine (1-5 Years):**
* Forget about manually setting pivot lengths or "Lookback".
* Select **"1 Year"**: The script scans for fast pivots and recent volume for *Swing Trading*.
* Select **"5 Years"**: The script filters noise and shows only "Rock-Solid" structures (Historical S/R) for *Long Term Investing*.
2. **"Merged" Support & Resistance (S/R):**
* The script detects Pivot Highs/Lows.
* **Fusion Logic:** If price bounces multiple times in the same zone (within calculated tolerance), the script updates the existing line instead of drawing a new one. It extends the line and counts the touches (e.g., "S (4)" means a Support validated 4 times).
* **Clean Chart:** Avoids visual noise.
3. **Lateral Volume Profile (VP):**
* Displays volume distribution to the right of the current price.
* **Orange POC (Point of Control):** Marks the exact price level with the highest trading volume in the selected period.
**🚀 HOW TO USE (STRATEGY):**
Best used on the **Daily Timeframe (1D)**:
* **Scenario 1: Mean Reversion**
* If price moves far from the **Orange POC**, look for it to act as a magnet.
* Enter when price touches a **Green Line (Support)** that aligns with a high volume node.
* **Scenario 2: Breakout**
* If price breaks a **Red Line (Resistance)** aggressively and the volume above is thin (low volume nodes), the move tends to be fast due to lack of friction.
* **Scenario 3: Multi-Timeframe Analysis**
* Use "5 Years" to mark your long-term zones.
* Switch to "1 Year" for tactical entries.
**🎨 VISUAL SETTINGS:**
* **Green Lines:** Demand Zones (Supports).
* **Red Lines:** Supply Zones (Resistances).
* **Dotted Orange Line:** POC (Fair Value).
* **Blue Bars:** Volume Profile.
**Disclaimer / Descargo:**
This script is designed for educational and analytical purposes on the daily timeframe. Use it to identify zones of interest, not as automatic buy/sell signals.
All-in-one trend clarityTrendLens is a multi-layer, all-in-one overlay indicator designed to visually detect and filter market direction — not a buy/sell strategy.
It highlights early trend shifts based on candle behavior, then supports that view using Pivot High/Low structure, three customizable EMAs, and a visible daily session window to focus on active market hours.
What’s included (All inside one indicator)
Structural Trend Candles
If price closes above the highest high of the previous N bars → candle turns white (bullish structural breakout).
If price closes below the lowest low of the previous N bars → candle turns black (bearish structural breakdown).
Pivot High / Pivot Low Markers
Detects swing highs/lows using adjustable left/right bars (default 7) and plots small gray triangle markers on the chart.
Active Session Window
Highlights a fixed daily time window (default 06:00–18:00 UTC) with a transparent green background to visually mark the active trading session.
3 Customizable EMAs
EMA Fast (default 10)
EMA Mid (default 20)
EMA Long (default 100)
Each EMA supports custom length, source, color, and thickness.
How to use it
Use white/black candles as a quick trend filter and early structure shift cue.
Use EMA100 as the main trend bias reference; use EMA10/EMA20 positioning to gauge momentum.
Use Pivot High/Low to spot structure levels for potential support/resistance and risk management.
Enable the session highlight to focus analysis on high-activity hours.
Disclaimer
This indicator is a technical analysis helper, not a trading strategy.
It does not provide buy/sell recommendations. You are responsible for your own trade decisions and risk management.
AlphaStrike: Zen ModeDescription:
1. The Philosophy: Reducing Cognitive Load Modern charts are often cluttered with dozens of noisy lines (Bollinger Bands, Moving Averages, Oscillators) that lead to "Analysis Paralysis." This script is designed with a "Zen" philosophy: P rocess the complexity in the background, but display only the decision.
This is not a simple indicator overlay. It is a Risk-Based Trading Engine that runs multiple validation checks (Momentum, Volatility, and Price Action) simultaneously but hides the underlying calculations to keep the chart clean. It focuses the trader's attention on the two things that matter most: Trend Direction and Position Sizing.
2. The "Invisible" Technical Engine The script operates on a Dual-State Logic system that adapts to market conditions. It uses standard indicators as filters, not just visuals.
A. Trend State (The Backbone) The script calculates a volatility-adjusted Trend Baseline (SuperTrend).
Green State: The market is in a markup phase. The script looks for continuation.
Red State: The market is in a markdown phase. The script looks for defense.
B. The "Confluence" Reversal Logic Instead of cluttering the screen with Bollinger Bands and RSI windows, the script performs these checks internally:
Condition 1 (Volatility): Is price extending beyond the 2.0 Standard Deviation (Bollinger Lower/Upper)?
Condition 2 (Momentum): Is RSI overextended (<35 or >65)?
Condition 3 (Price Action): Is there a specific Pin Bar candle pattern (Long wick rejection)?
Result: Only when all three conditions align does the script print a "Reversal Circle." This filters out weak signals that usually occur in strong trends.
3. The Risk Management Calculator (Key Feature) Most traders fail not because of bad entries, but because of inconsistent sizing. This script features a built-in Dynamic Position Sizing Dashboard located in the bottom right.
Adaptive Stop Loss:
In a Trend: The Stop Loss is automatically set to the Trend Line (SuperTrend).
In a Reversal: The script internally scans for the nearest Swing Low/High (using hidden Pivot calculations) and sets the Stop Loss there.
Position Sizing Math: The dashboard reads your Account Size and Risk % inputs. It instantly calculates the "Max Size" (contract/share amount) allowed for the current trade.
Formula: Position Size = (Account Value * Risk %) / Distance to Stop.
Benefit: This ensures you risk the exact same dollar amount on every trade, whether the stop loss is 1% away or 10% away.
4. How to Read the Signals
Triangles (Breakouts): These represent a shift in the dominant trend direction.
Green Triangle: Bullish Trend Start.
Red Triangle: Bearish Trend Start.
Circles (Mean Reversion): These are high-probability counter-trend plays.
Blue Circle: Buy Reversal (Oversold + Pinbar + Bollinger Support).
Orange Circle: Sell Reversal (Overbought + Pinbar + Bollinger Resistance).
5. Settings
Trend Settings: Adjust the ATR Period and Factor to change the sensitivity of the trend line.
Reversal Settings: Tweak the RSI and Bollinger thresholds to filter out more/less signals.
Risk Management: Input your total Account Size and desired Risk Per Trade (e.g., 1%) to calibrate the Dashboard.
Disclaimer This tool provides algorithmic analysis and risk calculations. It does not guarantee profits or provide financial advice. Always verify position sizes before executing.
Delta Reaction Zones [BOSWaves]Delta Reaction Zones - Cumulative Delta-Based Supply and Demand Identification with Flow-Weighted Zone Construction
Overview
Delta Reaction Zones is a volume flow-aware supply and demand detection system that identifies price levels where significant buying or selling pressure accumulated, constructing adaptive zones around cumulative delta extremes with intelligent flow composition analysis.
Instead of relying on traditional price-based support and resistance or fixed pivot structures, zone placement, thickness, and directional characterization are determined through delta accumulation patterns, volatility-adaptive sizing, and the proportional composition of positive versus negative volume flow.
This creates dynamic reaction boundaries that reflect actual order flow imbalances rather than arbitrary price levels - contracting during low volatility environments, expanding during elevated volatility periods, and incorporating flow composition statistics to reveal whether zones formed under buying or selling dominance.
Price is therefore evaluated relative to zones anchored at delta extremes rather than conventional technical levels.
Conceptual Framework
Delta Reaction Zones is founded on the principle that meaningful support and resistance emerge where cumulative volume flow reaches local extremes rather than where price alone forms patterns.
Traditional support and resistance methods identify turning points through price structure, which often ignores the underlying order flow dynamics that drive those reversals. This framework replaces price-centric logic with delta-driven zone construction informed by actual buying and selling pressure.
Three core principles guide the design:
Zone placement should correspond to cumulative delta extremes, not price pivots alone.
Zone thickness must adapt to current market volatility conditions.
Flow composition context reveals whether zones formed under accumulation or distribution.
This shifts supply and demand analysis from static price levels into adaptive, flow-anchored reaction boundaries.
Theoretical Foundation
The indicator combines delta proxy methodology, cumulative volume tracking, adaptive volatility measurement, and flow decomposition analysis.
A signed volume delta proxy estimates directional order flow on each bar, which accumulates into a running cumulative delta series. Pivot detection identifies local extremes in either cumulative delta or its rate of change, marking levels where flow momentum reached inflection points. Average True Range (ATR) provides volatility-responsive zone sizing, while impulse window analysis decomposes recent flow into positive and negative components with percentage weighting.
Four internal systems operate in tandem:
Delta Accumulation Engine : Computes smoothed signed volume and maintains cumulative delta tracking for directional flow measurement.
Pivot Detection System : Identifies significant turning points in cumulative delta or delta rate of change to anchor zone placement.
Adaptive Zone Construction : Scales zone thickness dynamically using ATR-based volatility measurement around pivot anchors.
Flow Composition Analysis : Calculates positive and negative flow percentages over a configurable impulse window to characterize zone formation context.
This design allows zones to reflect actual order flow behavior rather than reacting mechanically to price formations.
How It Works
Delta Reaction Zones evaluates price through a sequence of flow-aware processes:
Signed Volume Delta Calculation : Each bar's volume is directionally signed based on close-open relationship, creating a proxy for buying versus selling pressure.
Cumulative Delta Tracking : Signed volume accumulates into a running total, revealing sustained directional flow over time.
Pivot Identification : Local highs and lows in cumulative delta (or its rate of change) mark significant flow inflection points where zones anchor.
Volatility-Adaptive Sizing : ATR multiplier determines zone half-width, automatically adjusting thickness to current market conditions.
Flow Decomposition : Positive and negative volume components are separated and percentage-weighted over the impulse window to reveal dominant flow direction.
Intelligent Zone Merging : Overlapping zones of the same type automatically merge into broader reaction areas, with flow statistics blended proportionally.
Dynamic Extension and Visualization : Zones extend forward with gradient-filled composition segments showing buy versus sell flow proportions.
Breach Detection and Cleanup : Zones invalidate automatically when price closes beyond their boundaries, maintaining chart clarity.
Together, these elements form a continuously updating supply and demand framework anchored in order flow reality.
Interpretation
Delta Reaction Zones should be interpreted as flow-anchored supply and demand boundaries:
Support Zones (Green) : Form at cumulative delta lows, marking levels where selling exhaustion or buying accumulation occurred.
Resistance Zones (Red) : Establish at cumulative delta highs, identifying areas where buying exhaustion or selling distribution dominated.
Flow Composition Segments : Visual gradient within each zone reveals the buy/sell flow proportion during zone formation. The upper segment (red tint) represents negative (selling) flow percentage while the lower segment (green tint) represents positive (buying) flow percentage.
BUY FLOW / SELL FLOW / MIXED Labels : Indicate dominant flow character when one direction exceeds 60% of total impulse window activity.
Net Delta Statistics : Display cumulative flow totals (Δ) alongside percentage breakdowns for immediate context.
Zone Thickness : Reflects current volatility environment - wider zones in volatile conditions, tighter zones in calm markets.
Zone Merging : Multiple nearby pivots consolidate into broader reaction areas, weighted by their respective flow magnitudes.
Flow composition, volatility context, and delta magnitude outweigh isolated price reactions.
Signal Logic & Visual Cues
Delta Reaction Zones presents two primary interaction signals:
Support Reclaim (RC) : Green label appears when price crosses back above a support zone's midline after trading below it, suggesting renewed buying interest.
Resistance Re-enter (RE) : Red label displays when price crosses back below a resistance zone's midline after trading above it, indicating resumed selling pressure.
Alert generation covers zone creation and midline reclaim/re-entry events for systematic monitoring.
Strategy Integration
Delta Reaction Zones fits within order flow-informed and supply/demand trading approaches:
Flow-Anchored Entry Zones : Use zones as high-probability reaction areas where historical order flow imbalances occurred.
Composition-Based Bias : Favor trades aligning with dominant flow character - long setups near zones formed under buying dominance, short setups near selling-dominated zones.
Volatility-Aware Targeting : Expect wider reaction ranges when ATR expands zones, tighter ranges when ATR contracts them.
Merge-Informed Conviction : Broader merged zones represent multiple flow inflection points, potentially offering stronger support/resistance.
Midline Reclaim Validation : Use RC/RE signals as confirmation of zone respect rather than standalone entry triggers.
Multi-Timeframe Flow Context : Apply higher-timeframe delta zones to inform lower-timeframe entry precision.
Technical Implementation Details
Core Engine : Signed volume delta proxy with EMA smoothing
Accumulation Model : Persistent cumulative delta tracking with optional rate-of-change pivot detection
Zone Construction : ATR-scaled thickness around pivot anchors
Flow Analysis : Positive/negative decomposition over configurable impulse window
Visualization : Gradient-filled zones with embedded flow statistics and percentage segments
Signal Logic : Midline crossover detection with breach-based invalidation
Merge System : Proximity-based consolidation with weighted flow blending
Performance Profile : Optimized for real-time execution with configurable zone limits
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Micro-structure flow zones for scalping and short-term reversals
15 - 60 min : Intraday supply/demand identification with flow context
4H - Daily : Swing-level reaction zones with macro flow characterization
Suggested Baseline Configuration:
Delta Smoothing Length : 3
Pivot Length : 12
Pivot Source : Cumulative Delta
Impulse Window : 100
ATR Length : 14
ATR Multiplier : 0.35 (reduce for lower timeframes)
Maximum Zones : 8
Merge Overlapping Zones : Enabled
Merge Gap : 20 ticks
These suggested parameters should be used as a baseline; their effectiveness depends on the asset's volume profile, tick structure, and preferred zone density, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Zones appearing oversized : Reduce ATR Multiplier to tighten zone thickness, especially on lower timeframes.
Excessive zone clutter : Increase Pivot Length to demand stronger delta extremes before zone creation.
Unstable delta readings : Increase Delta Smoothing Length to reduce bar-to-bar noise in flow calculation.
Missing significant levels : Decrease Pivot Length or switch Pivot Source to "Cumulative Delta RoC" for flow acceleration sensitivity.
Flow percentages feel stale : Reduce Impulse Window Length to emphasize more recent buying/selling composition.
Too many merged zones : Decrease Merge Gap (ticks) or disable merging to preserve individual pivot zones.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Markets with consistent volume and order flow characteristics
Instruments where delta proxy correlates well with actual tape reading
Mean-reversion strategies targeting flow exhaustion zones
Trend continuation entries at zones aligned with dominant flow direction
Reduced Effectiveness:
Extremely low volume environments where delta proxy becomes unreliable
News-driven or gapped markets with discontinuous flow
Highly manipulated or illiquid instruments with erratic volume patterns
Integration Guidelines
Confluence : Combine with BOSWaves structure, market profile, or traditional supply/demand analysis
Flow Respect : Trust zones formed with strong net delta magnitude and clear flow dominance
Context Awareness : Consider whether current market regime matches zone formation conditions
Merge Recognition : Treat merged zones as higher-conviction areas due to multiple flow inflections
Breach Discipline : Exit zone-based setups cleanly when price invalidates boundaries
Disclaimer
Delta Reaction Zones is a professional-grade order flow and supply/demand analysis tool. It uses a volume-based delta proxy that estimates directional pressure but does not access true order book data. Results depend on market conditions, volume reliability, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, volatility context, and comprehensive risk management.
Quantum Candle Scanner [JOAT]
Quantum Candle Scanner - Advanced Multi-Pattern Recognition System
Introduction and Purpose
Quantum Candle Scanner is an open-source overlay indicator that detects multiple candlestick patterns including engulfing patterns, kicker patterns, inside bar setups, momentum candles, and higher-high/lower-low sequences. The core problem this indicator solves is that traders often miss patterns because they're looking for only one type. Different patterns work better in different market conditions.
This indicator addresses that by scanning for five distinct pattern types simultaneously, giving traders a comprehensive view of price action signals.
Why These Five Pattern Types Work Together
Each pattern type identifies different market behavior:
1. Engulfing Patterns - Classic reversal signals where current candle completely engulfs the previous candle. Best for identifying potential turning points.
2. Kicker Patterns - Strong reversal signals with gap confirmation. The current candle opens beyond the previous candle's open with opposite direction. Best for identifying high-momentum reversals.
3. Inside Bar Patterns - Consolidation breakout signals where a candle's range is contained within the previous candle, followed by a breakout. Best for identifying compression before expansion.
4. Momentum Candles - Identifies the largest body candle over a lookback period. Best for spotting institutional activity.
5. HH/HL and LH/LL Sequences - Three-bar structure patterns showing trend continuation. Best for confirming trend direction.
How the Detection Works
Engulfing Pattern:
bool engulfBullBase = open <= math.min(close , open ) and
close >= math.max(close , open ) and
isBullish(0) and
getBodyPct(0) > bodyMinPct
Kicker Pattern:
bool kickerBull = isBearish(1) and isBullish(0) and
open > open and low > low and
getBodyPct(0) > 40 and getBodyPct(1) > 40
Inside Bar:
bool insideBarSetup = low < low and high > high
bool insideBarBull = insideBarSetup and isBullish(0)
HH/HL Sequence:
bool hhhlSeq = high > high and low > low and
high > high and low > low and
close > close
Optional Filters
ATR Filter - Only shows patterns where candle body exceeds ATR (strong candles only)
Body Minimum % - Requires minimum body percentage for engulfing patterns
Close Beyond Prior H/L - Requires engulfing candle to close beyond prior high/low
Dashboard Information
Engulfing - Total engulfing patterns detected
Kicker - Kicker pattern count
Inside Bar - Inside bar breakout count
HH/LL Seq - Structure sequence count
Total - Combined pattern count
How to Use This Indicator
For Reversal Trading:
1. Look for engulfing or kicker patterns at key support/resistance
2. Confirm with HH/HL or LH/LL sequence breaking
3. Enter with stop beyond the pattern
For Breakout Trading:
1. Identify inside bar setups (consolidation)
2. Enter on breakout candle in direction of break
3. Use the inside bar range for stop placement
For Trend Confirmation:
1. Use HH/HL sequences to confirm uptrend structure
2. Use LH/LL sequences to confirm downtrend structure
3. Momentum candles indicate institutional participation
Input Parameters
Detect Engulfing/Kicker/Inside Bar/Momentum/HHLL (all true) - Toggle each pattern type
Min Body % for Engulfing (0) - Minimum body percentage
ATR Filter (false) - Only show strong candles
Engulf Must Close Beyond Prior H/L (true) - Stricter engulfing definition
Compact Mode (false) - Shorter labels for cleaner charts
Timeframe Recommendations
1H-Daily: Best for reliable pattern detection
15m-30m: More patterns but higher noise
Use Compact Mode on lower timeframes
Limitations
Pattern detection is mechanical and does not consider context
Not all patterns lead to successful trades
Kicker patterns are rare but powerful
Inside bar breakouts can fail (false breakouts)
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Pattern detection does not guarantee trade outcomes. Always use proper risk management.
- Made with passion by officialjackofalltrades
1-Year High/Low Mean (Daily Anchored)This indicator calculates the highest high and lowest low over the past year using daily candles, then plots the mean (midpoint) between those two levels. The result is a clean, stable structural reference line that helps traders understand where current price sits within its yearly range.
What It Shows
1‑Year High – the highest daily high over the lookback period
1‑Year Low – the lowest daily low over the same period
1‑Year Mean – the midpoint between the yearly high and low
These levels provide a long‑term framework for evaluating trend strength, momentum, and potential mean‑reversion behavior.
Designed for the Daily Timeframe
This indicator is intentionally built for the daily timeframe and higher.
All calculations are anchored to daily data, ensuring consistent and accurate yearly levels.
It does not display on intraday charts to avoid confusion caused by limited intraday history.
Features
Daily‑anchored yearly high, low, and mean
Adjustable lookback period (default: 365 days)
Optional display of the dates where the yearly high and low occurred
Clean, minimal, structure‑focused design
Intended Use
Ideal for traders who want a simple, reliable way to visualize long‑term price structure.
Pairs well with trend‑following systems, breakout strategies, and mean‑reversion setups.
Future versions may include shaded zones, alerts, multi‑year modes, or additional structural tools depending on community interest.
Adaptive Kinetic Trend [AKT] Pure MathTitolo: Adaptive Kinetic Trend - Pure Math
Descrizione:
Overview The Adaptive Kinetic Trend is a custom-built trend following system designed to filter noise and adapt to changing market volatility. Unlike standard indicators that rely on a static calculation, the AKT introduces a "Kinetic" component that adjusts the trend baseline according to price velocity (Momentum) and market intensity (ADX).
The "Pure Math" Implementation To ensure maximum stability and prevent potential discrepancies associated with data gaps or library updates, this script features a 100% manual mathematical library. It does not use TradingView's native ta.* functions for its core logic. Every calculation—including Wilder's Smoothing (RMA), Weighted Moving Averages (WMA), and True Range (TR)—is computed explicitly within the code from raw price data. This provides a transparent look at how the signals are derived.
Key Features
1. Kinetic Center Line The backbone of the indicator is an adaptive moving average that shifts its sensitivity based on a manually calculated RSI (Velocity).
High Velocity: The line reacts faster to capture breakout momentum.
Low Velocity: The line smooths out to prevent whipsaws during corrections.
2. Dynamic Volatility Expansion Using a custom ADX calculation (Intensity), the bands automatically expand during high-volatility events. This helps keep positions open during strong trends where standard ATR stops might be triggered prematurely.
3. Visual Filters (Color Logic) The script uses a strict color-coding system to guide analysis:
🟢 Green / 🔴 Red (Trend): The market is in a validated trend phase with sufficient intensity.
⚪ Gray (Choppy Filter): When Intensity falls below the threshold (default 20), the bars turn gray and signals are suppressed. This filters out low-probability ranging markets.
🟡 Yellow (Proximity Zone): When price trades within 0.5 ATR of the trend line, bars turn yellow. This indicates price is testing the trend structure.
4. Smart Pullback Signals (PB) Small triangles labeled "PB" appear when the price retraces to test the trend line.
Visual Intensity: The signals feature adaptive transparency. They appear bright during strong trends (High Probability) and faded/transparent during choppy conditions (Lower Probability), helping users filter signal quality visually.
5. Live Dashboard A data panel provides real-time metrics:
Trend Status: BULL, BEAR, or RANGE.
Intensity: Raw ADX value to gauge trend strength.
Dist ATR: The precise distance from the close price to the stop-loss line, measured in ATR multiples.
How to Use
Trend Analysis: Identify the main direction via Green/Red candles.
Filtering: Use the Gray bars to identify periods of low volatility/consolidation where trend strategies typically fail.
Re-entries: Use PB triangles to identify potential continuation points within an existing trend.
Risk Monitoring: Use Yellow bars (Proximity) to monitor price action near the invalidation level.
Disclaimer This script is intended for technical analysis and educational purposes only. It provides a visual representation of market trends based on historical data and does not guarantee future performance.
Current & Prior Day OHLC Levels# Current & Prior Day OHLC Levels with 15-Minute Opening Range
## Overview
This comprehensive indicator plots key price levels for futures and stock traders, displaying Current Day levels, Prior Day levels, and the 15-Minute Opening Range. These levels serve as critical support and resistance zones that professional traders monitor throughout the trading session.
## Key Features
### Current Day Levels (Session-Based)
- **Current Open**: The opening price of the current trading session
- **Current High**: The highest price reached during the current session (updates in real-time)
- **Current Low**: The lowest price reached during the current session (updates in real-time)
The indicator properly recognizes **futures trading sessions**, which begin at their respective session start times (not midnight). For example, most equity index futures sessions begin at 6:00 PM ET the previous day, ensuring accurate session-based tracking for overnight and globex trading.
### Prior Day Levels
- **Prior Open**: Opening price from the previous trading session
- **Prior High**: High of the previous trading session
- **Prior Low**: Low of the previous trading session
- **Prior Close**: Closing price from the previous trading session
Prior day levels are some of the most widely watched technical levels in trading, often acting as psychological support and resistance zones where price action tends to react.
### 15-Minute Opening Range (NY Session)
- **OR High**: The high of the first 15 minutes after New York market open (9:30-9:45 AM ET)
- **OR Low**: The low of the first 15 minutes after New York market open (9:30-9:45 AM ET)
The opening range concept is a popular day trading strategy. The first 15 minutes often establishes the tone for the day, with these levels frequently serving as breakout or breakdown points. The indicator tracks these levels in real-time as they form, then locks them in after 9:45 AM ET.
## Visual Design
### Smart Line Extension
- Lines extend **left** to the exact bar that created each level (e.g., the bar that made the high)
- Lines extend **right** by a configurable number of bars (default: 50 bars)
- No infinite line extension cluttering your chart
### Intelligent Label Placement
- Labels positioned **above** highs and opens
- Labels positioned **below** lows
- Adjustable offset to position labels optimally for your timeframe
- Optional price display in labels (e.g., "Current High: 5,950.00")
- Semi-transparent label backgrounds for clean chart appearance
## Customization Options
### Individual Level Controls
Each level (Current Open, High, Low, Prior Open, High, Low, Close, OR High, OR Low) can be:
- Toggled on/off independently
- Assigned a custom color
- Given its own line style (Solid, Dashed, or Dotted)
- Adjusted for line width (1-5 pixels)
### Default Styling
- **Current Day**: Solid lines (Gold for Open, Green for High, Red for Low)
- **Prior Day**: Dashed lines (Steel Blue for Open, Dark Cyan for High, Crimson for Low, Slate Blue for Close)
- **Opening Range**: Dotted lines (Cyan for High, Tomato for Low)
This default styling provides clear visual distinction between level types while remaining professional and easy to read.
### Label Customization
- Toggle all labels on/off
- Show or hide price values in labels
- Adjust label offset (distance from current bar)
- Five label size options: Tiny, Small, Normal, Large, Huge
### Line Extension Control
- Configurable right extension (0-500 bars)
- Adjust based on your chart timeframe and preference
## Best Use Cases
### Futures Traders
The indicator's session-aware design makes it perfect for futures markets, properly handling:
- Electronic trading hours (Globex)
- Session rollovers at 5:00 PM or 6:00 PM ET (depending on contract)
- Overnight price action
### Day Traders
- Use Opening Range levels for breakout/breakdown strategies
- Monitor Current High/Low for intraday trend identification
- Watch Prior Day levels for profit targets and stop placement
### Swing Traders
- Prior Day High/Low often act as key decision points
- Prior Close serves as an important reference level
- Current Day levels help with intraday entry/exit timing
### Multi-Timeframe Analysis
Works on any intraday timeframe:
- 1-minute for scalping
- 5-minute for active day trading
- 15-minute or 30-minute for swing entries
- 1-hour for position context
## Technical Details
### Session Detection
- Uses TradingView's built-in session detection for accurate daily boundaries
- Properly handles futures contracts with non-midnight session starts
- New York timezone detection for Opening Range (9:30 AM ET)
### Real-Time Updates
- Current High and Low update dynamically as price moves
- Opening Range levels update live during the 9:30-9:45 AM window
- Lines redraw on each bar to maintain accurate positioning
### Performance
- Maximum 500 lines and 500 labels to ensure smooth chart performance
- Efficient line/label deletion and recreation on session changes
- Minimal computational overhead
## Tips for Optimal Use
1. **Adjust Line Extension**: For lower timeframes (1-min, 5-min), reduce right extension to 20-30 bars. For higher timeframes (1-hour), increase to 100+ bars.
2. **Combine with Price Action**: These levels work best when combined with candlestick patterns, volume analysis, and order flow.
3. **Watch for Level Tests**: Price often tests these levels multiple times before breaking through or reversing.
4. **Opening Range Breakouts**: Many traders wait for price to break and close above OR High or below OR Low before entering directional trades.
5. **Prior Day Levels as Targets**: Use Prior High as an upside target and Prior Low as a downside target for intraday trades.
## Compatibility
- Works on all instruments (Futures, Stocks, Forex, Crypto)
- Optimized for intraday timeframes (1-min to 1-hour)
- Best results on liquid instruments with clear session boundaries
- Designed specifically with ES, NQ, YM, and RTY futures traders in mind
## Credits
Ported from NinjaTrader indicators with enhanced features and TradingView-specific optimizations. Original concept based on classic technical analysis principles used by professional traders worldwide.
---
*Note: These levels are for informational and educational purposes only. Past performance does not guarantee future results. Always practice proper risk management.*
Smart Reversal [Scalping-Algo]════════════════════════════════════════════
Smart Reversal
This indicator identifies potential reversal points using a two-step confirmation method that I developed for my own scalping. Unlike typical reversal indicators that rely on RSI oversold/overbought or simple candlestick patterns, this uses a different approach.
🔹 HOW IT WORKS
The logic is based on two phases:
Phase 1 - Anchor Detection:
The indicator looks for candles where price closes beyond ALL previous candles in the lookback period. For a bullish setup, the close must be below the lows of the last N candles (default 20). This isn't just a "lower low" - it's an extreme extension where price has broken below every single candle in the range. I also require this candle to have above-average volume (2x the 20-period average) to confirm real selling pressure, not just a gap or low-liquidity move.
Phase 2 - Confirmation:
After an anchor forms, I wait for price to reverse and close above the anchor candle's high (for buys) or below the anchor's low (for sells). This must happen within 3 bars. If price makes a new extreme instead, the setup cancels.
🔹 SIGNAL QUALITY SCORING
Each signal gets a score from 3/5 to 5/5:
- 3/5: Basic confirmation occurred
- 4/5: Anchor or confirmation had strong volume
- 5/5: Both volume conditions met + aligned with 200 EMA trend
I focus on 4/5 and 5/5 signals personally.
🔹 WHAT YOU SEE ON CHART
- Green/Red boxes: Active setup waiting for confirmation
- B or S labels: Confirmed signals with quality score
- Dashboard: Shows current status and volume condition
🔹 SETTINGS
- Bars to Check: How many candles for the breakout comparison (default 20)
- Confirmation Window: Bars allowed after anchor for confirmation (default 3)
- Volume thresholds: Adjustable multipliers for anchor (2x) and confirmation (1.2x)
🔹 SUGGESTED USE
- Works on any timeframe, but I use it mainly on 5-15 min charts
- Better results when combined with key support/resistance levels
- Avoid trading during high-impact news
════════════════════════════════════════════
════════════════════════════════════════════
Fractal Wave Hunter [JOAT]
Fractal Wave Hunter - Multi-Method Fractal Detection System
Introduction and Purpose
Fractal Wave Hunter is an open-source overlay indicator that identifies key reversal patterns using multiple fractal detection methods. The core problem this indicator solves is that different fractal methods catch different types of reversals. Williams' classic 5-bar fractal is reliable but slow; Hougaard's 4-bar method is faster but noisier. Using only one method means missing valid signals that the other would catch.
This indicator addresses that by combining both methods plus HOLP/LOHP detection, giving traders a comprehensive view of potential reversal points.
Why These Methods Work Together
Each fractal method has different characteristics:
1. 4-Bar Fractal (Hougaard Method) - Faster detection, identifies momentum shifts when close exceeds recent highs/lows. Best for catching early reversals.
2. Classic 5-Bar Fractal (Williams) - Traditional pivot detection requiring the middle bar to be the highest/lowest of 5 bars. Best for identifying significant swing points.
3. HOLP/LOHP - High of Low Period and Low of High Period signals identify when price makes a new extreme within a defined lookback. Best for trend exhaustion detection.
By combining these methods, traders can:
Use 4-bar fractals for early entry signals
Use 5-bar fractals for confirmation and stop placement
Use HOLP/LOHP for trend exhaustion warnings
How the Detection Works
4-Bar Fractal (Hougaard):
bool fractal4BuyBase = close > high and close > high
bool fractal4SellBase = close < low and close < low
Classic 5-Bar Fractal:
bool fractalHigh = high > high and high > high and high > high and high > high
bool fractalLow = low < low and low < low and low < low and low < low
Signal Types
4B (4-Bar Buy) - Close exceeds high and high - early bullish signal
4S (4-Bar Sell) - Close below low and low - early bearish signal
FH (Fractal High) - Classic 5-bar swing high - confirmed resistance
FL (Fractal Low) - Classic 5-bar swing low - confirmed support
HOLP - High of low period - potential bullish exhaustion
LOHP - Low of high period - potential bearish exhaustion
Dashboard Information
4-Bar Fractal - Count of bullish/bearish 4-bar fractals
Classic Fractal - Count of 5-bar fractal highs/lows
HOLP/LOHP - Reversal signal counts
Total Signals - Combined pattern count
How to Use This Indicator
For Counter-Trend Entries:
1. Wait for 4-bar fractal signal at key support/resistance
2. Confirm with 5-bar fractal forming nearby
3. Enter with stop beyond the fractal point
For Stop Placement:
1. Use 5-bar fractal highs/lows as stop-loss references
2. These represent confirmed swing points that should hold if trend continues
For Trend Analysis:
1. Track swing structure using fractal highs and lows
2. Higher fractal lows = uptrend structure
3. Lower fractal highs = downtrend structure
Input Parameters
Show 4-Bar Fractals (true) - Toggle Hougaard method signals
Show Classic Fractals (true) - Toggle Williams method signals
Show HOLP/LOHP (true) - Toggle exhaustion signals
ATR Filter (false) - Only show signals during volatile conditions
Swing Lines (true) - Connect significant swing points
Timeframe Recommendations
1H-Daily: Best for reliable fractal detection
15m-30m: More signals but higher noise
Weekly: Fewer but more significant fractals
Limitations
5-bar fractals have inherent 2-bar lag (need confirmation)
4-bar fractals can produce false signals in choppy markets
HOLP/LOHP signals work best at trend extremes
Not all fractals lead to significant reversals
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Fractal detection does not guarantee reversals. Always use proper risk management.
- Made with passion by officialjackofalltrades
Rolling Volume Structure: HVN & SentimentTitle:
Rolling Volume Structure: HVN & Sentiment
Description:
This indicator visualizes the distribution of volume over price levels for a user-defined rolling period. It is designed to identify structural market nodes (HVN/LVN) and correlate them with Pivot Points to filter out market noise.
NOTE: This script utilizes a mathematical array binning algorithm to calculate the profile efficiently on the chart timeframe, avoiding the runtime timeouts often associated with standard iterative volume profiles.
How it works (Technical Methodology)
Binning Algorithm: The script calculates the price range (Highest High - Lowest Low) of the lookback period and divides it into a fixed number of vertical bins defined by the Resolution input.
Volume Allocation: It iterates through historical bars once. The volume of each bar is assigned to the corresponding price bin based on the bar's closing price.
Sentiment Approximation: Since tick-level Bid/Ask data is not available for historical bars in standard Pine Script strategies, this indicator estimates directional volume based on candle polarity:
If Close > Open: Volume is categorized as "Up Volume" (Buying Sentiment).
If Close < Open: Volume is categorized as "Down Volume" (Selling Sentiment).
Disclaimer: This is a standard approximation for structural analysis and does not represent true tick-data delta.
Why this Combination? (Originality & Synergy)
This script addresses the problem of validating structural levels. Traders often use Pivots and Volume Profiles separately. This script combines them programmatically to provide context:
Pivot Confluence: A Pivot Point is only plotted if it aligns with significant volume structure.
HVN Validation: A pivot occurring within a High Volume Node (HVN) suggests a high-liquidity reversal zone, whereas a pivot in a Low Volume Node (LVN) may indicate a liquidity void or a "weak" high/low.
The Dashboard summarizes these metrics (Position relative to Value Area, Net Sentiment, and Trend), removing the need for multiple separate indicators.
Educational Use for Beginners
If you are new to Volume Profile, think of the market structure in these simple terms:
Value Area (VA): This is the "Fair Price" zone where 70% of trading happened. If price is inside here, the market is balanced. If price breaks out, it may be starting a trend.
HVN (High Volume Nodes - Colored Boxes): Think of these as "Traffic Jams". Price often slows down, bounces, or gets stuck here because there are many orders. They act as Support or Resistance.
LVN (Low Volume Nodes - Gray Strips): Think of these as "Empty Highways". Because there is little volume here, price tends to move through these zones very quickly to get to the next HVN.
Features
HVN (High Volume Nodes): Colored boxes highlighting areas of high accumulation.
LVN (Low Volume Nodes): Gray strips highlighting gaps or acceleration zones.
Value Area (VA): Displays the VAH, VAL, and PoC (Point of Control).
Volume-Filtered Pivots: Plots pivots only when supported by the profile structure.
Sentiment Coloring: The profile bins are colored based on the net bullish/bearish candle volume.
Settings
Rolling Period: The lookback window size (default 150 bars).
Resolution: Precision of the profile bins (higher = more detail, lower = smoother).
HVN Thresholds: Percentage of PoC volume required to identify a node.
Global Text Size: Adjusts labels and dashboard for 4K or standard screens.
Credits: The core binning logic is adapted from generic open-source array management concepts for custom volume profiles.






















