Pivot points
- Price
- Open
- High
- Low
Classic · previous day
- Pivot
- R1
- R2
- R3
- S1
- S2
- S3
- near
Support and resistance of the prior period. Calculates fixed levels for the current day from the previous day’s high, low and close: the pivot in the middle, the resistances R1 to R3 above, the supports S1 to S3 below. Many traders watch these levels, so the price often turns there or speeds up when it breaks through. Instead of the previous day you can use the previous week or month. The “near” output reports when a candle comes within a band of ±x % of a chosen level. Example: “Price crosses above R1” fires when BTC rises above the first resistance of the day; “near R1 ±0.3 %” already when it gets within 0.3 %.
What it looks like
Section titled “What it looks like”- Price (close of each candle)
- resistance R1
- Pivot
- support S1
- price crosses above R1
Setting it in the chart
Section titled “Setting it in the chart”
In the properties, a chart shows the levels over the last 150 candles, with their names on the right. Click a level or its name, or pick it with the arrow keys: the band ±x % for the “near” output lies around it. Drag an edge of the band or type the number under “Band ±”; dots mark the candles that came that close to the level. Levels far from the price sit at the edge with an arrow.
More under Chart above the price.
Settings
Section titled “Settings”The settings appear on the right under “Properties” once you click the node on the board. Below each field you find the same explanation as here.
Which calculation the levels come from. If unsure, use Classic.
- Classic (default): The usual calculation: the pivot is the mean of high, low and close. R2 and S2 sit one full range of the previous period away from the pivot, R3 and S3 two.
- Traditional: Like Classic up to R2 and S2. R3 sits one full range of the previous period above R1, S3 one below S1; this is how many charting tools compute their standard pivots.
- Fibonacci: The levels sit 38.2 %, 61.8 % and 100 % of the previous period’s range above and below the pivot.
- Camarilla: Tight levels close to the previous period’s close, meant for turning points within the day. R3 and S3 count as the most important ones.
- Woodie: Instead of the close, the current day’s open counts twice. That puts the pivot closer to the current price.
Period
Section titled “Period”Which period the high, low and close come from.
- previous day (default): High, low and close of the previous day. The levels hold all day and are renewed at midnight. Usual for candles up to 1 hour.
- previous week: High, low and close of the last calendar week, Monday to Sunday. The levels hold all week. Suits 4-hour candles.
- previous month: High, low and close of the last calendar month. The levels hold all month. Suits daily candles.
Time zone
Section titled “Time zone”The time zone in which the day, week and month begin. The default is UTC, like the exchanges’ daily candles; in Berlin that is 1:00 AM in winter and 2:00 AM in summer. With Europe/Berlin the day begins at midnight German time.
Which level the “near” output refers to. In the chart above you can also pick it by clicking its line.
- R3: Third resistance, far above the pivot; the price only reaches it on days with a large range.
- R2: Second resistance above the pivot.
- R1: First resistance above the pivot, the most watched target to the upside.
- Pivot (default): The middle from the high, low and close of the previous period.
- S1: First support below the pivot, the most watched target to the downside.
- S2: Second support below the pivot.
- S3: Third support, far below the pivot.
Band ±
Section titled “Band ±”How close a candle must come to the level, in percent of the level: “near” is true as soon as the candle’s high or low reaches into the band. 0.3 means 0.3 % above and below, so with a level of $80,000 that is $240. With 0 only a candle that touches the level itself counts.
Example
Section titled “Example”Notifies you when the price breaks above the first resistance of the day (R1).
How to connect the nodes:
- Candle (Price) → Pivot points (Price)
- Candle (High) → Pivot points (High)
- Candle (Low) → Pivot points (Low)
- Candle (Open) → Pivot points (Open)
- Candle (Price) → Compare A/B (A)
- Pivot points (R1) → Compare A/B (B)
- Compare A/B (true/false) → Telegram (Trigger)
On the board it reads: Classic · previous day
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Pivot points", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "1h" } }, { "id": "v1", "type": "core.pivots", "position": { "x": 260, "y": 40 }, "settings": {} }, { "id": "k1", "type": "core.compare-ab", "position": { "x": 480, "y": 40 }, "settings": { "operator": "crossesAbove" } }, { "id": "t1", "type": "core.telegram", "position": { "x": 700, "y": 40 }, "settings": {} } ], "edges": [ { "from": "c1.close", "to": "v1.close" }, { "from": "c1.high", "to": "v1.high" }, { "from": "c1.low", "to": "v1.low" }, { "from": "c1.open", "to": "v1.open" }, { "from": "c1.close", "to": "k1.a" }, { "from": "v1.r1", "to": "k1.b" }, { "from": "k1.out", "to": "t1.in" } ]}Inputs and outputs
Section titled “Inputs and outputs”Only matching types connect: number series to number series (round pin), signal to signal (square), message to message (diamond).
| Direction | Pin | Type | Note |
|---|---|---|---|
| Input | Price | Number series | required |
| Input | Open | Number series | optional |
| Input | High | Number series | required |
| Input | Low | Number series | required |
| Output | Pivot | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | R1 | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | R2 | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | R3 | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | S1 | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | S2 | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | S3 | Number series | appears in messages as a price, e.g. “$81,616” |
| Output | near | Signal (true/false) | – |
Good to know
Section titled “Good to know”- In messages the values are called “Pivot”, “R1”, “R2”, “R3”, “S1”, “S2”, “S3”.
- Warm-up with the default settings: 48 candles (this many extra candles are loaded by the replay before the value is reliable).
- Search also finds it under: pivot, resistance, support, r1, s1, level, near, traditional.
Technical details
Section titled “Technical details”Pivot (H + L + C) / 3 from the high, low and close of the previous period, R1 to R3 and S1 to S3 spaced by the range H − L depending on the type; Traditional with R3 = 2 × P + (H − 2 × L) and S3 = 2 × P − (2 × H − L); Woodie with (H + L + 2 × O) / 4, O being the current period’s open. All five types with the same values as TradingView’s built-in Pivot Points Standard indicator. If the Open input isn’t connected, Woodie uses the previous close. “near”: low ≤ level × (1 + x / 100) and high ≥ level × (1 − x / 100).
- Type in the chain:
core.pivots· Version 1.0.0 · Category keyind - Settings in the chain:
kind(Type),period(Period),timezone(Time zone),level(Level),width(Band ±) - Pins in the chain: Input
close,open,high,low· Outputpivot,r1,r2,r3,s1,s2,s3,near - Reference tests in the manifest: 3 (with fixed price data: 500 candles of 1h)
- How a node is built
Version 2026.10.21.23 · Changelog