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.
دعم ومقاومة
AI Dynamic SR Trend Lines Enhanced# Dynamic Support/Resistance Lines Using Linear Regression
## What Makes This Script Original
This script differs from standard pivot-based support/resistance indicators by applying **linear regression analysis** to clusters of recent pivot points instead of simply connecting the last two pivots. While many scripts plot lines between individual swing points, this approach calculates the "line of best fit" through multiple recent pivots (3-5 points), creating statistically-derived trend lines that better represent the overall price trajectory.
## Core Methodology
**Pivot Collection & Filtering:**
- Detects swing highs and lows using configurable left/right lookback periods
- Applies ATR-based filtering to exclude minor pivots that don't represent significant price structure
- Uses angular filtering to reject excessively steep trend lines (over 45 degrees by default)
**Linear Regression Calculation:**
- Collects the most recent 2-5 valid pivot points (user configurable)
- Applies least-squares linear regression to find the optimal line through these points
- Updates dynamically as new pivots form, maintaining relevance to current market structure
**Enhancement Features:**
- Optional logarithmic price scaling for percentage-based analysis
- EMA confluence detection that increases line "strength" when trend lines align with moving averages
- Automatic line pruning when price moves significantly away (customizable ATR multiples)
- Visual strength indication through line thickness based on pivot count and confluence
## Key Differences from Standard Approaches
**vs. Simple Pivot Connections:** Uses statistical best-fit rather than arbitrary point-to-point lines
**vs. Fixed Trend Lines:** Dynamically adapts as new market structure develops
**vs. Manual Drawing:** Automatically identifies and plots the most statistically relevant levels
## Practical Application
The resulting support and resistance lines represent the mathematical trend through recent price structure rather than subjective line drawing. This creates more consistent and objective trend analysis, particularly useful for:
- Identifying key levels for entries/exits
- Confluence analysis when combined with other technical tools
- Systematic approach to trend line analysis
## Important Limitations
- Lines recalculate as new pivots form (this is intentional for dynamic adaptation)
- Requires sufficient pivot history to generate meaningful regression lines
- Should be used as part of comprehensive analysis, not as standalone signals
- Past performance of trend lines does not guarantee future effectiveness
## Technical Implementation Notes
The script uses arrays to maintain rolling collections of pivot points, applies mathematical linear regression formulas, and includes multiple filtering mechanisms to ensure only statistically significant levels are displayed. All visual elements and calculation parameters are fully customizable to suit different trading styles and timeframes.
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.
Price Action Key Level Break & Retest — Instant ReversalThis script identifies high-confidence support and resistance levels using pivot points and multi-step retest confirmation. It helps traders detect reliable breakout and reversal zones using price action.
How It Works:
1. The script scans for pivot highs and lows on the chart to identify potential key levels.
2. Each level is monitored for multiple retests (configurable by the user). The more a level is tested and holds, the stronger it becomes.
3. When price interacts with a key level:
o A Support signal occurs if the level acts as support after multiple retests.
o A Resistance signal occurs if the level acts as resistance after multiple retests.
o If a signal fails (price breaks the level), an opposite signal is automatically placed at the breach point.
4. Optional volume filter validates the strength of moves, reducing false signals.
5. Horizontal Line Visualization: Support and Resistance signals are represented by drawing manually horizontal lines, which remain on the chart regardless of scrolling, zooming, or candle compression and helps traders to identify the breakout of key levels
Example:
• Suppose a stock forms a pivot low at ₹1,000.
• Price retraces and touches ₹1,000 two to three times, holding each time — the level is confirmed as strong support.
• The script places a buy line at ₹1,000.
• If price breaks below ₹1,000 after holding it for multiple retests, the script automatically generates a Resistance Signal at the breach point, signaling a potential trend reversal.
• That Resistance Signal act as Resistance level throughout. if such Resistance level breaks out above, it act as Support level and vice versa
• This allows traders to react adaptively, entering trades based on confirmed support or resistance while managing risk.
Why It’s Useful:
• Focuses on multi-retest confirmation rather than single touch points, reducing false signals.
• To draw horizontal lines on key levels, providing clear visualization of key levels without clutter.
• Integrates adaptive breach signals, so traders can respond when levels fail.
• Suitable for swing, intraday, and trend-following strategies.
How to Use:
1. Apply the script to any timeframe.
2. Configure pivot detection length and maximum retests to match trading style.
3. Enable the optional volume filter for stronger signal validation.
4. Monitor the horizontal lines for Support/Resistance signals and opposite signals at breaches.
5. Combine with other technical analysis if desired.
Concepts Behind the Script:
• Pivot-based support and resistance
• Multi-retest validation for stronger levels
• Adaptive opposite signals for failed levels
• Volume-based confirmation for reliability
• Horizontal line visualization for easy tracking
Key Features:
Horizontal Lines visualization: Support and Resistance levels remain on the chart permanently, providing constant visual reference.
Multi-Timeframe Compatible: Can be applied on any timeframe; lines and breach logic adjust automatically.
Optional Noise Filters: Volume and retest filters improve signal reliability.
Why It’s Worth Paying:
• Uses multi-retest confirmation to reduce false signals compared to standard support/resistance scripts.
• Provides adaptive opposite signals for failed levels — giving traders an actionable edge.
• Visualizes key levels as fixed horizontal lines, helping traders track trends clearly.
• Works across multiple timeframes — suitable for intraday, swing, or trend-following strategies.
How to Request Access:
This script is invite-only on TradingView. To get access:
1. DM me on TradingView with your username.
2. Access is granted individually to ensure proper use and avoid unauthorized sharing.
3. Once approved, you can apply the script to your charts immediately and benefit from high-confidence level detection.
Disclaimer:
Trading involves risk. Signals are based on historical price action and should be used alongside other technical analysis and risk management strategies.
Past performance does not guarantee future results. This is an analytical tool; it does not provide investment advice.
Previous Day High & Low (PDH / PDL) with HistoryThis indicator automatically plots the Previous Day High (PDH) and Previous Day Low (PDL) on your chart.
✨ Features:
📅 Multiple days of history (choose how many days to keep, or unlimited).
🎨 Custom colors and line styles (solid, dashed, dotted).
🔎 Show or hide levels once touched by price.
🏷️ Optional labels (“PDH” and “PDL”) that follow the line to the right edge.
🚀 Works on any market, any timeframe.
🔧 Use cases:
Identify key liquidity levels.
Track daily ranges for intraday trading.
Combine with other strategies for confluence.
Pullback IndicatorPullback Indicator
Plots a retracement level between a detected swing High and Low at a user-defined % (e.g., 38.2, 50, 61.8).
Formula: Level = Low + (High − Low) × (Pullback % / 100).
Merging Y-Axis into one
Once you add this indicator to the chart, you will see two Y-axes (or two price scales). Right-click on the price scales on the right, select “Merge all scales into one,” and choose “On the right.”
Modes
• Rolling → High/Low from last N bars on the chart’s timeframe. Recomputed every bar. Good for intraday, fast-adapting ranges.
• RollingDateRange → High/Low from a calendar window (Daily context). Options:
• RollDays = last N calendar days
• or Use Fixed Start Date (window expands day by day)
• Exclude Forming Day = ignore today’s incomplete daily candle for stable intraday levels.
Levels update once per daily bar unless today is included.
Inputs
• Pullback %
• Range Mode (Rolling | RollingDateRange)
• Lookback (bars)
• RollDays / Fixed Start Date
• Exclude Forming Day
• Show Pullback Label
Why range choice matters
Peak & trough are subjective—different windows give different High/Low. Select your window based on trading horizon:
• Intraday → Rolling (bars)
• Swing/position → RollingDateRange (days/fixed date)
How often are High/Low recomputed?
• Rolling (bars):
Recomputed on every bar of the chart’s timeframe using the most recent lookbackBars window. Levels can change frequently.
• RollingDateRange (Daily context):
Computed once per daily bar for the configured calendar window.
• With Exclude Forming Day = ON, the High/Low only update after the prior daily bar closes.
• With it OFF, the current (forming) daily bar can update the High/Low intraday if it sets a new extreme.
⸻
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.
EMA Trend SuiteThe EMA Trend Suite is a trend-following tool built around a stack of four Exponential Moving Averages (EMAs): 9, 21, 51, and 200. It is designed to help traders quickly identify market bias, potential support/resistance zones, and directional momentum.
🔹 How it works:
EMA 200 – The Trend Boss
Price trading above EMA 200 → bullish bias is prioritized.
Price trading below EMA 200 → bearish bias is prioritized.
EMA 51 & EMA 21 – Dynamic Support & Resistance
These mid-range EMAs behave as adaptive support and resistance.
In bullish bias, pullbacks often respect EMA 21 or EMA 51.
In bearish bias, rallies often fail at EMA 21 or EMA 51.
EMA 9 – The Momentum Guide
The fastest EMA tracks short-term direction.
A clean break and hold beyond EMA 9 signals short-term momentum continuation.
EMA 9 crossing EMA 21 often signals the next move within the bias.
🔹 How to Trade It:
Identify the bias with EMA 200
Above EMA 200 = bullish bias.
Below EMA 200 = bearish bias.
Look for the trigger
In bullish bias: wait until EMA 9 crosses above EMA 21 → potential long signal.
In bearish bias: wait until EMA 9 crosses below EMA 21 → potential short signal.
Manage the trade with EMA 21 & 51
Price often bounces off EMA 21 and EMA 51.
In longs: if price starts closing below EMA 51, it’s often a warning to consider closing or reducing risk.
In shorts: if price starts closing above EMA 51, same idea — momentum might be weakening.
Ride momentum, don’t marry the trade
Sometimes price keeps trending strongly even after a close beyond EMA 51, but often it’s a sign of exhaustion. The suite is best used as a trend filter + timing tool, not a guaranteed entry/exit system.
🔹 Best Timeframes:
Gold, NAS100, US30, S&P500: Best results between 15M, 30M, and 1H.
Currency pairs (Forex): Best results on 1H, 4H, and Daily.
⚠️ Important Disclaimer:
This indicator is not a one-stop shop solution for trading.
It is not reliable in consolidations — EMA crossings can create false signals in sideways markets.
Always combine with other tools like candlestick patterns, market structure, or volume analysis.It should be seen as a guide to bias and momentum, not as a trading bot or automated strategy.
FibroTrend Matrix Premium [By TraderMan]📊 FibroTrend Matrix Premium
FibroTrend Matrix Premium is a powerful multi-timeframe trend and Fibonacci analysis tool. It combines trend direction, trend strength, and key Fibonacci levels into a single, clean interface with a dynamic table. Perfect for traders who want to see the market structure at a glance.
🧠 How It Works
Trend Detection 📈📉
Uses EMA-based dynamic bands to determine current trend direction.
Computes trend strength using slope of the trend line vs. price deviation.
Works on multiple timeframes (5m, 15m, 30m, 1h, 4h, 1D) for overall market context.
Fibonacci Levels & Zones 🔢
Automatically draws key Fibonacci retracement levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0).
Adds zones around levels for potential support/resistance areas.
Labels are small and clear, lines slightly thicker for better visibility.
Trend Table Summary 📊
Shows current trend direction, strength, and general trend across multiple timeframes.
Fibonacci levels are included in the table with color-coded cells (green = bullish, red = bearish).
⚡ How to Use / Trading Logic
Identify Trend Direction
Uptrend (Green/“Up”) → look for buying opportunities.
Downtrend (Red/“Down”) → look for selling/shorting opportunities.
Neutral → wait or stay out.
Check Trend Strength
Very Strong / Strong (Green) → trend likely to continue.
Weak / Very Weak (Red) → trend may reverse or be choppy.
Use Fibonacci Levels for Entry & Exit
Enter near support zones in an uptrend.
Enter near resistance zones in a downtrend.
Use zone width & tolerance to set stop-loss or take-profit.
Multi-Timeframe Confirmation ✅
Ensure majority of timeframes confirm trend direction for stronger signal.
Example: if 5 out of 6 timeframes show Uptrend, trend is strong.
💡 Tips
Combine with volume, momentum, or RSI for extra confirmation.
Avoid trading solely on Fibonacci levels; use trend + strength table as main guide.
Works well for swing trading, intraday, and crypto markets.
🎯 Entry Example
Price is in an uptrend (green bars, line up).
Fibonacci retracement 0.382 aligns with support zone.
Trend strength = Strong or Very Strong.
Enter Long near zone, set stop-loss slightly below zone, take-profit near next Fibonacci level.
LockedEye V6LockedEye is the evolution of the Philakone Strategy . Where Philakone pioneered momentum trading through EMA crossovers, LockedEye advances the idea by using Moving Averages as adaptive zones of support and resistance, integrating structural confirmation, and refining crossover logic into a disciplined protocol. It reshapes a reactive method into a calibrated framework. Built for precision, resilience, and clarity in volatile markets.
Lockedeye indicator carries the ff alerts:
1. Crossover Alerts
2. Doji alerts (gray bg)
3. Bull and Bear Crossover
- Fast Lane
- Normal Lane
- Slow Lane
4. Support, Median, Resistance Strategy
5. Dynamic Support n Resistance
6. Candle Alerts
7. Engulfing Alerts
Green Candle Valid Long Setup
Red Candle Valid Short Setup
Purple Invalidated Long/Short Setup
Black Candle Invalidated Median Setup
This indicator is for the people who like to set 1 alert but triggers all the potential setups. It includes strategic entry and exit based on crossovers and dynamic support and resistance. Consist a reminder note before you enter in the market.
You can check more about Lockedeye V5
Lockedeye V3 Playbook
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.
Session Highs and Lows - TWThis indicator plots the following:
- Previous day's high and low (based on previous daily candle) - purple
- Asia high and low (1800-0200) - red
- London high and low (0300-0930) - blue
Once a high or low is hit or passed during the NY session, the line reduces in thickness to show that this point of interest has been taken. The thinner lines remain on the chart as a reference so it's easy to discern POIs that are still in play vs. those that have been taken.
[L2] Enhanced MACD Support-Kisslooking for support line, before pumping, script can find where possible points for enter
FREEDOM - TJR Model\ FREEDOM – TJR Model\ 🚀
\ Automates TJR’s well-known NQ playbook with clean visuals, filters, and alerts—so you can focus on execution.\
\ Core idea\
1. Trade \ NQ\ in the \ New York session\ 🗽
2. Wait for a \ liquidity sweep\ of a \ prior session\ High/Low (Asia or London) ✂️
3. Confirm with \ SMT (NQ vs ES) divergence\ 🔀
4. Act on a \ proprietary entry signal\ 🔒
5. Risk at the swing 🛡️, target \ untapped internal/session liquidity\ 🎯
This indicator draws those session levels for you, tracks sweeps, detects SMT, applies higher-timeframe confluence, and fires alerts that respect your time window and filters.
---
\ What it draws & detects\
\ • Sessions & Liquidity Sweeps\ 🕒
* Plots \ Asia / London / New York\ session bands.
* On session close, it freezes the session’s \ High/Low\ as dotted “previous-session levels” and \ extends them forward\ until price \ crosses\ (choose \ Wicks\ or \ Close\ ).
* When price takes a previous-session \ High\ → \ Buyside sweep\ ; takes a \ Low\ → \ Sellside sweep\ .
* Optional \ Sweep Zones\ expand around the swept level using an \ ATR(21)\ margin; can auto-fade “fake” sweeps.
\ Tip: Keep “Extend previous session High/Low until cross” ON to maintain a clean roadmap into NY open.\
\ • SMT Divergence (NQ vs ES)\ 🔀
* Classic pivot-to-pivot SMT:
* \ Bearish SMT\ = NQ makes a \ higher high\ while ES does \ not\ .
* \ Bullish SMT\ = NQ makes a \ lower low\ while ES does \ not\ .
* Draws \ lines\ from pivot to pivot (no chart spam), with optional inline “SMT” label and optional confidence \ score\ (0–100) based on strength + recency.
* Context aware:
* Only shows \ Bearish SMT\ after a \ buy-side sweep\ (previous-session High taken).
* Only shows \ Bullish SMT\ after a \ sell-side sweep\ (previous-session Low taken).
* Respects your \ NY time window\ if enabled.
\ • Proprietary Entry Signals\ 🔒
* Prints entry lines + arrows only when your rules align (proprietary detection under the hood).
* Respects:
* \ Session-sweep bias\ (optional): Sells only after buy-side sweep; Buys only after sell-side sweep.
* \ Monotonic filter\ : new Sell must be \ higher\ than last Sell; new Buy must be \ lower\ than last Buy (resets each session).
* \ Minimum distance\ to nearest previous-session dotted level (in ticks).
* \ NY time filter\ window.
* \ HTF confluence\ (see below).
---
\ HTF Confluence (optional)\ 📈
* Choose \ MA slope\ (\ EMA/SMA/RMA/WMA\ ) or \ HH/HL structure\ on a higher timeframe (e.g., 60m/240m).
* Entry arrows and alerts can be gated so they only print when HTF bias agrees with the setup.
\ Tip: Start with EMA 50 on 60m for a smooth directional filter; add HH/HL only if you want stricter structure confirmation.\
---
\ Dashboard (bottom-right)\ 🧩
* \ VWAP state\ :
* \ Overbought\ (🔴) if close > VWAP + (mult × stdev)
* \ Oversold\ (🟢) if close < VWAP − (mult × stdev)
* Otherwise \ Neutral\ (⚪️)
* \ Premium / Discount\ vs previous-session 50% midline: Premium = above (red bias), Discount = below (green bias).
* \ SMT row\ : Bullish / Bearish / Neutral with optional score.
---
\ How to use the settings (quick tour)\
\ ENTRY\
* \ Entry Swing Length\ : lower = more signals.
* \ Confirmation\ : \ Candle Close\ or \ Wicks\ for breakout.
* \ Filter entry by session sweeps\ : enforces “sell after buy-side sweep, buy after sell-side sweep.”
* \ Minimum distance (ticks)\ : blocks entries too close to previous-session dotted levels.
* \ Replay mode\ : keeps entries visible in Bar Replay.
* \ NY Time filter\ : default \ 08:00–14:00 NY\ ; arrows/alerts respect the window.
* \ Arrow offset (ticks)\ : how far above/below the candle to plot the arrow.
\ SESSION SWEEPS\
* Toggle \ Buyside/Sellside zones\ , adjust \ ATR(21)\ margin & length.
* \ Hide Fake Sweep Zones\ (default ON).
* \ Extend H/L until cross\ (Wicks/Close).
* Optional \ daily reset\ for unswept dotted lines.
\ SESSIONS\
* Enable/disable \ Asia, London, NY AM, NY PM\ ; set start/end; choose color; extend midline if desired.
* DST toggles for NY/London.
\ HTF Confluence\
* Turn it ON/OFF; pick timeframe & method (MA slope or HH/HL); set MA type/length or swing length.
\ Dashboard\
* Show/hide table; set VWAP stdev length/multiplier.
* SMT settings: comparison symbol (\ default ES1!\ ), pivot length, show score/labels, recency window, etc.
\ Alerts\ (always last) 🔔
* \ Session line cross\ : choose Highs/Lows and crossing mode (\ Same as extension / Wicks / Close\ ).
* \ Entry alerts\ : \ Filtered / Unfiltered / Both\ .
* \ Filtered\ = respects sweep bias, HTF confluence, minimum distance, monotonic rule, and time window.
* \ Unfiltered\ = ignores sweep bias/HTF/monotonic (still respects minimum distance + time window).
* All entry alerts also respect the \ NY time window\ when enabled.
---
\ Suggested workflow\
* Open NQ on a 1–5m chart.
* Let the dotted \ previous-session H/L\ extend into NY; wait for a \ sweep\ .
* Check \ SMT\ : after buy-side sweep → look for \ bearish SMT\ ; after sell-side sweep → look for \ bullish SMT\ .
* Take the \ proprietary entry\ when filters agree.
* Stop at the swing; aim for \ untapped internal/session liquidity\ .
* Let \ alerts\ handle the monitoring.
---
\ Why traders like it\
* It mirrors the model popularized by \ TJR\ while removing the chart admin: sessions, sweeps, SMT, HTF gating, distances, monotonic sequencing, time windows, and ready-to-use alerts—so your execution stays consistent. ✨
---
\ Disclaimer\ ⚠️
\ This tool is for educational purposes only and does not constitute financial advice. Markets involve risk; always do your own research and test in replay/paper before trading live. FREEDOM – TJR Model is inspired by TJR’s publicly known framework but is not affiliated with, endorsed by, or sponsored by TJR. You are solely responsible for your trading decisions and outcomes.\
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.
Price Opening LevelsThis TradingView indicator by SnipingInTheRange is designed specifically for futures and indices. It plots key market opening prices:
- Daily, Weekly, Monthly Opens
- SITR Price Open — the 9:30 AM New York session open
The SITR Price Open is the core level, marking the exact price when the NYSE opens. It’s labeled clearly and used as a strategic anchor for intraday trades, reflecting institutional momentum and volatility.
Customizable features include line styles, colors, label visibility, and offset positioning—giving futures and index traders clean, precise visual cues for high-probability setups.
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.