OPEN-SOURCE SCRIPT
Displacement [QuantVue]

Displacement refers to a significant and forceful price movement that indicates a potential shift in market sentiment or trend. Displacement is characterized by a strong push in price action, often seen after a period of consolidation or within a trending market. It is a key concept used to identify the strength of a move and to confirm the direction of the market.
The "Displacement" indicator does this by focusing on identifying strong, directional price movements by combining candlestick analysis with volatility (ATR).
Displacement often appears as a group of candles that are all positioned in the same direction, these candles typically have large bodies and short wicks.
How the indicator works:
Body Size Requirement: Ensures that only candles with a significant body size (relative to their total range) are considered, helping to identify strong market moves.
Consecutive Candle Analysis: Identifies shifts in market sentiment by requiring a series of consecutive bullish or bearish candles to confirm a potential change in trend.
ATR-Based Analysis:Uses the Average True Range (ATR) to gauge market volatility and filter out minor price fluctuations, focusing on substantial movements.
Once all of the requirements are met a triangle is plotted above or below the bar.



The "Displacement" indicator does this by focusing on identifying strong, directional price movements by combining candlestick analysis with volatility (ATR).
Displacement often appears as a group of candles that are all positioned in the same direction, these candles typically have large bodies and short wicks.
How the indicator works:
Body Size Requirement: Ensures that only candles with a significant body size (relative to their total range) are considered, helping to identify strong market moves.
Consecutive Candle Analysis: Identifies shifts in market sentiment by requiring a series of consecutive bullish or bearish candles to confirm a potential change in trend.
ATR-Based Analysis:Uses the Average True Range (ATR) to gauge market volatility and filter out minor price fluctuations, focusing on substantial movements.
Once all of the requirements are met a triangle is plotted above or below the bar.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Get Access to the exclusive QuantVue indicators: quantvue.io/
Join thousands of traders in our Free Discord: discord.gg/tC7u7magU3
Join thousands of traders in our Free Discord: discord.gg/tC7u7magU3
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Get Access to the exclusive QuantVue indicators: quantvue.io/
Join thousands of traders in our Free Discord: discord.gg/tC7u7magU3
Join thousands of traders in our Free Discord: discord.gg/tC7u7magU3
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.