Injected Volume Footprint (IVF)Reading volume footprints to interpret buying and selling pressure involves examining the intensity and timing of buy/sell activity within each candle. Although this IVF indicator does not directly show the sequence of buying and selling events within a single candle (as a true footprint chart would), here’s how you can interpret the volume data presented by IVF to get insights on market pressure:
Step 1: Identifying Strong Pressure
Check Color Intensity:
Darker shades represent higher intensity for both buy and sell volumes.
Look for dark green shades for strong buying pressure and dark red or orange shades for strong selling pressure. This helps you quickly spot candles with a high level of activity on one or both sides.
Check Volume Stacking:
Since buy volumes are above the zero line and sell volumes are below, large differences between the two suggest dominance by one side.
If buy volume is significantly higher (e.g., tall green bar with a small red/yellow bar underneath), buying pressure is dominant. Conversely, if sell volume is larger (tall red/yellow bar with a small green bar above), selling pressure dominates.
Step 2: Interpreting Both Buy and Sell Activity
Simultaneous Pressure:
If you see strong green (buy) and red/yellow (sell) volumes within the same candle, it indicates that there was active trading on both sides during that period.
This scenario might suggest a battle between buyers and sellers—often seen near critical support or resistance levels where both sides are actively defending their positions.
Balance vs. Imbalance:
Balanced Pressure: When buy and sell volumes are similar in size, it indicates a period of indecision or a potential consolidation. This usually happens when neither buyers nor sellers have a clear upper hand.
Imbalanced Pressure: If one side has a much larger volume than the other, it shows a clear dominance. For instance, if green buy volume dominates, it means buyers were willing to absorb sell orders aggressively, suggesting a possible uptrend.
Step 3: Estimating Sequence (Hypothetical)
Although IVF doesn’t provide a direct sequence, you can make educated guesses based on context:
Price Action Context:
If the candle opens and initially moves down but then closes higher (bullish candle), it might indicate that selling pressure came first and buying pressure followed, pushing the price up.
Conversely, if the candle opens and moves up first but closes lower (bearish candle), buying might have started first but was overtaken by selling pressure.
Volume Reaction to Price Levels:
At support levels, if you see strong buy volumes with some sell volumes, it might mean initial selling pressure was absorbed by buyers defending the level.
At resistance levels, if sell volume increases with some buy activity, it may indicate initial buying was met by aggressive selling, potentially reversing the price.
Trend Context:
In an uptrend, strong sell volume within an otherwise bullish candle may indicate profit-taking or the start of a pullback, as sellers try to cap further gains.
In a downtrend, strong buy volume in a bearish candle may indicate potential accumulation or buyers attempting to slow the decline, signaling a possible reversal if the trend weakens.
Conclusion
The IVF indicator doesn’t provide the exact sequence of events within each candle like true footprint data would, but by analyzing the intensity, balance, and context within the price action, you can get a reasonable sense of which side was more aggressive and how both buying and selling pressures interacted.
Cari dalam skrip untuk "imbalance"
Pipnotic Supply and DemandDescription
The Pipnotic Supply and Demand Indicator was originally developed in 2011 for another trading platform and is currently being rewritten for TradingView due to user demand. It is a powerful tool designed for traders who utilize supply and demand concepts in technical analysis. This script automatically detects and highlights key supply and demand zones (as well as buy and sell zones) on the chart, enabling traders to identify potential reversal points, trend continuations, and price imbalances. We will continue to actively develop this indicator for existing and this new version for TradingView.
How It Works
The indicator follows a structured methodology to analyse price action and identify high-probability supply and demand zones:
Zone Identification:
Detects accumulation and distribution phases using volatility and range conditions.
Identifies zones where price imbalances occur, signalling potential trading opportunities.
Expansion and Confirmation:
Assesses whether the price expands away from a zone significantly enough to validate it as a supply or demand zone.
Uses a risk-to-reward ratio to ensure zones meet predefined trading criteria, adjustable via the configuration.
Visualization and Management:
Plots supply (bearish) and demand (bullish) zones directly on the chart.
Labels the percentage of expansion from the zone, giving traders insights into the strength of the imbalance.
Updates zones dynamically, marking tested and consumed levels and preventing outdated information from cluttering the chart.
Key Features & Inputs
Customizable Zone Display: Traders can adjust the maximum number of supply and demand zones shown on the chart.
Dynamic Volatility Sampling: Uses the ATR (Average True Range) to adapt to changing market conditions.
Flexible Risk Management: Allows traders to define a minimum zone size and a risk-to-reward ratio for filtering zones.
Enhanced Visualization:
Adjustable colours for bullish and bearish zones.
Configurable border width for zone clarity.
Optional display of consumed zones to avoid redundant signals, but to also identify price sensitive zones on the flip side of the book when zones are consumed.
Swing Significance Detection: Enables boxing of significant price swings to refine the accuracy of identified zones.
Benefits of Using the Pipnotic Supply and Demand Indicator
Automates Supply and Demand Analysis: Eliminates the need for manual zone drawing, saving time and reducing subjectivity.
Enhances Trade Decision-Making: By providing precise entry and exit points based on supply and demand principles, traders can optimize their strategies.
Adapts to Market Conditions: The indicator dynamically adjusts to price movements, ensuring relevant zones are displayed.
Works Across All Timeframes: Suitable for scalping, swing trading, and long-term investing.
Compatible with Multiple Trading Strategies: Can be used alongside trend-following, breakout, and reversal strategies for improved trade confirmation.
Magic VIBs V1Introducing the "Magic Vib Indicator" V1 Adeed more extention so it works better on higher time frames, Plus a colour changer so now you can pick a colour for bullish and bearish
a powerful tool designed to identify and highlight unique market scenarios known as "magic volume imbalances." This indicator is specifically crafted to recognize specific candlestick patterns that have demonstrated a significant impact on price movements.
The Magic Vib Indicator is meticulously engineered to detect a particular pattern, which occurs when the high of the first candle aligns perfectly with the open of the subsequent candle, while simultaneously witnessing the close of the first candle matching the low of the second candle. These precise conditions generate what is commonly referred to as a "magic vib."
This indicator has been developed with the sole purpose of capturing these magical moments in the market. By systematically scanning and analyzing price data, it spots instances where these extraordinary price imbalances occur. Once identified, the indicator promptly marks these candles on your trading platform, providing clear visual cues for enhanced decision-making.
The Magic Vib Indicator acts as a catalyst for traders and investors, as it has proven to be a reliable precursor to significant price reactions. These marked candles act as potent signals, suggesting an impending shift in market sentiment and a high probability of substantial price movement. The resulting price action often sees significant volatility, making it an enticing opportunity for those seeking substantial gains.
However, it's important to note that while the Magic Vib Indicator offers valuable guidance, it should not be the sole basis for trading decisions. It is crucial to incorporate other technical and fundamental analysis tools, risk management strategies, and market awareness to achieve consistent success.
In summary, the Magic Vib Indicator represents a breakthrough in technical analysis, specifically tailored to identify and mark candles exhibiting the remarkable characteristics of a "magic volume imbalance." By harnessing the power of this indicator, traders can anticipate substantial price reactions, allowing them to seize opportunities and maximize their trading outcomes.
Timeframe Titans: Market Structure & MTF Order Blocks🟩 OVERVIEW
A combined market structure and order block indicator. Displays fractals, zigzags, Break Of Structure and Change Of Character lines. Shows order blocks on the chart and a higher timeframe.
Unique features include:
• The structure rules require counter fractals for BOS. This enables us to use more responsive fractal settings without creating excessive noise.
• Structure is strict. After the initial CHoCH there is always one and only one active CHoCH line.
• Order blocks can be filtered by market structure.
• Order blocks are based entirely on candle patterns (which appear to be unique among all the indicators we tested) instead of using pivots or other configurable calculations.
• Order blocks have separate mitigation levels, not merely the edge of the block, and being partially mitigated is a separate logical state.
🟩 WHAT IS MARKET STRUCTURE?
There are many ways to conceptualise and code market structure — the prevailing trend derived from important price levels. All of them start with identifying highs and lows in price, then use breaks of those levels to assign a trend.
This indicator displays the following market structure features:
• Williams Fractals to derive high and low pivots.
• Zigzag lines, which connect highs and lows.
• Break of Structure (BOS) lines, which are formed from the highest high in an *uptrend* or the lowest low in a *downtrend*. A break of a BOS line signals trend continuation.
• Change of Character (CHoCH) lines, which are formed from the highest high in a *downtrend* or the lowest low in an *uptrend*. A break of a CHoCH line signals trend reversal.
• Market structure bias, which is derived from the break of a CHoCH line. If a CHoCH line is broken to the upside, the trend is bullish, and if to the downside, bearish.
(For more details of the market structure features of this indicator, see the FEATURES OF THIS INDICATOR section.)
This definition of market structure implies that:
• There can only ever be one single active BOS line.
• There can only ever be one single active CHoCH line.
• A break of a BOS line creates a new CHoCH line.
• A break of a CHoCH line creates a new bias, a new BOS line, and a new CHoCH line.
• Before we can create a BOS, we need to know the bias, for which we need the CHoCH, for which we need BOS... just one of the chicken-vs-egg difficulties of coding market structure.
To understand how this indicator differs from other market structure indicators, see the COMPARISON WITH OTHER INDICATORS section.
🟩 WHAT ARE ORDER BLOCKS?
Order blocks are candle patterns that appear at highs and lows. The theory is that these areas are where many orders were filled — too many for the order book, causing an imbalance in buyers and sellers. As such, these areas can form support or resistance levels when price returns to them.
This indicator displays the following features related to order blocks:
• Imbalances, also called Fair Value Gaps.
• Order blocks of two different types (Imbalance Block and Standard Order Blocks)
(For more details of the order block features of this indicator, see the FEATURES OF THIS INDICATOR section.)
There are different patterns that can define order blocks, but the common element is that price should move vigorously away from the area after the pattern forms.
To understand how this indicator differs from other order block indicators, see the COMPARISON WITH OTHER INDICATORS section.
🟩 FEATURES OF THIS INDICATOR
Pivots
Shows Williams high and low fractals, with a configurable lookback. The pivots are always calculated, since they are the building block of all other market structure features. The pivot shape display can be turned on or off, and the display customised.
Zigzag
Draws lines between the highs and lows. The lines can be shown or hidden, and the colour and thickness configured.
Break of Structure
BOS lines are always calculated, but can be shown or hidden. The appearance can be customised. BOS lines are drawn from the candle that has the high or low that defines their level. They always extend until they are broken or the bias changes. The BOS lines have an optional, configurable label. When a BOS line is broken, an optional, configurable label is drawn on that bar.
Change of Character
CHoCH lines can be shown, hidden, and customised. CHoCH lines always extend until they are broken or a new CHoCH line is formed. CHoCH lines have optional labels. A different, customisable label is drawn when a CHoCH line is broken.
Market structure bias
Market structure bias is derived from the break of a CHoCH line. If a CHoCH line is broken to the upside, the trend is bullish, and if to the downside, bearish. The background is shaded a configurable colour based on the trend.
Imbalances
Imbalances are drawn in configurable colours. When they are mitigated, you can choose to change the colour, delete them, or leave them.
Order blocks
Two types of imbalance order blocks are displayed: Standard Order Blocks and Imbalance Blocks. They can be shown or hidden, and customised, independently.
Each order block has a mitigation line with configurable colours and style. If price exceeds the mitigation line, the order block is mitigated and is considered inactive.
The order blocks, or their labels, can be deleted when the order block is mitigated. If not deleted, their colour is changed and they no longer extend with each new bar.
Order blocks on the chart timeframe can be shown conditionally within the context of the market structure: you can choose to show:
• Pro-trend order blocks (bearish order blocks that were created in bearish market structure and vice-versa).
• Counter-trend order blocks (bearish order blocks that were created in bullish market structure and vice-versa).
• All order blocks.
Higher timeframe
Imbalances and order blocks can be independently shown and customised on a single higher timeframe. The HTF functions of this indicator do not repaint because they use confirmed data.
You can choose a custom, fixed higher timeframe, or an "Auto" mode where the script automatically chooses the higher timeframe based on the chart timeframe.
Script information messages
An optional table shows information about the script, including configuration problems, such as if a custom HTF is not actually higher than the chart timeframe.
🟩 HOW TO USE
There are very many ways to use market structure and order blocks in trading and we recommend you study extensively, and if possible get a trusted mentor.
Here is a random example we found on the recent GBPUSD chart. In the screenshot below, the left chart is at 30m and the right is at 5m. We've toggled various settings to make the chart clearer for demonstration purposes.
1 — We get a CHoCH break on the higher timeframe. So our bias (if we are trying to trade with the trend) is bearish. Now we look for some other confluence.
2 — Price revisits the top of the range and mitigates an imbalance block. It wicks the CHoCH (resetting it) but does not break it on close. The bearish market structure is thus preserved. For these reasons, we're thinking about a short, and we switch to the 5m chart on the right to find an entry. We've chosen a Custom HTF of 30m to match the left chart and we can see the mitigated HTF order block, marked "30m IB". We can see when price moves definitively out of the order block area to the downside.
3 — A bearish order block is formed and very quickly price comes back into it. We could enter a short here with a stop above the closest relevant fractal.
4 — Another bearish order block forms and price retests it. Another entry. Two previous 5m bullish order blocks at the bottom of the chart act as support. We could potentially close our short here.
5 — Another test of the same block, which was not mitigated the first time. Another potential short entry. As it happens, price makes a massive run lower here, such that we could trail our stop down one ATR above every single high fractal (marked out using manual rays and a public ATR indicator) for a good R:R, but that's not the point.
This is a made-up, retrofitted example with a fairly generic methodology. It's just to show how some of the features of this indicator could be used in trading:
• Market structure can give a bias. It can also mark interesting levels.
• Using multiple timeframes, while more complex, can level up your trading experience.
• Price trading back into order blocks can be a good R:R entry.
Your actual way of trading, your playbook of setups, your knowledge of your strengths and weakness as a trader, is your own.
🟩 LIMITATIONS
This indicator is intended for use on Forex markets, although order blocks and market structure do form on any reasonably liquid asset.
The HTF uses confirmed data, so you need to wait until the HTF bar is closed before the order block can form. Therefore it does not repaint, in the sense that people worry about repainting, of changing data in the past. We use the latest recommended method of fetching HTF data .
The market structure uses live chart data, so structure and order blocks that are created by conditions on an open realtime bar can appear and disappear as the current bar close changes. This is quite normal .
The Williams pivots are by definition only confirmed after a defined number of bars, and like everyone else we plot them offset into the past.
Similarly, we offset order blocks into the past so that they start on the candle that has the high or low that defines the order block, not the candle that created them. For HTF order blocks, we calculate the number of chart bars back assuming a 24-hour market, which gives accurate offsets only on Forex and other symbols that trade close to 24 hours each day.
🟩 COMPARISON WITH OTHER INDICATORS
There are a great number of market structure and order block indicators already published on TradingView. Since there are only a certain number of highs and lows on the chart from which to produce structure and order blocks, they all look somewhat similar. However, this indicator, written entirely from scratch without reference to the code of any other indicators, is unique and original in two kinds of ways: in patterns and in features.
PRECISE PATTERNS
We believe that edge in trading can be found in, amongst other things, precision in analysis. You can't truly trust your backtests if your system is not repeatable, and your system is repeatable only if its definitions are precise.
We trade with this indicator, and our students trade with it as well. Why did we spend months creating a new indicator instead of using one of the many existing ones, most of which are free and open source?
Because they are not quite how we wanted.
The indicator was created from our proprietary structure rules, which are based on the generally accepted understanding of market structure, with some specific tweaks.
To prepare this description (after the indicator is finished), we searched for "Market Structure", "CHoCH", and "SMC" and list below all popular (with over 3K boosts; excluding invite-only) indicators that show market structure with CHoCH (sometimes called MSS). We configured the settings to most closely match how our indicator works, added both indicators to the same chart, and looked for relevant differences.
The purpose of this section is not to try to say that this indicator is better than any other, but just that it is different. This difference is important for us and our students.
Indicator #1
As you can see, the indicator interpreted the first part of the chart as a downtrend, whereas ours interpreted it as an uptrend. The structure is completely different, because our Williams Fractal lookback is 2, and the minimum "Swing Points" value for Indicator #1 is 10. Although this indicator is deservedly popular, it isn't what we can use for the way we trade.
Indicator #2
Setting the "Zigzag Length" to 2 results in wildly different market structure, as shown below. For many fractals, this indicator does not place the zigzag at the highest high or lowest low, as ours does consistently. It does not highlight the trend in any way. It gives many Market Structure Breaks in a short period. Although it's again wildly popular, it doesn't match our way of encoding market structure.
Indicator #3
Again, setting the "Pivot lb" and "Pivot rb" inputs to 2 gives much too sensitive market structure. This is because this indicator does not require, as we do, a counter-fractal to form after a fractal in order to confirm a BOS. We believe that this rule gives less noisy structure while also being responsive. Most indicators attempt to compensate for this by having a much larger lookback period. While this does of course give fewer pivots and less noise, this is simply a different logic and gives different results. Note also that although this indicator correctly defines the first section of the chart as an uptrend, it does not draw a CHoCH line. As discussed above, our definition of market structure means that there should always be one and only one active CHoCH line, and we draw this at the earliest sensible opportunity.
Indicator #4
Again, the lack of any extra pivot confirmation logic means that this indicator creates different structure with the same lookback period. Also note the lack of initial CHoCH.
Indicator #5
The lowest lookback is 3, and so this indicator too gives very different structure.
Indicator #6
Of course, using a lookback of 2 gives different structure with this indicator too. For variety, here we show a lookback of 5, which is the lowest setting that returns significantly less noisy structure. You can see that the main CHoCH at the top of the chart is similar but not at the same place. Increasing the lookback does not ever result in a CHoCH at the same place, because the logic is simply different. When the lookback increases above 10, no CHoCH lines are drawn at the top at all.
Indicator #7
This indicator uses the highest/lowest price for the last 10 bars (fixed), along with some other bar conditions. You can see the resulting structure is quite different. Among other differences, it does not create a BOS at the top of the chart, even in an uptrend, and it does not create an opposing CHoCH when the existing CHoCH is broken.
Indicator #8
With "Custom" market structure and a length of 2, BOS and CHoCH lines are drawn by this indicator but in incongruous places.
Conclusion
Although we only illustrate the top few alternatives, we did check many, many others.
These market structure indicators may produce useful output, but their structure differs significantly from ours. We didn't even need to get into specific examples because the general approaches are so different. It is up to the user to decide which indicator, and which interpretation of market structure, best suits their needs.
ORDER BLOCKS
Continuing, we illustrate differences with the most popular order block indicators, trying to get them to match our order blocks. Note that some of these are also in the previous list as market structure indicators.
Order blocks are always formed at swings when price moves away with force, so they will be sort of the same across all the very many existing order block indicators. We are looking for precision and differentiation, as we did with market structure.
Indicator #1
This indicator does not have ability to display mitigated order blocks, only active ones. The order blocks do not match at all.
Indicator #2
With a period of 2, this indicator marks many of the same order blocks as ours. It doesn't extend the blocks, and doesn't mark them when mitigated. The logic for choosing the order block candle is also clearly different.
Indicator #3
Even with very sensitive settings, this indicator did not create as many order blocks as ours and they are quite different.
Indicator #4
Again you can see the logic for choosing candles and creating blocks is simply different. This indicator has inadequate protection against empty arrays, which causes runtime errors on charts with not much history (not a problem for Forex charts in general, but noticeable on the testing chart).
Indicator #5
We were unable to get the order blocks to extend with this indicator, although it should be possible. Anyway the blocks are wildly different.
Indicator #6
Even with the most sensitive settings, this indicator showed only one order block on our test chart.
Indicator #7
This indicator incorporates complex price action concepts. Nevertheless, the order blocks are very different indeed.
Indicator #8
This indicator forms quite different blocks to ours. It has several interesting settings including a choice of using the candle body or wick.
Indicator #9
We were not able to configure this indicator to produce the same order blocks as ours.
Indicator #10
On very sensitive settings, this indicator matches many of our order blocks, but at the same time many are different.
Conclusion
None of the indicators tested here (nor the many others we looked at previously) use the same logic as ours. The differences are so obvious that we don't have to call out individual blocks and analyse how they differ.
Fundamentally, other indicators seem to use variable precision for pivots in their order block detection calculations. Our order blocks are pure candle patterns with two different rulesets for Standard Order Blocks and Imbalance Order Blocks, and this logic does not change.
Note that our order blocks do not always automatically extend to the swing high or low, nor allow the user to choose the limit of the block, but use unique rules.
In summary, our indicator differs from other order block indicators in terms of fundamental detection logic, candle placement, boundary definition, mitigation levels, and logical states (see below).
UNIQUE COMBINATION OF FEATURES
In comparison to all other indicators we looked at, our indicator:
• Uses order blocks with three states: active, mitigated, and partially mitigated. Our mitigation lines for order blocks are rules-based. If price touches the mitigation line, the order block is considered fully mitigated. If price goes inside the order block but does not hit the mitigation line, it is only partially mitigated. These three states are visually distinguished.
• Has the most extensive visual customisation options of all those we looked at. We believe that being able to customise how you see indicator outputs is very important for reducing mental load while analysing and trading.
• Has a unique feature that combines market structure and order blocks, where the user can choose to show pro-trend order blocks (bullish blocks that are formed in bullish structure and vice-versa) or counter-trend blocks (bullish blocks that are formed in bearish structure and vice-versa).
• Approximates an initial trend bias very quickly, so we can start creatng BOS, CHoCH, etc.
• Requires a counter pivot to confirm a BOS line. This seemingly small logical step actually creates very different structure, as we saw in the comparison section.
• Uses a sophisticated array-based sorting mechanism to preserve the selected number of imbalances, use the rest of the TradingView box allowance for order blocks, and delete excess order block objects (not just drawings) in reverse historical order.
• Hides order block drawings if they are a configurable distance away from price. Magically redraws them if price moves closer.
• Includes an equivalent to the system "Calculated bars" setting for the high timeframe, to avoid unnecessary processing and improve performance.
🟩 CODING CONSIDERATIONS
This indicator consists of all original code written by @SimpleCryptoLife for Timeframe_Titans.
AI was used for the following purposes:
• Autocomplete
• Checking that bullish and bearish logic is parallel in a given function
• Querying the names and locations of variables hundreds of lines away when we forgot what they're called, like an expensive search-and-replace
• Help with debugging (it usually makes up elaborate and wrong ideas though)
It was not used to replace the coder's expertise and creativity, or to "vibe-code" some black-box functionality we didn't understand. We can recommend that you use AI the same way.
═════════════════════════════════════════════════════════════
FVG# Fair Value Gap (FVG) Indicator
## Overview
The Fair Value Gap (FVG) indicator is a technical analysis tool designed to identify potential areas of price imbalance in the market. These imbalances, known as "fair value gaps," represent discontinuities in price movement where supply and demand were significantly imbalanced, potentially creating zones that price may return to in the future. This indicator was developed by Michele Amori for TradingView and operates as an overlay on price charts.
## Core Concept
Fair Value Gaps occur when price makes a significant move in one direction, leaving behind an area where no trading occurred. Specifically:
- **Bullish FVG**: Forms when the low of the current candle is higher than the high of the candle two positions back, creating an upward gap in price movement.
- **Bearish FVG**: Forms when the high of the current candle is lower than the low of the candle two positions back, creating a downward gap in price movement.
These gaps represent potential "fair value" areas that price may revisit to establish equilibrium between buyers and sellers.
## Visual Representation
The indicator displays FVGs in the following manner:
1. **Bullish FVGs**:
- Represented by semi-transparent green boxes
- Extend from the high of the candle two positions back to the low of the current candle
- Include a dashed green center line representing the middle point of the gap
2. **Bearish FVGs**:
- Represented by semi-transparent red boxes
- Extend from the low of the candle two positions back to the high of the current candle
- Include a dashed red center line representing the middle point of the gap
All FVG boxes and their center lines are extended to the right of the chart, making them visible until they are filled or invalidated.
## Invalidation Logic
The indicator automatically removes FVGs when they are considered filled or invalidated:
- **Bullish FVGs**: Removed when the closing price falls below the bottom of the FVG box, indicating that the upward gap has been filled.
- **Bearish FVGs**: Removed when the closing price rises above the top of the FVG box, indicating that the downward gap has been filled.
This removal only occurs after a candle is confirmed (fully formed), ensuring that premature invalidation doesn't occur during candle formation.
## Technical Implementation
The indicator uses arrays to store and manage the FVG boxes and their center lines. Key features of the implementation include:
- Creation of new FVGs only after candle confirmation
- Dynamic addition and removal of visual elements
- Transparent coloring (75% transparency) for better chart visibility
- Dashed center lines with less transparency (25%) to highlight the middle point of gaps
Sweep Candle [odnac]
ATR Imbalance Detection
This feature highlights candles that have a significantly larger range compared to the average true range (ATR).
How it works: A candle is considered imbalanced if its range (high - low) exceeds a specified multiple of the ATR (default multiplier is 1.5, with an ATR length of 5).
Visualization: Such candles are highlighted in yellow.
Engulfing Candle Detection
This feature detects bullish and bearish engulfing candles.
Types
Standard: Traditional engulfing pattern where the current candle fully "engulfs" the previous one.
Sweep: A variation where the candle engulfs the previous one and sweeps the previous low (for bullish) or high (for bearish).
Visualization:
Bullish engulfing patterns are marked with a green triangle below the candle.
Bearish engulfing patterns are marked with a red triangle above the candle.
Momentum Candle Detection
This feature identifies candles with strong upward or downward momentum compared to the previous candle.
Types
Standard: A basic momentum pattern where the current candle continues the price direction with strong momentum.
Sweep: A variation where the candle sweeps the previous low (for bullish) or high (for bearish).
Visualization:
Bullish momentum candles are marked with a green circle below the candle.
Bearish momentum candles are marked with a red circle above the candle.
Summary
This indicator helps traders identify significant market conditions such as imbalances, engulfing candles, and momentum patterns, making it a valuable tool for technical analysis and trend-following strategies.
The customizable settings provide flexibility to adapt the tool to different trading styles.
Fair Value Gap [UkutaLabs]█ OVERVIEW
Fair Value Gaps are price jumps caused by the imbalance buying and selling pressures in trading and are most commonly used amongst price action traders. Fair Value Gaps are formed via a three-candle sequence in which a large candle’s neighbouring candles’ upper and lower wicks do not fully overlap the large candle.
The Fair Value Gaps Indicator also supports Multi Time Frame Plotting, allowing you to plot the Fair Value Gaps from higher time frames onto lower time frame charts.
The Fair Value Gaps Indicator is a powerful trading toolkit that provides users with more information than they would typically have available to them by allowing them to configure several charts worth of information onto one single chart.
█ USAGE
The script automatically identifies imbalances between buying and selling pressure in the market in real time, offering traders valuable insight into current market sentiment. These gaps are considered to be levels where the supply and demand of a commodity are imbalanced, and the price tends to return to fill these gaps (But are not guaranteed to).
The Fair Value Gaps Indicator also allows gaps from higher time frames to be drawn on lower time frame charts, providing traders with more information than they would typically have access to to further simplify the decision making process.
█ SETTINGS
Configuration
• Show Labels: Determines whether labels that identify which time frame a FVG is calculated from.
• Max FVG Display: Determines the limit to the number of FVGs that can be drawn from all time frames. Set this value to 0 to remove this limit.
Current Time Frame
• Display: Determines whether or not FVGs from the current time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the current time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the current time frame.
5 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 5 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 5 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 5 minute time frame.
15 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 15 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 15 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 15 minute time frame.
30 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 30 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 30 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 30 minute time frame.
60 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 60 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 60 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 60 minute time frame.
240 Minute (Higher Time Frame)
• Display: Determines whether or not FVGs from the 240 minute time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the 240 minute time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the 240 minute time frame.
Daily (Higher Time Frame)
• Display: Determines whether or not FVGs from the daily time frame will be drawn on the chart.
• Bullish Color: Determines the color of Bullish FVGs calculated from the daily time frame.
• Bearish Color: Determines the color of Bearish FVGs calculated from the daily time frame.
Session Sweeps [LuxAlgo]The Session Sweeps indicator combines ICT-based features for a complete trading methodology involving market sessions, market structure, and fair value gaps to find optimal entry conditions for trading price action.
Traders frequently tend to place stop/limit orders at the high and low points of major trading sessions such as Asian (Tokyo), European (London), and North American (New York), resulting in the establishment of liquidity pools at those particular levels. The Session Sweeps indicator is crafted to recognize and underscore occurrences of session sweeps or liquidity sweeps during these major trading sessions.
🔶 USAGE
Default settings utilize major forex trading sessions, yet users can select their preferred opening and closing times, rename the sessions, or adjust the colors. It's important to note that the specified times for each session align with the respective local timezones: Asian (Tokyo) UTC+9, European (London) UTC, and North American (New York) UTC-5.
If the price briefly crosses either the highest or lowest point of a market session. These movements, aiming at triggering stop losses, suggest potential shifts in the market direction. Detecting such movements is the fundamental purpose and core functionality of the script.
🔹Market Structure Shifts
A Market Structure Shift refers to a change in market direction, either from an uptrend to a downtrend or vice versa. A part of a common entry model when using session sweeps is waiting for the formation of a CHoCH after a session sweep.
🔹Fair Value Gaps
A Fair Value Gap (FVG) holds particular appeal for price action traders, emerging when there are inefficiencies or imbalances in the market, often a result of uneven buying and selling activity. The underlying concept of FVGs is that the market tends to revisit these inefficiencies before resuming its trajectory in alignment with the initial impulsive move.
After the formation of a CHoCH traders can enter a position when the price enters the area of a Fair Value Gap (FVG).
🔹Setup Examples
This entry setup is commonly used by ICT traders and is shared for informational & educational purposes only.
Long Positions (5-Minute Timeframe):
Wait for the previous session's low to be swept.
Look for a Bullish Choch.
Find a Bullish FVG formed by or before the Choch.
Entry Point: At the FVG.
Take Profit (TP): At the session high or aim for a 1:2 Risk-Reward Ratio.
Stop Loss (SL): At the session low or nearest Swing Low.
Take partial profits at intermediate swings, but don’t shift SL prematurely.
Short Positions (5-Minute Timeframe):
Wait for the previous session's high to be swept.
Look for a Bearish Choch.
Find a FVG formed by or before the Choch.
Entry Point: At the FVG.
Take Profit (TP): At the previous session's low or aim for a 1:2 RR.
Stop Loss (SL): At the session high or nearest Swing High.
Take partial profits at intermediate swings, but don’t shift SL prematurely.
🔶 SETTINGS
🔹Session Sweeps
Buyside Sweep Zones, Color, and Margin: toggles the visibility of bullside sweep zones, customizes the associated color, and sets the margin value defining the range of a bullside sweep zone.
Sellside Sweep Zones, Color, and Margin: toggles the visibility of sell-side sweep zones, customizes the associated color, and sets the margin value defining the range of a sell-side sweep zone.
Sweep Margin Length: specifies the maximum allowed length of a sweep zone invalidation, the length over which the price slightly invalidated the margin range.
Detect Sweeps Once per Session: if enabled will detect only once a sweep zone within a session.
Hide Fake Sweep Zones, and Color: controls the visibility and color of the fake sweep zones.
🔹Sessions
Session (Asia, London, New York AM, and New York PM), Start Time, and End Time: enables or disables the visibility of the named market session range, and customization of the session hours.
Color: color customization option of the named session.
Extend Max/Min: extends the highest and lowest price levels of the named session until the end of the next enabled session. This option is recommended to be enabled when sweep zone detection is activated to observe the relationship between the sweep zone and previous session extreme levels.
Extend Mid: extends the mean price levels of the named session until the end of the next enabled session. The extended line may serve as potential support and resistance levels.
Fill: enables/disables background coloring of the named session.
New York DST | London DST: enabling this option initiates Daylight Saving Time (DST) for New York or London. Note: Daylight Saving Time is not applied to the Asian (Tokyo) session.
Sessions Extreme Lines | Sessions Names: toggles the visibility of the highest and lowest price levels, as well as the names, for all market sessions.
Session Lines Width: sets the width of the lines for all sessions.
Session Fill Transparency: sets the background color transparency of the range for all sessions.
🔹Market Structure Shifts
Market Structure Shifts: toggles the visibility of market structure shifts, also known as change of character (CHoCH).
Detection Length: specifies the detection length.
Market Structure Shifts; Bull & Bear: color customization options.
🔹Fair Value Gaps
Fair Value Gaps: toggles the visibility of the fair value gaps.
Fair Value Gap Width Filter: specifies the filtering multiplier; additional details can be found in the tooltip of the respective input option.
Bullish & Bearish Imbalance: color customization options.
🔹Sessions Tabular View
Sessions Tabular View: toggles the visibility of the tabular view of the sessions, displaying date &time, status, and countdown counter.
Hide if not Forex Market Instrument: checks the market and automatically enables/disables the option based on the market instrument.
Table Text Size & Position: size and placement customization options
🔶 LIMITATIONS
Please be aware that fair value gap filtering cannot be applied to the initial 144 candles (with a fixed-length ATR) as the ATR value necessary for filtering won't be available during this period.
🔶 RELATED SCRIPTS
Buyside-Sellside-Liquidity
Sessions
Liquidity-Voids-FVG
Thank you to our community for the recommendation of this script. To explore additional conceptual scripts and related content, we invite you to visit >>> LuxAlgo-Scripts .
Dynamic Candle Balance Indicator (Binary)
Dynamic Candle Balance Indicator
The Dynamic Candle Balance Indicator is a powerful tool designed to identify imbalances in candle colors on a chart, which can indicate potential reversals or changes in market direction. This indicator is specifically developed for traders operating on short timeframes, such as 1-minute candles, and is particularly useful for identifying opportunities in binary options.
How to Use:
Set Parameters
Initial Position: Specify the number of initial candles to be considered for calculation.
Count: Determine the total number of candles to be analyzed, including the initial position.
Interpret Results:
Green: Indicates the number of bullish candles (where the closing price is higher than the opening price).
Red: Indicates the number of bearish candles (where the closing price is lower than the opening price).
Absent: Indicates the number of candles that were not considered due to the selected interval.
Performance Analysis:
The indicator calculates the percentage of green and red candles relative to the total number of analyzed candles, providing insights into market balance or imbalance.
Identify Trading Opportunities:
Significant imbalances between candle colors can indicate potential reversals or changes in market direction.
Traders can use this information to make informed decisions about their trading strategies, such as identifying entry or exit points.
Example:
In the last 40 candles, there were 13 green candles and 27 red candles, indicating a higher likelihood of the next candle being green.
Usage Tips:
The indicator is most effective when used on a 1-minute timeframe for binary options trading, especially during periods of high imbalance.
Adjust the parameters according to your trading strategy and the timeframe being analyzed.
Combine the Dynamic Candle Balance Indicator with other technical analysis tools to confirm trading signals.
Legal Disclaimer:
This indicator is provided for educational and informational purposes only. It represents a theory and should be used as part of a comprehensive trading strategy. Past performance is not indicative of future results. Traders should always conduct their own analysis before making trading decisions.
Try out the Dynamic Candle Balance Indicator and leverage its functionalities to identify trading opportunities on short-term charts, especially in 1-minute timeframes for binary options trading during periods of high imbalance. Remember to test the indicator on a practice account before using it on a real account.
FVG MTF + 50%
// FVG MTF + 50%: A Multi-Timeframe Fair Value Gap Indicator
//
// Fair Value Gaps (FVGs) are core to the Inner Circle Trader (ICT) framework and mirror institutional order‐flow imbalances.
// In trading lore, an FVG is a rapid price swing that “leaves behind a gap” – a zone without trading – which is typically revisited later.
// In technical terms, a classic FVG spans three bars: the middle candle overshoots the prior swing without overlap (e.g. the 2nd candle’s high exceeds the 1st candle’s high in a bullish FVG).
// Such gaps represent transient liquidity vacuums. Bouchaud et al. (2011) model exactly this phenomenon: aggressive order flow creates a V-shaped supply/demand profile that “vanishes around the current price.”
// In other words, an FVG is a local imbalance where liquidity was exhausted and will tend to attract mean‐reverting orders as the market seeks equilibrium.
//
// In practice, ICT emphasizes the 50% retracement of an FVG as a high-probability entry level. This midpoint can be interpreted formally via market microstructure theory:
// Hasbrouck (2000) and others posit an underlying efficient price – a latent martingale value – around which observed prices fluctuate.
// The center of a recent gap heuristically proxies that latent fair value. Indeed, empirical models of order‐flow impact predict precisely this behavior:
// Bouchaud (2010) describes a “stimulated refill” mechanism, whereby a one‐sided price surge triggers an opposing flow of limit orders that pushes price back (a rising wall of liquidity).
// This liquidity‐induced mean‐reversion ensures that price often retraces to the gap midpoint as new limit orders fill the void.
// In essence, the 50% level embodies the short‐term equilibrium to which price gravitates after a liquidity shock.
//
// The FVG MTF + 50% indicator systematically implements these insights across multiple scales (M15, H1, H4).
// It identifies FVGs on each timeframe and continuously flags mitigation when price re‐enters a gap, effectively measuring market resiliency.
// A real‐time dashboard summarizes the total count of open FVGs and how many have been filled, quantifying latent imbalances much like institutional flow statistics.
// For example, a concentration of unfilled FVGs signals that many liquidity gaps remain, suggesting pent‐up supply/demand pressures. Conversely, a high fill rate indicates rapid liquidity absorption.
// By codifying ICT rules into quantitative outputs, this tool yields an empirical gauge of market stress and mean‐reversion potential.
//
// Overall, the script bridges ICT trading concepts with formal market microstructure.
// It treats FVG gaps as spontaneous liquidity voids and the 50% midpoint as a transient efficient price, consistent with Hasbrouck’s (2000) martingale view.
// As Bouchaud et al. note, markets operate with vanishing immediate liquidity and without instant equilibrium, explaining why price tends to return to the gap center.
// The dashboard and alerts translate these academic principles into actionable signals: by tracking gap creation and resolution, traders gain a systematic view of hidden order-flow dynamics.
// In summary, “FVG MTF + 50%” casts ICT’s smart‐money ideas in a rigorous framework (citing O’Hara, Hasbrouck, Bouchaud, Farmer, etc.), providing a scientific tool that enhances decision‐making with precise liquidity‐based metrics.
//
// References (illustrative):
// • Hasbrouck, J. (2000). The Economics of Microstructure: Latent Efficient Prices and Observed Quotes. wpa00047.pdf.
// • O’Hara, M. (1995). Market Microstructure Theory.
// • Bouchaud, J.-P., Farmer, J. D., & Lillo, F. (2011). How Markets Slowly Digest Changes in Supply and Demand. arXiv:1105.1694.
// • Bouchaud, J.-P. (2010). The Endogenous Dynamics of Markets: Price Impact and Feedback Loops. Farm\_CFM\_269-2010.pdf.
// • Huddleston, I. C. T. (ICT). Inner Circle Trader Lectures on Fair Value Gaps and 50% Midpoints.
//
// URLs for further reading:
// • (atas.net)
// • (fxopen.com)
// • (arxiv.org)
// • (w4.stern.nyu.edu)
// • (www.cfm.com)
//
// =============================================================================
//
// This indicator identifies Fair Value Gaps (FVGs) on M15, H1, and H4 timeframes, highlights them on the chart as colored boxes, draws the 50% median line,
// and displays price labels for the 0%, 50%, and 100% levels of each gap.
// It also tracks when gaps are “filled” (mitigated) and logs counts on a dashboard, providing real-time metrics on open/filled FVGs for liquidity analysis.
//
// Key Features:
// 1. Multi‐Timeframe Detection: Scans M15, H1, H4 for three‐bar FVG patterns using a configurable threshold.
// 2. Colored Zones and Median Lines: Draws bullish (green) and bearish (red) gap boxes, bordered in white, with a dashed white line at the midpoint.
// 3. Price Labels: Optionally annotates each gap with “0% FVG = \$X,” “50% FVG = \$Y,” and “100% FVG = \$Z” at the moment of detection.
// 4. Gap Mitigation: Monitors price re‐entry into a gap; when filled, it removes the box and logs a dashed line at the fill price.
// 5. Dashboard: Counts total bullish/bearish FVGs and calculates the percentage filled on each timeframe.
// 6. Alerts: Configurable alerts for new gap creation and fill events at 0%, 50%, and 100% levels.
//
// Implementation Details:
// • Detection Logic: A three-bar gap occurs when the middle bar’s low is above the prior bar’s high (bullish) or its high is below the prior bar’s low (bearish).
// A “threshold” parameter filters minor gaps based on relative size.
// • Data Structures: Uses Pine v6’s user‐defined “fvg” type to store gap high, low, direction, and timestamp. Arrays track open boxes, lines, labels for each timeframe.
// • Drawing:
// – box.new() draws transparent rectangles spanning 500 bars into the future.
// – line.new() draws dashed median lines and mitigation lines when gaps are filled.
// – label.new() places price annotations at the current right edge with textalign=text.align\_right.
// • Dashboard: table.new() creates a 3×3 panel showing “Bullish”/“Bearish” counts and “Mitigated” percentages in real time.
// • Alerts: alertcondition() triggers when new gaps form or are mitigated at specified percentages.
//
// Usage:
// • Add to chart: Apply the script; enable or disable timeframes via checkboxes (Enable FVG M15, H1, H4).
// • Configure text labels: Toggle “Text” to show or hide on‐chart price annotations.
// • Monitor dashboard: Observe counts and fill rates to gauge market liquidity pressure.
// • Set alerts: Enable alerts for specific levels (0%, 50%, 100%) and timeframes as needed.
//
// Potential Extensions:
// • Customizable lookback on fill monitoring (beyond “showLast” parameter).
// • Dynamic threshold based on ATR or volatility metrics instead of static percentage.
// • Integration with order‐flow or volume data to refine gap significance.
// • Expanded timeframes (D1, W, etc.) for higher‐timeframe liquidity profiling.
//
// =============================================================================
//
// © 2025. Licensed under CC BY‐NC‐SA 4.0 International.
// Feel free to reference academic works (Hasbrouck, Bouchaud, O’Hara) for theoretical context.
//
// End of Description.
Price Action SuiteThe TRN Price Action Suite incorporates a treasure trove of time and price action concepts. It includes a set of trading tools that, when combined, allow for a more accurate view of the market. This enables traders to find high probability entry points before the market moves to the next liquidation level.
Features of the TRN Price Action Suite:
(Inverse) Fair Value Gaps (FVG)
Order Blocks (OB)
FVG and OB with Cumulative Volume Delta
Volume Imbalances
Market Structure
Liquidity levels
Sessions
Kill zones/Opening Range
The indicator helps traders to easily identify favorable market conditions and high probability trade setups. It automatically finds time and price action concepts and displays them in an intuitive way on the chart. One of the highlights is the detection of Fair Value Gaps and Order Blocks in connection with Cumulative Volume Delta (approx.). You will not find this connection anywhere else.
Fair Value Gaps (FVGs)
A fair value gap occurs when there are inefficiencies in the market or imbalanced buying and selling pressures. Fair value gaps can become a magnet for the price before continuing in the same direction. Special attention should be paid to FVGs that are supported by support and resistance levels, as these offer a higher probability of success for trades. Additionally, the indicator plots inverse FVG (iFVG). These are FVG that are “closed” by a FVG in the other direction. IFVGs are a strong sign of the market to continue in the direction of the iFVG.
In addition to the FVGs you see on the chart, you can add also FVGs from a higher timeframe including the cumulative buy/sell volume. For this you can set “Timeframe 1” and “Timeframe 2” in the settings to your preferred timeframes. E.g. you trade on a 5-minute chart, and you want to see FVGs from 4 hours and a daily chart, then you set Timeframe 1 to 4 h and to Timeframe 2 to 1 D.
Order Blocks and Volume Imbalances can also be shown from higher timeframes.
Order Blocks (OBs)
Order blocks are areas on the chart where a high concentration of limit orders was found in the past. They can serve as potential support or resistance areas. These represent areas in the market where there is an oversupply (supply) or an excess demand (demand). They are often key zones for potential turning points or continuations of the current trend. A bullish OB, for example, is the last bearish candle before a significant uptrend.
FVGs and OBs with Cumulative Volume Delta
The TRN Price Action Suite can show FVGs and OBs with the corresponding Cumulative Volume Delta (CVD). It is a metric to analyze market dynamics by tracking the net difference between buying and selling volumes over a specific timeframe. It is used to determine the strength of the FVG/OB. The FVG/OB includes two bars on the left side, indicating the cumulative buy volume in green as well es the cumulative sell volume in red. At the right side of the FVG/OB box the ratio of the cumulative buy/sell volume is displayed. A high ratio over 1, for example 1.5, indicates a lot of buying pressure. On the hand, a ratio far below 1, for example 0.66, indicates a lot of selling pressure.
Volume Imbalances (VIBs)
Volume Imbalances indicate a price gap from the previous close, but unlike gaps, there is no absence of trading activity within a specific price range. Bullish VIs have opening and closing prices above the previous close, with overlap between the current low and previous high. Bearish VIs are vice versa.
Market Structure
The market structure represents the dominant trend in the market. It is based on swing highs and lows. For instance, if the price makes higher highs (HH) and higher lows (HL) the market structure represents an uptrend. Vice versa if price makes lower lows (LL) and lower highs (LH) the market trend is down.
If the market structure is up, traders can enter positions in a pullback. For this, a trader could use a FVG or an OB as an entry condition.
Market Structure Shift (MSS) (Change of Character (ChoCh))
A market structure shift occurs when the market transitions from one dominant trend to a different one, often signaling a potential change in the underlying market dynamics. A MSS signals the start of a new trend. It signals the change from an uptrend to a down trend and vice versa. Therefore, it is sometimes called change of character (ChoCh). A valid MSS should ideally occur in a strong supply or demand zone. This indicates that the market may be approaching a trend reversal or consolidation.
Break of Structure (BOS)
A break of structure happens when the market breaks out of its established trading range or pattern. The market continues its dominant trend, indicated by the last MSS.
In an uptrend, for example, each time the price breaks through a new high, a "bullish BOS" is formed. This indicates that the market can overcome previous resistance levels and continue to rise.
Levels
One core concept in trading is that price flows to areas of liquidity. Natural liquidity areas are the current day open, high, low (CDO, CDH, CDL) or the previous day high, low, close (PDH, PDL, PDC). The same is true for the current week (CWO, CWH, CWL) and the previous week (PWH, PWL, PWC).
Pay special attention in case some of these levels are close together. Then these levels serve like a magnet for the price. The TRN Price Action Suite indicator can cluster these levels fully automatically together to give the trader the flexibility to focus solely on the trading part.
Sessions
Sessions are the trading hours during which the banks are actively trading. The three main trading sessions:
Asia: Most of the volume from the Asian players are handled within this session.
London: This is where the European players are most active.
New York: In the New York session all the USA players are active as well as all the other American players. Furthermore, a lot of global players are active in this session as well.
Killzones
A kill zone in trading refers to a specific time period during the trading day when the market experiences increased volatility and liquidity. It is an opportunity for traders to capitalize on potential price movements and generate profits. There are several different killzones during the day.
There are three different types of killzones:
Indices/Futures: This one is suitable if you trade products like the ES, NQ, FDAX, CL or Stocks, Options.
Forex: If you trade Forex this setting will mark the most liquid periods of the day.
Opening Range: In case you trade the opening range of the sessions, use this setting.
Trading Example
Footprint liteFootprint Lite enables you to monitor volume distribution for the current ticker, offering resolutions as 1 second, segmented by specified price levels with visual representations. Additionally, you have the flexibility to customize the displayed Imbalance price level and the number of consecutive Imbalance level lines.
Here are the input options:
Group Display:
This section allows you to adjust how Footprints are displayed.
"Count show bars": Directly adjusts the display to show the last 'n' bars.
"Display all available bars": Shows all available bars.
Group Row size:
Adjusts the parameters for generating Footprints based on price step size.
"Ticks Per Row": Directly sets the price step, calculated by multiplying the entered value by syminfo.mintick.
"Auto": Enables automatic mode for selecting the "Ticks Per Row" value.
"Max row": Relevant for auto mode, it sets the acceptable number of rows within a bar. The automatic "Ticks Per Row" calculation is based on the first available bar and applied to subsequent bars.
Group Imbalance:
Customizes the display of price levels represented by Imbalance and emphasizes consecutive lines.
"Imbalance Percent": A coefficient expressed as a percentage to determine the Imbalance of price levels, comparing the buy price diagonally to the previous sell price.
"Stacked levels": Sets the minimum number of consecutive Imbalance levels required to draw extended lines.
Alerts:
You can set alerts for various events:
"New imbalance line sell": Alerts on the appearance of a new imbalance line for selling.
"New imbalance line buy": Alerts on the appearance of a new imbalance line for buying.
"Stop past imbalance line sell": Alerts when the previous imbalance line for selling stops, indicating it has reached the range from low to high of the current bar.
"Stop past imbalance line buy": Alerts when the previous imbalance line for buying stops, indicating it is within the range from low to high of the current bar.
"New imbalance buy": Alerts on the appearance of a new or change in the current imbalance level for buying.
"New imbalance sell": Alerts on the appearance of a new or change in the current imbalance level for selling.
CandelaCharts - X Model📝 Overview
The X Model Indicator is a sophisticated trading strategy designed to identify high-probability entry points for both long and short positions. It utilizes a combination of key market levels, price action patterns, and multi-timeframe analysis to generate precise signals.
The model offers tailored entry conditions for both long and short trades, ensuring optimized risk-reward setups.
📦 Features
Previous Day High/Low (ERL): Resistance level from the previous day’s high/low.
H1 Bullish/Bearish FVG (IRL): A Bullish Fair Value Gap (FVG) on the 1-hour chart indicating price target potential.
m15 MSS / SMT: Market Structure Shift and Smart Money Technique on the 15-minute chart confirming the market's direction.
Only Short/Long Above/Below 00:00: Triggers short positions only after midnight to avoid potential market noise from earlier sessions.
⚙️ Settings
Core
Status: Filter models based on status
Bias: Controls what model type will be displayed, bullish or bearish
Fractal: Controls the timeframe pairing will be used
Sweep: Shows the sweep that forms a model
I-sweep: Controls the visibility of invalidated sweeps
D-purge: Plots the double purge sweeps
CISD: Displays the Change In State of Delivery for a model
Labels: Adjust the HTF candle label size
History
History: Controls the amount of past models displayed on the chart
HTF
Candles: Controls the number of HTF candles that will be visible on the chart
Open: Highlights with a line the open price of the current HTF candle
Show True Day Open: Display True Day Open line
Offset: Controls the distance of HTF from the current chart
Space: Controls the space between HTF candles
Size: Controls the size of HTF candles
LTF
H/L Line: Displays on the LTF chart High and Low of each HTF candle
O/C Line: Displays on the LTF chart Open and Close of each HTF candle
PD Arrays
PD Array: Displays ICT PD Arrays
CE Line: Style the equilibrium line of the PD Array
Border: Style the border of the PD Array
Projections
StDev: Controls standard deviation available levels
Labels: Controls the size of standard deviation levels
Anchor: Controls the anchor point of standard deviation levels (wick, body)
Lines: Controls the line widths and color of standard deviation levels
Dashboard
Panel: Display information about the current model
💡 Framework
The model incorporates multiple timeframe alignments for increased precision and reliability. The following timeframes are utilized for a comprehensive view of the market:
1m - 5m - 1H
2m - 15m - 4H
3m - 20m - 8H
5m - 30m - 12H
15m - 1H - 1D
1H - 4H - 1W
4H - 1D - 1M
1D - 1W - 3M
1W - 1M - 12M
These alignments ensure that the model captures both short-term price movements and longer-term trends, allowing for well-informed decision-making across various market conditions.
The X Model Indicator employs a precise set of conditions for both short and long entries, designed to capture optimal market opportunities based on key price levels, market imbalances, and institutional activity. These conditions combine multiple timeframes, price action patterns, and market sentiment to enhance the accuracy of entry signals.
Here's how each condition works:
Short Entry Conditions:
Previous Day High (ERL): The previous day’s high acts as a significant resistance level for the market. A price rejection or failure to break above this level indicates a potential short opportunity, as the market may reverse or consolidate.
H1 Bullish FVG (IRL): A Bullish Fair Value Gap (FVG) on the 1-hour chart highlights an area of price imbalance. This signals that the price may attempt to move back into this gap, providing a high-probability short entry if combined with other bearish signals.
m15 MSS / SMT: On the 15-minute chart, the Momentum Shift (MSS) and Smart Money Tool (SMT) indicators are used to confirm market manipulation or shift in momentum. If these indicators show bearish market activity, they strengthen the case for a short position.
Only Short Above 00:00: To avoid noise from earlier market sessions, the model only triggers short entries after midnight (00:00), ensuring that the trade occurs during a more stable, predictable phase of the trading day.
Long Entry Conditions:
Previous Day Low (ERL): The previous day’s low serves as a support level, marking an area where the price is likely to bounce. If the price pulls back and tests this level, it suggests a high-probability long entry, especially when other indicators align.
H1 Bearish FVG (IRL): A Bearish Fair Value Gap (FVG) on the 1-hour chart shows an imbalance to the downside, where the price may reverse and move upwards. This gap is often seen as an opportunity for the price to return to equilibrium, presenting a favorable long entry.
m15 MSS / SMT: The Momentum Shift (MSS) and Smart Money Tool (SMT) on the 15-minute chart help identify the market’s true intentions. A shift towards bullish momentum or signs of smart money accumulation increases the likelihood of a successful long entry.
Only Long Below 00:00: To focus on the market’s early session dynamics, the model only triggers long entries before midnight (00:00), capturing potential moves during quieter periods when the price can show clearer directional trends.
⚡️ Showcase
Introducing X Model is a powerful trading tool designed to elevate your market analysis and boost your trading success.
Bearish Model
Bullish Model
Unlock your full trading potential and experience the difference with X Model — your ultimate tool for smarter, more informed trading decisions.
🚨 Alerts
This script offers alert options for all model types. The alerts need to be setup manually from Tradingview.
Bearish Model
A bearish model alert is triggered when a model forms, signaling a high sweep on HTF and CISD on LTF.
Bullish Model
A bullish model alert is triggered when a model forms, signaling a low sweep on HTF and CISD on LTF.
⚠️ Disclaimer
These tools are exclusively available on the TradingView platform.
Our charting tools are intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. They are not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on these tools for financial decisions. By using these charting tools, the purchaser agrees that the seller and creator hold no responsibility for any decisions made based on information provided by the tools. The purchaser assumes full responsibility and liability for any actions taken and their consequences, including potential financial losses or investment outcomes that may result from the use of these products.
By purchasing, the customer acknowledges and accepts that neither the seller nor the creator is liable for any undesired outcomes stemming from the development, sale, or use of these products. Additionally, the purchaser agrees to indemnify the seller from any liability. If invited through the Friends and Family Program, the purchaser understands that any provided discount code applies only to the initial purchase of Candela's subscription. The purchaser is responsible for canceling or requesting cancellation of their subscription if they choose not to continue at the full retail price. In the event the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable.
We do not offer reimbursements, refunds, or chargebacks. Once these Terms are accepted at the time of purchase, no reimbursements, refunds, or chargebacks will be issued under any circumstances.
By continuing to use these charting tools, the user confirms their understanding and acceptance of these Terms as outlined in this disclaimer.
Flow of Trade [Orderflowing]Flow of Trade | Supply & Demand Zones | Turtle Soup Reversal Pattern Detection (+)
Built using Pine Script V5.
Introduction
The Flow of Trade indicator is a trading tool designed to leverage the principles of Supply and Demand, along with automatic “Turtle Soup” reversal pattern detection.
This indicator is made for traders who aim to identify potential market reversal points, supported by multi-timeframe analysis for a more complete market overview.
Core Concepts and Innovation
Supply and Demand (S&D) Zones
At the heart of the Flow of Trade indicator is the concept of Supply & Demand, along with Market Imbalance, which is sound for identifying the Supply and Demand zones.
The Turtle Soup Reversal Pattern Detection
Named after the ICT-derived trading pattern, the Flow of Trade script tries to find and plot these "failed breakout" reversals based on the user input configuration.
Inputs
The Flow of Trade indicator offers customization, allowing traders to fit the tool to their specific analysis needs and trading style.
Zone Ratio: Determines the scale of imbalance required for a candle to be considered for a zone. A higher value indicates a need for a more significant imbalance, making zones less frequent but potentially more reliable.
Zone Extension: Specifies how far to the right of the latest bar the zones should extend, providing a visual projection of potential future support and resistance areas.
Display LTF Zones: Enables the visualization of zones from lower timeframes on the current chart, offering a multi-timeframe perspective on supply and demand areas.
Supply and Demand Zone Colors: Customize the colors for supply (red) and demand (blue) zones, including opacity for chart visibility.
Border Color: Adjust the border color to find a suitable view of the zones. Optionally disable the S&D colors with 0% opacity and only keep border colors for a border-only view.
Text Display Settings: Options to display high/low quotes information within zones.
Timeframe Options: Select which timeframes to include in the analysis, from shorter periods like 30M to longer ones like Daily (D) or Weekly (W), allowing for a complete view across different timeframes.
How It Works
Imbalance Calculation.
The indicator looks at consecutive candles to measure the magnitude of price movement and volume imbalances.
A significant imbalance between buying and selling pressure is what defines a potential supply or demand zone.
Supply Zones Identification.
A supply zone is flagged when there's imbalance favoring sellers, typically after a notable price drop. It looks for a consolidation phase where the price fails to achieve a higher high, suggesting an area where sellers might regain control.
Demand Zones Identification.
A demand zone is marked in the presence of a buyer-dominated imbalance, especially after a significant price rally.
The indicator seeks periods of consolidation where the price doesn't make a lower low, indicating potential buyer accumulation.
Multi-Timeframe Imbalance Analysis.
The indicator extends its imbalance analysis across multiple timeframes of identified zones.
This multi-layered approach allows traders to discern the strength and relevance of supply and demand zones within a broader multi-timeframe market context.
Turtle Soup Reversal Pattern Detection.
The Turtle Soup pattern detection is fitted into the imbalance analysis.
The indicator scans for setups within or near the identified supply and demand zones, providing an additional layer of confirmation for potential reversals.
The Turtle Soup Pattern Logic
Attempts at detecting false breakouts within the zones. For example, a bearish Turtle Soup pattern emerges when the price dips below a demand zone but quickly reverses, indicating a failed breakout and potential upward momentum.
Integration and Practical Application
The Flow of Trade indicator integrates these elements, marking out S&D zones while also scanning for reversal patterns within or adjacent to these zones.
The added multi-timeframe analysis can help the traders understanding of broader market context, enabling you to find the relative strength of MTF zones and see how reversal setups perform in the specific asset.
Strategic Entry and Exit Points: Use the confluence of S&D zones and Turtle Soup patterns to find possible entry and exit points.
Risk Management: Potentially leverage the defined zones for setting stop-loss levels and managing trade risk based on supply and demand concepts.
Confirmation and Confluence: Apply multi-timeframe analysis to validate S&D zones and Turtle Soup patterns.
Example of High/Low (H/L) Quotes from Zones:
Example of MTF S&D Zones (4H/D/W):
Conclusion
The Flow of Trade indicator is of time-tested market principles and along with innovative pattern recognition, designed to offer traders a customizable method for more systematized view of supply and demand, along with reversal signals.
Its multi-timeframe analysis can be useful for decision-making and systemizing your trading layout.
Disclaimer
While the Flow of Trade Indicator is a useful tool for analysis, it is important for traders to remember that no single tool can guarantee success.
Past performance is not indicative of future results.
Do not solely rely on the signals from the Flow of Trade indicator.
The indicator is meant to be used as confluence to an existing strategy.
VIB / GIB v1.0The VIB / GIB indicator
V1 ----- 13 Feb 2023 ------------ Inital release.
This gives the user the ability to easily display VIB(Volume ImBalances) and GIB(Gap ImBalances) on their chart.
Volume imbalances (VIB) are created when there is a price difference between the close of a candle and the opening of the next candle. This price difference can be used as a level of support or resistance in future trading.
A Gap imbalance (GIB) has the same principles as a VIB, but also has the feature that no wick closes through the gap, showing an even more powerful imbalance in the market at that point.
GIBs and VIBs can be individually switched on or off via the settings, and optional icons can also be activated or not to show where the imbalance took place.
Please note that this is purely an indicator that should be used with other confluence before making trading decisions.
FVG - Fair Value Gap Detector with Large Movement FilterScript Description: Fair Value Gap (FVG) Detector with Large Movement Filter
This indicator is designed to identify Fair Value Gaps (FVG), which are price imbalances observed between three consecutive candles. Fair Value Gap detection is commonly used by traders to locate areas of imbalance where demand and supply temporarily lose equilibrium. This imbalance often draws price back to these zones, making them potential points of interest for buy or sell opportunities.
Key Features of the Indicator
FVG Detection Based on Three Consecutive Candles:
The script identifies a Fair Value Gap between three consecutive candles. This gap appears when the high of the first candle is below the low of the third candle (or vice versa). These gap zones are significant as they indicate an imbalance in price between buyers and sellers, with the expectation that price may revisit these areas in the future.
Large Movement Filter Using ATR:
To improve accuracy and avoid false signals in minor price fluctuations, this indicator includes a large movement filter based on the Average True Range (ATR). The ATR is calculated over a configurable period, and a multiplier is applied to set the minimum required range for a large movement. This helps ensure that only gaps in areas with significant price movement are identified.
Visual Differentiation with Customizable Colors:
The script allows users to configure FVG box colors for easy gap visualization. Identified zones on the chart are highlighted with a colored box, making it easy for the trader to identify imbalance points and observe potential mitigation.
FVG Mitigation and Capture:
The indicator continuously checks if the price is within the FVG zone, indicating that the gap has been mitigated or “captured” by the price. The mitigation or capture status is displayed visually on the chart, using a color scheme to indicate whether the gap has been retested by price after its creation.
How to Use the Indicator
Configuring Parameters:
ATR Multiplier: Defines how large a movement relative to ATR is required for the gap to be considered significant. Higher values require larger movements.
ATR Period: Sets the number of candles used in the ATR calculation, affecting the sensitivity to large movements.
Customizable Colors: Traders can adjust the FVG box colors and labels indicating mitigation and capture of the imbalance zones.
Visual Interpretation:
FVG Boxes: Colored boxes will appear on the chart to highlight gap zones. These boxes only display following the detection of a large movement, as defined by ATR.
Mitigation and Capture Labels: The indicator places a label below the bar when a gap is identified, highlighting zones where gaps may be mitigated or captured. The color scheme helps traders quickly interpret the status of a gap.
Underlying Concepts and Practical Application
The Fair Value Gap is widely used in liquidity analysis and price reversal zones. By identifying FVG zones based on large price movements, this script enables traders to monitor potential gap-fill areas. With the large movement filter, the indicator is ideal for strategies that prioritize liquidity and price zone mitigation, making it useful for both short-term (scalping) and long-term strategies.
This indicator provides a solid foundation for traders interested in observing price imbalances and future mitigations.
Orderflow Bias Premium v2 [Pro+]Orderflow Bias Premium v2 is a dynamic Pine v6 indicator designed to identify periods of consolidation (choppy) markets versus expansion (trending) markets using a blend of volatility, volume, and market structure. When markets shift into expansion, the script computes a composite directional bias (“Bullish”, “Bearish”, or “Neutral”) along with a trend strength metric. In consolidation, it tracks how long price remains choppy, displaying elapsed minutes. All information is presented in a floating table at the top-right of the chart for instant visual clarity - with each field toggleable on / off by the user.
Key Terms and Definitions
Consolidation : A market regime where price action is confined within narrow Bollinger Band widths, low ATR/price ratios, and subdued volume—signaling uncertainty or indecision.
Expansion : A market regime where volatility, ATR, or volume “break out” of low percentile thresholds, suggesting a trending move.
Bollinger Band Width (BBW) : The normalized distance between the upper and lower Bollinger Bands, calculated as (upper – lower) / basis. Used here to detect when volatility is suppressed.
ATR/Price Ratio : The average true range (ATR) divided by the current close, normalized as a percentage. A lower ratio indicates tighter price action.
Volume Ratio (VR) : Current volume divided by its moving average; when VR is below a historical percentile, volume is considered “low.”
Percentile Test : For each metric (BBW, ATR/price, VR), we compute the current value’s rank (e.g., 20th percentile) over a look-back window. If the current value is below that percentile (after applying any intraday multipliers), it counts as “low.”
Imbalance (3-Bar Gap) : A price pattern where, two bars ago, the high is lower than the current bar’s low (bullish imbalance) or the low is higher than the current bar’s high (bearish imbalance). The script tracks whether any such gap has formed in a higher timeframe to seed directional memory.
Directional Bias : When in expansion, three methods vote on market direction: (1) DMI spread, (3) impulse-bar majority, and (4) last imbalance direction. The summed votes determine “Bullish”, “Bearish”, or “Neutral.”
Hysteresis (Bars to Flip State) : The number of consecutive bars required for a new regime (consolidation ↔ expansion) to be confirmed. This prevents false flips from single-bar noise.
Key Features
Dynamic Regime Detection
Combines BBW, ATR/price, and volume percentile tests to detect low-volatility consolidation vs. breakouts.
Supports optional intraday multipliers to scale thresholds during open (09:30–10:15), lunch (11:45–13:30), and power hour (15:30–16:00).
Optional higher-timeframe filter (current TF × user-defined multiplier) ensures false consolidations are avoided when the next larger TF is still trending.
Intuitive Chop Enhancements
N-Bar Range Test: Flags chop if (highest high – lowest low) over N bars < ATR×multiplier.
ADX Test: Considers ADX < user threshold as choppy.
RSI Flat Test: Marks chop if RSI range over N bars < threshold.
SMA Deviation Test: Detects chop if |price – SMA| (normalized by ATR) < threshold.
Composite Directional Bias (Expansion Only)
Method 1: DMI spread vote (+DI vs. –DI).
Method 2: Impulse-bar majority over a rolling window.
Method 3:Memory of last 3-bar imbalance on a user-specified higher TF.
Strength Metric:ADX normalized to percentage + textual category (Low/Moderate/High/Very High) indicates trend momentum.
Real-Time Table Display
2-column, 3-row floating table at top-right.
How Traders Can Use the Indicator Effectively
Timing Breakouts
While price remains in consolidation, the elapsed timer can reveal when an extended chop may soon resolve—enabling traders to anticipate breakouts.
Filtering Noise on Lower TFs
By enabling the higher-TF filter (e.g., 5 min chart screening 15 min chop), intraday traders can avoid false expansion signals caused by micro-noise.
Directional Confirmation
In expansion mode, seeing “Orderflow: Bullish” + “Strength: High” can be used as confluence alongside price-action entries or trendline breaks.
Combining with Other Tools
Pair with volume profile, market structure (swing highs/lows), or momentum oscillators for multi-dimensional confirmation before taking a trade.
USER TOGGLEABLE INPUTS
Show State
Toggles displaying the “State:” row (Consolidation vs. Expansion) in the table.
Show Strength
Toggles displaying the ADX-based strength (or, in consolidation, elapsed time) row in the table.
Show OrderFlow Bias
Toggles displaying the “Orderflow” (directional bias) row (or “Bias: Neutral” in consolidation).
Bars to Flip State
Number of consecutive bars required before switching between “Consolidation” and “Expansion.”
Enable BBW Percentile Test
Toggles whether Bollinger-Band-width percentile checks count toward identifying consolidation.
BB Length
Look-back length (in bars) for computing the Bollinger Band’s SMA/standard deviation.
BB StdDev Mult
Multiplier on the Bollinger Band’s standard deviation when calculating bandwidth.
BBW Look-back
Number of bars over which to compute the rolling percentile of BB width.
BBW Percentile
Percentile threshold for BB width to be considered “low” (choppy).
Enable ATR Percentile Test
Toggles whether the ATR/price-ratio percentile check counts toward consolidation.
ATR Length
Look-back length (in bars) for calculating ATR.
ATR Look-back
Number of bars over which to compute the rolling percentile of ATR/price.
ATR Percentile
Percentile threshold for ATR/price ratio to be considered “low.”
Enable Volume Percentile Test
Toggles whether volume percentile checks count toward consolidation.
Volume MA Length
Look-back length (in bars) for computing the moving average of volume.
Vol Percentile
Percentile threshold for current volume (relative to its MA) to be considered “low.”
Vol Factor (fallback)
Multiplier applied to the volume percentile threshold if the primary percentile test fails.
Enable Intraday Multipliers
Toggles whether open/lunch/power-hour scaling factors apply to BBW/ATR tests.
BBW Open/Power Mult
Multiplier on BB width threshold during market open (09:30–10:15) and power hour (15:30–16:00).
ATR Open/Power Mult
Multiplier on ATR threshold during market open and power hour.
BBW Lunch Mult
Multiplier on BB width threshold during the lunch lull (11:45–13:30).
ATR Lunch Mult
Multiplier on ATR threshold during the lunch lull.
Enable Higher TF Filter
Toggles checking the BBW/ATR/Vol tests on a higher timeframe before allowing consolidation.
Higher-TF Multiplier
Integer factor by which to multiply the current timeframe (e.g., 5 min × 3 = 15 min) for higher-TF checks.
Show ADX Strength
Toggles whether ADX is used to compute and display the “Strength” metric when expanding.
ADX Length
Look-back length (in bars) for computing DMI/ADX.
Table Opacity %
Opacity (0–100) of the floating table’s background.
DI Spread Threshold
Minimum difference between +DI and −DI needed to cast a bullish or bearish vote in directional bias.
Impulse Window Size
Number of bars over which to count “impulse bars” (close in top 40 % vs. bottom 40 %) for directional voting.
Enable Bar Range Test
Toggles checking if the N-bar high–low range is unusually narrow (another chop criterion).
Range Test N Bars
Look-back period (in bars) for computing the highest high minus lowest low for the range test.
Range Test ATR Mult
Multiplier on the average ATR when comparing against the N-bar range.
Enable ADX Test
Toggles marking “choppy” if ADX is below the user-defined threshold.
ADX Threshold
ADX value below which the market is considered non-trending (choppy).
Enable RSI Flat Test
Toggles checking whether RSI has been stuck in a tight range (another chop signal).
RSI Length
Look-back length (in bars) for computing standard RSI.
RSI Range N Bars
Look-back period (in bars) for computing RSI’s highest minus lowest.
RSI Range Threshold
Maximum RSI range over the look-back period to qualify as “flat.”
Enable SMA Deviation Test
Toggles checking if price is “near” its SMA (another chop heuristic).
SMA Length
Look-back length (in bars) for computing the simple moving average (SMA).
Dev Test ATR Length
Look-back length (in bars) for ATR when normalizing deviation from the SMA.
Dev Threshold (ATR units)
Maximum (|price − SMA| / ATR) allowed to count as “near” the SMA.
Enable TF1
Toggles the higher-timeframe imbalance logic on or off.
Timeframe 1
Base resolution (e.g., “1” = 1 minute) used for detecting 3-bar imbalances.
Lookback Timeframe
Higher timeframe (e.g., “15” = 15 minutes) used to compute how many base-resolution bars to look back.
Bars 1
(Calculated internally) Number of base-timeframe bars contained within one lookback-timeframe bar.
Terms and Conditions
Informational Purposes Only : OrderFlow Bias v2 Premium is provided without any guarantees. It is not financial advice, nor does it predict market movements. Users assume full responsibility for any trading decisions made.
No Liability : By using this indicator, you acknowledge that neither the script’s author nor TradingView is liable for losses arising from its use. Past performance is not indicative of future results.
Licensing : This script is published as closed-source (protected). Its Pine code is hidden from view and may not be forked, modified, or redistributed without express permission from the author. Protected scripts on TradingView require a Pro, Pro+, or Premium account to publish and remain accessible only to invited users; all usage rights and access control are governed by the author’s invite settings.
Disclaimer
The information and code in OrderFlow Bias v2 Premium are provided “as is” for educational and analytical purposes only. They do not constitute any investment, trading, or financial advice. Users should conduct their own due diligence and seek professional counsel before making trading decisions. The author and TradingView disclaim all liability for actions based on this information.
Dix$on's Weighted Volume FlowDixson's Weighted Volume Flow
Dixson's Weighted Volume Flow is a technical indicator designed to analyze and visualize the distribution of buy and sell volume within a given timeframe. It dynamically calculates the proportional allocation of volume based on price action within each bar, providing insights into market sentiment and activity. This indicator displays horizontal volume bars in a separate pane and annotates them with precise volume values.
How It Works
1. Volume Allocation:
- The indicator calculates buy and sell volume using the following formulas:
- Buy Volume = (Close - Low) / (High - Low) Total Volume
- Sell Volume = (High - Close) / (High - Low) Total Volume
- These formulas allocate volume proportionally based on the bar's price range, attributing more volume to buying or selling depending on the relationship between the close, high, and low prices.
2. Dynamic Scaling:
- The buy and sell volumes are scaled relative to their combined total for the period.
- The resulting values determine the length of the horizontal bars, providing a comparative view of buy and sell activity.
3. Bar Visualization:
- Buy Volume Bars: Displayed as green horizontal bars.
- Sell Volume Bars: Displayed as red horizontal bars.
- The lengths of the bars represent the dominance of buy or sell volume, scaled dynamically within the pane.
4. Labels:
- Each bar is annotated with a label showing its calculated buy or sell volume value.
5. Timeframe Adjustment:
- The indicator uses the request.security() function to fetch data from the selected timeframe, allowing users to customize their analysis for intraday, daily, or longer-term trends.
6. Customization Options:
- Enable or disable the indicator using a toggle.
- Adjust colors for the buy/sell bars and text labels to suit your chart theme.
How to Use It
1. Enable the Indicator:
- Activate the indicator using the "Enable/Disable" toggle in the settings.
2. Select a Timeframe:
- Choose the timeframe for analysis (e.g., 1-minute, 1-hour, daily). The indicator fetches volume data specific to the selected timeframe.
3. Interpret the Visualization:
- Compare Bar Lengths:
- Longer buy volume bars (green) indicate stronger buying activity.
- Longer sell volume bars (red) suggest dominant selling pressure.
- Labels:
- Use the labels to view the exact buy and sell volume values for precise analysis.
4. Combine with Other Tools:
- Use the indicator alongside price action analysis, support/resistance levels, or trend indicators to confirm market sentiment and detect potential reversals.
5. Monitor Imbalances:
- Significant disparities between buy and sell volume can signal shifts in market sentiment, such as the end of a trend or the start of a breakout.
Practical Applications
- Trend Confirmation:
- Align the dominance of buy or sell volume with price trends to confirm market direction.
- Reversal Signals:
- Watch for volume imbalances or a sudden shift in the dominance of buy or sell volume to identify potential reversals.
- High-Activity Zones:
- Identify areas with increased volume to anticipate significant price movements or key support/resistance interactions.
Dixson's Weighted Volume Flow provides a clear and systematic way to analyze market activity by visualizing the dynamics of buy and sell volume. It is particularly useful for traders looking to enhance their understanding of volume-based sentiment and its impact on price movements.
FxCanli CostaFxCanli Costa indicator draws all of the following with FxCanli Costa strategy
▪️ Market Structure
▪️ Up Trend with Green Lines
▪️ Down Trend with Red Lines
▪️ Imbalance(FVG)
▪️ Limit order Level
▪️ Entry Level
▪️ Stop Loss Level
▪️ Take Profit Level
******* Lets first understand about the FxCanli COSTA Strategy *******
Think that, we wait price to reverse from any level -
I call it PRZ (Potential Reversal Zone)
it can reverse in 2 type
Type 1 - it will reverse with 2 wave
Type 2 - it will reverse with 1 wave
⚫ What is PRZ (Potential Reversal Zone)?
Depends on your technical analysis, it can be any Harmonic Pattern level
or it can be Order block at Price action concept.
⚫ What is Imbalance (FVG)?
Fair Value Gaps are price jumps caused by imbalanced buying and selling pressures.
A bullish Fair Value Gap is created when there is a gap between the high of the first candle and the low of the third candle.
A bearish Fair Value Gap is created when there is a gap between the low of the first candle and the high of the third candle.
⚫ FxCanli Costa Strategy is starting now
At my trades, I always wait trend reversal ( Type1 or Type 2 , That I mention above)
for buy trades, I enter the trade below the break out candles
for sell trades, I enter the trade above the break out candles
⚫ Where to put stop loss and take profit?
Stop loss is always above/below swing High/Low
and take profit has to be at least 1/1 Risk/Reward ratio
******* What is FxCanli COSTA Indicator? *******
FxCanli Costa draws all these, depends on FxCanli Costa Strategy
🔴 Market Structure
▪️ Up Trend with Green Lines
▪️ Down Trend with Red Lines
🔴 Trade Levels
FxCanli Costa Indicator first draws Buy Limit level or Sell limit level on the chart
and when Price Reaced to that level it will show Entry / Stop Loss / Take Profit levels
it puts stop loss above/below swing High/Low
and it put Take profit depends on Risk/Reward ratio from inputs.
🔴 FILTERING
FxCanli Costa Indicator's input has got some filtering parts
With these filtering you will not enter all trades
For Example Fibonacci Filtering
it will only give entry signal of impulse's 0.618 and more fibonacci level
🔵 Others Filter are;
RSI Filtering - It will give entry signal, if only RSI is at Overbought or Oversold
EMA Filtering - It will give entry signal with the same direction of Exponential Moving Average
Imbalance Filtering - It will give entry signal, if there is FVG - Imbalance at the entry level
Thanks alot, wish you great trades
PVSRA Candles Auto OverrideWhat does this “PVSRA Candles Auto Override” Indicator
do?
This indicator automates PVSRA analysis for crypto traders. It finds the corresponding Binance Perpetual Futures chart for the current instrument, then replaces the current chart's volume profile with the perpetual futures data (if available) to ensure the PVSRA calculation uses the most relevant volume. This not only reduces human error during market scans but also automatically selects the appropriate Binance Perpetual Futures contract, saving time and improving the accuracy of PVSRA calculations.
How can a trader use this indicator?
This helps the trader to identify if there is volume data available in an equivalent Binance Perpetual Futures chart and automatically displays it, making it easier to switch coins whilst viewing the market. Why do we want to use Binance Perpetual Futures Volume? In most markets Binance volume surpasses those of other crypto exchanges so this will give us a better view on the volume spikes in the market.
What is PVSRA and how can I trade using this indicator?
PVSRA candles are a type of candlestick chart formatting. PVSRA stands for Price, Volume, Support and Resistance Analysis.
Here's a breakdown of what PVSRA candles aim to achieve:
Combine multiple factors: They take into account price movement, trading volume, and support and resistance levels to identify potential trading opportunities.
Highlight potential imbalances: By color-coding candles based on PVSRA analysis, they aim to show areas of high volume activity, potentially representing imbalances created by market makers (large institutions that influence price).
Identify areas of revisit: The theory is that these high-volume zones may be revisited by the market in the future, as there's "unrecovered liquidity" in those areas.
Usage of the Indicator:
By default the indicator will automatically use the Equivalent Binance Perpetual Chart for the Data
You can override the symbol manually if you what to view another instrument’s data.
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.
Synthetic OrderBookHow to Use the Enhanced Synthetic OrderBook Indicator
This indicator creates a synthetic representation of market order book data using price action, volume, and other technical factors. It's designed to help you identify significant market imbalances and potential price reversals, especially useful for crypto trading.
Overview
The Enhanced Synthetic OrderBook provides three different view modes, each offering unique insights into market conditions:
1. **Order Book View** - Shows simulated order book depth at different price levels
2. **Delta View** - Displays the imbalance between buying and selling pressure
3. **Liquidation View** - Highlights potential liquidation events that could drive price movements
How to Use Each View Mode
Order Book View
This view simulates what you would see in an exchange order book, showing bids (buy orders) in green and asks (sell orders) in orange/red.
**How to interpret:**
- **Green bars (bids)**: Represent buying interest at different price levels below the current price
- **Red bars (asks)**: Represent selling interest at different price levels above the current price
- **Bar height**: Taller bars indicate stronger buying/selling interest
- **Threshold lines**: The green line shows the bullish threshold, while the red line shows the bearish threshold
**Trading signals:**
- When green bars (bids) consistently exceed the bullish threshold, consider buying
- When red bars (asks) consistently exceed the bearish threshold, consider selling
- Look for imbalances where bids are significantly larger than asks (or vice versa)
Delta View
This view shows the difference between buying and selling pressure across different price ranges. It's more focused on the imbalance rather than raw order book depth.
**How to interpret:**
- **Green bars**: Positive delta (more buying than selling pressure)
- **Red bars**: Negative delta (more selling than buying pressure)
- **Threshold lines**: Indicate significant levels of imbalance
- **Zero line**: Neutral point between buying and selling pressure
**Trading signals:**
- When delta stays consistently above the bullish threshold, it suggests strong buying pressure
- When delta stays consistently below the bearish threshold, it suggests strong selling pressure
- Changes in direction of the delta can signal potential reversals
- When the bids/asks delta shallows
Liquidation View
This view estimates potential liquidation events in the market, which often lead to sharp price movements.
**How to interpret:**
- **Green bars**: Potential long liquidations (forced selling from leveraged long positions)
- **Red bars**: Potential short liquidations (forced buying from leveraged short positions)
- **Bar height**: Indicates the estimated severity of liquidations
**Trading signals:**
- Large liquidation events often lead to price continuation in that direction
- After a series of liquidations, the market may become exhausted, suggesting a potential reversal
- Short liquidations (red) tend to create faster upward price movements than long liquidations
Tips for Beginners
1. **Start with the Order Book view** to get a feel for buying and selling pressure
2. **Use the Delta view** for confirmation of trends and potential reversals
3. **Check the Liquidation view** when markets are volatile to anticipate sharp moves
4. **Watch for strong buy/sell signals** (green/red arrows) which suggest high-confidence trade opportunities
5. **Customize the threshold levels** in the settings to match the volatility of the asset you're trading
6. **Higher timeframes** (4H, daily) generally provide more reliable signals than lower timeframes
## Important Settings to Adjust
- **Order Book/Delta Thresholds**: Adjust these based on the asset's volatility (higher for more volatile assets)
- **Show Bids/Asks**: Toggle to focus on specific directions
- **Adaptive Threshold**: Enables the indicator to automatically adjust sensitivity based on market conditions
- **Volume Profile**: Uses historical volume distribution to improve accuracy
This indicator works best when combined with other confirmation tools like support/resistance levels, trend analysis, and traditional technical indicators.
Order Flow / Delta Volume IndicatorOrder Flow / Delta Volume Indicator
The Order Flow / Delta Volume Indicator is designed to give traders a comprehensive view of market activity by combining delta volume analysis, order flow imbalances, and momentum filters. This indicator is not just a mashup of components, but a carefully crafted tool that enhances decision-making by integrating various layers of market analysis into one powerful system.
How the Components Work Together:
1. Delta Volume Bars: The core of this indicator, delta volume shows the difference between buy and sell orders, allowing traders to see real-time shifts in market sentiment. Green bars indicate buy-side pressure, while red bars show sell-side dominance. By visualizing this in bar form, traders can easily spot significant shifts in order flow that could signal trend changes or momentum shifts.
2. Cumulative Delta Line (Rescaled): The cumulative delta is rescaled to plot under the price candles, giving traders a clear, contextualized view of how net buyer or seller dominance is developing over time. This line helps identify potential market reversals when price moves diverge from cumulative delta trends.
3. Order Flow Imbalance Detection: Imbalances in buy and sell volumes are automatically detected using a threshold, ensuring that traders are alerted to significant market moves. These imbalances provide insight into aggressive buying or selling behavior, which is crucial for identifying points of high trading activity or potential breakout/reversal zones.
4. VWAP Filter: Volume Weighted Average Price (VWAP) is included as a filter to confirm trend direction. The VWAP ensures that buy signals are only triggered when price action is above the VWAP (indicating strength), and sell signals are triggered when price is below the VWAP (indicating weakness). This ensures that signals are not just based on volume, but also on where price is relative to a critical benchmark.
5. RSI Filter: The inclusion of the Relative Strength Index (RSI) adds a momentum check to the signals. By using RSI, traders can avoid taking trades during low-momentum periods, ensuring they only act when market conditions favor a stronger move.
6. Signal Cooldown Feature: To avoid clutter and noise from frequent signals, this indicator includes a cooldown period between signals, ensuring that traders don’t receive excessive alerts in a short timeframe. This feature prevents overtrading and helps focus on high-quality signals.
Why This Combination is Useful:
• Comprehensive Market Insight: By combining delta volume analysis with order flow imbalance detection, this indicator provides a deep understanding of market sentiment, showing not only price movement but the underlying volume dynamics driving those moves.
• Signal Accuracy: The VWAP and RSI filters ensure that signals are only generated in strong market conditions, filtering out weak or false signals that often occur in choppy markets.
• Divergence Detection: The cumulative delta line provides traders with a tool for spotting divergences between price action and underlying volume, allowing for earlier detection of potential reversals.
This indicator is more than a simple combination of existing tools—it’s a strategic fusion of volume analysis, order flow, and momentum filters designed to provide traders with a clearer view of market activity and to generate more reliable buy/sell signals.
This description explains how the components work together and highlights the indicator’s usefulness, which should address TradingView’s concerns about originality and purpose.