Sessions reference
The 6 functions and 0 values of session: signature, effects, phase, cost and tested examples.
A session is two times of day and a zone, declared with session NAME = 08:00 .. 16:30 @ "Zone". Its members, written NAME.active, NAME.start and so on, tell where the bar stands in it.
Functions#
NAME.active#
NAME.active
True while the bar is inside the session.
- Effects: none: the result depends on the arguments only.
- Phase: every bar.
- Cost: a fixed number of operations.
- Examples: Session highs, Session range boxes, A session read by itself.
NAME.end#
NAME.end
True on the first bar after the session.
- Effects: none: the result depends on the arguments only.
- Phase: every bar.
- Cost: a fixed number of operations.
- Examples: Session range boxes, A session read by itself.
NAME.high#
NAME.high
The highest price of the current session so far.
- Effects: none: the result depends on the arguments only.
- Phase: every bar.
- Cost: a fixed number of operations.
- Examples: Session range boxes, A session read by itself.
NAME.index#
NAME.index
The number of the current session.
- Effects: none: the result depends on the arguments only.
- Phase: every bar.
- Cost: a fixed number of operations.
- Examples: Session range boxes.
NAME.low#
NAME.low
The lowest price of the current session so far.
- Effects: none: the result depends on the arguments only.
- Phase: every bar.
- Cost: a fixed number of operations.
- Examples: Session range boxes, A session read by itself.
NAME.start#
NAME.start
True on the first bar of the session.
- Effects: none: the result depends on the arguments only.
- Phase: every bar.
- Cost: a fixed number of operations.
- Examples: Session range boxes, A session read by itself.