Price breakout and reversal [TCS] | PA
Jul 27, 2023

The Price breakout and reversal [TCS] | PA indicator provides a comprehensive framework for identifying significant price structural shifts and potential trend changes using pivot-based levels and a dynamic fair value line.
Usage
The indicator is primarily used to identify trend continuation and exhaustion points through three main signal types:
- Breakouts: Represented by 'B' (Bullish) and 'S' (Bearish) labels. These occur when the price closes beyond the high or low pivots established within the lookback period, suggesting momentum in the direction of the break.
- Fair Value Breaks: Indicated by circles on the chart. These signal when the price crosses the midpoint between the current high and low pivots, often used to identify early trend shifts or a return to the mean.
- Reversals: Represented by 'R+' (Bullish Reversal) and 'R-' (Bearish Reversal) diamonds. These patterns are filtered using Bollinger Bands to identify exhaustion near pivot extremes, signaling potential counter-trend opportunities.
Additionally, the indicator includes a "Risk Label" feature that calculates position sizes based on user-defined account risk, helping traders manage exposure for long and short entries relative to the pivot levels.
Details
The tool utilizes several technical components to generate signals:
- Pivots: The script identifies high and low peaks over a specific lookback period to establish support and resistance boundaries.
- Fair Value: This is calculated as the arithmetic mean of the high and low pivots, acting as a dynamic balance point for price action.
- Filtering: Reversal signals are strictly filtered. A bullish reversal requires price to interact with the low pivot while simultaneously crossing the lower Bollinger Band, ensuring the signal occurs during a period of perceived oversold conditions.
Settings
General Settings
- SHOW BREAKS: Toggles the display of standard pivot breakout signals.
- SHOW REVERSALS: Toggles the display of reversal signals filtered by volatility.
- SHOW FAIR VALUE BREAKS: Toggles signals occurring at the fair value midpoint.
- LOOKBACK: Determines the number of bars used to calculate high and low pivots.
Account Risk - Crypto
- SHOW RISK: Toggles the visibility of the position sizing label.
- ACCOUNT RISK %: The percentage of the total account to risk per trade.
- ACCOUNT AMOUNT: The total value of the trading account.
- BROKER FEES ENTRY/EXIT %: Parameters to account for commission costs in the quantity calculation.
FAQ
How do I access Price breakout and reversal [TCS] | PA?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What is the "Fair Value" line?
The fair value line is the midpoint between the recent high and low pivots, representing a short-term equilibrium price.
Can I set up notifications for these signals?
Yes, the script includes built-in alert conditions for all breakout and reversal types, which can be configured through the TradingView alerts menu.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

