~/bend-docscommunity

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

type HLC source · line 6 · raw

@-N:Data -> Data

type HLV source · line 9 · raw

@-N:Data -> Data

type CV source · line 12 · raw

@-N:Data -> Data

type HLCV source · line 15 · raw

@-N:Data -> Data

type OHLC source · line 18 · raw

@-N:Data -> Data

type OHLCV source · line 21 · raw

@-N:Data -> Data

type Direction source · line 24 · raw

Data

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