Percent Change of Range Candles📌 Indicator Description: "Percent Change of Range Candles"
This indicator is designed to visualize the percentage price change over a specified number of candles, relative to the historical market range. Instead of traditional candles, it uses a custom "range candle" visualization that reflects relative changes in context with the highest and lowest points within a given period.
🎯 Purpose and Application
The goal of this indicator is to:
Show how much the current price has changed compared to the price length candles ago (default: 100).
Express this change as a percentage of the total price range during that period.
Help traders identify extreme price movements, whether bullish or bearish.
Serve as an additional filter for momentum zones, divergences, or overextended conditions.
⚙️ How It Works
🔹 Core Calculation:
Range: The difference between the highest and lowest price over the selected period (length).
Price Change: The difference between the current close and the close length bars ago.
Percentage Value: (price_change / range) * 100
🔹 Additional Logic:
The synthetic open value is calculated as the average of the last 5 c values.
The high and low of each range candle are adjusted:
If c is negative, the high is replaced with a shorter-term percentage change (25% of length).
If c is positive, the low is adjusted in the same way.
🔹 Visualization:
Displays custom candles based on percentage change, not real price.
Candle color is green if the current value is above the recent average, and red if below.
Horizontal reference lines are drawn at +100, +70, 0, -70, and -100, helping to identify extremes.
✅ Advantages and Use Cases
Detects market extremes and potential reversal zones.
Useful in volatility or momentum-based strategies.
Can serve as a signal filter or divergence detector when combined with other tools (e.g., RSI, MACD).
Analisi candlestick
ORB2The "ORB2" Indicator (Opening Range Breakout 2) is designed to identify the key price range at the beginning of the trading day—commonly referred to as the opening range. Its main purpose is to help traders detect potential breakout points from this range, which are often used as signals for trade entries.
📌 Purpose
The indicator visually marks the highest (high) and lowest (low) price within a defined time interval at the start of the session (e.g., from 09:15 to 09:20). These values form what’s known as the opening range, which is often considered a consolidation zone before the market chooses a direction.
⚙️ How It Works
Time Setup:
The user defines the time window during which the opening range is monitored (default: 09:15–09:20).
The high and low values are tracked within this interval.
Session Detection:
When the defined session begins (is_first), the indicator records the current high and low as the initial ORB levels.
Range Updating:
During the session, if a new candle has a higher high or a lower low than the previously recorded ORB range, the indicator updates the levels accordingly.
Visualization:
The ORB zone is displayed as a shaded area (a blue fill between a green upper line and a red lower line)—but only when applied to intra-day charts with a time interval less than or equal to the specified inputMax (e.g., 5 minutes).
🎯 Purpose and Benefits
Quick breakout detection – Helps traders easily identify when price breaks out of the initial consolidation.
Clear visualization – Highlights the high/low boundaries and range area, making breakout strategies more effective.
Customizability – The user can adjust the session time and the maximum allowed chart resolution for display.
EU Session Only StrategyThe name of the strategy is the EU session only, but you choose which time is important for you to follow, it can also be the beginning of the US session, a few hours after the news (2 hours after the US open level) or based on the daily open level.
📌 Indicator Description: "EU Session Only Strategy"
This TradingView indicator, written in Pine Script version 6, represents a simple yet effective intraday trading strategy focused exclusively on the European trading session.
🎯 Purpose and Use
The goal of this strategy is to:
Automatically identify the European session open price for the current trading day.
Trade only during a defined intraday time window (e.g., between 08:00 and 18:00 UTC).
Enter a trade only if the price moves a certain distance (in pips) away from the EU open level.
Limit the number of trades per day to avoid overtrading.
Automatically close all open positions at the end of the day to minimize overnight risk.
⚙️ How It Works
🔹 1. EU Open Level
When the European session opens (e.g., 09:00 UTC), the strategy records the opening price at that moment (eu_open_price).
This level is displayed as a red horizontal line on the chart.
🔹 2. Entry Conditions
The strategy checks if the current price:
Is above the EU open level by at least a defined number of pips → Buy signal.
Is below the EU open level by at least a defined number of pips → Sell signal.
Trading is allowed only within the specified time range (e.g., 08:00 to 18:00 UTC).
A maximum number of trades per day is enforced (e.g., 2 trades max).
🔹 3. Exit Conditions
If an opposite signal appears during the day, the strategy automatically closes the current position.
At the start of each new day, all open positions are closed, regardless of direction or profit.
✅ Advantages
A clear and efficient system based on price reaction around a key daily level.
Suitable for automated backtesting and optimization on TradingView.
Reduces risk with daily trade limits and end-of-day auto-closing.
Ideal for forex pairs that show volatility during the European session (e.g.,GOLD, EUR/USD, GBP/USD, etc.).
Support and Resistance MTFSupport and Resistance MTF
Support and Resistance MTF is a powerful tool that automatically detects and visualizes key support and resistance levels based on pivot highs and lows, using a higher timeframe of your choice. It is designed for traders who focus on price action and market structure, and want an adaptive, clean, and customizable indicator that helps identify important market zones.
The script uses configurable pivot logic to identify levels, with user-defined parameters for pivot strength and timeframe. Once a support or resistance level is detected, it is displayed on the chart either as a horizontal line, a shaded box, or both, depending on your display settings. You can fully customize the visual appearance including color, transparency, and line thickness. Levels are automatically extended into the future, and optionally into the past, to give better context.
Each level is monitored for breakout behavior. If price breaks through a level, it can change its role — a former resistance may become support, and vice versa. After a certain number of breakouts (which you define), the level is considered invalid and is automatically removed from the chart. This helps to maintain a clean visual layout and ensures only relevant levels are shown.
The indicator supports multi-timeframe analysis, allowing you to overlay higher-timeframe structure directly on your lower-timeframe trading chart. It is also compatible with Heikin Ashi candles internally for reference, without affecting your main chart type.
Support and Resistance MTF is ideal for traders looking to align intraday setups with higher-timeframe zones, manage risk around structural levels, or simply highlight market turning points in a clear and automated way. Built with Pine Script v5 and optimized for performance, it is both powerful and lightweight.
⚙️ Input Parameters – Description
[Time-Frame
Defines the higher timeframe used for detecting support and resistance levels. For example, you can set this to 1h, 4h, or D to visualize significant levels from a broader market perspective on a lower-timeframe chart.
Left / Right (Pivot Left / Pivot Right)
These parameters control the sensitivity of the pivot detection. A pivot high/low is confirmed if it is higher/lower than the defined number of candles to its left and right. Higher values reduce noise but may miss smaller turning points.
Extend Left
When enabled, the drawn levels (lines and/or boxes) are extended to the left side of the chart, allowing you to see the historical alignment of these levels.
Max Breaks Before Delete
Defines how many times a level can be broken by price before it is removed from the chart. This helps to avoid clutter from outdated or invalidated levels and keeps your chart relevant to current price action.
Draw Lines Only
If enabled, the indicator will draw only horizontal lines for support and resistance zones, omitting the colored background boxes. Useful for a cleaner chart appearance.
Line Width Broken Level
Sets the thickness of the support/resistance lines. Thicker lines can emphasize key levels, especially after a breakout.
Transparency Boxes
Controls the transparency (0–100) of the background boxes representing the zones. A higher value makes the boxes more transparent, lower values make them more opaque.
Transparency Lines
Controls the transparency (0–100) of the horizontal support and resistance lines. This allows for visual fine-tuning based on chart background and personal preference.
Support (Color, Group: Display)
Lets you choose the color used for support zones and lines. By default, it's green, but you can change it to fit your theme or visual preference.
Resistance (Color, Group: Display)
Defines the color for resistance zones and lines. The default is red, but it can be customized freely.
Two Candle Theory (Filtered) - Labels & ColorsOverview
This Pine Script classifies each candle into one of nine sentiment categories based on how the candle closes within its own range and in relation to the previous candle’s high and low. It optionally filters the strongest bullish and bearish signals based on volume spikes.
The script is designed to help traders visually interpret market sentiment through configurable labels and candle colors.
⸻
Classification Logic
Each candle is assessed using two metrics:
1. Close Position – where the candle closes within its own high-low range (High, Mid, Low).
2. Close Comparison – how the current close compares to the previous candle’s high and low (Bull, Bear, or Range).
Based on this, a short label is assigned:
• Bullish Bias: Strongest (SBu), Moderate (MBu), Weak (WBu), Slight (SlB)
• Neutral: Neutral (N)
• Bearish Bias: Slight (SlS), Weak (WBa), Moderate (MBa), Strongest (SBa)
⸻
Volume Filter
A volume spike filter can be applied to the strongest signals:
• SBu and SBa are only shown if volume is significantly higher than the average (SMA × threshold).
• The filter is optional and user-configurable.
⸻
Display Options
Users can control:
• Whether to show labels, bar colors, or both.
• Which of the nine label types are visible.
• Custom colors for each label and corresponding bar.
⸻
Visual Output
• Labels appear above or below candles depending on bullish or bearish classification.
• Bar colors reflect sentiment for quicker visual scanning.
⸻
Use Case
Ideal for identifying momentum shifts, validating trade entries, and highlighting candles that break out of previous ranges with conviction and/or volume.
⸻
Summary
This script simplifies price action by translating each candle into an interpretable sentiment label and color. With optional volume filtering and full display customization, it offers a practical tool for discretionary and systematic traders alike.
Shooting Star Detector[cryptovarthagam]🌠 Shooting Star Detector
The Shooting Star Detector is a powerful price action tool that automatically identifies potential bearish reversal signals using the well-known Shooting Star candlestick pattern.
Ideal for traders who rely on candlestick psychology to spot high-probability short setups, this script works across all markets and timeframes.
🔍 What is a Shooting Star?
A Shooting Star is a single-candle pattern that typically forms at the top of an uptrend or resistance zone. It’s characterized by:
A small body near the candle's low,
A long upper wick, and
Little or no lower wick.
This pattern suggests that buyers pushed price higher but lost control by the close, hinting at potential bearish momentum ahead.
✅ Indicator Features:
🔴 Accurately detects Shooting Star candles in real-time
🔺 Plots a red triangle above every valid signal candle
🖼️ Optional background highlight for visual clarity
🕵️♂️ Strict ratio-based detection using:
Wick-to-body comparisons
Upper wick dominance
Optional bearish candle confirmation
⚙️ Detection Logic (Rules Used):
Upper wick > 60% of total candle range
Body < 20% of total candle
Lower wick < 15% of candle range
Bearish candle (optional but included for accuracy)
These rules ensure high-quality signals that filter out false positives.
📌 Best Use Cases:
Spotting trend reversals at swing highs
Confirming entries near resistance zones
Enhancing price action or supply/demand strategies
Works on: Crypto, Forex, Stocks, Commodities
🧠 Trading Tip:
Pair this detector with volume confirmation, resistance zones, or bearish divergence for higher-probability entries.
📉 Clean, minimal, and non-repainting — designed for traders who value accuracy over noise.
Created with ❤️ by Cryptovarthagam
Follow for more real-time price action tools!
PinBar Finder | @CRYPTOKAZANCEVPinBar Finder | @CRYPTOKAZANCEV
This script helps traders identify high-probability reversal points based on price action, specifically Pin Bars — a well-known candlestick pattern used in technical analysis.
What does the indicator do?
It detects bullish and bearish Pin Bars using a custom method for wick-to-body ratio and filters based on historical volatility (pseudo-ATR). A label appears on the chart with detailed info on wick and body size when a valid signal is found.
How does it work?
- The indicator calculates a pseudo-ATR based on the percentage range of the last 1000 candles.
- It then multiplies this value by a user-defined factor (default: 1.1) to set a dynamic threshold for wick size.
- Bullish Pin Bars are detected when the lower wick is at least 1.1 times the body and greater than the dynamic ATR.
- Bearish Pin Bars are detected when the upper wick meets similar conditions.
- Signals are shown using chart labels with exact wick/body percentages.
- Alerts are included for automation or integration with trading bots.
How to use it?
- Add the indicator to any timeframe and asset.
- Use the alerts to notify you when a Pin Bar appears.
- Ideal for traders who use candlestick reversal strategies or combine price action with other confluence tools.
- You can adjust the wick length multiplier to fit the volatility of the instrument.
What makes it original?
Unlike many public scripts that use fixed ratios, this script adapts wick length detection based on recent volatility (pseudo-ATR logic). This makes it more dynamic and suitable for different markets and timeframes.
Developed by: @ZeeZeeMon
Original author name on chart: @CRYPTOKAZANCEV
This script is open-source and educational. Use at your own discretion.
PinBar Finder | @CRYPTOKAZANCEV
Этот скрипт помогает трейдерам находить точки потенциального разворота на основе прайс-экшена, а именно — свечного паттерна «Пин-бар». Индикатор автоматически определяет бычьи и медвежьи пин-бары с учетом адаптивных параметров волатильности.
Что делает индикатор?
Скрипт ищет свечи, у которых тень в несколько раз превышает тело (пин-бары), и отображает на графике точную информацию о длине тела и тени. Это полезно для трейдеров, использующих свечные сигналы на разворот.
Как работает?
- Рассчитывается псевдо-ATR по 1000 последним свечам на основе процентного диапазона high-low.
- Этот ATR умножается на заданный множитель (по умолчанию: 1.1), чтобы динамически задать минимальную длину тени.
- Бычий пин-бар определяется, когда нижняя тень больше тела в 1.1 раза и превышает ATR.
- Медвежий пин-бар — аналогично, но для верхней тени.
- Индикатор отображает лейблы с точными значениями тела и тени.
- Реализованы условия для оповещений (alerts).
Как использовать?
- Добавьте индикатор на нужный график и таймфрейм.
- Настройте alerts, чтобы не пропустить сигналы.
- Особенно полезен для трейдеров, работающих со свечным анализом, стратегиями разворота, а также в сочетании с другими индикаторами.
В чем оригинальность?
В отличие от многих скриптов, использующих фиксированные параметры, здесь используется динамический расчет длины тени на основе волатильности. Это делает скрипт адаптивным к рынку и таймфрейму.
Разработчик: @ZeeZeeMon
Оригинальное имя автора на графике: @CRYPTOKAZANCEV
Скрипт является открытым и предназначен для образовательных целей. Используйте на своё усмотрение.
OBOB_With_Time4 – Smart Order Blocks + Time-Based Labels + Auto-Cleanup + Liquidity Zones
This indicator combines:
Fractal-based Order Block detection
Dynamic and Static Liquidity Zones
Time-based label calculations (Sum, Difference, Minutes)
Auto-removal of broken Order Blocks (custom feature)
🔹 Key features:
Detects bullish and bearish OBs using 3-bar or 5-bar fractals
OBs are automatically deleted once broken, helping keep charts clean and focused – a major improvement over the original implementation
Optional FVG validation for higher OB quality
Includes time-based label logic for bar/session timing analysis
Customizable line styles, widths, label positions, and time offsets
Displays swing highs/lows and fractal points
🛠 Fully customizable:
Select which fractal type to use
Enable/disable time logic elements
Adjust OB/FVG filtering
Fine-tune liquidity sensitivity
📌 Credits:
Liquidity detection uses open-source logic from 's LiquidityFinderLibrary.
This version significantly extends the original logic by adding automated cleanup of broken order blocks, new visualization options, and integrated time analytics.
Developed and expanded by @Nephew_Sam_
🔓 This script is open-source and published for educational and strategic use on TradingView.
The Strat The Strat Bar Type Identifier – Pure Price Action Logic
This open-source indicator implements the foundational bar classification of "The Strat" method developed by Rob Smith. It identifies each candle on the chart as one of the three core types used in The Strat:
* Inside Bar (1): The candle’s range is fully within the previous candle’s range. This indicates consolidation or balance and often precedes breakouts or reversals.
* Two-Up Bar (2U): The current candle breaks the previous high but does not break its low. This is considered bullish directional movement.
* Two-Down Bar (2D): The current candle breaks the previous low but not the high. This signals bearish directional movement.
* Outside Bar (3): The candle breaks both the high and the low of the previous candle, signaling a broadening formation and high volatility.
The script plots a character below each candle based on its type:
* "1" for Inside Bar
* "2" for Two-Up or Two-Down (color-coded)
* "3" for Outside Bar
This tool helps traders quickly identify actionable setups according to The Strat method and serves as a foundation for more advanced strategies like the 3-1-2 reversal or 1-2-2 continuation.
All calculations are based purely on price action—no indicators, no smoothing, no lagging elements. It is ideal for traders looking to understand price structure and bar sequencing from a Strat perspective.
To use:
1. Add the indicator to any chart and timeframe.
2. Look for the numbers below the candles.
3. Analyze the sequence of bar types to spot Strat setups.
This script is educational and can be extended with multi-timeframe context, FTFC logic, actionable signals, or broadening formation detection.
Clean, minimal, and faithful to the core principles of The Strat.
Candle Range Trading (CRT) with Alerts
📌 Description:
The Candle Range Trading (CRT) indicator identifies potential reversal or continuation setups based on specific two-candle price action patterns.
It analyzes pairs of candles to detect Bullish or Bearish CRT patterns and provides visual signals (triangles) and alert notifications to support scalp or swing trading strategies.
🔍 How It Works:
🔻 Bearish CRT Pattern:
Candle 1 is bullish
Candle 2 is bearish
Candle 2's high > Candle 1's high
Candle 2 closes within Candle 1’s range
🔺 Red triangle above candle
🔺 Bullish CRT Pattern:
Candle 1 is bearish
Candle 2 is bullish
Candle 2's low < Candle 1's low
Candle 2 closes within Candle 1’s range
🔻 Green triangle below candle
📈 Visual Features:
🔺 Red triangle = Bearish CRT
🔻 Green triangle = Bullish CRT
📏 Optional box showing CRT High and CRT Low
🔔 Built-in Alerts:
Bullish CRT Alert: "Bullish CRT Pattern Detected"
Bearish CRT Alert: "Bearish CRT Pattern Detected"
Set alerts to get notified instantly when a pattern is detected.
⚠️ Note:
Use in conjunction with trend filters, support/resistance, or volume for best results.
Ideal for scalping or short-term trades.
Avoid trading in choppy or low-volume markets.
⚠️ Disclaimer:
This script was generated with the assistance of ChatGPT by OpenAI and is intended for educational and informational purposes only.
All strategies, alerts, and signals derived from this indicator should be thoroughly backtested and validated before using in live trading.
Trading involves substantial risk, and past performance is not indicative of future results. The author and ChatGPT bear no responsibility for any trading losses or financial decisions made using this script.
Users are solely responsible for the risks associated with their trading actions. Always apply proper risk management and perform your own due diligence before making any financial decisions.
Candle/Keltner Channels BUY SELLWhy Use Candlesticks?
They help traders visualize price action
Used in technical analysis and price pattern recognition (e.g., Doji, Engulfing, Hammer)
Assist in determining entry and exit points
Why Traders Use Keltner Channels?
Keltner Channels are widely used by traders for identifying trends, detecting volatility, and spotting trade opportunities.
1. Trend Identification
The middle line (EMA) shows the general trend.
If price consistently stays above the middle line, it indicates a strong uptrend.
If price stays below, it signals a downtrend.
Use: Traders follow the trend direction to enter trades in line with momentum.
2. Volatility Measurement
The width of the channel expands and contracts based on Average True Range (ATR).
Wider channels = high volatility, tighter channels = low volatility.
Use: Helps traders decide when to expect breakouts or calm periods.
3. Breakout Signals
A break above the upper band can signal a bullish breakout.
A break below the lower band can signal a bearish breakout.
Use: Traders use this for momentum trading and breakout entries.
4. Overbought/Oversold Conditions
Price touching or crossing the upper band may suggest it's overbought.
Price touching or crossing the lower band may suggest it's oversold.
Use: Traders combine this with RSI or MACD to confirm reversal setups.
5. Trade Entry and Exit
When price pulls back to the middle EMA during a trend, it may present a buy/sell opportunity.
Exits can also be planned if price returns inside the bands after a breakout.
Use: Helps with precise entry and exit timing.
6. Combines Well With Other Indicators
Commonly used with:
RSI (for confirmation)
MACD (for momentum)
Candlestick patterns (for price action signals)
Combining Candlestick Patterns with Keltner Channels gives traders a powerful method to confirm entries, spot reversals, and improve accuracy. Here’s why this combination works so well:
1. Context for Candlestick Signals
Candlestick patterns (like doji, engulfing, or pin bars) show potential price reversals, but they need context to be reliable. Keltner Channels provide that context:
A bullish candlestick near the lower band suggests a stronger buy signal.
A bearish candlestick near the upper band strengthens a sell signal.
2. Filtering False Signals
Candlestick patterns occur frequently, and not all are meaningful.
The location within the Keltner Channel helps filter out weak or false patterns.
Example: A bullish engulfing candle outside the lower band = high-probability reversal.
3. Improved Entry Timing
Traders wait for a candlestick pattern confirmation when price touches or crosses a Keltner band.
This avoids premature entries and allows tighter stop-losses.
4. Better Risk-Reward Setup
Candlestick entry near channel extremes (upper/lower band) lets traders place stop-losses just beyond recent highs/lows.
The target can be the opposite side of the channel or the middle EMA.
5. Visual Simplicity
Keltner Channels + Candles are visually intuitive.
Even beginner traders can easily recognize:
Overextended candles near channel edges.
Confirmed breakouts or reversals.
This Timeframe 5 min : XAUUSD
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 свечами.
• При желании можно отобразить сами свинг-точки.
📊 Как использовать
• Работает на любом таймфрейме и инструменте.
• Используйте совместно с объёмами, трендом или свечным анализом.
• Количество касаний помогает оценить важность зоны.
Полезен тем, кто предпочитает анализ на основе структуры цены, а не произвольных уровней.
🔧 Настройки
• Период свингов: Сколько свечей учитывается по бокам для поиска экстремумов.
• Множитель зоны: Увеличивает диапазон зоны на основе волатильности.
• Мин. количество свингов: Минимум точек в зоне для её отображения.
• Макс. зон на графике: Ограничение по количеству отображаемых зон.
• Макс. свечей анализа: Старые точки за пределами не учитываются.
📌 Примечания
• Не содержит чужих индикаторов или шаблонов.
• Самостоятельная реализация механизма анализа структуры рынка.
Volume CandlesVolume Candles — Context-Aware Candle Color
Description:
This visual indicator colors your price candles based on relative volume intensity, helping traders instantly detect low, medium, and high volume activity at a glance. It supports two modes — Percentile Ranking and Volume Average — offering flexible interpretation of volume pressure across all timeframes.
It uses a 3-tiered color system (bright, medium, dark) with customizable tones for both bullish and bearish candles.
How It Works:
You can choose between two modes for volume classification:
Ranking Mode (Default):
Measures current volume’s percentile rank over a lookback period. Higher percentiles = stronger color intensity.
Percentile thresholds:
< 50% → light color (low volume)
50–80% → medium intensity
> 80% → high volume
Volume Average Mode:
Compares current volume against its simple moving average (SMA).
Volume thresholds:
< 0.5× SMA → light color
Between 0.5× and 1.5× → medium
> 1.5× → high intensity
Candle Paint:
Candles are colored directly on the chart, not in a separate pane. Bullish candles use green shades, bearish use red. All colors are fully customizable.
How to Interpret:
Bright Colors = High volume (potential strength or climax)
Muted/Transparent Colors = Low or average volume (consolidation, traps)
Example Use Cases:
Spot fakeouts with large price movement on weak volume (dark color)
Confirm breakout strength with bright candles
Identify stealth accumulation/distribution
Inputs & Settings:
Mode: Ranking Percentile or Volume Average
Lookback Period for ranking and SMA
Custom Colors for bullish and bearish candles at 3 intensity levels
Best For:
Price action traders wanting context behind each candle
Scalpers and intraday traders needing real-time volume feedback
Anyone using volume as a filter for entries or breakouts
Pro Tips:
Combine with Price Action, Bollinger Bands or VWAP/EMA levels to confirm breakout validity and intent behind a move.
Use alongside RSI/MACD divergences for high-volume reversal signals.
For swing trading, expand the lookback period to better normalize volume over longer trends.
Bullish/Bearish Body StrengthThis indicator analyzes candlestick body sizes to measure bullish versus bearish strength over a specified period. Here's what it does:
Features:
- Measures and totals the body sizes of bullish and bearish candles over your chosen lookback period
- Shows the total bullish and bearish body measurements as separate plots
- Calculates and displays a bull/bear ratio (bullish total divided by bearish total)
- Shows the difference between bullish and bearish totals
- Colors the background based on bullish (green) or bearish (red) dominance
- Includes an information table with current values and signals
Customization Options:
- Lookback Period: Set how many bars to analyze (default: 14)
- Normalize by ATR: Option to normalize body sizes by the Average True Range for more consistent measurement across different volatility periods
- Smoothing Period: Apply smoothing to the ratio and difference values
- Display Options: Toggle for showing the bull/bear ratio and bull-bear difference
How to Use:
1. Add the indicator to your chart in TradingView
2. Adjust the lookback period to fit your trading timeframe
3. Watch for:
- When bullish bodies significantly outweigh bearish ones (green dominance)
- When bearish bodies significantly outweigh bullish ones (red dominance)
- Ratio values above 2 (strong bullish signal) or below 0.5 (strong bearish signal)
The indicator provides both visual cues and numerical data to help identify periods of bullish or bearish momentum based on actual price movement rather than just candle count.
Moving Average Candles**Moving Average Candles — MA-Based Smoothed Candlestick Overlay**
This script replaces traditional price candles with smoothed versions calculated using various types of moving averages. Instead of plotting raw price data, each OHLC component (Open, High, Low, Close) is independently smoothed using your selected moving average method.
---
### 📌 Features:
- Choose from 13 MA types: `SMA`, `EMA`, `RMA`, `WMA`, `VWMA`, `HMA`, `T3`, `DEMA`, `TEMA`, `KAMA`, `ZLEMA`, `McGinley`, `EPMA`
- Fully configurable moving average length (1–1000)
- Color-coded candles based on smoothed Open vs Close
- Works directly on price charts as an overlay
---
### 🎯 Use Cases:
- Visualize smoothed market structure more clearly
- Reduce noise in price action for better trend analysis
- Combine with other indicators or strategies for confluence
---
> ⚠️ **Note:** Since all OHLC values are based on moving averages, these candles do **not** represent actual market trades. Use them for trend and structure analysis, not trade entries based on precise levels.
---
*Created to support traders seeking a cleaner visual representation of price dynamics.*
Reversal Knockout v1.1\ Reversal Knockout v1.1 — User Manual \
Reversal Knockout is a technical indicator designed to detect potential price turning points using a dual approach: a reversal logic with bar coloring and a combined sequence of setups, countdowns, and exhaustion patterns.
\ What does this indicator do?\
\ Colors candles\ based on the relationship between two smoothed moving averages (T3).
\ Identifies overextension conditions\ based on a sequence of 9 consecutive closes aligned with price direction.
\ Confirms exhaustion\ if, after that setup, 13 follow-through conditions (countdown) are met.
\ Highlights special signals called “Knockouts”\ , which represent strong potential reversal scenarios.
\ Candle Coloring\
Candles are automatically colored to make trend and potential reversal points visually easier to interpret:
🔵 Bull Trend: User-defined color (default light blue)
🔴 Bear Trend: User-defined color (default light red)
🟡 Bullish Reversal: When price crosses below the slower average (default yellow)
🟡 Bearish Reversal: When price crosses above the slower average (default yellow)
This logic is based on the relationship between two T3 moving averages (one fast, one slow), calculated with a customizable smoothing factor.
\ Setup and Countdown Logic\
Setups (9):
A bullish setup forms if the price closes below the close from 4 bars earlier for 9 consecutive candles.
A bearish setup forms if the price closes above the close from 4 bars earlier for 9 consecutive candles.
When the ninth close is completed, a green “9” (buy) or purple “9” (sell) is displayed.
Countdowns (13):
After a setup, a follow-through phase begins.
If 13 additional conditions are met (price < low\ for buys or > high\ for sells), a purple “13” is shown, signaling potential exhaustion.
\ Knockout: Explosive Reversal Potential\
The indicator also identifies special reversal patterns called \ Knockout\ .
These signals appear when, in addition to a “9”, the price shows technical excess behavior near key support or resistance zones:
Knockout ▲ (buy): Appears below the candle when a buy signal is detected with specific downside pressure conditions.
Knockout ▼ (sell): Appears above the candle when a sell signal is detected with upside pressure conditions.
These signals stand out as high-probability reversal opportunities.
\ Usage Recommendations\
The indicator is designed to work on any timeframe, but it is recommended to use it alongside market structure and volume analysis.
“Knockout” signals may be used as high-probability trend change alerts, especially after a “13”.
Can be combined with momentum indicators and moving averages for greater effectiveness.
Al Brooks Second Entry**\ Al Brooks Second Entry Indicator\ **
This custom indicator helps identify second-entry setups based on Al Brooks' price action principles. The script marks key levels in trending markets, indicating potential long and short entries. It displays the first and second entry signals (H1, H2, L1, L2) as well as relevant pullback zones for added clarity.
\ Features:\
\
\ \ First Entry Signals\ : H1 (Long) and L1 (Short) are marked when a trend begins to form.
\ \ Second Entry Signals\ : H2 (Long) and L2 (Short) are plotted once the market pulls back and continues in the direction of the trend.
\ \ EMA Filter\ : An Exponential Moving Average (EMA) is included to filter trades in the direction of the trend (longs above EMA, shorts below EMA).
\ \ Pullback Zones\ : Highlighted areas to assist in identifying optimal zones for entry.
\ \ Adjustable Label Sizes\ : Customize the appearance of the entry labels (tiny or small).
\
\ Inputs:\
\
\ \ Show First/Second Entry\ : Control whether the first (H1, L1) and second (H2, L2) entry signals are displayed.
\ \ EMA Length\ : Set the length of the EMA to use for trend direction.
\ \ Label Size\ : Choose between tiny and small label sizes for clear chart visibility.
\ \ Pullback Zones\ : Toggle the highlighting of pullback zones.
\
\ How it Works:\
\
\ The indicator detects a trend direction using price action (new highs/lows, inside/outside bars).
\ Once a trend is identified, it waits for a pullback and marks the first and second entry points (H1, H2, L1, L2).
\ The indicator also plots the EMA to help confirm the overall market bias.
\ Pullback zones are drawn to help spot potential areas of support or resistance.
\
This script is ideal for traders looking to trade retracements in trending markets, providing clear entry signals and a visual representation of market structure.
RSI Candle Trend🎯 Purpose:
This TradingView script is designed to visualize trend strength using RSI values as candle data, instead of traditional price candles. It transforms RSI data into custom candles using various smoothing and filtering methods (like Heikin-Ashi, Linear Regression, Rational Quadratic Filter, or McGinley Dynamic). It allows traders to:
📌Track RSI-based momentum using visual candle representation
📌Apply advanced smoothing/filters to the RSI to reduce noise
📌Highlight candle trend strength using dynamic coloring
📌Identify overbought/oversold zones using reference lines (RSI 80 and 20)
🧩 How It Works:
It calculates RSI values for open, high, low, close prices.
These RSI values are then optionally smoothed with user-selected moving averages (EMA, SMA, etc.).
Depending on the selected mode (Normal, Heikin-Ashi, Linear, Rational Quadratic), the RSI values are transformed into synthetic candles.
Candles are colored cyan (uptrend) or red (downtrend) based on RSI movement.
⚙️ Key Inputs:
Method: Type of moving average to smooth the RSI (e.g. EMA, SMA, VWMA, etc.)
Length: Length for RSI and smoothing filters
Candle: Type of candle transformation (Normal, Heikin-Ashi, Linear, Rational Quadratic)
Rational Quadratic: Parameter for the Rational Quadratic smoothing method
📊 Outputs:
Custom candles plotted using RSI-transformed values
Candle colors based on RSI strength:
Cyan for strong bullish RSI movement
Red for strong bearish RSI movement
Horizontal lines at RSI levels 80 and 20 (overbought/oversold)
🧠 Why Use This Indicator?
Unlike traditional RSI indicators that show a line, this tool:
Converts RSI into candle-style visualization
Helps traders visually interpret trend strength, reversals, or continuation patterns
Offers more refined control over RSI behavior and filtering
Provides a unique blend of momentum and candle analysis
❗Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
ICT iFVG Detector and Alert [by ote618]Description
This script detects ICT - fair value gaps (FVG) formed by price gaps between Candle 1 and Candle 3, then monitors the next 5 candles for an inverse fair value gap (iFVG).
What It Detects
Bullish FVG: When Candle 1 high is below Candle 3 low (BISI)
Bearish FVG: When Candle 1 low is above Candle 3 high (SIBI)
Once an FVG is detected, the script checks the next 5 candles:
A Bullish FVG becomes a Bearish IFVG if price closes below Candle 1 high
A Bearish FVG becomes a Bullish IFVG if price closes above Candle 1 low
Only the first bar that validates the FVG triggers the transition to an IFVG.
Visual Output
A shaded rectangle is plotted to mark the original FVG zone (from Candle 1 to Candle 3)
Color-coded:
Red for Bearish IFVG (validated Bullish IG)
Green for Bullish IFVG (validated Bearish IG)
The rectangle extends from Candle 1 to the validating bar
Alerts
You can receive alerts when an FVG becomes an IFVG:
Configurable to fire only on selected timeframes (1m, 5m, 15m, 60m)
Alerts include the direction and the chart timeframe
Settings
Enable Alerts For Timeframe: Choose which timeframe(s) trigger alerts
This tool helps traders identify inverse FVGs (iFVG), a useful ICT concept.
Ehlers Regime Dynamic CandlesCore Calculation Mechanism
The indicator uses advanced Ehlers signal processing techniques to identify market regimes and create dynamically colored candles that reflect market conditions.
Super Smoother Filter: Price data (open, high, low, close) is processed through an Ehlers Super Smoother Filter to reduce market noise while preserving important price movements. This creates a clearer signal for regime detection.
Autocorrelation Analysis: The core of regime detection uses autocorrelation functions at different lag periods:
Primary autocorrelation measures correlation between the current price and its previous value
Trending autocorrelation measures longer-term persistence in the data series
These values combined determine if the market is in a trending or choppy regime
(Image showing Ehlers custom candles vs default candlesticks)
Regime Strength Calculation:
-Raw signal from autocorrelation with user-defined threshold adjustment
-Adaptive scaling based on sensitivity parameter
-Optional volume validation that confirms signal strength using volume data
-Normalization to 0-1 range and smoothing for visual consistency
-Percentile ranking to provide contextually meaningful strength values
Fisher Transform: Applied to the smoothed price to identify statistical extremes, which helps adjust transparency levels during significant price movements.
Key Features & Components
Regime Detection: Identifies trending vs. choppy market conditions using Ehlers' autocorrelation techniques.
Dynamic Candle Coloring: Candles transition smoothly between three color states:
Bullish trending (typically green/teal)
Bearish trending (typically red/purple)
Choppy/neutral (typically blue/silver)
Volume Validation: Optional incorporation of volume data to confirm trend strength (stronger volume during trending periods increases confidence).
Adaptive Transparency: Candles become more opaque during statistically significant price movements based on Fisher Transform values.
Gradient Smoothing: Controls the visual transition between regime states for a more aesthetically pleasing appearance.
Customizable Colors and Style: Full control over all visual aspects including candle body/wick colors and transparency.
Configuration Options
Users can adjust the following parameters in the indicator settings:
Main Settings:
Cycle Length: Controls the lookback period for cycle detection. Lower values increase responsiveness but may introduce noise.
Gradient Smoothness: Determines how quickly colors transition when regime changes.
Trend Detection Threshold: Sets the autocorrelation strength required to classify a trend.
Trend Sensitivity: Scales regime strength calculation to produce a better distribution of values.
Use Volume: Toggles whether volume data is used to validate trend strength.
Color Settings:
Trending Regime Colors: Separate color options for bullish and bearish candle bodies and wicks.
Choppy Regime Colors: Color options for candle bodies and wicks during sideways/neutral markets.
Style Settings:
Candle Border Options: Toggle borders and adjust their color and transparency.
Adaptive Transparency: Enable/disable dynamic transparency based on statistical significance.
Base Transparency: Set the baseline transparency level for all candles.
Interpretation Notes
Color Transitions: As the market shifts between regimes, candle colors gradually transition, providing visual cues about market structure changes.
Regime Strength: The intensity of colors indicates the strength of the detected regime:
Strong trending regimes show vibrant trending colors
Weak or mixed regimes display colors closer to the choppy/neutral color
Transitions between regimes show gradient colors
Transparency Changes: More opaque candles indicate statistically significant price movements, while more transparent candles suggest routine or less significant price action.
Volume Interaction: When volume validation is enabled, trending colors become more pronounced during high volume trends and subdued during low volume periods.
Disclaimer: These are custom candles that are significantly different from normal candlesticks.
Unlike traditional candlesticks that display raw price data, these candles:
• Use Ehlers signal processing to filter and smooth price data
• Dynamically change color based on detected market regimes
• Show statistical significance through transparency
• May appear delayed compared to standard candles due to the filtering process
Traditional trading strategies dependent on candlestick patterns will not work with these.
Risk Disclaimer
Trading involves significant risk. This indicator is provided for analytical purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use sound risk management practices and never trade with capital you cannot afford to lose. The Ehlers Regime Dynamic Candles indicator should be used as part of a comprehensive trading approach, not as a standalone trading system.
[T] FVG Size MarkerThis scripts marks the size of the FVG on the chart. As well as lets you place custom text based on gap size. Custom text lets you overlay contract size risk based on the gap size.
Time-Based Fair Value Gaps (FVG) with Inversions (iFVG)Overview
The Time-Based Fair Value Gaps (FVG) with Inversions (iFVG) (ICT/SMT) indicator is a specialized tool designed for traders using Inner Circle Trader (ICT) methodologies. Inspired by LuxAlgo's Fair Value Gap indicator, this script introduces significant enhancements by integrating ICT principles, focusing on precise time-based FVG detection, inversion tracking, and retest signals tailored for institutional trading strategies. Unlike LuxAlgo’s general FVG approach, this indicator filters FVGs within customizable 10-minute windows aligned with ICT’s macro timeframes and incorporates ICT-specific concepts like mitigation, liquidity grabs, and session-based gap prioritization.
This tool is optimized for 1–5 minute charts, though probably best for 1 minute charts, identifying bullish and bearish FVGs, tracking their mitigation into inverted FVGs (iFVGs) as key support/resistance zones, and generating retest signals with customizable “Close” or “Wick” confirmation. Features like ATR-based filtering, optional FVG labels, mitigation removal, and session-specific FVG detection (e.g., first FVG in AM/PM sessions) make it a powerful tool for ICT traders.
Originality and Improvements
While inspired by LuxAlgo’s FVG indicator (credit to LuxAlgo for their foundational work), this script significantly extends the original concept by:
1. Time-Based FVG Detection: Unlike LuxAlgo’s continuous FVG identification, this script filters FVGs within user-defined 10-minute windows each hour (:00–:10, :10–:20, etc.), aligning with ICT’s emphasis on specific periods of institutional activity, such as hourly opens/closes or kill zones (e.g., New York 7:00–11:00 AM EST). This ensures FVGs are relevant to high-probability ICT setups.
2. Session-Specific First FVG Option: A unique feature allows traders to display only the first FVG in ICT-defined AM (9:30–10:00 AM EST) or PM (1:30–2:00 PM EST) sessions, reflecting ICT’s focus on initial market imbalances during key liquidity events.
3. ICT-Driven Mitigation and Inversion Logic: The script tracks FVG mitigation (when price closes through a gap) and converts mitigated FVGs into iFVGs, which serve as ICT-style support/resistance zones. This aligns with ICT’s view that mitigated gaps become critical reversal points, unlike LuxAlgo’s simpler gap display.
4. Customizable Retest Signals: Retest signals for iFVGs are configurable for “Close” (conservative, requiring candle body confirmation) or “Wick” (faster, using highs/lows), catering to ICT traders’ need for precise entry timing during liquidity grabs or Judas swings.
5. ATR Filtering and Mitigation Removal: An optional ATR filter ensures only significant FVGs are displayed, reducing noise, while mitigation removal declutters the chart by removing filled gaps, aligning with ICT’s principle that mitigated gaps lose relevance unless inverted.
6. Timezone and Timeframe Safeguards: A timezone offset setting aligns FVG detection with EST for ICT’s New York-centric strategies, and a timeframe warning alerts users to avoid ≥1-hour charts, ensuring accuracy in time-based filtering.
These enhancements make the script a distinct tool that builds on LuxAlgo’s foundation while offering ICT traders a tailored, high-precision solution.
How It Works
FVG Detection
FVGs are identified when a candle’s low is higher than the high of two candles prior (bullish FVG) or a candle’s high is lower than the low of two candles prior (bearish FVG). Detection is restricted to:
• User-selected 10-minute windows (e.g., :00–:10, :50–:60) to capture ICT-relevant periods like hourly transitions.
• AM/PM session first FVGs (if enabled), focusing on 9:30–10:00 AM or 1:30–2:00 PM EST for key market opens.
An optional ATR filter (default: 0.25× ATR) ensures only gaps larger than the threshold are displayed, prioritizing significant imbalances.
Mitigation and Inversion
When price closes through an FVG (e.g., below a bullish FVG’s bottom), the FVG is mitigated and becomes an iFVG, plotted as a support/resistance zone. iFVGs are critical in ICT for identifying reversal points where institutional orders accumulate.
Retest Signals
The script generates signals when price retests an iFVG:
• Close: Triggers when the candle body confirms the retest (conservative, lower noise).
• Wick: Triggers when the candle’s high/low touches the iFVG (faster, higher sensitivity). Signals are visualized with triangular markers (▲ for bullish, ▼ for bearish) and can trigger alerts.
Visualization
• FVGs: Displayed as colored boxes (green for bullish, red for bearish) with optional “Bull FVG”/“Bear FVG” labels.
• iFVGs: Shown as extended boxes with dashed midlines, limited to the user-defined number of recent zones (default: 5).
• Mitigation Removal: Mitigated FVGs/iFVGs are removed (if enabled) to keep the chart clean.
How to Use
Recommended Settings
• Timeframe: Use 1–5 minute charts for precision, avoiding ≥1-hour timeframes (a warning label appears if misconfigured).
• Time Windows: Enable :00–:10 and :50–:60 for hourly open/close FVGs, or use the “Show only 1st presented FVG” option for AM/PM session focus.
• ATR Filter: Keep enabled (multiplier 0.25–0.5) for significant gaps; disable on 1-minute charts for more FVGs during volatility.
• Signal Preference: Use “Close” for conservative entries, “Wick” for aggressive setups.
• Timezone Offset: Set to -5 for EST (or -4 for EDT) to align with ICT’s New York session.
Trading Strategy
1. Macro Timeframes: Focus on New York (7:00–11:00 AM EST) or London (2:00–5:00 AM EST) kill zones for high institutional activity.
2. FVG Entries: Trade bullish FVGs as support in uptrends or bearish FVGs as resistance in downtrends, especially in :00–:10 or :50–:60 windows.
3. iFVG Retests: Enter on retest signals (▲/▼) during liquidity grabs or Judas swings, using “Close” for confirmation or “Wick” for speed.
4. Session FVGs: Use the “Show only 1st presented FVG” option to target the first gap in AM/PM sessions, often tied to ICT’s market maker algorithms.
5. Risk Management: Combine with ICT concepts like order blocks or breaker blocks for confluence, and set stops beyond FVG/iFVG boundaries.
Alerts
Set alerts for:
• “Bullish FVG Detected”/“Bearish FVG Detected”: New FVGs in selected windows.
• “Bullish Signal”/“Bearish Signal”: iFVG retest confirmations.
Settings Description
• Show Last (1–100, default: 5): Number of recent iFVGs to display. Lower values reduce clutter.
• Show only 1st presented FVG : Limits FVGs to the first in 9:30–10:00 AM or 1:30–2:00 PM EST sessions (overrides time window checkboxes).
• Time Window Checkboxes: Enable/disable FVG detection in 10-minute windows (:00–:10, :10–:20, etc.). All enabled by default.
• Signal Preference: “Close” (default) or “Wick” for iFVG retest signals.
• Use ATR Filter: Enables ATR-based size filtering (default: true).
• ATR Multiplier (0–∞, default: 0.25): Sets FVG size threshold (higher values = larger gaps).
• Remove Mitigated FVGs: Removes filled FVGs/iFVGs (default: true).
• Show FVG Labels: Displays “Bull FVG”/“Bear FVG” labels (default: true).
• Timezone Offset (-12 to 12, default: -5): Aligns time windows with EST.
• Colors: Customize bullish (green), bearish (red), and midline (gray) colors.
Why Use This Indicator?
This indicator empowers ICT traders with a tool that goes beyond generic FVG detection, offering precise, time-filtered gaps and inversion tracking aligned with institutional trading principles. By focusing on ICT’s macro timeframes, session-specific imbalances, and customizable signal logic, it provides a clear edge for scalping, swing trading, or reversal setups in high-liquidity markets.
Multi Candle Engulfing Detector🔍 Multi Candle Engulfing Detector
This indicator identifies powerful engulfing candles that consume three or more previous candles — a signal often tied to strong market reversals or continuation moves.
🧠 Features
Detects candles that fully engulf the previous 3 or more candles
Optional filtering: only trigger when the engulfed candles are of the opposite color
Customizable engulf count for greater pattern control
Clear bullish and bearish signal labels on the chart
Alerts integrated: get notified the moment a setup forms
Background highlighting for enhanced visibility
⚙️ Settings
Minimum Number of Candles to Engulf: Default is 3, but can be adjusted
Require Opposite Color: When enabled, the engulfing candle must be opposite in color to the engulfed ones (e.g., green engulfing red)
📈 Use Cases
Spot strong reversal signals at tops and bottoms
Confirm breakout momentum on trend continuation
Use in confluence with other tools like volume or support/resistance
🚨 Alerts
Alerts fire when a bullish or bearish engulfing pattern is detected, allowing for mobile, email, or webhook notifications.
✅ Notes
This script is fully customizable and can be extended into a strategy or scanning tool. Feedback and suggestions are always welcome!