src/core/bar.bend checks
raw source on the hub · import bend-ta@0.1.0.0/src/core/bar.bend as Bar
1 import
import Base
Types
type HL source · line 3 · raw
@-N:Data -> Data
HL@-N:Data -> @high:N -> @low:N -> HL<N>
type HLC source · line 6 · raw
@-N:Data -> Data
HLC@-N:Data -> @high:N -> @low:N -> @close:N -> HLC<N>
type HLV source · line 9 · raw
@-N:Data -> Data
HLV@-N:Data -> @high:N -> @low:N -> @volume:N -> HLV<N>
type CV source · line 12 · raw
@-N:Data -> Data
CV@-N:Data -> @close:N -> @volume:N -> CV<N>
type HLCV source · line 15 · raw
@-N:Data -> Data
HLCV@-N:Data -> @high:N -> @low:N -> @close:N -> @volume:N -> HLCV<N>
type OHLC source · line 18 · raw
@-N:Data -> Data
OHLC@-N:Data -> @open:N -> @high:N -> @low:N -> @close:N -> OHLC<N>
type OHLCV source · line 21 · raw
@-N:Data -> Data
OHLCV@-N:Data -> @prices:OHLC<N> -> @volume:N -> OHLCV<N>
type Direction source · line 24 · raw
Data
UpDirection
DownDirection
Definitions
def is_up source · line 28 · raw
@direction:Direction -> Bool
Templates
template range source · line 33 · raw
@-N:Data -> @-sub:(@_:N -> @_:N -> N) -> @bar:HL<N> -> N
template true_range source · line 38 · raw
@-N:Data -> @-sub:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-max:(@_:N -> @_:N -> N) -> @+previous:N -> @bar:HLC<N> -> N
template body source · line 43 · raw
@-N:Data -> @-sub:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @bar:OHLC<N> -> N
template upper_shadow source · line 48 · raw
@-N:Data -> @-sub:(@_:N -> @_:N -> N) -> @-max:(@_:N -> @_:N -> N) -> @bar:OHLC<N> -> N
template lower_shadow source · line 53 · raw
@-N:Data -> @-sub:(@_:N -> @_:N -> N) -> @-min:(@_:N -> @_:N -> N) -> @bar:OHLC<N> -> N
template shadows source · line 58 · raw
@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-min:(@_:N -> @_:N -> N) -> @-max:(@_:N -> @_:N -> N) -> @+bar:OHLC<N> -> N
template color source · line 61 · raw
@-N:Data -> @-ge:(@_:N -> @_:N -> Bool) -> @bar:OHLC<N> -> Direction
template body_gap_up source · line 66 · raw
@-N:Data -> @-min:(@_:N -> @_:N -> N) -> @-max:(@_:N -> @_:N -> N) -> @-gt:(@_:N -> @_:N -> Bool) -> @current:OHLC<N> -> @previous:OHLC<N> -> Bool
template gap_up source · line 71 · raw
@-N:Data -> @-gt:(@_:N -> @_:N -> Bool) -> @current:OHLC<N> -> @previous:OHLC<N> -> Bool
template valid source · line 76 · raw
@-N:Data -> @-finite:(@_:N -> Bool) -> @-le:(@_:N -> @_:N -> Bool) -> @bar:OHLC<N> -> Bool