> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/function/technical-analysis/pivot-points.md).

# Pivot Points

## [Pivot Points](/function/technical-analysis.md#pivot-points)

<mark style="color:red;">`pivot(`</mark>[<mark style="color:blue;">`candles`</mark>](/function/functions/candles.md)<mark style="color:red;">`: List[[`</mark>[<mark style="color:blue;">`Candle`</mark>](/function/structures.md#candle)<mark style="color:red;">`]]) -> List[Pivot]`</mark>

where <mark style="color:red;">`Pivot`</mark> this is object with fields: `pivot`, <mark style="color:red;">`s1`</mark>, <mark style="color:red;">`s2`</mark>, <mark style="color:red;">`s3`</mark>, <mark style="color:red;">`s4`</mark>, <mark style="color:red;">`r1`</mark>, <mark style="color:red;">`r2`</mark>, <mark style="color:red;">`r3`</mark>, <mark style="color:red;">`r4`</mark>
