← Back to Home
Trading Signal / Indicator
🔵

Pivot Points

Calculate key support and resistance levels from the previous session.

Start Automating Free →

Want to automate this strategy? Try auto-Trading free — no credit card required.

Pivot Points chart

Overview

What is Pivot Points?

Pivot Points are one of the oldest and most widely used technical analysis tools, predating the computer era — floor traders in futures pits calculated them by hand each morning. The central pivot (P) is the average of the prior session's high, low, and close. From that single level, support levels (S1, S2, S3) and resistance levels (R1, R2, R3) are derived mathematically.

The key insight is that because so many participants are watching the same levels, those levels often become self-fulfilling. Price tends to react at pivot levels not necessarily because of fundamental value, but because of the concentration of buy and sell orders placed there.

Standard pivots are calculated daily, but weekly and monthly pivots are used by swing and position traders for longer timeframes. Camarilla pivots and Woodie's pivots are popular variants that weight the close more heavily, producing tighter intraday levels preferred by scalpers.

Pivot points are especially effective in range-bound markets where price oscillates between support and resistance. In trending markets, price often runs through levels — but even then, pauses and consolidations frequently occur at pivot lines, offering entry opportunities.

How It Works in auto-Trading

Automate It

auto-Trading calculates all pivot variants (Standard, Camarilla, Woodie's, Fibonacci) across all timeframes automatically. You can build strategies that trigger buy orders near S1/S2 with a target at P or R1, or set dynamic stop-losses based on the nearest pivot level below entry.

Try Free →

Strategy Code

Pick a script below, copy it, and use it on your chart.

Pine Script (TradingView)

This is a TradingView Pine Script example for this indicator. Paste it into the TradingView Pine Editor, add it to your chart, and adjust inputs for your market and timeframe.

//@version=6
strategy("Pivot Points", overlay=true)
fastLen = input.int(20, "Fast Length")
slowLen = input.int(50, "Slow Length")
fast = ta.ema(close, fastLen)

Get full strategy code access

Enter your email address and full name to unlock this strategy code.

ThinkScript (thinkorswim)

This is a thinkorswim ThinkScript example for this indicator. Open thinkorswim, create a custom study, paste the script, and apply it to your chart.

def pivot = (high[1] + low[1] + close[1]) / 3;
def buySignal = close crosses above pivot;
def sellSignal = close crosses below pivot;
AddOrder(OrderType.BUY_AUTO, buySignal, close, 1, Color.GREEN, Color.GREEN, "Pivot Buy");
AddOrder(OrderType.SELL_AUTO, sellSignal, close, 1, Color.RED, Color.RED, "Pivot Exit");

Get full strategy code access

Enter your email address and full name to unlock this strategy code.

Ready to automate Pivot Points?

Join thousands of traders who use auto-Trading to execute this strategy automatically, 24/7.

Get Started Free →

All Strategies & Signals

Continue Learning

Trading Strategies

Trading Signals & Indicators