Skip to content
StatePath
All data types

direction

A direction value — which way a tool reads the market, encoded as a number.

  • BUFFER
  • SCALAR

What is it

A num-family direction code (e.g. +1 up / -1 down).

  • SCALARnum.directionint64
  • BUFFERnum.directionfloat64
  • BUFFERnum.directionint64

What is it a kind of

Any tool that accepts num accepts this.

Who makes it

Who takes it

Exactly this
Through num
61 tools take any num

How do I turn it into something else

Fromnum.direction
Lossless, no tool needed
num
Becomes a flat series
SCALAR → BUFFER
Needs a tool