Pivot Points

Pivot Points depict support and resistance levels, based on prior calendar windows. You can specify window size (e.g. month, week, day, etc) and any of the traditional Floor Trading, Camarilla, Demark, Fibonacci, and Woodie variants.

[Discuss] 💬

chart for Pivot Points

// C# usage syntax
IEnumerable<PivotPointsResult> results =
  quotes.GetPivotPoints(windowSize, pointType);

Parameters

windowSize PeriodSize - Size of the lookback window

pointType PivotPointType - Type of Pivot Point. Default is PivotPointType.Standard

Historical quotes requirements

You must have at least 2 windows of quotes to cover the warmup periods. For example, if you specify a Week window size, you need at least 14 calendar days of quotes.

quotes is a collection of generic TQuote historical price quotes. It should have a consistent frequency (day, hour, minute, etc). See the Guide for more information.

PeriodSize options (for windowSize)

PeriodSize.Month - Use the prior month’s data to calculate current month’s Pivot Points

PeriodSize.Week - [..] weekly

PeriodSize.Day - [..] daily. Commonly used for intraday data.

PeriodSize.OneHour - [..] hourly

PivotPointType options

PivotPointType.Standard - Floor Trading (default)

PivotPointType.Camarilla - Camarilla

PivotPointType.Demark - Demark

PivotPointType.Fibonacci - Fibonacci

PivotPointType.Woodie - Woodie

Response

IEnumerable<PivotPointsResult>

🚩 Warning: The second window may be inaccurate if the first window contains incomplete data. For example, this can occur if you specify a Month window size and only provide 45 calendar days (1.5 months) of quotes.

👉 Repaint warning: the last window will be repainted if it does not contain a full window of data.

PivotPointsResult

Date DateTime - Date from evaluated TQuote

R3 decimal - Resistance level 3

R2 decimal - Resistance level 2

R1 decimal - Resistance level 1

PP decimal - Pivot Point

S1 decimal - Support level 1

S2 decimal - Support level 2

S3 decimal - Support level 3

Utilities

See Utilities and helpers for more information.

Chaining

This indicator is not chain-enabled and must be generated from quotes. It cannot be used for further processing by other chain-enabled indicators.