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 свечами.
• При желании можно отобразить сами свинг-точки.
📊 Как использовать
• Работает на любом таймфрейме и инструменте.
• Используйте совместно с объёмами, трендом или свечным анализом.
• Количество касаний помогает оценить важность зоны.
Полезен тем, кто предпочитает анализ на основе структуры цены, а не произвольных уровней.
🔧 Настройки
• Период свингов: Сколько свечей учитывается по бокам для поиска экстремумов.
• Множитель зоны: Увеличивает диапазон зоны на основе волатильности.
• Мин. количество свингов: Минимум точек в зоне для её отображения.
• Макс. зон на графике: Ограничение по количеству отображаемых зон.
• Макс. свечей анализа: Старые точки за пределами не учитываются.
📌 Примечания
• Не содержит чужих индикаторов или шаблонов.
• Самостоятельная реализация механизма анализа структуры рынка.
Candlestick Analysis
CRT POSSIBILLITY INDCICATOR(V0.1)UNDER CONSTRUCTION!
This indicator is designed for traders who focus on liquidity grabs and smart money concepts (SMC). It identifies when the previous 1-hour high or low is swept (liquidity taken) and then waits for a 5-minute candle confirmation to validate the move.
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.
MoTrades - Reversion Pro v2.2MoTrades - Reversion Pro v2.2
This invite-only indicator is exclusively available to verified MoTrades students. It combines RSI, VWAP deviation, and EMA signals to highlight high-probability trade entries using clean visual cues — helping you eliminate guesswork and trade with confidence.
📌 Want access? DM @nomowords
CyberCandle SwiftEdgeCyberCandle SwiftEdge
Overview
CyberCandle SwiftEdge is a cutting-edge, AI-inspired trading indicator designed for traders seeking precision and clarity in trend-following and swing trading. Powered by SwiftEdge, it combines Heikin Ashi candles, a gradient-colored Exponential Moving Average (EMA), and a Relative Strength Index (RSI) to deliver clear buy and sell signals. Featuring glowing visuals, dynamic signal icons, and a customizable RSI dashboard in the top-right corner, this script offers a futuristic interface for identifying high-probability trade setups on various timeframes (e.g., 1H, 4H).
What It Does
CyberCandle SwiftEdge integrates three powerful components to generate actionable trading signals:
Heikin Ashi Candles: Smooths price action to highlight trends, reducing market noise and making reversals easier to spot.
Gradient EMA: A 100-period EMA with dynamic color transitions (blue/cyan for uptrends, red/pink for downtrends) to confirm market direction.
RSI Dashboard: A neon-lit display showing RSI levels, indicating overbought (>70), oversold (<30), or neutral (30-70) conditions.
Buy and sell signals are marked with prominent, glowing icons (triangles and arrows) based on trend direction, momentum, and specific Heikin Ashi patterns. The script’s customizable parameters allow traders to tailor the strategy to their preferences, balancing signal frequency and precision.
How It Works
The strategy leverages the synergy of Heikin Ashi, EMA, and RSI to filter trades and highlight opportunities:
Trend Direction: The price must be above the EMA for buy signals (bullish trend) or below for sell signals (bearish trend). The EMA’s gradient color shifts based on its slope, visually reinforcing trend strength.
Momentum Confirmation: RSI must exceed a user-defined threshold (default: 50) for buy signals or fall below it for sell signals, ensuring momentum supports the trade.
Candle Patterns: Buy signals require a green Heikin Ashi candle (close > open), with the two prior candles having minimal upper wicks (≤5% of candle body) and being red (indicating a retracement). Sell signals require a red candle, minimal lower wicks, and two prior green candles.
RSI Dashboard: Positioned in the top-right corner, it features a glowing circle (red for overbought, green for oversold, blue for neutral), the current RSI value, and a status indicator (triangle for extremes, square for neutral). This provides instant momentum insights without cluttering the chart.
By combining Heikin Ashi’s trend clarity, EMA’s directional filter, and RSI’s momentum validation, CyberCandle SwiftEdge minimizes false signals and highlights trades with strong potential. Its vibrant, AI-like visuals make it easy to interpret at a glance.
How to Use It
Add to Chart: In TradingView, search for "CyberCandle SwiftEdge" and add it to your chart. Set the chart to Heikin Ashi candles for optimal compatibility.
Interpret Signals:
Buy Signal: Large green triangles and arrows appear below candles when the price is above the EMA, RSI is above the buy threshold (default: 50), and conditions for a bullish retracement are met. Consider entering a long position with a 1:2 risk/reward ratio.
Sell Signal: Large red triangles and arrows appear above candles when the price is below the EMA, RSI is below the sell threshold (default: 50), and conditions for a bearish retracement are met. Consider entering a short position.
RSI Dashboard: Monitor the top-right dashboard. A red circle (RSI > 70) suggests caution for buys, a green circle (RSI < 30) indicates potential buying opportunities, and a blue circle (RSI 30-70) signals neutrality.
Customize Parameters: Open the indicator’s settings to adjust:
EMA Length (default: 100): Increase (e.g., 200) for longer-term trends or decrease (e.g., 50) for shorter-term sensitivity.
RSI Length (default: 14): Adjust for more (e.g., 7) or less (e.g., 21) responsive momentum signals.
RSI Buy/Sell Thresholds (default: 50): Set higher (e.g., 55) for buys or lower (e.g., 45) for sells to require stronger momentum.
Wick Tolerance (default: 0.05): Increase (e.g., 0.1) to allow larger wicks, generating more signals, or decrease (e.g., 0.02) for stricter conditions.
Require Retracement (default: true): Disable to remove the two-candle retracement requirement, increasing signal frequency.
Trading: Use signals in conjunction with the RSI dashboard and market context. For example, avoid buy signals if the RSI dashboard is red (overbought). Always apply proper risk management, such as setting stop-losses based on recent lows/highs.
What Makes It Original
CyberCandle SwiftEdge stands out due to its futuristic, AI-inspired visual design and user-friendly customization:
Neon Aesthetics: Glowing Heikin Ashi candles, gradient EMA, and dynamic signal icons (triangles and arrows) with RSI-driven transparency create a high-tech, immersive experience.
RSI Dashboard: A compact, top-right display with a neon circle, RSI value, and adaptive status indicator (triangle/square) provides instant momentum insights without cluttering the chart.
Customizability: Users can fine-tune EMA length, RSI parameters, wick tolerance, and retracement requirements via TradingView’s settings, balancing signal frequency and precision.
Integrated Approach: The synergy of Heikin Ashi’s trend clarity, EMA’s directional strength, and RSI’s momentum validation offers a cohesive strategy that reduces false signals.
Why This Combination?
The script combines Heikin Ashi, EMA, and RSI for a complementary effect:
Heikin Ashi smooths price fluctuations, making it ideal for identifying sustained trends and retracements, which are critical for the strategy’s signal logic.
EMA provides a reliable trend filter, ensuring signals align with the broader market direction. Its gradient color enhances visual trend recognition.
RSI adds momentum context, confirming that signals occur during favorable conditions (e.g., RSI > 50 for buys). The dashboard makes RSI intuitive, even for non-technical users.
Together, these components create a balanced system that captures trend reversals after retracements, validated by momentum, with a visually engaging interface that simplifies decision-making.
Tips
Best used on volatile assets (e.g., BTC/USD, EUR/USD) and higher timeframes (1H, 4H) for clearer trends.
Experiment with parameters in the settings to match your trading style (e.g., increase wick tolerance for more signals).
Combine with other analysis (e.g., support/resistance) for higher-confidence trades.
Note
This indicator is for informational purposes and does not guarantee profits. Always backtest and use proper risk management before trading.
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.
【KitkatTrading】聪明钱交易指标KitkatTrading - Smart Money Trading Indicator
* Built on the ICT Smart Money framework
* Tailored for stocks, crypto, and futures markets.
* Key features:
1 - automatic detection of fake breakouts
2 - automatic detection of change of structure
3 - automatic FVG plotting
Smart Money Trading opportunities made instantly clear!
Author: Kitkat
www.youtube.com
BU BE Combined Indicator with Momentum**Bullish Engulfing and Bearish Engulfing Indicator with Momentum**
🔍 **Description:**
This indicator detects Bullish Engulfing (BE) and Bearish Engulfing (BE) candlestick patterns of type 1 and type 2 with strong momentum confirmation. Only signals with high momentum are displayed.
🚀 **Key Features:**
* Identifies Bullish Engulfing type 1 and type 2, as well as Bearish Engulfing type 1 and type 2 patterns.
* Momentum confirmation: strong bullish candles are highlighted in blue, strong bearish candles in yellow.
* Prevents false signals by ensuring only valid momentum patterns are displayed.
✅ **Benefits:**
* Helps traders identify candlestick patterns with strong momentum.
* Enhances the accuracy of technical analysis.
🚨 **Note:**
This indicator is a technical analysis tool and does not guarantee profit. Use it in combination with other technical analysis methods.
💡 **Usage Tips:**
* Suitable for time frames M15 and above.
* Best used with price action strategies or your preferred entry method.
Enjoy more precise trading with the Bullish Engulfing and Bearish Engulfing Indicator with Momentum! 🚀
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.
Multi-Timeframe Engulfing Box, Malaysian SNRMulti-Timeframe Engulfing Box Indicator Documentation
Overview
The Multi-Timeframe Engulfing Box Indicator is a powerful tool for identifying and visualizing bullish and bearish engulfing patterns across multiple timeframes. It creates boxes that extend to the right, highlighting potential support and resistance zones created by these high-probability reversal patterns.
Key Features
Detects both bullish and bearish engulfing patterns
Supports analysis across three timeframes simultaneously (current chart timeframe plus two additional user-defined timeframes)
Displays visual boxes that extend to the right, making it easy to identify potential support and resistance areas
Option to mark failed engulfing patterns with dotted borders
Customizable box appearance with labels showing the timeframe
Configurable maximum number of displayed patterns per timeframe
Highlights bars with engulfing patterns using customizable colors
Input Parameters
General Settings
Label Position: Determines where the timeframe label appears within each box (Center, Top, Bottom, Top Left Corner, Top Right Corner, Bottom Left Corner, Bottom Right Corner)
Mark Failed Engulf: When enabled, the indicator will mark engulfing patterns that have failed by changing their border style to dotted
Current Timeframe Settings
Enable/Disable: Toggle detection of engulfing patterns on the current chart timeframe
Maximum Bull/Bear Patterns: Set how many bull and bear engulfing patterns to display on the current timeframe
Show Label: Option to display the timeframe label inside each box
Box Fill Style: Choose between "None" (transparent), "Solid", or "Semi-Transparent" box fills
Bull/Bear Colors: Customize the colors for bullish and bearish engulfing pattern boxes
Higher Timeframe Settings (TF1 and TF2)
For each of the two additional timeframes, you can configure:
Enable/Disable: Toggle detection of engulfing patterns on this timeframe
Timeframe Selection: Choose which higher timeframe to analyze (e.g., 4h, Daily)
Box Fill Style: Set the transparency of the boxes
Maximum Bull/Bear Patterns: Control how many patterns to display for this timeframe
Show Label: Option to display the timeframe label inside each box
Bull/Bear Colors: Customize the colors for the boxes
Trading Applications
The Multi-Timeframe Engulfing Box Indicator can be used to:
Identify potential reversal zones: Engulfing patterns often signal the end of a trend and the beginning of a reversal.
Spot multi-timeframe confluence: When engulfing patterns align across multiple timeframes, it increases the probability of a significant reversal.
Define support and resistance levels: The boxes extend to the right, creating visual support/resistance zones based on significant price action.
Filter false signals: By marking failed patterns, traders can avoid taking trades based on invalidated setups.
Enhance trade management: The boxes provide visual guidance for stop loss and take profit levels.
Best Practices
Focus on engulfing patterns that align across multiple timeframes for higher probability trades
Pay attention to the size of the engulfing candles - larger engulfing candles generally indicate stronger reversals
Use in conjunction with other indicators or price action analysis for confirmation
Consider the overall market context and trend when interpreting the signals
Filter signals by noting which patterns have failed (dotted border) vs. which remain valid
Higher Timeframe Candles (Dynamic Display)Key Features:
1. Higher Timeframe Candles Visualization:
Displays up to 5 candles from a user-selected higher timeframe (e.g., 15-minute, hourly).
Each candle includes:
Body (open-close range) and wicks (high-low range).
Customizable appearance settings for width, colors, and transparency.
2. Horizontal Price Levels:
Calculates and plots important levels based on the higher timeframe candles:
Max High: Highest price among the displayed candles.
Min Low: Lowest price among the displayed candles.
Midpoint: The midpoint between Max High and Min Low.
Quarter Points: 25% and 75% levels within the Max-Min range.
Each level's line appearance (color, width, style) can be customized, and price labels can be displayed.
3. Fair Value Gaps (FVG):
Detects bullish and bearish fair value gaps (FVGs) based on three consecutive candles:
Bullish FVG: Middle candle's low is higher than the previous candle's high.
Bearish FVG: Middle candle's high is lower than the previous candle's low.
Highlights FVGs with colored boxes and optional labels showing gap height.
4. Inside/Outside Bar Detection:
Identifies inside bars (current candle is entirely within the previous candle) and outside bars (current candle exceeds the previous candle's range).
Labels these patterns above the candles for easy identification.
5. Alerts for Key Levels:
Alerts are triggered when the current price crosses:
Max High
Min Low
Midpoint
Alerts help traders act without monitoring the chart constantly.
6. Customization Options:
Fully customizable input options for candles, levels, FVGs, and labels:
Appearance settings: Colors, widths, styles, transparency.
Toggle visibility for specific features (e.g., FVGs, labels, quarter points).
Label precision and positioning.
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.
AL Brooks - Price Action Multi-Signal Suite📘 Price Action Multi-Signal Suite📘
This indicator is a complete visual toolset for traders who use price action principles inspired by Al Brooks-style analysis.
It combines multiple nuanced signals — like first/second entries, breakout failures, trend bias, higher-timeframe context, and dynamic trend channels — into one elegant, customizable interface.
It is built with clarity, flexibility, and actionable precision in mind.
🧠 Core Concepts Behind the Tool
1. Trend Bias with EMA (20 by default)
The indicator calculates a standard EMA (default: 20) to establish trend direction bias.
When price is above EMA, we consider the market to be in a bull trend, and vice versa.
The EMA line changes color dynamically — green (bull), red (bear), gray (neutral).
🟢 Example:
If price is forming higher highs and staying above EMA with strong bull bars, the bias is bullish. In this phase, you're looking for High 1 and High 2 (H1/H2) setups.
2. First and Second Entries (H1/H2 and L1/L2)
High 1 (H1): First pullback in a bull trend after a minor new high.
High 2 (H2): A second attempt to push up after a failed H1.
Low 1 (L1) and Low 2 (L2): Mirror the above logic for bear trends.
📈 Example Trade – H2 Long:
Price breaks out above EMA.
Pulls back and forms an H1, but it fails to break out.
Second push (H2) forms a higher low, then closes strong above previous bar → BUY entry.
📉 Example Trade – L2 Short:
Market is below EMA.
A rally creates L1, fails.
L2 forms and closes below the previous bar low with a bear body → SELL entry.
3. Second Entry Logic (Simplified Swing Count)
This adds context to H2/L2 by ensuring at least two swings occurred in the same direction.
Reduces false signals in choppy markets.
Painted as colored circles (aqua = long, fuchsia = short).
4. Breakout Failure Detection
Detects false breakouts using 10-bar highs/lows:
Failed High Breakout: Price breaks a 10-bar high but closes back inside → potential reversal short.
Failed Low Breakout: Price breaks a 10-bar low but closes back inside → potential long.
🚨 Example:
Price breaks above a recent high but closes below it with a strong bear bar → look for reversal or fade setups.
5. Inside / Outside Bars
Helps recognize compression (inside bars) or volatility expansions (outside bars).
Inside bars often precede breakouts.
Outside bars may signal traps or indecision.
Use these in combination with entry logic. An H2 after an inside bar can signal a strong, clean breakout.
6. Higher Timeframe (HTF) Context
Pulls EMA and trend bias from a higher timeframe (default: 1hr).
Background color indicates HTF bias (adjustable opacity).
Green = HTF uptrend.
Red = HTF downtrend.
🧭 Usage: Trade in the direction of the HTF bias when possible. An H2 with HTF bias bullish adds confluence.
7. Trend Channels (Automatic, Visual)
Dynamically draws trend channel lines based on pivot highs/lows.
These act as support/resistance, visual guides for traps or continuation.
Trendline breakouts or touches often align with H2/L2 setups.
📏 Example:
Price touches lower channel and forms a second entry long (L2) with a strong bull bar → high-quality reversal trade.
⚙️ Customization Options
Toggle each signal component (entries, bias, bars, failures, channels).
Adjust EMA length, HTF resolution, background opacity.
Keep your chart clean and focused on the signals that matter to you.
📊 Trade Example Summary
H2 with HTF Bullish
Trade Setup: Strong bull bar after a failed H1, above EMA
Expected Move: Trend continuation upward
L2 with Channel Hit
Trade Setup: Pullback hits lower trend channel, forms L2
Expected Move: Reversal or scalp down
Failed High Breakout
Trade Setup: Price breaks above a 10-bar high, but reverses and closes inside
Expected Move: Quick fade or reversal short
Inside Bar + H2
Trade Setup: Price compresses into an inside bar, followed by a breakout with H2
Expected Move: Momentum breakout trade
Outside Bar + L2
Trade Setup: Price breaks strongly in one direction (outside bar), second push fails upward, forms L2
Expected Move: Short on weakness
Please note, this is an educational idea and representation of whatever I understood of it.
Historical performances may not be replicable in present/future.
Trade at your own responsibility.
Regards! ^^
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!
MAN | Gold Sniper Pro – 5Min Reversal EngineThis advanced scalping indicator is designed for high-precision entries and exits on the 5-minute timeframe, combining price action, volume analytics, and momentum filtering.
🔍 Core Features:
Price Action Engine: Detects powerful bullish and bearish engulfing patterns, enhanced with ATR-based body size filters to avoid weak signals.
Dynamic Support/Resistance Zones: Automatically tracks recent high/low zones to confirm trade validity and prevent chasing trades.
Smart RSI Filter: Filters trades based on momentum to avoid buying overbought or selling oversold conditions.
Volume Spike + OBV Filter: Confirms entries with strong volume spikes and OBV (On-Balance Volume) alignment, improving signal quality.
Time-based Session Filter: Optional filter to restrict signals to high-liquidity market hours (configurable).
Auto TP/SL Levels: Calculates Take Profit and Stop Loss dynamically using ATR multipliers, with customizable multipliers per timeframe.
Clear Entry Labels + Optional TP/SL Lines: Visual labels for each signal, with the option to show SL/TP as horizontal lines for precision monitoring.
Real-time Alerts: Set alerts for BUY and SELL conditions — stay informed and trade instantly.
📈 Recommended Usage:
Optimized for Gold (XAUUSD) on the 5-minute chart, but configurable for any fast-moving asset.
Ideal for scalpers and intraday traders seeking high-quality, low-latency entries with built-in protection mechanisms.
Works well in trending or range-bound conditions, thanks to volume and price action synergy.
⚙️ Customizable Parameters:
RSI length & thresholds
ATR-based SL/TP multipliers
Volume spike threshold
Session window
TP/SL visibility toggle
🟢 Built by traders, for traders.
Sharpen your edge with this smart, visual, and momentum-aware scalping tool.
Price Action Three Soldiers Strategy Buy&Sell TP&SLStrategy Overview:
This indicator detects a "Three White Soldiers" bullish pattern to suggest potential buy opportunities. It uses dynamic Stop Loss (SL) and Take Profit (TP) management, based on either market volatility (ATR) or liquidity zones.
This tool is intended for educational and informational purposes only.
📈 Key Features:
Entry: Based on detecting Three White Soldiers candle pattern.
Exit: Targets are managed through ATR multiples or previous liquidity levels (swing highs).
Smart Liquidity: Optionally identify deeper liquidity targets.
Full Alerts: Buy and Sell signals supported with customizable alerts.
Visualized Trades: Entry, SL, and TP levels are plotted on the chart.
⚙️ User Inputs:
ATR Length, ATR Multipliers
Take Profit Mode (Liquidity/ATR)
Swing Lookback and Strength
Toggleable Buy/Sell alerts
📖 How to Use:
Add the Indicator:
Apply the script to your chart from the TradingView indicators panel.
Look for Buy Signals:
A buy signal is triggered when the script detects a "Three White Soldiers" bullish pattern.
Entry, Stop Loss, and Take Profit levels are plotted automatically.
Choose Take Profit Mode:
ATR Mode: TP is based on a volatility target.
Liquidity Mode: TP is based on past swing highs.
Set Alerts (Optional):
Enable Buy/Sell alerts in the settings to receive real-time notifications.
Practice First:
Always backtest and paper trade before live use.
📜 Disclaimer:
This script does not offer financial advice.
No guarantees of profit or performance are made.
Use in demo accounts or backtesting first.
Always practice proper risk management and seek advice from licensed professionals if needed.
✅ Script Compliance:
This script is designed in full accordance with TradingView’s House Rules for educational tools.
No financial advice is provided, no performance is guaranteed, and users are encouraged to backtest thoroughly.
Stormer setupHere's a trading setup with reversal candle coloring and simple market structure analysis:
Based on the experienced trader Stormer (Alexandre Wolwacz), to be used with combined price action.
Key improvements added:
1. **Smart Reversal Candles**:
- Detects hammer/shooting star patterns and engulfing candles
- Colors candles based on confluence with market structure
- Teal for bullish reversals, Maroon for bearish reversals
2. **Dynamic Confluence System**:
- Uses MA trend direction to determine if SR levels should be prioritized
- Adjustable sensitivity threshold for SR proximity
- Combines price action with stochastic position
3. **Enhanced Market Structure**:
- Improved trend detection using ROC instead of slope
- Adaptive logic that uses SR levels when MA is flat
4. **Advanced Visualization**:
- Semi-transparent candle coloring preserves original colors
- Dotted SR lines with automatic cleanup
- Clear triangle markers for entries
5. **Efficiency Improvements**:
- Limited historical SR storage for better performance
- Automatic line management to prevent chart clutter
To use this enhanced version:
1. Bullish reversal candles appear teal when:
- Hammer/engulfing pattern forms
- Near support (if MA flat) or stochastic oversold
- Price above MA
2. Bearish reversal candles appear maroon when:
- Shooting star/engulfing pattern forms
- Near resistance (if MA flat) or stochastic overbought
- Price below MA
3. Signals combine all elements (MA position, stochastic, SR levels, and candle patterns) for higher probability trades
Fractal Time GridOverview
The Fractal Time Grid is a Pine-Script v5 TradingView indicator designed to automate session-based entries, stops, and targets. It overlays on your chart, shading trading “quarters” of any chosen timezone, highlighting bullish or bearish bias zones, and marking up to N entries per quarter with on-chart signals. Optional SL/TP rays and built-in alerts make it a one-stop tool for disciplined session trading.
1. User Inputs
All inputs appear in the indicator’s Settings panel:
Category Input Description
Trend & History Trend Source („Auto“, Bull, Bear) Auto-detects daily bias or forces Bull/Bear
History (days) (≥1) How far back (in days) to keep session shading active
Session Limits Max Entries per 6H Quarter (1–10) Caps how many signals you’ll get in each 6-hour window
Risk Management & Visuals Show Entry/SL/TP Rays (On/Off) Toggles horizontal lines and price labels
SL Method („Bar High/Low“ or „1.5× Candle“) How the stop-loss distance is calculated
Risk:Reward Ratio (e.g. 4.0) Multiplier applied to SL distance to plot TP
Ray Length (bars) (≥1) How far right SL/TP rays extend
Session Timing Timezone Offset (hours, –12 to +14) Shifts session shading to your local clock
Colors Bullish/Bearish Session BG opacity Semi-transparent fill for bias zones
Entry candle colors (Bull/Bear) Highlights actual entry bars
2. Bias Determination
Daily Close vs. Open
Fetches prior-day open/close via request.security(..., "D", …)
If close > open → bullish bias; close < open → bearish
Manual Override
“Bullish” or “Bearish” mode forces one direction
“Auto” follows daily bias
3. Time-Grid Logic
Timezone Handling
Converts UTC bar timestamps by your tzOffset input
Quarter Windows (6H each)
Q1: 23:00–05:00 local
Q2: 05:00–11:00
Q3: 11:00–17:00
Q4: 17:00–23:00
Session Shading
During Q1–Q3 (configurable days back), background colored to match bias
4. Entry Logic
Conditions:
Within an active quarter, bias must match candle direction (bullish candle in bullish quarter, etc.)
Entry count for the quarter must be below your maximum
Counters:
Automatically resets on quarter switch
Tracks how many entries you’ve taken, preventing over-trading
5. Visual Signals
Bar Coloring: Flags entry bars green/red
Shape Markers:
BUY label below bar for long entries
SELL label above bar for shorts
6. Optional SL/TP Rays
When “Show Entry/SL/TP Rays” is enabled:
Computes SL distance either from bar high/low or a multiple of candle size
TP = SL × R:R ratio
Draws three horizontal rays (entry, SL, TP) with end-of-ray price labels
7. Alerts
Pre-built alertcondition calls let you create TradingView alerts instantly:
Names: “BUY Alert” and “SELL Alert”
Messages:
arduino
Copy
Edit
BUY {{ticker}} at {{close}} – Q{{quarter}} – {{entryCount}}/{{maxEntriesQuarter}} entries
(same format for SELL)
8. Why Publish This?
Discipline Built-In: Caps over-trading per session
Timezone-Agnostic: Works equally for NY, London, Tokyo sessions
All-in-One: Bias, timing, entries, risk and alerts in one script
Fully Customizable: Colors, risk settings, time windows, and more