Interest Zones | @CRYPTOKAZANCEVEnglish Description.
🧠 What This Script Does
This script automatically detects price interest zones — areas where the price repeatedly reacts by forming local swing highs or lows , suggesting heightened supply/demand or market attention. It uses a custom volatility-adjusted range (pseudo-ATR) to dynamically group significant swing points and highlights these zones visually on the chart.
The script is not a mashup or copy of built-in indicators. It’s an original implementation that performs a meaningful calculation based on market structure and volatility to help traders identify important price areas.
⚙️ How It Works
1. Swing Point Detection:
The script identifies swing highs and lows using a configurable lookback window.
2. Zone Candidate Evaluation:
Each swing is checked against a custom zone width (based on ATR and your multiplier). If multiple swings fall within this range, it’s marked as a potential zone.
3. Filtering:
The script keeps only those zones that:
• Contain at least a user-defined number of swing points.
• Do not overlap with stronger (higher swing count) zones.
4. Visualization:
• The strongest zones are drawn as semi-transparent boxes.
• Zones are limited by time (last X candles).
• Optional: Swing highs/lows can be shown on chart.
📊 How to Use
• Use it on any timeframe or asset to identify price regions of interest.
• Combine with volume, trend, or candlestick analysis for entries/exits.
• The number of touches (swing points in a zone) gives insight into zone significance.
This tool is particularly useful for identifying support/resistance areas based on actual price structure rather than arbitrary levels.
🔧 Settings
• Swing Lookback Period: Controls how many candles on each side of a pivot the script checks to detect a local high/low.
• Zone Width Multiplier: Adjusts the volatility-based range. Larger values create wider zones.
• Min Swing Count: Zones with fewer swing points than this won't be shown.
• Max Zones Displayed: Limits the number of zones shown on screen.
• Max Candles for Analysis: Old swing points beyond this range are ignored.
📌 Notes
• No third-party code or mashups used.
• This is a standalone implementation of a concept similar to market structure mapping, tailored to be dynamic and responsive to volatility.
• Ideal for traders who prefer clean, price-action-based analysis.
🇷🇺 Русское описание
🧠 Что делает этот индикатор:
Индикатор автоматически определяет зоны интереса цены — области, где цена многократно формирует локальные максимумы или минимумы (свинги) . Эти зоны могут сигнализировать о повышенном внимании рынка, предложении или спросе. Скрипт использует псевдо-ATR (волатильность на основе среднего диапазона), чтобы динамически определять такие области и выделяет их на графике.
Это не копия стандартных индикаторов и не микс чужих скриптов — это оригинальная разработка , полезная для всех, кто ищет автоматическую разметку важных ценовых уровней.
⚙️ Как работает индикатор
1. Поиск свинг-точек:
Определяются локальные экстремумы с учетом указанного периода.
2. Формирование кандидатов в зоны:
Каждая свинг-точка проверяется, есть ли в её диапазоне другие свинги. Если таких достаточно — зона считается потенциальной.
3. Фильтрация зон:
• Учитываются только зоны с минимумом заданных свингов.
• Перекрывающиеся зоны удаляются в пользу более значимых.
4. Визуализация:
• Отображаются зоны с наибольшим числом касаний.
• Зоны ограничиваются последними X свечами.
• При желании можно отобразить сами свинг-точки.
📊 Как использовать
• Работает на любом таймфрейме и инструменте.
• Используйте совместно с объёмами, трендом или свечным анализом.
• Количество касаний помогает оценить важность зоны.
Полезен тем, кто предпочитает анализ на основе структуры цены, а не произвольных уровней.
🔧 Настройки
• Период свингов: Сколько свечей учитывается по бокам для поиска экстремумов.
• Множитель зоны: Увеличивает диапазон зоны на основе волатильности.
• Мин. количество свингов: Минимум точек в зоне для её отображения.
• Макс. зон на графике: Ограничение по количеству отображаемых зон.
• Макс. свечей анализа: Старые точки за пределами не учитываются.
📌 Примечания
• Не содержит чужих индикаторов или шаблонов.
• Самостоятельная реализация механизма анализа структуры рынка.
指標和策略
BS with PeriodThe “BS with Period” indicator visualizes the balance between buying and selling volume within each candle, and also tracks those volumes accumulated over a specified number of bars.
It first splits a candle’s total volume into two parts based on where the close sits: the closer the close is to the high, the larger the “buying” portion; the closer it is to the low, the larger the “selling” portion. This means that for any given volume you can see whether buyers or sellers were more active.
On the chart you see three column plots:
Gray for total volume
Red for the portion attributed to selling
Teal for the portion attributed to buying
Optionally, it also sums those buying and selling volumes over the last N bars and plots them as two lines. This gives you a medium-term view of which side is dominating: if the buying-volume line stays well above the selling-volume line, buyers are in control, and vice versa.
Traders use it to:
Spot sustained buying or selling pressure when one accumulated-volume line pulls ahead of the other.
Confirm trend accelerations or potential reversals when the balance shifts.
Adjust sensitivity by choosing a shorter period (more responsive, but noisier) or a longer period (smoother, but slower).
Overall, the indicator helps quantify the internal volume structure and the tug-of-war between buyers and sellers both within each candle and over your chosen look-back period.
[blackcat] L1 Multi-Component CCIOVERVIEW
The " L1 Multi-Component CCI" is a sophisticated technical indicator designed to analyze market trends and momentum using multiple components of the Commodity Channel Index (CCI). This script calculates and combines various CCI-related metrics to provide a comprehensive view of price action, offering traders deeper insights into market dynamics. By integrating smoothed deviations, normalized ranges, and standard CCI values, this tool aims to enhance decision-making processes. It is particularly useful for identifying potential reversal points and confirming trend strength. 📈
FEATURES
Multi-Component CCI Calculation: Combines smoothed deviation, normalized range, percent above low, and standard CCI for a holistic analysis, providing a multifaceted view of market conditions.
Threshold Lines: Overbought (200), oversold (-200), bullish (100), and bearish (-100) thresholds are plotted for easy reference, helping traders quickly identify extreme market conditions.
Visual Indicators: Each component is plotted with distinct colors and line styles for clear differentiation, making it easier to interpret the data at a glance.
Customizable Alerts: The script includes commented-out buy and sell signal logic that can be enabled for automated trading notifications, allowing traders to set up alerts based on specific conditions. 🚀
Advanced Calculations: Utilizes a combination of simple moving averages (SMA) and exponential moving averages (EMA) to smooth out price data, enhancing the reliability of the indicator.
HOW TO USE
Apply the Script: Add the script to your chart on TradingView by searching for " L1 Multi-Component CCI" in the indicators section.
Observe the Plotted Lines: Pay close attention to the smoothed deviation, normalized range, percent above low, and standard CCI lines to identify potential overbought or oversold conditions.
Use Threshold Levels: Refer to the overbought, oversold, bullish, and bearish threshold lines to gauge extreme market conditions and potential reversal points.
Confirm Trends: Use the standard CCI line to confirm trend direction and momentum shifts, providing additional confirmation for your trading decisions.
Enable Alerts: If desired, uncomment the buy and sell signal logic to receive automated alerts when specific conditions are met, helping you stay informed even when not actively monitoring the chart. ⚠️
LIMITATIONS
Fixed Threshold Levels: The script uses fixed threshold levels (200, -200, 100, -100), which may need adjustment based on specific market conditions or asset volatility.
No Default Signals: The buy and sell signal logic is currently commented out, requiring manual activation if you wish to use automated alerts.
Complexity: The multi-component approach, while powerful, may be complex for novice traders to interpret, requiring a solid understanding of technical analysis concepts. 📉
Not for Isolation Use: This indicator is not designed for use in isolation; it is recommended to combine it with other tools and indicators for confirmation and a more robust analysis.
NOTES
Smoothing Techniques: The script uses a combination of simple moving averages (SMA) and exponential moving averages (EMA) for smoothing calculations, which helps in reducing noise and enhancing signal clarity.
Multi-Component Approach: The multi-component approach aims to provide a more nuanced view of market conditions compared to traditional CCI, offering a more comprehensive analysis.
Customization Potential: Traders can customize the script further by adjusting the parameters of the moving averages and other components to better suit their trading style and preferences. ✨
THANKS
Thanks to the TradingView community for their support and feedback on this script! Special thanks to those who contributed ideas and improvements, making this tool more robust and user-friendly. 🙏
Triple Stochastic Confluence by AtallaTriple Stochastic Confluence by Atalla - Indicator Summary
Overview
The "Triple Stochastic Confluence by Atalla" is a technical indicator for TradingView that identifies potential trading opportunities using the confluence of three Stochastic oscillators with different timeframes. The indicator focuses exclusively on the %D lines (signal lines) of the Stochastics.
Key Components
Three Stochastic Oscillators
Short-term Stochastic: Period 9, %K Smoothing 1, %D Period 3
Medium-term Stochastic: Period 14, %K Smoothing 1, %D Period 3
Long-term Stochastic: Period 60, %K Smoothing 1, %D Period 10
Visual Display
White lines for the first two Stochastics (%D lines)
Yellow line for the third (long-term) Stochastic (%D line)
Background color changes to highlight trading opportunities:
Yellow background: Bullish signal
Red background: Bearish signal
Trading Signals Logic
Bullish Signal (Yellow Background)
A bullish signal occurs when any Stochastic %D line is in the oversold zone (≤25%) while at least one of the other %D lines is in the overbought zone (≥75%).
Bearish Signal (Red Background)
A bearish signal occurs when any Stochastic %D line is in the overbought zone (≥75%) while at least one of the other %D lines is in the oversold zone (≤25%).
Configurable Parameters
Stochastic periods and smoothing values
Overbought level (default: 75%)
Oversold level (default: 25%)
Alert Conditions
The indicator includes alert conditions for both bullish and bearish confluence signals, allowing users to set up automated notifications for trading opportunities.
Trading Philosophy
This indicator leverages the concept of momentum divergence across different timeframes. When oscillators at different timeframes show opposing extreme readings (one in oversold and another in overbought), it may indicate a potential reversal point in the market. The indicator's strength lies in identifying these confluences automatically and providing clear visual signals.
[blackcat] L2 Angle Trend TrackerOVERVIEW
The " L2 Angle Trend Tracker" is a sophisticated technical analysis tool designed to monitor trend direction and momentum using multiple Exponential Moving Averages (EMAs) with different periods. 📈 This script calculates the angles of 5 EMAs (5, 8, 10, 12, and 15 periods) and displays them with gradient colors, providing a comprehensive view of market momentum. When all EMAs cross above or below specified threshold levels, it generates Buy or Sell signals with visual alerts. The indicator helps traders identify trend reversals, potential entry/exit points, and market sentiment shifts with precision. 🚀 This powerful tool is particularly useful for traders who want to combine multiple timeframe analysis with angle-based momentum confirmation.
FEATURES
Calculates angles for 5 EMAs with customizable periods (5, 8, 10, 12, and 15)
Displays angle values with distinct colors for each EMA (Green, Blue, Purple, Orange, and Red)
Generates Buy signals when all EMAs cross above the lower threshold
Generates Sell signals when all EMAs cross below the upper threshold
Shows a zero line and threshold lines for easy reference
Customizable threshold levels for Buy/Sell signals
Visual alerts with "Buy" and "Sell" labels at the point of signal generation
The script uses a mathematical formula to calculate the angle of each EMA relative to its position 11 bars ago
Angle values are converted from radians to degrees for easier interpretation
The zero line represents no change in the EMA angle
The indicator is not overlayed on the price chart by default, but can be adjusted in the script settings 📊
HOW TO USE
Adjust the EMA periods to match your trading strategy 🛠️
Shorter periods (5, 8) are more sensitive to price changes
Longer periods (10, 12, 15) provide smoother trend confirmation
Set appropriate threshold values for Buy/Sell signals based on your risk tolerance
Default thresholds are 70 for upper threshold and -70 for lower threshold
Consider adjusting thresholds based on market volatility
Watch for Buy signals when all EMAs cross above the lower threshold (default: -70)
The signal appears as a green "Buy" label on the chart
This indicates a potential trend reversal to the upside
Watch for Sell signals when all EMAs cross below the upper threshold (default: 70)
The signal appears as a red "Sell" label on the chart
This indicates a potential trend reversal to the downside
Combine with other indicators for confirmation before making trading decisions 🧠
Consider using volume confirmation, support/resistance levels, or other oscillators
The angle tracker works well with trend-following strategies
Use the angle values to gauge momentum strength
Steeper angles indicate stronger momentum
Flatter angles suggest weakening momentum or consolidation
CONFIGURATION
EMA Periods: The script uses five different EMA periods that can be customized:
EMA Period 5: Short-term trend indicator
EMA Period 8: Medium-short term trend indicator
EMA Period 10: Medium-term trend indicator
EMA Period 12: Medium-long term trend indicator
EMA Period 15: Long-term trend indicator
Threshold Settings:
Threshold Top: Sets the upper boundary for Sell signals (default: 70)
Threshold Bot: Sets the lower boundary for Buy signals (default: -70)
These thresholds can be adjusted based on market conditions and trading style
LIMITATIONS
The script may generate false signals in ranging markets or during periods of high volatility
All EMAs must cross the threshold for a signal to appear, which may filter some valid signals
The angle calculation uses a 11-bar lookback period, which may not be suitable for all timeframes
Works best in trending markets and may produce whipsaws in choppy conditions ⚠️
The indicator is more effective on higher timeframes (4H, 1D) than on very short timeframes (1M, 5M)
Signal generation requires confirmation from multiple EMAs, which may delay entry/exit points
The angle calculation method may not be suitable for all financial instruments
ADVANCED TIPS
Use multiple instances of this indicator with different EMA settings for multi-timeframe analysis
Combine with volume analysis to confirm the strength of signals
Look for confluence with support and resistance levels for more reliable signals
Consider using the angle values as a filter for other trading strategies
The indicator can be used to identify momentum exhaustion points when angles flatten
For swing trading, consider using the Buy and Sell signals as potential entry/exit points
For day trading, you may want to use shorter EMA periods and adjust threshold values accordingly
NOTES
The script uses a mathematical formula to calculate the angle of each EMA relative to its position 11 bars ago
The angle values are converted from radians to degrees for easier interpretation
The zero line represents no change in the EMA angle
The indicator is not overlayed on the price chart by default, but can be adjusted in the script settings 📊
The angle calculation provides a dynamic view of momentum that traditional moving averages don't offer
The threshold values are based on empirical testing and can be fine-tuned for specific instruments
THANKS
Special thanks to the TradingView community for their support and feedback on this indicator. If you find this script helpful, please consider leaving a comment or sharing your experiences with it. Your feedback helps improve the tool for everyone. 🙏
Also, a nod to the original concept developers who pioneered angle-based trend analysis. This script builds upon those foundational ideas to provide a more comprehensive view of market momentum. 🌟
Trend Finder Using Pull Back Method {Darkoexe}This indicator predicts trends using pull backs structure to predict the trend direction. It builds off the flag pattern concept but it uses precise precise measurements to determine trend direction.
A pull back occurs every time the price direction switches then closes either below or above the open of the previous candle depending on the type of pull back, bullish or bearish.
For an up trend to be a defined, when a bullish pull back occurs and does not go below the previous low, if the price then passes above the start of the pull back, an up trend signal will be printed. Only bullish pull backs will be displayed during an up trend.
For a down trend to be defined, when a bearish pull back occurs and does not go above the previous high, if the price then passes below the start of the pull back, a down trend signal will be printed. Only bearish pull backs will be displayed during a down trend.
If the conditions for an up trend or down trend are not met, no trend will be printed. Both bearish and bullish pull backs will be displayed during a no trend.
All the labels colors can be changed.
//Darkoexe
Trend Finder {Darkoexe}This indicator displays the end and start of trends using an ATR factor.
The ATR with trend factor is used to determine the minimum length for a trend to be considered a trend.
The ATR against trend factor is used to determine the minimum length price needs to move against a trend for it to break the trend.
The ATR factors are multiplied with the ATR to determine these lengths.
The labels indicate the starts and ends of trends;
The green label indicates the start of an up trend.
The red label indicates the start of a down trend.
The black/gray label indicates the start of a trend and the end of another trend at the same location.
The purple/pink label indicates the end of a trend.
All the label colors can be changed.
IMPORTANT NOTE: This is a repainting indicator, it should only be used to back test and analyze previous trends. Do not use this indicator for live trading.
Sunday OpenSunday Open – Weekly Open Levels
Description
The "Sunday Open" indicator automatically displays the market open levels for Sunday. These levels are often used by traders as potential support and resistance zones. The script requires no manual data input and works on any timeframe.
Functionality
- Displays the N most recent Sunday Open levels, including the current and previous ones.
- The color of the current level differs from the older ones, making it easier to identify on the chart.
- Lines can be customized by style, thickness, and label visibility.
- Alerts are triggered when the price crosses any Sunday Open level (either up or down).
User Settings
- Number of levels to display (1–100)
- Color for the current and past levels
- Line style: solid, dashed, dotted
Line thickness
- Display text labels on the chart
- Enable/disable alerts for price crossing
Useful For
- Quickly identifying key reference points at the beginning of the week
- Setting up trading scenarios around the open zone
- Receiving signals for breakouts or touches of the levels
Important !
All elements are created automatically—no manual drawing required.
If you want to create alerts for when the price crosses a Sunday Open level, you need to go to "Alerts" at the top of the screen and select "SO" in the "Condition" field.
RESHAIndicator Name: RESHA – Static Price Levels
Description:
The RESHA indicator is a simple tool that allows traders to manually define multiple horizontal price levels on the chart. These levels are displayed as horizontal lines, each extending a customizable number of candles forward. Traders can input a comma-separated list of prices, which are then plotted automatically on the chart.
Features:
📍 Custom input box for price levels (comma-separated).
📏 Adjustable line length in bars.
Visual price labels at the end of each level.
Clean and minimalistic design, perfect for support/resistance zones or static analysis.
This tool is ideal for traders who want to keep key price zones visible at all times without relying on dynamic calculations or automated indicators.
OHLCVRangeXThe OHLCVRange library provides modular range-building utilities for Pine Script v6 based on custom conditions like time, price, volatility, volume, and pattern detection. Each function updates a persistent range (OHLCVRange) passed in from the calling script, based on live streaming candles.
This library is designed to support dynamic windowing over incoming OHLCV bars, with all persistent state handled externally (in the indicator or strategy). The library merely acts as a filter and updater, appending or clearing candles according to custom logic.
📦
export type OHLCVRange
OHLCV.OHLCV candles // Sliding window of candles
The OHLCVRange is a simple container holding an array of OHLCV.OHLCV structures.
This structure should be declared in the indicator using var to ensure persistence across candles.
🧩 Range Updater Functions
Each function follows this pattern:
export updateXxxRange(OHLCVRange r, OHLCV.OHLCV current, ...)
r is the range to update.
current is the latest OHLCV candle (typically from your indicator).
Additional parameters control the behavior of the range filter.
🔁 Function List
1. Fixed Lookback Range
export updateFixedRange(OHLCVRange r, OHLCV.OHLCV current, int barsBack)
Keeps only the last barsBack candles.
Sliding window based purely on number of bars.
2. Session Time Range
export updateSessionRange(OHLCVRange r, OHLCV.OHLCV current, int minuteStart, int minuteEnd)
Keeps candles within the [minuteStart, minuteEnd) intraday session.
Clears the range once out of session bounds.
3. Price Zone Range
export updatePriceZoneRange(OHLCVRange r, OHLCV.OHLCV current, float minP, float maxP)
Retains candles within the vertical price zone .
Clears when a candle exits the zone.
4. Consolidation Range
export updateConsolidationRange(OHLCVRange r, OHLCV.OHLCV current, float thresh)
Stores candles as long as the candle range (high - low) is less than or equal to thresh.
Clears on volatility breakout.
5. Volume Spike Range
export updateVolumeSpikeRange(OHLCVRange r, OHLCV.OHLCV current, float avgVol, float mult, int surround)
Triggers a new range when a volume spike ≥ avgVol * mult occurs.
Adds candles around the spike (total surround * 2 + 1).
Can be used to zoom in around anomalies.
6. Engulfing Pattern Range
export updateEngulfingRange(OHLCVRange r, OHLCV.OHLCV current, int windowAround)
Detects bullish or bearish engulfing candles.
Stores 2 * windowAround + 1 candles centered around the pattern.
Clears if no valid engulfing pattern is found.
7. HTF-Aligned Range
export updateHTFAlignedRange(OHLCVRange r, OHLCV.OHLCV current, OHLCV.OHLCV prevHtf)
Used when aligning lower timeframe candles to higher timeframe bars.
Clears and restarts the range on HTF bar transition (compare prevHtf.bar_index with current).
Requires external management of HTF candle state.
💡 Usage Notes
All OHLCVRange instances should be declared as var in the indicator to preserve state:
var OHLCVRange sessionRange = OHLCVRange.new()
sessionRange := OHLCVRange.updateSessionRange(sessionRange, current, 540, 900)
All OHLCV data should come from the OHLCVData library (v15 or later):
import userId/OHLCVData/15 as OHLCV
OHLCV.OHLCV current = OHLCV.getCurrentChartOHLCV()
This library does not use var internally to enforce clean separation of logic and persistence.
📅 Planned Enhancements
Fib zone ranges: capture candles within custom Fibonacci levels.
Custom event ranges: combine multiple filters (e.g., pattern + volume spike).
Trend-based ranges: windowing based on moving average or trend breaks.
Killzones (UTC+3) by Roy⏰ Time-Based Division – Trading Quarters:
The trading day is divided into four main quarters, each reflecting distinct market behaviours:
Opo Finance Blog
Quarter Time (Israel Time) Description
Q1 16:30–18:30 Wall Street opening; highest volatility.
Q2 18:30–20:30 Continuation or correction of the opening move.
Q3 20:30–22:30 Quieter market; often characterized by consolidation.
Q4 22:30–24:00 Preparation for market close; potential breakouts or sharp movements.
This framework assists traders in anticipating market dynamics within each quarter, enhancing decision-making by aligning strategies with typical intraday patterns.
Moving Average Price Deviation Spread
**Moving Average Price Deviation Spread (MA Dev)**
This indicator visualizes the deviation of price from its exponential moving average (EMA) and scales it within dynamic upper and lower bounds. The core logic measures the smoothed spread between price and EMA, then calculates standard deviation over a rolling window to define statistical thresholds.
* **Spread**: EMA of (Close - EMA), highlighting directional bias.
* **Upper/Lower Bounds**: EMA of ±1.96 \* standard deviation of the spread, framing high/low deviation zones.
* **Use Case**: Spot overextended conditions, mean reversion setups, or volatility-driven breakouts. Ideal for timing entries and exits around price extremes.
HTF ReversalsHTF Reversals — Big Turtle Soup & Relief Patterns
A multi-timeframe reversal indicator based on the logic of how pivots form and how true reversals begin. Designed for traders who want to catch high-probability turning points on higher timeframes, with visual clarity and actionable signals.
“Reversals don’t start from nowhere — they begin with a failed expansion and a reclaim of a prior range. This script helps you spot those moments, before the crowd.”
How It Works
Detects High Timeframe (HTF) “CR” Candles:
The script scans for large-bodied candles (“CR” candles) on higher timeframes (Monthly, Weekly, 3-Day). These candles often mark the end of a trend expansion and the start of a potential reversal zone.
Looks for “Inside” Candles:
After a CR candle, the script waits for a smaller “inside” candle, which signals a pause or failed continuation. The relationship between the CR and inside candle is key for identifying a possible reversal setup.
Engulfing Confirmation (Optional):
If the inside candle doesn’t immediately trigger a reversal, the script can wait for an engulfing move in the opposite direction, confirming the failed expansion and increasing the probability of a reversal.
Entry & Target Calculation:
For each valid setup, the script calculates a retracement entry (using Fibonacci levels like 0.382 or 0.618) and a logical target (usually the CR candle’s high or low).
Visuals: Lines & Boxes:
Each signal is marked with a horizontal line (entry) and a colored box extending from the HTF close to the entry price, visually highlighting the reversal zone for the same duration as the signal’s expected play-out.
Dashboard & Alerts:
A dashboard table summarizes the latest signals for each timeframe. Custom alerts notify you of new setups in real time.
Why It Works
Pivot Logic:
Reversals often start when a strong expansion candle (pivot) is followed by a failed attempt to continue in the same direction. This script codifies that logic, looking for the “pause” after the expansion and the first sign of a reclaim.
Multi-Timeframe Edge:
By focusing on higher timeframes, the indicator filters out noise and highlights only the most significant reversal opportunities.
Objective, Repeatable Rules:
All conditions are clearly defined and repeatable, removing subjectivity from reversal trading.
Visual Clarity:
The combination of lines and boxes makes it easy to see where reversals are likely to start and where your risk/reward lies.
How to Use
Add the indicator to your chart and select your preferred timeframes (Monthly, Weekly, 3-Day).
Watch for new signals on the dashboard or via alerts.
Use the entry line and box as your trade zone; the target is also displayed.
Combine with your own confluence (price action, volume, etc.) for best results.
This indicator is best used as a framework for understanding where high-probability reversals are likely to occur, not as a standalone buy/sell tool. Always use proper risk management.
Dynamic Volatility EnvelopeDynamic Volatility Envelope: Indicator Overview
The Dynamic Volatility Envelope is an advanced, multi-faceted technical indicator designed to provide a comprehensive view of market trends, volatility, and potential future price movements. It centers around a customizable linear regression line, enveloped by dynamically adjusting volatility bands. The indicator offers rich visual feedback through gradient coloring, candle heatmaps, a background volatility pulse, and an on-chart trend strength meter.
Core Calculation Mechanism
Linear Regression Core :
-A central linear regression line is calculated based on a user-defined source (e.g., close, hl2) and lookback period.
-The regression line can be optionally smoothed using an Exponential Moving Average (EMA) to reduce noise.
-The slope of this regression line is continuously calculated to determine the current trend direction and strength.
Volatility Channel :
-Dynamic bands are plotted above and below a central basis line. This basis is typically the calculated regression line but shifts to an EMA in Keltner mode.
-The width of these bands is determined by market volatility, using one of three user-selectable modes:
ATR Mode : Bandwidth is a multiple of the Average True Range (ATR).
Standard Deviation Mode : Bandwidth is a multiple of the Standard Deviation of the source data.
Keltner Mode (EMA-based ATR) : ATR-based bands are plotted around a central Keltner EMA line, offering a smoother channel.
The channel helps identify dynamic support and resistance levels and assess market volatility.
Future Projection :
The indicator can project the current regression line and its associated volatility bands into the future for a user-defined number of bars. This provides a visual guide for potential future price pathways based on current trend and volatility characteristics.
Candle Heatmap Coloring :
-Candle bodies and/or wicks/borders can be colored based on the price's position within the upper and lower volatility bands.
-Colors transition in a gradient from bearish (when price is near the lower band) through neutral (mid-channel) to bullish (when price is near the upper band), providing an intuitive visual cue of price action relative to the dynamic envelope.
Background Volatility Pulse :
The chart background color can be set to dynamically shift based on a ratio of short-term to long-term ATR. This creates a "pulse" effect, where the background subtly changes color to indicate rising or falling market volatility.
Trend Strength Meter :
An on-chart text label displays the current trend status (e.g., "Strong Bullish", "Neutral", "Bearish") based on the calculated slope of the regression line relative to user-defined thresholds for normal and strong trends.
Key Features & Components
-Dynamic Linear Regression Line: Core trend indicator with optional smoothing and slope-based gradient coloring.
-Multi-Mode Volatility Channel: Choose between ATR, Standard Deviation, or Keltner (EMA-based ATR) calculations for band width.
-Customizable Vertical Gradient Channel Fills: Visually distinct fills for upper and lower channel segments with user-defined top/bottom colors and gradient spread.
-Future Projection: Extrapolates regression line and volatility bands to forecast potential price paths.
-Price-Action Based Candle Heatmap: Intuitive candle coloring based on position within the volatility channel, with adjustable gradient midpoint.
-Volatility-Reactive Background Gradient: Subtle background color shifts to reflect changes in market volatility.
-On-Chart Trend Strength Meter: Clear textual display of current trend direction and strength.
-Extensive Visual Customization: Fine-tune colors, line styles, widths, and gradient aggressiveness for most visual elements.
-Comprehensive Tooltips: Detailed explanations for every input setting, ensuring ease of use and understanding.
Visual Elements Explained
Regression Line : The primary trend line. Its color dynamically changes (e.g., green for uptrend, red-pink for downtrend, neutral for flat) based on its slope, with smooth gradient transitions.
Volatility Channel :
Upper & Lower Bands : These lines form the outer boundaries of the envelope, acting as dynamic support and resistance levels.
Channel Fill : The area between the band center and the outer bands is filled with a vertical gradient. For example, the upper band fill might transition from a darker green near the center to a lighter green at the upper band.
Band Borders : The lines outlining the upper and lower bands, with customizable color and width.
Future Projection Lines & Fill :
Projected Regression Line : An extension of the current regression line into the future, typically styled differently (e.g., dashed).
Projected Channel Bands : Extensions of the upper and lower volatility bands.
Projected Area Fill : A semi-transparent fill between the projected upper and lower bands.
Candle Heatmap Coloring : When enabled, candles are colored based on their closing price's relative position within the channel. Bullish colors appear when price is in the upper part of the channel, bearish in the lower, and neutral in the middle. Users can choose to color the entire candle body or just the wicks and borders.
Background Volatility Pulse : The chart's background color subtly shifts (e.g., between a calm green and an agitated red-pink) to reflect the current volatility regime.
Trend Strength Meter : A text label (e.g., "TREND: STRONG BULLISH") positioned on the chart, providing an at-a-glance summary of the trend.
Configuration Options
Users can tailor the indicator extensively via the settings panel, with options logically grouped:
Core Analysis Engine : Adjust regression source data, lookback period, and EMA smoothing for the regression line.
Regression Line Visuals : Control visibility, line width, trend-based colors (uptrend, downtrend, flat), slope thresholds for trend definition, strong slope multiplier (for Trend Meter), and color gradient sharpness.
Volatility Channel Configuration : Select band calculation mode (ATR, StdDev, Keltner), set relevant periods and multipliers. Customize colors for vertical gradient fills (upper/lower, top/bottom), border line colors, widths, and the gradient spread factor for fills.
Future Projection Configuration : Toggle visibility, set projection length (number of bars), line style, and colors for projected regression and band areas.
Appearance & Candle Theme : Set default bull/bear candle colors, enable/disable candle heatmap, choose if body color matches heatmap, and configure heatmap gradient target colors (bull, neutral, bear) and the gradient's midpoint.
Background Volatility Pulse : Enable/disable the background effect and configure short/long ATR periods for the volatility calculation.
Trend Strength Meter : Enable/disable the meter, and choose its on-chart position and text size.
Interpretation Notes
-The Regression Line is the primary indicator of trend direction. Its slope and color provide immediate insight.
-The Volatility Bands serve as dynamic support and resistance zones. Price approaching or touching these bands may indicate potential turning points or breakouts. The width of the channel itself reflects market volatility – widening suggests increasing volatility, while narrowing suggests consolidation.
Future Projections are not predictions but rather an extension of current conditions. They can help visualize potential areas where price might interact with projected support/resistance if the current trend and volatility persist.
Candle Heatmap Coloring offers a quick visual assessment of where price is trading within the dynamic envelope, highlighting strength or weakness relative to the channel.
The Background Volatility Pulse gives a contextual feel for overall market agitation or calmness.
This indicator is designed to be a comprehensive analytical tool. Its signals and visualizations are best used in conjunction with other technical analysis techniques, price action study, and robust risk management practices. It is not intended as a standalone trading system.
Risk Disclaimer
Trading and investing in financial markets involve substantial risk of loss and is not suitable for every investor. The Dynamic Volatility Envelope indicator is provided for analytical and educational purposes only and does not constitute financial advice or a recommendation to buy or sell any security. Past performance is not indicative of future results. Always use sound risk management practices and never trade with capital you cannot afford to lose. The developers assume no liability for any financial losses incurred based on the use of this indicator.
Anti-Fade GuardThis indicator helps you avoid the costly mistake of fading strong trends by identifying when the market is in a high-conviction directional move — and when it’s not.
Inspired by real trading behaviors and momentum confirmation principles, Anti-Fade Guard provides a clear, visual decision tool for intraday and scalping traders.
✅ How It Works
It uses a multi-factor scoring model that analyzes:
• 📈 EMA Trend Bias — Direction of price vs EMA and EMA slope
• 🔁 2-Bar Trend Structure — Detects consistent higher highs/lows
• 🚨 Breakout Confirmation — Confirms clean moves through previous bar extremes
• 🔊 Volume Strength — Detects conviction based on volume above 20-bar average
• 📏 Body-to-Range Strength — Filters out candles with indecision (e.g. dojis)
Each signal contributes to a bullish or bearish score, and a trend is only considered valid when 2 or more signals agree.
🟩🟥 Visual Output
A real-time summary box in the bottom-right corner shows:
• Trend Status: 📈 Bullish / 📉 Bearish / 🟩 Neutral
• Signal Breakdown: EMA, Price Structure, Breakout, Volume, Candle Strength
• A Heatmap-style Trend Score: color-coded for conviction
This makes it easy to filter setups, stay on the right side of the market, and avoid fighting the trend.
Risk Calculator PRO — manual lot size + auto lot-suggestionWhy risk management?
90 % of traders blow up because they size positions emotionally. This tool forces Risk-First Thinking: choose the amount you’re willing to lose, and the script reverse-engineers everything else.
Key features
1. Manual or Market Entry – click “Use current price” or type a custom entry.
2. Setup-based ₹-Risk – four presets (A/B/C/D). Edit to your workflow.
3. Lot-Size Input + Auto Lot Suggestion – you tell the contract size ⇒ script tells you how many lots.
4. Auto-SL (optional) – tick to push stop-loss to exactly 1-lot risk.
5. Instant Targets – 1 : 2, 1 : 3, 1 : 4, 1 : 5 plotted and alert-ready.
6. P&L Preview – table shows potential profit at each R-multiple plus real ₹ at SL.
7. Margin Column – enter per-lot margin once; script totals it for any size.
8. Clean Table UI – dark/light friendly; updates every 5 bars.
9. Alert Pack – SL, each target, plus copy-paste journal line on the chart.
How to use
1. Add to chart > “Format”.
2. Type the lot size for the symbol (e.g., 1250 for Natural Gas, 1 for cash equity).
3. Pick Side (Buy / Sell) & Setup grade.
4. ✅ If you want the script to place SL for you, tick Auto-SL (risk = 1 lot).
5. Otherwise type your own Stop-loss.
6. Read the table:
• Suggested lots = how many to trade so risk ≤ setup ₹.
• Risk (currency) = real money lost if SL hits.
7. Set TradingView alerts on the built-in conditions (T1_2, SL_hit, etc.) if you’d like push / email.
8. Copy the orange CSV label to Excel / Sheets for journalling.
Best practices
• Never raise risk to “fit” a trade. Lower size instead.
• Review win-rate vs. R multiple monthly; adjust setups A–D accordingly.
• Test Auto-SL in replay before going live.
Disclaimer
This script is educational. Past performance ≠ future results. The author isn’t responsible for trading losses.
Vector Candles [v6 Optimized + EMA]
Vector Candles represent an innovative technical analysis approach that transforms traditional candlestick charting by integrating volume dynamics, color-coded momentum, and multi-dimensional market insights. Unlike standard candlesticks that merely display price movement, Vector Candles encode additional market information through sophisticated color and volume algorithms.
Key Features:
-Dynamic Volume-Based Coloring: Candles change color based on trading volume intensity
-Volume Categories:
High Volume (Lime/Red): Significant market activity (200%+- Vol of Previous 10 Candles)
Above Average Volume (Blue/Fuchsia): Moderate market momentum (150%+- Vol of Previous 10 Candles).
Normal Volume (Gray Scales): Standard market conditions.
Stopping Volume Candles - Typically Pinbar/Doji candles. Stops volume in the current direction of delivery & can help forecast impending reversals or end to the current trend.
-Integrated EMA (Exponential Moving Average) Option:
-Customizable EMA Length (Default: 50 periods) (I use 33)
Configurable EMA Source (e.g., close price)
Optional EMA Overlay for Trend Confirmation
Stoch Quad Oscillator📘 Stoch Quad Oscillator – User Guide
✅ Purpose
The Stoch Quad Oscillator is a multi-timeframe stochastic oscillator tool that helps traders detect oversold and overbought conditions, momentum shifts, and quad rotation signals using four distinct stochastic configurations. It includes visual cues, customizable parameters, and background highlights to improve decision-making during trend reversals or momentum surges.
🛠️ Inputs & Parameters
⏱ Timeframe
Timeframe for Stochastic Calculation: Defines which chart timeframe to use for stochastic calculations (default is "1" minute). This enables multi-timeframe analysis while on a lower timeframe chart.
📈 Stochastic Parameters
Four different stochastic configurations are used:
Label %K Length %D Smoothing Notes
K9 D3 9 3 Fastest, short-term view
K14 D3 14 3 Moderately short-term
K40 D4 40 4 Medium-term trend view
K60 D10 60 10 Long-term strength
Smoothing Type: Choose between SMA or EMA to control how smoothed the %D line is.
🎯 Levels
Overbought Level: Default 80
Oversold Level: Default 20
These are used to indicate overextended price conditions on any of the stochastic plots.
🔄 Quad Rotation Detection Settings
When enabled, the script detects synchronized oversold/overbought conditions with strong momentum using all 4 stochastic readings.
Enable Quad Rotation: Toggles detection on or off
Slope Calculation Bars: Number of bars used to calculate slope of %D lines
Slope Threshold: Minimum slope strength for signal (higher = stronger confirmation)
Oversold Quad Level: Total of all four stochastic values that define a quad oversold zone
Overbought Quad Level: Total of all four stochastic values that define a quad overbought zone
Oversold Quad Highlight Color: Background color when oversold quad is triggered
Overbought Quad Highlight Color: Background color when overbought quad is triggered
Slope Averaging Method: Either Simple Average or Weighted Average (puts more weight on higher timeframes)
Max Signal Bar Window: Defines how recent the signal must be to be considered valid
📊 Plots & Visual Elements
📉 Stochastic %D Lines
Each stochastic is plotted separately:
K9 D3 – Red
K14 D3 – Orange
K40 D4 – Fuchsia
K60 D10 – Silver
These help visualize short to long-term momentum simultaneously.
📏 Horizontal Reference Lines
Overbought Line (80) – Red
Oversold Line (20) – Green
These help you identify threshold breaches visually.
🌈 Background Highlighting
The indicator provides background highlights to mark potential signal zones:
✅ All Oversold or Overbought Conditions
When all four stochastics are either above overbought or below oversold:
Bright Red if all are overbought
Bright Green if all are oversold
🚨 Quad Rotation Signal Zones (if enabled)
Triggered when:
The combined sum of all four stochastic levels is extremely low/high (below/above oversoldQuadLevel or overboughtQuadLevel)
The average slope of the 4 %D lines is sharply positive (> slopeThreshold)
Highlights:
Custom Red Tint = Strong overbought quad signal
Custom Green Tint = Strong oversold quad signal
These zones can indicate momentum shifts or reversal potential when used with price action or other tools.
⚠️ Limitations & Considerations
This indicator does not provide trade signals. It visualizes conditions and potential setups.
It is best used in confluence with price action, support/resistance levels, and other indicators.
False positives may occur in ranging markets. Reduce reliance on slope thresholds during low volatility.
Quad signals rely on slope strength, which may lag slightly behind sudden reversals.
🧠 Tips for Use
Combine with volume, MACD, or PSAR to confirm direction before entry.
Watch for divergences between price and any of the stochastics.
Use on higher timeframes (e.g., 5m–30m) to filter for swing trading setups; use shorter TFs (1m–5m) for scalping signals.
Adjust oversoldQuadLevel and overboughtQuadLevel based on market conditions (e.g., in trending vs ranging markets).
Mirrored Buy/Sell Volume + Cumulative DeltaUser Guide: Mirrored Buy/Sell Volume (Histogram)
🔍 What It Does
Displays green bars above zero for estimated buy volume
Displays red bars below zero for estimated sell volume
Adds a blue line showing Cumulative Delta (buy − sell over time)
Optional threshold lines help spot when net momentum builds up
📊 How Volume is Estimated
Same estimation method as the table version:
Buy Volume is proportion of volume estimated using (close - low) / (high - low)
Sell Volume is remainder of the total volume
Cumulative Delta = running total of (Buy − Sell) volume
This gives you:
A real-time sense of which side is gradually gaining control
More context than looking at candles or volume bars alone
✅ Best For
Visual trade decision support: who’s winning the tug-of-war?
Spotting trend initiation or momentum shifts
Combining with oscillator/trend tools for confirmation
⚠️ Limitations
Still an approximation — not based on actual trade aggressor data
Cannot separate passive vs. aggressive orders
Cumulative Delta does not reset unless specifically coded to do so
May mislead if the bar has long wicks or closes near midpoint
High/Low Liquidation LevelsThe Visible High/Low Liquidation Levels indicator is designed to help traders better understand potential liquidation zones within a visible range on the chart. It does this by identifying dynamic high and low median price levels and plotting corresponding liquidation levels based on various leverage ratios.
This tool visually marks these critical zones, offering insight into areas where over-leveraged positions (such as x1, x2, x5, up to x100) are more likely to get liquidated, either above the recent low or below the recent high. This can support risk management and decision-making, especially in volatile markets.
Features:
Displays median high and low levels based on a configurable number of visible bars.
Plots liquidation levels above the low median and below the high median for multiple leverage tiers: x1, x2, x3, x5, x10, x25, x50, x75, x100.
Full customization over which leverage levels to show.
Color-coded lines for easy visual distinction.
Configurable bar range for calculating highs and lows separately.
Built-in legend table for clear reference to level color mappings.
Relative Performance Spread**Relative Performance Spread Indicator – Overview**
This indicator compares the **relative performance between two stocks** by normalizing their prices and calculating the **spread**, **area under the curve (AUC)**, or **normalized price ratio**.
### **How It Works**
* **Input**: Select a second stock (`ticker2`) and a moving average window.
* **Normalization**: Each stock is normalized by its own moving average → `norm = close / MA`.
* **Spread**: The difference `spread = norm1 - norm2` reflects which stock is outperforming.
* **AUC**: Cumulative spread over time shows prolonged dominance or underperformance.
* **Bounds**: Bollinger-style bands are drawn around the spread to assess deviation extremes.
### **Usage**
* **Plot Type Options**:
* `"Spread"`: Spot outperformance; crossing bands may signal rotation.
* `"AUC"`: Track long-term relative trend dominance.
* `"Normalized"`: Directly compare scaled price movements.
Use this tool for **pair trading**, **relative momentum**, or **rotation strategies**. It adapts well across assets with different price scales.
BW MFI fixed v6Bill Williams MFI
Sure! Here’s an English description of the indicator you have:
---
### Bill Williams Market Facilitation Index (MFI) — Indicator Description
This indicator implements the **Market Facilitation Index (MFI)** as introduced by Bill Williams. The MFI measures the market's willingness to move the price by comparing the price range to the volume.
---
### How it works:
* **MFI Calculation:**
The MFI is calculated as the difference between the current bar’s high and low prices divided by the volume of that bar:
$$
\text{MFI} = \frac{\text{High} - \text{Low}}{\text{Volume}}
$$
* **Color Coding Logic:**
The indicator compares the current MFI and volume values to their previous values and assigns colors to visualize market conditions according to Bill Williams’ methodology:
| Color | Condition | Market Interpretation |
| ----------- | ------------------ | --------------------------------------------------------------------------------------------- |
| **Green** | MFI ↑ and Volume ↑ | Strong trend continuation or acceleration (increased price movement supported by volume) |
| **Brown** | MFI ↓ and Volume ↓ | Trend weakening or possible pause (both price movement and volume are decreasing) |
| **Blue** | MFI ↑ and Volume ↓ | Possible false breakout or lack of conviction (price moves but volume decreases) |
| **Fuchsia** | MFI ↓ and Volume ↑ | Market indecision or battle between bulls and bears (volume rises but price movement shrinks) |
| **Gray** | None of the above | Neutral or unchanged market condition |
* **Display:**
The indicator plots the MFI values as colored columns on a separate pane below the price chart, providing a visual cue of the market’s behavior.
---
### Purpose:
This tool helps traders identify changes in market momentum and the strength behind price moves, providing insight into when trends might accelerate, weaken, or potentially reverse.
---
If you want, I can help you write a more detailed user guide or trading strategy based on this indicator!
OrderFlow Sentiment SwiftEdgeOrderFlow Sentiment SwiftEdge
Overview
OrderFlow Sentiment SwiftEdge is a visual indicator designed to help traders analyze market dynamics through a simulated orderbook and market sentiment display. It breaks down the current candlestick into 10 price bins, estimating buy and sell volumes, and presents this data in an orderbook table alongside a sentiment row showing the buy vs. sell bias. This tool provides a quick and intuitive way to assess orderflow activity and market sentiment directly on your chart.
How It Works
The indicator consists of two main components: an Orderbook Table and a Market Sentiment Row.
Orderbook Table:
Simulates buy and sell volumes for the current candlestick by distributing total volume into 10 price bins based on price movement and proximity to open/close levels.
Displays the price bins in a table with columns for Price, Buy Volume, and Sell Volume, sorted from highest to lowest price.
Highlights the current price level in orange for easy identification, while buy and sell dominance is indicated with green (buy) or red (sell) backgrounds.
Market Sentiment Row:
Calculates the overall buy and sell sentiment (as a percentage) for the current candlestick based on the simulated orderflow data.
Displays the sentiment above the orderbook table, with the background colored green if buyers dominate or red if sellers dominate.
Features
Customizable Colors: Choose colors for buy (default: green), sell (default: red), and current price (default: orange) levels.
Lot Scaling Factor: Adjust the volume scaling factor (default: 0.1 lots per volume unit) to simulate realistic lot sizes.
Table Position: Select the table position on the chart (Top, Middle, or Bottom; default: Middle).
Default Properties
Positive Color: Green
Negative Color: Red
Current Price Color: Orange
Lot Scaling Factor: 0.1
Table Position: Middle
Usage
This indicator is ideal for traders who want to visualize orderflow dynamics and market sentiment in real-time. The orderbook table provides a snapshot of buy and sell activity at different price levels within the current candlestick, helping you identify areas of high buying or selling pressure. The sentiment row offers a quick overview of market bias, allowing you to gauge whether buyers or sellers are currently dominating. Use this information to complement your trading decisions, such as identifying potential breakout levels or confirming trend direction.
Limitations
This indicator simulates orderflow data based on candlestick price movement and volume, as TradingView does not provide tick-by-tick data. The volume distribution is an approximation and should be used as a visual aid rather than a definitive measure of market activity.
The indicator operates on the chart's current timeframe and does not incorporate higher timeframe data.
The simulated volumes are scaled using a user-defined lot scaling factor, which may not reflect actual market lot sizes.
Disclaimer
This indicator is for informational purposes only and does not guarantee trading results. Always conduct your own analysis and manage risk appropriately. The simulated orderflow data is an estimation and may not reflect real market conditions.