Home/Dovee/Function reference

session-high

Developing high of the script session window.

Reference/Language/Language

session high

Requires a session … to … statement. Returns the running open/high/low/close of bars inside that clock window for the current day (causal). Outside the window, holds the last completed session OHLC for that day. Named ranges use the same idea without dots: openingRange = range 9:15 to 9:30 then openingRange high.

Return value

Series

Example

session 9:15 to 15:30
openingRange = range 9:15 to 9:30
when close crosses above openingRange high
  buy

See also