~/bend-docscommunity

src/core/hikkake.bend checks

raw source on the hub · import bend-ta@0.1.0.0/src/core/hikkake.bend as Hikkake

4 imports
import Base
import ./bar.bend as Bar
import ./candle.bend as Candle
import ./patterns.bend as Pattern

Types

type Frame source · line 6 · raw

@-N:Data -> Data

type History source · line 9 · raw

@-N:Data -> Data

type Pending source · line 12 · raw

@-N:Data -> Data

type State source · line 15 · raw

@-N:Data -> Type

Templates

template init source · line 18 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @+modified:Bool -> @+setting:0xbb55196063fb99add8900a97dfe6ee2d/src/core/candle.Setting<N> -> @depth:Nat -> State<N>

template inside source · line 25 · raw

@-N:Data -> @-lt:(@_:N -> @_:N -> Bool) -> @inner:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> @outer:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Bool

template close.near source · line 29 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @negative:Bool -> @frame:Frame<N> -> Bool

template detect.if source · line 35 · raw

@-N:Data -> @negative:Bool -> @high:N -> @low:N -> @found:Bool -> Maybe<&2, Pending<N>>

template detect.frames source · line 40 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-lt:(@_:N -> @_:N -> Bool) -> @-le:(@_:N -> @_:N -> Bool) -> @+modified:Bool -> @+size:U32 -> @+high:N -> @+low:N -> @+one:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> @+two:Frame<N> -> @three:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Maybe<&2, Pending<N>>

template detect source · line 50 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-lt:(@_:N -> @_:N -> Bool) -> @-le:(@_:N -> @_:N -> Bool) -> @+modified:Bool -> @history:History<N> -> @current:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Maybe<&2, Pending<N>>

template confirm source · line 55 · raw

@-N:Data -> @-lt:(@_:N -> @_:N -> Bool) -> @pending:Pending<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Bool

template countdown source · line 60 · raw

@-N:Data -> @pending:Pending<N> -> Pending<N>

template result.confirmed source · line 64 · raw

@-N:Data -> @+pending:Pending<N> -> @confirmed:Bool -> Pair(Pending<N>, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/patterns.Signal)

template result.stale source · line 69 · raw

@-N:Data -> @-lt:(@_:N -> @_:N -> Bool) -> @+pending:Pending<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Pair(Pending<N>, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/patterns.Signal)

template result source · line 72 · raw

@-N:Data -> @-lt:(@_:N -> @_:N -> Bool) -> @pending:Pending<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> @detection:Maybe<&2, Pending<N>> -> Pair(Pending<N>, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/patterns.Signal)

template emit source · line 79 · raw

@-N:Data -> @modified:Bool -> @+remaining:U32 -> @near:0xbb55196063fb99add8900a97dfe6ee2d/src/core/candle.State<N> -> @history:History<N> -> @result:Pair(Pending<N>, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/patterns.Signal) -> Pair(State<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/patterns.Signal>)

template advanced source · line 83 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-lt:(@_:N -> @_:N -> Bool) -> @-le:(@_:N -> @_:N -> Bool) -> @+modified:Bool -> @remaining:U32 -> @+history:History<N> -> @pending:Pending<N> -> @+bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> @nearr:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/candle.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/patterns.Signal>)

template next source · line 87 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-min:(@_:N -> @_:N -> N) -> @-max:(@_:N -> @_:N -> N) -> @-lt:(@_:N -> @_:N -> Bool) -> @-le:(@_:N -> @_:N -> Bool) -> @state:State<N> -> @+bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Pair(State<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/patterns.Signal>)