Documentation / @finchart/indicators / pivotPoints
Function: pivotPoints()
pivotPoints(
source,options):PivotPoints
Defined in: indicators/src/factories.ts:2839
Pivot Points (Floor/Classic) — draws this period's pivot, support, and resistance from the previous period's high, low, and close: the pivot is P=(H+L+C)/3, then resistance R1=2P−L, R2=P+(H−L), R3=H+2(P−L) and support S1=2P−H, S2=P−(H−L), S3=L−2(H−P). Levels are constant within a period (horizontal segments), and a period's first candle is null, so the diagonal between periods breaks (TradingView doesn't connect it either). The first period has no predecessor, so it's entirely null.
Parameters
source
Source<OHLC>