Key Session & LevelsThis indicator helps traders track key price levels for multiple timeframes and trading sessions. It plots:
Previous Day's High and Low (PD): Highlighting the high and low of the previous trading day.
Previous Week's High and Low (PW): Plotting the highest and lowest price levels for the past week.
Tokyo Session High and Low (Today): Displays the high and low levels for the Tokyo trading session (adjustable to your preferred time window).
London Session High and Low (Today): Tracks the high and low for the London trading session (also adjustable for your timezone and desired session window).
Features:
Customizable Time Zones: The indicator uses your preferred timezone to calculate session highs/lows.
Extendable Lines: Lines for each level extend to the right of the chart, providing continuous reference throughout the trading day.
Adjustable Settings: Fine-tune the visibility and width of the lines, and choose which levels to display (Previous Day, Previous Week, Tokyo, and London sessions).
Non-Repainting: This script uses historical data and only updates when new bars are confirmed, ensuring accurate and reliable signals.
Whether you're a day trader, swing trader, or just tracking key levels for strategic entries and exits, this tool provides quick visual reference to important price points across different trading sessions.
Supporto e resistenza
StdDev Supply/Demand Zone RefinerThis indicator uses standard deviation bands to identify statistically significant price extremes, then validates these levels through volume analysis and market structure. It employs a proprietary "Zone Refinement" technique that dynamically adjusts zones based on price interaction and volume concentration, creating increasingly precise support/resistance areas.
Key Features:
Statistical Extremes Detection: Identifies when price reaches 2+ standard deviations from mean
Volume-Weighted Zone Creation: Only creates zones at extremes with abnormal volume
Dynamic Zone Refinement: Automatically tightens zones based on touch points and volume nodes
Point of Control (POC) Identification: Finds the exact price with maximum volume within each zone
Volume Profile Visualization: Shows horizontal volume distribution to identify key liquidity levels
Multi-Factor Validation: Combines volume imbalance, zone strength, and touch count metrics
Unlike traditional support/resistance indicators that use arbitrary levels, this system:
Self-adjusts based on market volatility (standard deviation)
Refines zones through machine-learning-like feedback from price touches
Weights by volume to show where real money was positioned
Tracks zone decay - older, untested zones automatically fade
Key Session & LevelsThis indicator helps traders track key price levels for multiple timeframes and trading sessions. It plots:
Previous Day's High and Low (PD): Highlighting the high and low of the previous trading day.
Previous Week's High and Low (PW): Plotting the highest and lowest price levels for the past week.
Tokyo Session High and Low (Today): Displays the high and low levels for the Tokyo trading session (adjustable to your preferred time window).
London Session High and Low (Today): Tracks the high and low for the London trading session (also adjustable for your timezone and desired session window).
Features:
Customizable Time Zones: The indicator uses your preferred timezone to calculate session highs/lows.
Extendable Lines: Lines for each level extend to the right of the chart, providing continuous reference throughout the trading day.
Adjustable Settings: Fine-tune the visibility and width of the lines, and choose which levels to display (Previous Day, Previous Week, Tokyo, and London sessions).
Non-Repainting: This script uses historical data and only updates when new bars are confirmed, ensuring accurate and reliable signals.
Whether you're a day trader, swing trader, or just tracking key levels for strategic entries and exits, this tool provides quick visual reference to important price points across different trading sessions.
PDH/PDL (prev RTH) + Current ETH High/LowDescription:
This indicator automatically plots the key levels of PDH/PDL (Previous Day High/Low from regular trading hours – RTH) and ETH High/Low (Extended Hours: pre-market + after-hours) in real time.
• PDH/PDL: calculated at the close of RTH (09:30–16:00 NYSE) and anchored until the next day.
• ETH High/Low: updated live during extended hours (04:00–09:29 and 16:00–20:00 NYSE) and “frozen” at the RTH open for reference during the regular session.
• Customization options: colors, line styles (solid/dashed/dotted), thickness, labels, and the ability to extend lines to the right.
• Levels can also be displayed directly on the price scale.
This script is designed for traders who want a quick visualization of the most relevant levels from the previous day and extended hours, making it easier to identify supports, resistances, and potential reaction zones in price action.
By: Miguel Arenas
Smart Money SignalsSmart Money Signals – Market Flow & Structure Visualizer
Overview
Smart Money Signals is a precision trading tool designed for traders who want to see market structure and momentum flow in real time. By detecting pivots, momentum imbalances, and dynamic support/resistance levels, the indicator transforms raw price action into a clear visual narrative of where capital is entering and exiting the market.
Instead of lagging averages or cluttered signals, Smart Money Signals highlights the moments that matter most—where bullish and bearish flows are confirmed, where support or resistance breaks, and where momentum zones show the true battleground between buyers and sellers. Its adaptive design makes it equally effective for scalpers seeking sharp entries, swing traders tracking reversals, and longer-term traders looking for confirmation of bias.
How It Works
The engine behind Smart Money Signals relies on swing detection and a configurable sensitivity filter. By monitoring directional momentum across recent bars, the system identifies bullish pivots (where downside exhaustion flips into strength) and bearish pivots (where upward thrust collapses into weakness).
When price confirms a pivot, the indicator draws flow lines to mark the breakout and labels them as either continuation or reversal events, depending on existing market bias. Momentum zones are automatically plotted, highlighting the critical areas where buyers defended price or sellers pressed it lower.
Dynamic support and resistance levels extend forward in time, updating live as price develops. These zones change color when broken, visually signaling whether structure has held or failed. Gradient background shading further emphasizes moments of extreme momentum, such as overbought or oversold surges, so that traders instantly see when market pressure intensifies.
Signals and Market Flows
Smart Money Signals provides visual cues that are both intuitive and actionable:
📈 Bullish Flow Signals appear when price breaks above a confirmed pivot, signaling continuation or reversal into strength.
📉 Bearish Flow Signals appear when price breaks below a confirmed pivot, indicating continuation or reversal into weakness.
Momentum Zones highlight the defended areas between pivots, giving traders a visual map of where structure is strongest.
Dynamic Support & Resistance lines extend across the chart, shifting from defense to failure when broken, ensuring that the most relevant levels are always visible.
Break Signals mark the exact bar where key levels give way, confirming structural violations in real time.
By filtering out noise and focusing on meaningful flow events, the system helps traders avoid overreaction and focus only on high-probability structural shifts.
Strategy Integration
Smart Money Signals is versatile across trading styles:
Trend Continuation : Enter in the direction of flow signals, using dynamic zones as both confirmation and stop-loss placement.
Reversal Trading : Watch for pivots tagged as reversal points, where market bias flips and new structure is created.
Momentum Zone Entries : Use the automatically drawn zones to identify low-risk entries on pullbacks or retests.
Bias Alignment : The integrated dashboard reveals the current market bias—bullish, bearish, or neutral—helping traders stay aligned with the dominant flow.
Stop-losses can be positioned beyond the dynamic zone on the opposite side, while take-profits may be guided by the width of zones or momentum-driven extensions. On higher timeframes, the indicator provides context for macro structure, while lower timeframes allow for tactical entry refinement.
Advanced Techniques
Traders seeking deeper precision can combine Smart Money Signals with volume or order flow tools to validate pivots and zone defenses. Monitoring the sequence of bullish and bearish flows helps identify trend maturity, while analyzing the success rate of pivots in the analytics panel builds a data-driven approach to confidence in signals.
Adjusting swing period and sensitivity allows the indicator to adapt to different market conditions, from volatile crypto pairs to steady forex majors. The flexible visual themes—Cyber, Ocean, Sunset, Matrix—ensure readability across setups, while gradient shading keeps the chart intuitive even under fast-moving conditions.
Why Use Smart Money Signals
Markets are driven by liquidity, momentum, and structure. Smart Money Signals uncovers these forces by translating price action into a clear visual map of flow. It shows:
Where structure was built.
Where it was defended.
Where it was broken.
And where momentum is likely to carry next.
By combining flow detection, dynamic zones, and a live analytics dashboard, the indicator provides traders with a complete framework for reading price action in real time.
Whether you trade crypto, forex, or indices, Smart Money Signals adapts seamlessly to any asset class, giving you clarity, precision, and confidence to execute without second-guessing.
Malama's KAYCAP Pre-Market Box# Pre-Market Single Candle Range Box
## What Makes This Script Original
While many scripts plot entire pre-market session ranges, this indicator focuses specifically on **a single user-defined candle** within the pre-market period rather than the entire session. This targeted approach allows traders to isolate the most relevant price action from a specific time (default: 4:00 AM EST) that often establishes key levels for the trading day.
## Core Methodology & Technical Implementation
**Single Candle Isolation:**
- Captures OHLC data from one specific minute within pre-market hours (user configurable)
- Differentiates between the candle's body (open/close range) and wicks (high/low extremes)
- Creates four distinct reference levels instead of traditional session high/low boxes
**Dual Box Structure:**
- **Inner Box (Body):** Plots the range between open and close prices of the target candle
- **Outer Boundaries:** Separately plots the high and low of that same candle
- **Visual Differentiation:** Uses different colors and line weights to distinguish body vs. wick levels
**Time-Specific Logic:**
The script uses precise time matching (`hour == boxHour and minute == boxMinute`) to capture data from exactly one candle, rather than aggregating an entire session. This creates four specific price levels:
- Box Top: Higher of open/close (body boundary)
- Box Bottom: Lower of open/close (body boundary)
- Box High: Candle high (wick extreme)
- Box Low: Candle low (wick extreme)
## Why This Approach Differs from Standard Session Boxes
**vs. Full Session Ranges:** Focuses on a single critical minute rather than entire pre-market period
**vs. Traditional S/R:** Creates both body and wick levels from one specific candle
**vs. Opening Range:** Uses pre-market data rather than regular session opening minutes
## Practical Application
The 4:00 AM EST default targets a time when institutional pre-market activity often establishes initial sentiment and key levels. By isolating this specific candle's range:
- **Body levels** often act as initial support/resistance during regular hours
- **Wick extremes** provide broader range boundaries for breakout analysis
- **Precise timing** allows focus on the most statistically relevant pre-market moment
## Technical Considerations
- Requires intraday timeframes (1-minute recommended) to capture specific candle data
- Time settings should match your broker's timezone for accurate candle selection
- Works best on liquid instruments where pre-market activity is meaningful
- The selected candle must exist in your data feed for the levels to plot
## Customization Options
All timing parameters are adjustable:
- Target candle hour and minute
- Pre-market session definition (for context)
- Visual styling for all four level types
This focused approach provides more granular analysis than broad session ranges while maintaining simplicity in execution.
Market Structure CHoCH/BOS (Fractal) & Fair Value Gap [LuxAlgo]This script is two of LuxAlgo's Scripts put together with the goal to combine these into 1 to allow for ease of use. No credit to myself whatsoever. All Credit to LuxAlgo.
Script 1. Market Structure CHoCH/BOS (Fractal)
Script 2. Fair Value Gap
All credit to LuxAlgo, just combined them into 1.
Smarter Money Concepts - Wyckoff Springs & Upthrusts [PhenLabs]📊Smarter Money Concepts - Wyckoff Springs & Upthrusts
Version: PineScript™v6
📌Description
Discover institutional manipulation in real-time with this advanced Wyckoff indicator that detects Springs (accumulation phases) and Upthrusts (distribution phases). It identifies when price tests support or resistance on high volume, followed by a strong recovery, signaling potential reversals where smart money accumulates or distributes positions. This tool solves the common problem of missing these subtle phase transitions, helping traders anticipate trend changes and avoid traps in volatile markets.
By combining volume spike detection, ATR-normalized recovery strength, and a sigmoid probability model, it filters out weak signals and highlights only high-confidence setups. Whether you’re swing trading or day trading, this indicator provides clear visual cues to align with institutional flows, improving entry timing and risk management.
🚀Points of Innovation
Sigmoid-based probability threshold for signal filtering, ensuring only statistically significant Wyckoff patterns trigger alerts
ATR-normalized recovery measurement that adapts to market volatility, unlike static recovery checks in traditional indicators
Customizable volume spike multiplier to distinguish institutional volume from retail noise
Integrated dashboard legend with position and size options for personalized chart visualization
Hidden probability plots for advanced users to analyze underlying math without chart clutter
🔧Core Components
Support/Resistance Calculator: Scans a user-defined lookback period to establish dynamic levels for Spring and Upthrust detection
Volume Spike Detector: Compares current volume to a 10-period SMA, multiplied by a configurable factor to identify significant surges
Recovery Strength Analyzer: Uses ATR to measure price recovery after breaks, normalizing for different market conditions
Probability Model: Applies sigmoid function to combine volume and recovery data, generating a confidence score for each potential signal
🔥Key Features
Spring Detection: Spots accumulation when price dips below support but recovers strongly, helping traders enter longs at potential bottoms
Upthrust Detection: Identifies distribution when price spikes above resistance but falls back, alerting to possible short opportunities at tops
Customizable Inputs: Adjust lookback, volume multiplier, ATR period, and probability threshold to match your trading style and market
Visual Signals: Clear + (green) and - (red) labels on charts for instant recognition of accumulation and distribution phases
Alert System: Triggers notifications for signals and probability thresholds, keeping you informed without constant monitoring
🎨Visualization
Spring Signal: Green upward label (+) below the bar, indicating strong recovery after support break for accumulation
Upthrust Signal: Red downward label (-) above the bar, showing failed breakout above resistance for distribution
Dashboard Legend: Customizable table explaining signals, positioned anywhere on the chart for quick reference
📖Usage Guidelines
Core Settings
Support/Resistance Lookback
Default: 20
Range: 5-50
Description: Sets bars back for S/R levels; lower for recent sensitivity, higher for stable long-term zones – ideal for spotting Wyckoff phases
Volume Spike Multiplier
Default: 1.5
Range: 1.0-3.0
Description: Multiplies 10-period volume SMA; higher values filter to significant spikes, confirming institutional involvement in patterns
ATR for Recovery Measurement
Default: 5
Range: 2-20
Description: ATR period for recovery strength; shorter for volatile markets, longer for smoother analysis of post-break recoveries
Phase Transition Probability Threshold
Default: 0.9
Range: 0.5-0.99
Description: Minimum sigmoid probability for signals; higher for strict filtering, ensuring only high-confidence Wyckoff setups
Display Settings
Dashboard Position
Default: Top Right
Range: Various positions
Description: Places legend table on chart; choose based on layout to avoid overlapping price action
Dashboard Text Size
Default: Normal
Range: Auto to Huge
Description: Adjusts legend text; larger for visibility, smaller for minimal space use
✅Best Use Cases
Swing Trading: Identify Springs for long entries in downtrends turning to accumulation
Day Trading: Catch Upthrusts for short scalps during intraday distribution at resistance
Trend Reversal Confirmation: Use in conjunction with other indicators to validate phase shifts in ranging markets
Volatility Plays: Spot signals in high-volume environments like news events for quick reversals
⚠️Limitations
May produce false signals in low-volume or sideways markets where volume spikes are unreliable
Depends on historical data, so performance varies in unprecedented market conditions or gaps
Probability model is statistical, not predictive, and cannot account for external factors like news
💡What Makes This Unique
Probability-Driven Filtering: Sigmoid model combines multiple factors for superior signal quality over basic Wyckoff detectors
Adaptive Recovery: ATR normalization ensures reliability across assets and timeframes, unlike fixed-threshold tools
User-Centric Design: Tooltips, customizable dashboard, and alerts make it accessible yet powerful for all trader levels
🔬How It Works
Calculate S/R Levels:
Uses the highest high and the lowest low over the lookback period to set dynamic zones
Establishes baseline for detecting breaks in Wyckoff patterns
Detect Breaks and Recovery:
Checks for price breaking support/resistance, then recovering on volume
Measures recovery strength via ATR for volatility adjustment
Apply Probability Model:
Combines volume spike and recovery into a sigmoid function for confidence score
Triggers signal only if above threshold, plotting visuals and alerts
💡Note:
For optimal results, combine with price action analysis and test settings on historical charts. Remember, Wyckoff patterns are most effective in trending markets – use lower probability thresholds for practice, then increase for live trading to focus on high-quality setups.
🏛️ INSTITUTIONAL TRENDLINE v8 • Open Source🏛️ INSTITUTIONAL TRENDLINE v8 • Open Source
Adaptive S/R discovery with ML scoring, MTF confluence, and event-driven alerts
What it does (in one breath):
This indicator auto-discovers institutional-grade trendlines / dynamic support & resistance, scores them for quality using a dual-regime ML model (trend vs. range), validates them with multiple techniques (Theil–Sen, Huber, ATR/RSI/MACD/EMA, MTF confluence), then tracks breakouts, retests, failed breaks, proximity/touch events, and learns from outcomes to adapt over time. A visual panel summarizes stats, and optional heatmap/zones show where price is most “supported” or “capped”.
🚀 Quick Start (2 minutes)
Add to chart and leave defaults.
At the top of Inputs:
🎛️ Preset → choose your style: Scalper, Swing, Investor (or Custom).
🧬 Market Profile → pick Crypto/FX/Stocks + style or “Auto by Timeframe”.
Keep 🎯 Accuracy Mode = Quantum AI and ⚡ Performance = Maximum Quality if your device handles it.
Turn on 💥 Breakout Signals and 🚨 Alerts if you want notifications.
Read the right-side panel: Active Lines, Avg Q, Best Line, Market State, Nearest S/R, Top-3 lines, Pattern, Touch counts.
That’s it. You’ll see thinner, professional trendlines, small labels, optional zones, and tasteful break/retest markers.
🧠 How it works (plain English)
Discovery: It samples price pairs (with a swing-pivot bias) and fits many candidate lines.
Inlier-only R²: Instead of punishing outliers, it measures how tight touching bars are to a line.
ML Quality (0–100): Six signals (Touches, Volume @ touches, RSI, MACD, Volatility, Duration) are weighted differently for Trend vs Range regimes.
Validation: Rejects lines that disagree across Theil–Sen and Huber regressions (>15% slope deviation), fail slope/ATR filters, or lack MTF confluence.
Live tracking: Once a line is on the chart, the script watches for Breakouts → Retests → Failed breaks, and logs outcomes to continually re-weight the ML model (if enabled).
🎛️ Inputs (top section first)
1) Presets & Profiles (at the top)
🎛️ Preset
Scalper – lower lookbacks, faster, more signals.
Swing – balanced lookbacks, 2–4 lines per window.
Investor – longer lookbacks, fewer but stronger lines.
Custom – you control everything below.
🧬 Market Profile
Tailors thresholds for Crypto / FX / Stocks and your style (Scalper / Swing / Investor). Choose Auto by Timeframe to adapt from your chart resolution.
These two choices set “effective” requirements under the hood (min quality, R², proximity windows, cleanup cadence, etc.) so you don’t have to micromanage.
2) 🤖 Machine Learning Engine
Enable ML Enhancement – turns the adaptive scoring on/off.
ML Sensitivity – caps the maximum achievable score (lower = stricter).
Adaptive Learning – updates weights after each confirmed outcome.
Outcome Window (bars) & Target (ATR) – define when a breakout is counted as success or fail for learning.
Dual-Regime Models – separate weight sets for Trend and Range.
Tip: If results look “too picky,” raise ML Sensitivity slightly (e.g., 0.85→0.95).
3) 🎯 Accuracy & Filters
Minimum Touch Points / Quality / R² – base requirements for new lines.
Multi-Algorithm Validation – confirms slope across three regressions.
Volume / RSI / MACD / EMA / ATR filters – optional evidence checks.
No-Repaint Strict (HTF closed only) – for purists; fewer but cleaner MTF confirmations.
4) 🧠 Pro Logic / MTF
Swing-Anchored Sampling Bias – increases hits on meaningful swings.
HTF 1 / HTF 2 – reference frames for confluence (e.g., 4H & 1D).
HTF Bars to Scan / Touches Needed – how much agreement to demand.
Geometric Midline Agreement – proximity to HTF midlines (20-SMA).
Midline Distance Threshold (×ATR) – how strict that midline check is.
5) 💎 Visual System
Display Trendlines / Zones / Smart Labels / Breakout Signals / Heatmap – toggle pieces on/off.
Visual Theme & Color Intensity – pick a palette; v8 lines are thinner with subtle gradients.
Highlight Top-3 Lines – faint halo on the three highest-quality lines.
Limit Signal Markers / Bar – prevents clutter in fast moves.
Tip: For the cleanest chart: show Trendlines + Breakouts, keep Zones semi-transparent, and enable Heatmap only when you want confluence context.
6) 🚨 Alerts
Enable Smart Alerts – master switch.
Alert Quality Threshold – only alert for lines ≥ this Q%.
Base Proximity (ATR) & Slope-Adaptive Proximity – how close is “near”.
Retest / Failed-Break Windows – how long after a break to track.
Per-Line Cool-Off (bars) – spacing to avoid spam.
Consolidated JSON Alert/Bar – single JSON payload with all events per bar (great for bots).
Fire Inline Alerts (verbose) – pop real-time alerts the moment events occur.
Alert names (mapped to alertconditions):
🆕 New S/R Created
📍 Approaching Trendline
🎯 Touching Trendline
🟢 Bullish Breakout / 🔴 Bearish Breakdown
♻️ Bullish Retest / ♻️ Bearish Retest
⛔ Failed Break
7) ⚡ Performance
Performance Mode – quality vs speed.
Max New Lines per Lookback/Bar – caps how many fresh lines a bar can add.
Cleanup Interval (bars) & Max Lines to Keep – automatic memory & clutter control.
Theil–Sen Sampled Pairs – fewer = faster; more = robust.
📈 How to read the chart
Lines:
Color = Support (green) or Resistance (red) at current price.
Thickness/Style = relates to Quality and Touches (higher Q = slightly bolder).
Labels show a badge (💎 🏆 ⭐ ✅ 📊) with Q%. Tooltip lists touches, R², price@line, lookback, and which evidences are ON.
Zones: Soft confidence corridors around lines (ATR-scaled).
Heatmap: A faint background tint—dominant support, resistance, or neutral/confluence.
Break markers: tiny ▲ / ▼ (or 🚀/💀 when very strong). Retests and failed breaks are tagged separately.
Top-3 glow: subtle halo on the three best lines right now.
🧭 Trading workflow (example)
Scenario A – Trend continuation
Market panel shows TREND; Top-3 lines include two rising supports ≥90% Q.
Price approaches one of them → Touch → Bullish breakout above a local resistance line.
Wait for ♻️ Retest of that broken line from above; if RSI>50 & MACD>0 (shown in panel), open a long with stop just under the line or zone.
Exit partials at next resistance line; trail under the line.
Scenario B – Range fade
Panel says RANGE; heatmap is neutral/confluence.
Price tags a high-Q red line and prints Touch without breakout, while RSI>60 cools off.
Enter a mean-revert short with stop above the line; target midrange or next green line.
If a Bullish breakout fires during the trade → respect the Failed Break logic; exit quickly.
Scenario C – Breakout trader
Filter only lines with Q ≥ 90% and alerts ON.
When Breakout triggers with strength ≥ 4/7 (see panel), take a starter.
Add on Retest if it prints within your retest window and confluence still looks good.
Manage risk with ATR or zone width.
This is a levels & event indicator. It doesn’t replace your system; it gives objective lines and objective events around those lines.
✅ Best-practice setup
Presets/Profiles: Start with Swing + your Market Profile.
ML Sensitivity: 0.90–0.95 for most markets.
Alerts: Set Alert Quality ≥ 85–90, Cool-Off = 4–6 bars.
MTF: Use 4H + 1D on intraday; 1D + 1W on daily charts.
Clutter control: Max Lines ~200, Cleanup ~50 bars, Signal cap 6/bar (defaults are sensible).
No-repaint strict: Turn on for signal review; turn off if you want more frequent MTF confirmations in real time.
🔬 Research Mode (optional)
Enable 🧪 Research Mode to track win-rates by quality buckets. The panel shows Win% so you can calibrate your thresholds per market.
⚠️ Notes & limitations
This is open-source research software. Past performance ≠ future results.
Learning requires time: the ML engine adapts after outcomes; don’t expect instant magic.
Very low-liquidity symbols may produce fewer reliable lines; increase lookbacks or tighten filters.
MTF data uses request.security with no lookahead; turning No-Repaint Strict on can further reduce signals.
🧩 Troubleshooting
“Too many lines.” Raise Min Quality / R², lower Max Lines, or reduce cap per lookback.
“Too few lines.” Lower Min Quality a bit, raise ML Sensitivity, or choose an easier Preset/Market Profile.
“Alerts are spammy.” Raise Alert Quality, increase Cool-Off, increase Proximity threshold.
“Performance is slow.” Use Balanced / Fast, reduce Theil–Sen pairs, or extend Cleanup Interval.
📦 Included alertconditions (for one-click alert rules)
New S/R Created
Approaching Trendline
Touching Trendline
Bullish Breakout / Bearish Breakdown
Bullish Retest / Bearish Retest
Failed Break
Enjoy, share feedback, and feel free to fork.
If you publish ideas using it, please credit “INSTITUTIONAL TRENDLINE v8 • OS” so other traders can find the open-source original. Happy trading! 🫶
TrueOpens [AY]¹ See how price reacts to key multi-day and monthly open levels—perfect for S/R-focused traders.
Experimental indicator for tracking multi-day openings and ICT True Month Open levels, ideal for S/R traders.
TrueOpens ¹ – Multi-Day & True Month Open Levels
This indicator is experimental and designed to help traders visually track opening price levels across multiple days, along with the ICT True Month Open (TMO).
Key Features:
Supports up to 12 configurable multi-day opening sessions, each with independent color, style, width, and label options.
Automatically detects the True Month Open using the ICT method (2nd Monday of each month) and plots it on the chart.
Lines can extend dynamically and are limited to a user-defined number of historical bars for clarity.
Fully customizable timezones, label sizes, and display options.
This indicator is ideal for observing how price interacts with key levels, especially for traders who favor support and resistance-based strategies.
Disclaimer: This is an analytical tool for observation purposes. It does not provide buy or sell signals. Users should combine it with their own analysis and risk management.
Anchored VWAP by Fin VirajSimple Anchored VWAP with Directional Colors
📊 Overview
A clean and efficient Anchored VWAP (Volume Weighted Average Price) indicator with dynamic directional coloring. This indicator provides traders with a reliable reference point for price action analysis based on volume-weighted calculations from specific anchor points.
✨ Key Features
🎯 Multiple Anchor Types
Session: Anchors to daily trading session start
Day: Resets at the beginning of each trading day
Week: Weekly anchor points for swing trading
Month: Monthly anchors for longer-term analysis
Manual Date: Set custom anchor date for specific events
🌈 Directional Color System
🟢 Green: Price above VWAP with upward momentum
🔴 Red: Price below VWAP with downward momentum
🔵 Blue: Neutral/transitional conditions
📏 Standard Deviation Bands
Customizable multipliers (default: 1.0 and 2.0)
Toggle on/off as needed
Support and resistance levels based on statistical deviation
Filled area between bands for better visualization
🔧 Settings & Customization
Input Parameters
Anchor Type: Choose from 5 different anchor methods
Manual Anchor Date: Set specific date for manual anchoring
Reset Anchor Point: Manual reset button
Show Standard Deviation Bands: Toggle bands visibility
Band Multipliers: Adjust band distance (1σ and 2σ)
VWAP Line Width: Customize line thickness (1-4)
Color Customization
Bullish Color: Customize uptrend color
Bearish Color: Customize downtrend color
Neutral Color: Customize neutral state color
Band Color: Customize standard deviation bands color
📈 How to Use
For Day Trading
Set anchor type to "Session" or "Day"
Use VWAP as dynamic support/resistance
Green color = bullish bias, Red color = bearish bias
For Swing Trading
Set anchor type to "Week" or "Month"
Longer-term VWAP acts as major S/R level
Standard deviation bands show potential reversal zones
For Event-Based Analysis
Set anchor type to "Manual Date"
Choose significant event date (earnings, news, etc.)
Analyze price behavior relative to that anchor point
🎨 Visual Interpretation
VWAP Line Colors
Bright Green: Strong bullish momentum (price above rising VWAP)
Bright Red: Strong bearish momentum (price below falling VWAP)
Blue: Neutral conditions or transitional phase
Standard Deviation Bands
Upper Bands: Potential resistance levels
Lower Bands: Potential support levels
Band Touches: Often indicate reversal or continuation points
💡 Trading Applications
Support & Resistance
VWAP acts as dynamic support in uptrends
VWAP acts as dynamic resistance in downtrends
Standard deviation bands provide additional S/R levels
Trend Analysis
Price consistently above VWAP = bullish trend
Price consistently below VWAP = bearish trend
Color changes help identify trend shifts
Entry & Exit Points
Use VWAP reclaims for potential long entries
Use VWAP breaks for potential short entries
Standard deviation bands for profit-taking levels
⚙️ Technical Details
Pine Script Version: v6
Overlay: Yes (plots on price chart)
Calculation: Volume-weighted average price from anchor point
Standard Deviation: Statistical measure of price dispersion
Performance: Optimized for real-time calculation
🔄 Anchor Reset Logic
The indicator automatically resets based on selected anchor type:
Session/Day: Resets at market open
Week: Resets at week start
Month: Resets at month start
Manual: Resets from chosen date
Manual Reset: Override button for immediate reset
📋 Best Practices
Choose appropriate timeframe for your anchor type
Combine with volume analysis for better confirmation
Use multiple timeframes for comprehensive analysis
Consider market context when interpreting signals
Test on demo before live trading
⚠️ Disclaimer
This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management before making trading decisions.
Dynamic Support and Resistance V2 | AnonycryptousThe Dynamic Support and Resistance V2 indicator, an easy tool to identify key support, resistance, trendline levels, pivot points and volume data.
Pivot Points.
Calculates support, resistance and trendline levels using pivot points, which are derived from the high, low, and close prices of previous trading periods.
Customize the pivot calculation by using Close' or 'High/Low' and adjusting the lookback periods for both the left and right sides of the pivot calculation.
Pivot points are crucial for forecasting potential market turning points, so it allows traders to adapt the indicator to different market conditions and timeframes.
By using pivot points, traders can spot reversal and consolidation levels or trendlines early on, allowing them to react to them in time.
Volume Levels.
This option focuses on identifying support and resistance levels based on volume data, specifically the Point of Control.
The POC is the highest traded volume price level during a time period.
This POC calculation, allow traders to areas of significant trading levels as support or resistance zones.
Volume-based levels gives insights into market sentiment and showes strong support and resistance based on trading volume.
Traders can choose between pivot-based and volume-based levels or use both simultaneously, depending on their analysis.
The indicator offers custom colors, so the trader can customize their visual analysis to their own style.
It calculates the importance of each level based on the number of touches and the duration it holds.
This indicator is intended for educational and informational purposes only and should not be considered financial advice.
Trading involves significant risk, and you should consult with a financial advisor before making any trading decisions.
The performance of this indicator is not guaranteed, and past results do not predict future performance.
Use at your own risk.
Institution Accumulation/DistributionLeveraging the Williams%R oscillator, the script has been optimized to pick out key turning point in the market specifically at Resistance (Overbought) or Support (Oversold)
The algo has been programmed to print both buy and sell alerts at extremes/when conditions flip eg a long position will be closed simultaneously opening a short position above resistance.
Best used as a scalping tool targeting 30m and below works well with currency pairs
[L2] Enhanced MACD Support-Kisslooking for support line, before pumping, script can find where possible points for enter
Clean Pivot Lines with AlertsTechnical Overview
This Script is designed for detecting untouched pivot highs and lows. It draws horizontal levels only when those pivots remain unviolated within a configurable lookback window and removes them automatically upon price breaches or sweeps.
Key components include:
Pivot detection logic : Utilizes ta.pivothigh()/ta.pivotlow() (or equivalent via request.security for HTF) with parameterized pivotLength to ensure flexibility and adaptability to different timeframes.
Cleanliness filtering : Checks lookbackBars prior to line creation to skip levels already violated, ensuring only uncontaminated pivots are used.
Dynamic level tracking : Stores active levels in arrays (highLines, lowLines) for continuous real-time monitoring.
Violation logic : Detects both close-based breaks (breakAbove/breakBelow) and wick-based sweeps (sweepAbove/sweepBelow), triggering alerts and automatic teardown.
Periodic housekeeping : Every N (10) confirmed bars, re-verifies “clean” status and removes silently invalidated levels—maintaining chart hygiene and avoiding stale overlays.
Customization options : Supports pivot timeframe override, colors, line width/style, lookback length, and alert toggling.
Utility
This overlay script provides a disciplined workflow for drawing meaningful support/resistance levels, filtering out contaminated pivot points, and signaling validations (breaks/sweeps) with alerts. Its modular design and HTF support facilitate integration into systematic workflows, offering far more utility than mere static pivot plots.
Usage Instructions
1. Adjust `pivot_timeframe`, `pivot_length`, and `lookback_bars` to suit your strategy timeframe and volatility structure.
2. Customize visual parameters as required.
3. Enable alerts to receive in-platform messages upon pivot violations.
4. Use HTF override only if analyzing multi-timeframe pivot behavior; otherwise, leave empty to default to chart timeframe.
Performance & Limitations
- Pivot lines confirmation lags by `pivot_length` bars; real-time signals may be delayed.
- Excessive active lines may impact performance on low-TF charts.
- The “clean” logic is contingent on the `lookback_bars` parameter; choose sufficiently high values to avoid false cleanliness.
- Alerts distinguish between closes beyond and wick-only breaches to aid strategic nuance.
Nifty Smart Zones & Breakout Bars(5min TF only) by Chaitu50cNifty Smart Zones & Breakout Bars is a purpose-built intraday trading tool, tested extensively on Nifty50 and recommended for Nifty50 use only.
All default settings are optimised specifically for Nifty50 on the 5-minute timeframe for maximum accuracy and clarity.
Why Last Bar of the Session Matters
The last candle of a trading session often represents the final battle between buyers and sellers for that day.
It encapsulates closing sentiment, influenced by end-of-day positioning, profit booking, and institutional activity.
The high and low of this bar frequently act as strong intraday support/resistance in the following sessions.
Price often reacts around these levels, especially when combined with volume surges.
Core Features
Session Last-Candle Zones
Plots a horizontal box at the high and low of the last candle in each session.
Boxes extend to the right to track carry-over levels into new sessions.
Uses a stateless approach — past zones reappear if relevant.
Smart Suppression System
When more than your Base Sessions (No Suppression) are shown, newer zones overlapping or within a proximity distance (in points) of older zones are hidden.
Older zones take priority, reducing chart clutter while keeping critical levels.
Breakout Bar Coloring
Highlights breakout bars in four categories:
Up Break (1-bar)
Down Break (1-bar)
Up Break (2-bar)
Down Break (2-bar)
Breakouts use a break buffer (in ticks) to filter noise.
Toggle coloring on/off instantly.
Volume Context (User Tip)
For best use, pair with volume analysis.
High-volume breakouts from last-session zones have greater conviction and can signal sustained momentum.
Usage Recommendations
Instrument: Nifty50 only (tested & optimised).
Timeframe: 5-minute chart for best results.
Approach:
Watch for price interaction with the plotted last-session zones.
Combine zone breaks with bar color signals and volume spikes for higher-probability trades.
Use suppression to focus on key, non-redundant levels.
Why This Tool is Different
Unlike standard support/resistance plotting, this indicator focuses on session-closing levels, which are more reliable than arbitrary highs/lows because they capture the final market consensus for the session.
The proximity-based suppression ensures your chart stays clean, while breakout paints give instant visual cues for momentum shifts.
Previous Day High/Low Levels [OWI]📘 How to Use the “Previous Day High/Low Levels ” Indicator
This TradingView indicator automatically tracks and displays the previous day's high and low during the Regular Trading Hours (RTH) session. It’s perfect for traders who want to visualize key support/resistance levels from the prior day in futures like CME_MINI:NQ1! and COMEX:GC1! .
🛠 Setup Instructions
1. Customize RTH Session Times
- In the Settings panel, adjust the following under the Levels group:
- RTH Start Hour and RTH Start Minute: Default is 9:30 AM (New York time).
- RTH End Hour and RTH End Minute: Default is 4:15 PM.
- These define the active trading session used to calculate the day’s high and low.
2. Toggle Labels
- Use the Show PDH/PDL Labels checkbox to display or hide the “PDH” and “PDL” labels on the chart.
- Labels appear after the session ends and follow price dynamically.
📊 What the Indicator Does
- During the RTH session:
- Tracks the highest and lowest price of the day.
- After the session ends:
- Draws horizontal lines at the previous day’s high (green) and low (red).
- Optionally displays labels ("PDH" and "PDL") at those levels.
- Lines extend into the current day to help identify potential support/resistance zones.
✅ Best Practices
- Use this indicator on intraday timeframes (e.g., 5m, 15m, 1h) for best results.
- Combine with volume or price action analysis to confirm reactions at PDH/PDL levels.
- Adjust session times if trading non-US markets or custom hours.
Scalping Indicator (EMA + RSI)Buy and Sell Signals. Use with Supply and Demand to find good entries. Do not rely solely on this signal. Monitors with short and long EMA cross along with oversold or overbought RSI.
EMA Deviation with Min/Max Levelshis indicator visualizes the percentage deviation of the closing price from its Exponential Moving Average (EMA), helping traders identify overbought and oversold conditions. It dynamically tracks the minimum and maximum deviation levels over a user-defined lookback period, highlighting extreme zones with color-coded signals:
• 🔵 Normal deviation range
• 🔴 Near historical maximum — potential sell zone
• 🟢 Near historical minimum — potential buy zone
Use it to spot price extremes relative to trend and anticipate possible reversals or mean reversion setups.
Supertrend - Support & ResistanceSupertrend – Multi-Timeframe Support & Resistance
This script overlays multiple Supertrend bands from higher timeframes on a single chart and treats them as dynamic support and resistance. The goal is simple: see the bigger picture without leaving your current timeframe.
What it does
• Calculates Supertrend using the same ATR Length and Factor across 5m, 15m, 30m, 1h, 4h, 8h, 12h, and 1D.
• Pulls each timeframe via request.security(..., lookahead_off) so values only update on candle close. No look-ahead, no “teleporting” lines.
• Plots each timeframe’s Supertrend as an on-chart band with increasing transparency the higher you go, so you can visually separate short-term vs higher-timeframe structure.
• Colors indicate direction:
• Green = bearish band above price (acting as resistance)
• Red = bullish band below price (acting as support)
• Drops compact labels (5m, 15m, 30m, etc.) every 20 bars right on the corresponding Supertrend level, so you can quickly identify which line belongs to which timeframe.
Why this helps
Supertrend is great for trend definition and trailing stops. But one timeframe alone can whipsaw you. By stacking multiple timeframes:
• Confluence stands out. When several higher-TF bands cluster, price often reacts.
• You see where intraday pullbacks are likely to pause (lower TF bands) and where trend reversals are more meaningful (higher TF bands).
• It’s easier to align entries with the dominant trend while still timing them on your working timeframe.
How it works (quick refresher)
Supertrend uses ATR to offset a median price with a multiplier (Factor). When price crosses the band, direction flips and the trailing line switches sides. This script exposes:
• ATR Length (default 10): sensitivity of the ATR. Smaller = tighter band, more flips. Larger = smoother, fewer flips.
• Factor (default 3.0): multiplier applied to ATR. Larger = wider band, more conservative.
The same settings are used for all timeframes for clean, apples-to-apples comparisons.
How to use it
• Trend alignment: Prefer longs when most higher-TF lines are below price (red support). Prefer shorts when most are above price (green resistance).
• Pullback entries: In an uptrend, look for pullbacks into a lower-TF red band that lines up near a higher-TF red band. That overlap is your “zone.”
• Breakout confirmation: A strong break and close beyond a higher-TF band carries more weight than a lower-TF poke.
• Stops and targets: Use the nearest opposing band as a logic point. For example, in a long, if price loses the lower-TF red band and the next higher-TF band is close overhead, trim or tighten.
Signals you can read at a glance
• Stacking: Multiple red bands beneath price = strong bullish structure. Multiple green bands above price = strong bearish structure.
• Compression: Bands from different TFs squeezing together often precede expansion.
• Flip zones: When a higher-TF band flips side, treat that level as newly minted support/resistance.
Design choices in the code
• lookahead_off on all request.security calls avoids repainting from future data.
• Increasing transparency as the timeframe rises makes lower-TF context visible without drowning the chart.
• Labels every 20 bars keep the chart readable while still giving you frequent anchors.
Good to know (limits and tips)
• This is an overlay of closed-bar Supertrend values from higher TFs. Intrabar moves can still exceed a band before close; final signal prints at candle close of that timeframe.
• Using the same ATR/factor across TFs makes confluence easier to judge. If you need independent tuning per TF, you can clone the security calls and add separate inputs.
• On very low timeframes with many symbols, multiple request.security calls can be heavy. If performance drops, hide one or two higher TFs or increase the label spacing.
Risk note
This is a context tool, not an auto-trader. Combine it with structure (HH/HL vs LH/LL), volume, and your execution rules. Always test on your market and timeframe before committing real capital.
Recent Range DetectorOverview
The Recent Range Detector is a specialized indicator designed to identify when an asset is currently range-bound, providing traders with clear support and resistance levels for range trading strategies. Unlike traditional indicators that focus on trend detection, this tool specifically answers the question: "Is the price range-bound right now, and what are the exact trading levels?"
Key Features
✅ Smart Range Detection - Uses a multi-factor scoring system to identify legitimate ranges
✅ Dynamic Support/Resistance Levels - Automatically calculates and displays key trading levels
✅ Range Quality Scoring - Provides confidence levels (Strong/Moderate/Weak Range)
✅ Touch Validation - Counts actual price touches to confirm range reliability
✅ Breakout Detection - Alerts when price exits the established range
✅ Visual Clarity - Clean boxes, lines, and labels for easy interpretation
How It Works
The indicator analyses recent price action using three core metrics:
Touch Quality (40%) - How many times price has respected support/resistance levels
Containment Quality (40%) - What percentage of recent bars stayed within the range
Recent Respect (20%) - Whether the latest price action confirms the range
These combine into a Range Score (0-1) that determines range strength and reliability.
Settings & Parameters
Range Lookback Period (Default: 15)
Number of bars to analyse for range detection
Shorter periods = more responsive to recent ranges
Longer periods = more stable, fewer false signals
Range Tolerance (Default: 2.0%)
Tolerance for price touches around exact highs/lows
Lower values = stricter range requirements
Higher values = more flexible range detection
Minimum Touches (Default: 3)
Required number of support/resistance touches for valid range
Higher values = more confirmed ranges, fewer signals
Lower values = more sensitive, earlier detection
Visual Options
Show Range Box: Displays the range boundaries
Show Support/Resistance Lines: Extends levels into the future
Understanding the Output
Range Score (0.000 - 1.000)
0.7+ = Strong Range (Green) - High confidence range trading setup
0.5-0.7 = Moderate Range (Yellow) - Decent range with some caution
0.3-0.5 = Weak Range (Orange) - Low confidence, be careful
<0.3 = Not Ranging - Avoid range trading strategies
Range Status Classifications
Strong Range - Perfect for range trading strategies
Moderate Range - Good range with normal risk
Weak Range - Marginal range, use smaller positions
Not Ranging - Price is trending or too choppy for range trading
Key Metrics in Info Table
Range Size (%) - Size of the range relative to price level
5-15% = Ideal range size for most strategies
<5% = Tight range, lower profit potential
>15% = Wide range, higher profit potential but more risk
Support/Resistance Levels - Exact price levels for entries/exits
Use these as your key trading levels
Support = potential buy zone
Resistance = potential sell zone
Total Touches - Number of times price respected the levels
3-5 touches = Newly formed range
6-10 touches = Well-established range
10+ touches = Very strong, reliable range
Price Position (%) - Current location within the range
0-20% = Near support (potential long opportunity)
80-100% = Near resistance (potential short opportunity)
40-60% = Middle of range (wait for better entry)
Visual Elements
Range Box
Green Box = Strong Range (Score ≥ 0.7)
Yellow Box = Moderate Range (Score 0.5-0.7)
Orange Box = Weak Range (Score 0.3-0.5)
Support/Resistance Lines
- Horizontal lines showing exact trading levels
- Extend into the future for forward guidance
- Colour matches the range strength
Background Colouring
- Subtle background tint during range periods
- Helps quickly identify ranging vs trending markets
Breakout Signals
- 📈 RANGE BREAK UP - Price breaks above resistance
- 📉 RANGE BREAK DOWN - Price breaks below support
- Only appears for confirmed ranges (Score ≥ 0.5)
Trading Applications
Range Trading Strategy
1. Look for Range Score ≥ 0.5
2. Buy near support (Price Position 0-20%)
3. Sell near resistance (Price Position 80-100%)
4. Set stops just outside the range
5. Exit on breakout signals
Breakout Strategy
1. Identify strong ranges (Score ≥ 0.7)
2. Wait for volume-confirmed breakout
3. Enter in breakout direction
4. Use previous resistance as support (or vice versa)
Market Context
- Strong ranges often occur after trending moves
- Use higher timeframes to confirm overall market structure
- Combine with volume analysis for better entries/exits
Best Practices
What to Look For
✅ Range Score ≥ 0.5 for trading consideration
✅ Multiple touches (5+) for confirmation
✅ Clear price rejection at levels
✅ Reasonable range size (5-15% for most assets)
✅ Recent price respect of boundaries
What to Avoid
❌ Trading ranges with Score < 0.3
❌ Very tight ranges (<3% size) - low profit potential
❌ Ranges with only 1-2 touches - not confirmed
❌ Ignoring breakout signals
❌ Trading against the higher timeframe trend
Alerts Available
- Range Detected - New range formation
- Range Break Up - Upward breakout
- Range Break Down - Downward breakout
- Range Ended - Range condition ended
Timeframe Recommendations
- Daily Charts - Best for swing trading ranges
- 4H Charts - Good for intermediate-term ranges
- 1H Charts - Suitable for day trading ranges
- Lower Timeframes - May produce more noise
Conclusion
The Recent Range Detector eliminates guesswork in range identification by providing objective, quantified range analysis. It's particularly valuable for traders who prefer range-bound strategies or need to identify when trending strategies should be avoided.
Remember: No indicator is perfect. Always combine with proper risk management, volume analysis, and broader market context for best results.
Disclaimer
This indicator is for educational purposes only and should not be considered as financial advice. Trading involves risk, and past performance does not guarantee future results. Always conduct your own research and consider your risk tolerance before making any trading decisions.
Prev D/W/M + Asia & London Levels [Oeditrades]Prev D/W/M + Asia & London Levels
Author: Oeditrades
Platform: Pine Script® v6
What it does
Plots only the most recent, fully completed:
Previous Day / Week / Month highs & lows
Asia and London session highs & lows
Levels are drawn as true horizontal lines from the period/session start and extended to the right for easy confluence reading. The script is non-repainting.
How it works
Prev Day/Week/Month: Uses completed HTF candles (high / low ) so values are fixed for the entire next period.
Sessions (NY time): Asia (default 20:00–03:00) and London (default 03:00–08:00) are tracked in America/New_York time. High/low are locked when the session ends, and the line is anchored at that session’s start.
Inputs & customization
Visibility: toggle Previous Day/Week/Month, Asia, London, and labels.
Colors: highs default red; lows default green (user-configurable). Session highs default pink, lows aqua (also editable).
Style: line style (solid/dotted/dashed) and width.
Sessions: editable time windows for Asia and London (still interpreted in New York time).
Disclaimer: optional on-chart disclaimer panel with editable text.
Notes
Works on any timeframe. For intraday charts, the HTF values remain constant until the next HTF bar completes.
If your market’s overnight hours differ, simply adjust the session windows in Inputs.
Lines intentionally show only the latest completed period/session to keep charts clean.
Use cases
Quick view of PDH/PDL, PWH/PWL, PMH/PML for bias and liquidity.
Intraday planning around Asia/London range breaks, retests, and overlaps with prior levels.
Disclaimer
This tool is for educational purposes only and is not financial advice. Markets involve risk; past performance does not guarantee future results.