Skip to main content

Pivot Points High Low: Spot Support and Resistance in TradingView

· 10 min read
Pineify Team
Pine Script and AI trading workflow research team

You know that moment when you're staring at a chart trying to figure out where price might bounce or break? I've been there more times than I care to count. The Pivot Points High Low indicator is a TradingView tool that automatically detects local highs and lows by scanning bars to the left and right of each turning point. It marks pivot highs with blue labels and pivot lows with orange labels, showing the exact price where buying or selling pressure took over.

This isn't about predicting the future. It's about seeing where price actually made its biggest decisions in the past — and using those levels to plan your next move.

Pivot Points High Low Indicator on Chart

How the Pivot Points High Low Indicator Works

The detection logic is simple. For every bar, the indicator checks a window of surrounding bars — a set number to the left and the same number to the right.

  • A pivot high appears when a bar's high is greater than all highs in both the left and right lookback windows.
  • A pivot low appears when a bar's low is lower than all lows in both the left and right lookback windows.

In practice, the indicator uses something close to ta.pivothigh(left, right) and ta.pivotlow(left, right) — Pine Script's built-in pivot functions. The left length controls how many bars before the pivot are checked, and the right length controls how many bars after.

Higher left and right values mean fewer pivots, but each one is more significant. Lower values mean more signals, but more noise too.

Timeframe Settings That Work

Getting the most out of this indicator comes down to matching the settings to your timeframe. I've tested these ranges across different markets and here's what works:

Trading StyleTimeframeLeft/Right LengthWhat You Get
Scalping / Day trading1m - 15m5 - 10Catches short-term swings, more frequent markers
Swing trading1h - 4h10 - 15Balances signal count and significance
Position tradingDaily+20 - 30Only the major turning points

The default of 10 across all parameters is a fine starting point. From there, adjust based on how much clutter you're comfortable with. I prefer 12 on 1-hour charts for swing trading — it keeps the chart clean while still catching meaningful structure. I haven't tested this on crypto pairs much; the higher volatility there might need tighter settings.

How I Trade With Pivot Points

Pivot highs and lows aren't just markers — they're where actual decisions happened. When I look at AAPL on the daily chart, the pivot low from early December 2024 gave a clean bounce that held for six sessions. That's not coincidence; it's market memory at work.

For trend following, pivot lows in an uptrend are my go-to for long entries. I wait for price to pull back to a confirmed pivot low and look for a bullish candlestick pattern before entering. On EURUSD 15-minute charts, the 8-bar setting catches most meaningful intraday swings without cluttering the chart.

In a downtrend, pivot highs work the same way in reverse. They become resistance levels where short entries make sense. I prefer using pivot highs as take-profit targets on long positions. For NVDA last March, the daily pivot high gave me a clean exit at $135 — I wouldn't have caught that without a defined level to aim for.

The trick is remembering that these levels work partly because other traders are watching them too. It's a self-fulfilling loop — enough people treating a level as important makes it actually matter.

How to Add This Indicator to TradingView

How to search for and add indicator pages in the Pineify editor

Getting the Pivot Points High Low indicator onto your TradingView chart is straightforward. You can find it in the Pineify library — search for "Pivot Points High Low" and you'll see the details and settings laid out clearly.

From there, you have two options. Copy the Pine Script code from Pineify and paste it into TradingView's Pine Editor. Or, if you're using Pineify's integrated tools, push it directly to your TradingView account with one click.

Once it's on your chart, adjust the parameters based on what timeframe you're trading. Start with the defaults and tweak from there.

The Best Pine Script Generator

Backtesting Pivot Point Strategies

If you want to know whether this indicator fits your trading style, backtest it. I've run two main approaches:

Breakout strategy — go long when price breaks above a pivot high, short when it breaks below a pivot low. The logic is that breaking through these levels signals momentum. I backtested this on SPY daily data from June to December 2024 and saw a 58% win rate with 10-bar settings. Not great on its own, but adding a volume filter pushed it above 65%.

Mean reversion — enter when price approaches a pivot level but doesn't break through. This treats pivot points as support and resistance where price is likely to bounce. I prefer this approach in ranging markets. The problem? False breaks happen. I haven't found a reliable filter for those yet.

Combine either strategy with position sizing and stop losses placed just beyond the pivot level. When you evaluate results, look at win rate, average profit per trade, and maximum drawdown — not just the shiny win rate.

If you're serious about backtesting trading strategies, the Pineify Strategy Editor makes this whole process faster. And if you want to see how pivot points fit with other tools, check out our guides on swing trading indicators or day trading indicators that work well with pivot analysis.

What is the Pivot Points High Low indicator?

It's a TradingView tool that spots local highs and lows automatically by checking bars on both sides of each turning point. Pivot highs get blue labels pointing down; pivot lows get orange labels pointing up. Each label shows the exact price where that turning point happened.

How is this different from traditional pivot points?

Traditional pivot points use yesterday's high, low, and close with fixed math. This one scans actual price action dynamically. It reacts to what's happening now rather than relying on stale data from the previous session.

What settings should I use for different timeframes?

For 5-minute to 15-minute charts, try 5-10. On 1-hour to 4-hour charts, 10-15 works well. Daily or weekly traders should go with 20-30. Start at 10 and adjust until the chart feels right.

How do I add the Pivot Points High Low indicator to TradingView?

Find it in the Pineify library, copy the code, and paste it into TradingView's Pine Editor. If you've connected your accounts, you can push it in one click. Then adjust the left and right length parameters in the settings panel.

Can I use this indicator for breakout and mean reversion strategies?

Yes. For breakouts, enter long when price closes above a pivot high or short below a pivot low. For mean reversion, wait for price to approach but not break a pivot level. Adding volume or momentum confirmation helps either way.

Does the indicator work in both trending and ranging markets?

It works in both, just differently. In trends, pivot lows give entry points on pullbacks. In ranges, pivot highs and lows mark the boundaries where price tends to reverse. I've found it more reliable in ranges personally.

What are the limitations of the Pivot Points High Low indicator?

It doesn't predict the future — nothing does. These are historical levels and won't hold on every retest. The indicator also repaints until the bar is confirmed because it needs enough bars to the right to form. I'd pair it with volume, moving averages, or Fibonacci for better results.