Home/Dovee/Function reference

previous-day-high

Prior completed calendar day's high (also low / open / close).

Reference/Language/Language

previous day high

Returns the OHLC of the last fully completed UTC calendar day, week, or month. During the current period the value stays fixed at the previous period's level. It never uses future bars. Variants: previous day/week/month open|high|low|close. Current developing levels: today high, week high, month high (and low/open/close).

Return value

Series (na until a previous period exists)

Note

  • Period boundaries use the chart bar timestamps (UTC calendar).
  • today high updates as the day develops using only bars up to the current bar.

Example

pdh = previous day high
when close crosses above pdh
  buy

See also