Support & Resistance Trendlines with PP + Fib. Channel
Oct 26, 2022

The Support & Resistance Trendlines with PP + Fib. Channel indicator is a technical analysis tool that automatically identifies and projects trend-based support and resistance levels using pivot points and integrated Fibonacci channels. This script aims to help traders visualize potential chart patterns, breakout targets, and pullback entries through a combination of dynamic trendlines and multi-level Fibonacci retracements and extensions.
Usage
The script can be used to identify key market structures and potential reversal zones. Traders can use the pivot-based trendlines to define the current trend direction and the Fibonacci channels to identify overextended or corrective price action.
- Support & Resistance: The script draws lines connecting recent pivot highs and lows to establish dynamic zones.
- Fibonacci Channel: Provides a framework for identifying price targets and support during trending markets.
- Patterns & Breakouts: By observing how price interacts with the trendlines and Fib levels, users can spot potential chart patterns and set targets for breakout trades.
- Entries & Pullbacks: The Fibonacci retracement levels (e.g., 0.382, 0.618) serve as potential entry points during pullbacks within a trend.
Details
This tool is constructed using Pivot High and Pivot Low calculations over a user-defined length. It maintains a lookback of significant price points to draw relevant trendlines. The Fibonacci channel is anchored to these pivot points, allowing the extension and retracement levels to scale dynamically with market volatility. The implementation includes configurable visual styles (solid, dotted, dashed) and customizable colors to enhance chart clarity.
Settings
Pivot Points
- Length: Determines the number of bars on each side of a high/low required to confirm a pivot point.
- Pivot Points Lookback: Sets the number of historical pivot points used for calculation.
- Lines Extension: Controls the length of the projected trendlines.
- Source: Defines the price data used for pivot detection (e.g., Close, High/Low).
Pivot Labels & Lines
- Show Pivot Labels/Lines: Toggles the visibility of pivot markers and connecting lines.
- Active/Inactive Colors: Customizes the visual representation of current versus historical pivots.
- Width & Style: Adjusts the thickness and line type (Solid, Dotted, Dashed).
Support & Resistance
- Show Channel Lines: Enables or disables the primary Fibonacci channel.
- Extend Channel Lines: Projects the channel lines into the past or future.
- Fill Channel Background: Toggles the background shading between channel boundaries.
Fibonacci Levels
- Draw Fib. Retr. Lines: Enables Fibonacci retracement levels within the channel.
- Draw Fib. Ext. Lines: Enables Fibonacci extension levels for breakout targets.
- Level 01-10: Individual toggles and value inputs for specific Fibonacci ratios.
FAQ
How do I use the Fibonacci levels for targets?
The Fibonacci extension lines (values above 1.0 or below 0) act as projected targets when price breaks out of the established pivot channel, while retracement levels indicate where price might find support during a dip.
Can I change the sensitivity of the trendlines?
Yes, by adjusting the "Length" setting in the Pivot Points group, you can make the indicator more sensitive to short-term price movements or focus on long-term structural trends.
How do I access Support & Resistance Trendlines with PP + Fib. Channel?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.