![[TehThomas] - Displacement Candles chart preview](/_next/image?url=%2Fmedia%2Ffull%2F27108.png&w=3840&q=90&dpl=dpl_Jt27hmzh6tNsGuJ13vyBBWgv8XSW)
A PineScript indicator that identifies significant price movements by detecting percentage-based displacements and visualizing market sentiment through color-coded candles.
Explore complementary indicator rolesHow it works
The displacement detection script calculates percentage changes between consecutive price points to identify significant market movements. It uses a custom threshold to determine when a price change is substantial enough to be considered a displacement.
The script then categorizes these displacements as bullish or bearish based on the price direction. By comparing the current close price with the previous close price, it determines whether the movement represents an upward or downward trend, providing traders with a visual representation of market dynamics.
Why it may be useful
This indicator helps traders quickly identify potential trend changes and market sentiment by highlighting significant price movements. It provides a clear, visual method of understanding market volatility and price momentum, allowing traders to make more informed decisions.
By offering customizable sensitivity and color-coded candles, the script transforms complex price data into an easily interpretable format. Traders can use this tool to cut through market noise, focus on meaningful price changes, and gain insights into potential trading opportunities across different timeframes.
When to explore it
The displacement detection script is most effective in markets with moderate to high volatility where percentage-based price movements are significant. It works well across various financial instruments and timeframes, making it adaptable to different trading strategies and market conditions.
Traders should use this indicator as a complementary tool alongside other technical analysis methods to confirm signals and validate potential entry or exit points. It is particularly useful for identifying trend changes, assessing market sentiment, and providing a quick visual overview of price dynamics.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.




![[TehThomas] - MA Cross with Displacement chart preview](https://s3.tradingview.com/z/Z86MHLLK.png?v=1740251020)

![Enhanced ROC - Savitzky–Golay [AIBitcoinTrend] chart preview](https://s3.tradingview.com/h/HjXX4JTW.png?v=1741592221)