PSAR-Support Resistance
Feb 8, 2023

The PSAR-Support Resistance indicator tool identifies dynamic reversal points in price to create horizontal support and resistance levels, helping traders filter false Parabolic SAR signals and identify breakout opportunities.
Usage
The Usage section focuses on how to interpret the dynamic levels and signals generated by the script.
- Support and Resistance Levels: The indicator plots horizontal lines based on the price at the moment of a Parabolic SAR reversal. These levels act as a zone where price often moves sideways.
- Breakout Trading: Traders can look for price action that closes above the green resistance line or below the red support line. A new candle formation outside these boundaries suggests a shift in momentum.
- Signal Confirmation: While the tool provides "Buy" and "Sell" labels based on the PSAR flip, these should be used in conjunction with the S/R lines.
- Moving Average Crossovers: The tool includes two customizable moving averages. A "MA Buy" triangle appears when a shorter MA crosses above a longer MA while the MACD histogram is positive, providing secondary trend confirmation.
Details
The script construction utilizes the ta.sar function to determine price direction. When the PSAR switches position (a reversal), the script captures the current price and extends it forward as a horizontal line. This method aims to eliminate the "whipsaw" effect often found in trending indicators by requiring price to breach historical reversal points before confirming a new trend. The implementation also allows for multi-timeframe analysis, enabling users to see S/R levels from higher timeframes on their current chart.
Settings
- S/R Timeframe: Determines the timeframe used to calculate the Parabolic SAR and resulting support/resistance levels.
- Shift S/R Forward/Backward: Offsets the horizontal S/R lines on the X-axis.
- Start / Increment / Maximum: Standard Parabolic SAR parameters that control the sensitivity and acceleration of the SAR calculation.
- Moving Average Length (1 & 2): Sets the period for the two trend-following lines.
- Moving Average Type (1 & 2): Allows users to choose between EMA, SMA, WMA, or HMA for the crossover logic.
FAQ
How do I use the PSAR-Support Resistance levels?
The levels represent the price at the last trend reversal. They are best used to identify breakouts; a bullish signal is stronger when price closes above the Resistance line, and a bearish signal is stronger when price closes below the Support line.
What do the triangles on the chart represent?
The small triangles represent Moving Average crossovers confirmed by the MACD histogram. A green triangle indicates a bullish crossover with positive momentum, while a red triangle indicates a bearish cross with negative momentum.
How can I access this indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
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.

