> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# Prior Day OHLC

## Description

The prior day (session) open, high, low and close values.

Only use this indicator on intraday series.

## Syntax

`PriorDayOHLC()`

`PriorDayOHLC(ISeries\<double\> input)`

**Returns prior session open value**

`PriorDayOHLC().PriorOpen[int barsAgo]`

`PriorDayOHLC(ISeries\<double\> input).PriorOpen[int barsAgo]`

**Returns prior session high value**

PriorDayOHLC().PriorHigh\[int barsAgo]

`PriorDayOHLC(ISeries\<double\> input).PriorHigh[int barsAgo]`

**Returns prior session low value**

`PriorDayOHLC().PriorLow[int barsAgo]`

`PriorDayOHLC(ISeries\<double\> input).PriorLow[int barsAgo]`

**Returns prior session close value**

`PriorDayOHLC().PriorClose[int barsAgo]`

`PriorDayOHLC(ISeries\<double\> input).PriorClose[int barsAgo]`

## Return Value

**double**; Accessing this method via an index value `[int barsAgo]` returns the indicator value of the referenced bar.

## Parameters

* input
* Indicator source data ([Series\<T>](/developer/desktop-sdk/references/common/iseriest/seriest))

## Examples

```csharp
// Prints the value of the prior session low
double value = PriorDayOHLC().PriorLow[0];
Print("The prior session low value is " + value.ToString());
```

## Source Code

You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.