~/bend-docscommunity

src/core/overlap.bend checks

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

11 imports
import Base
import ./extrema_queue.bend as Queue
import ./bar.bend as Bar
import ./window.bend as Window
import ./moments.bend as Moments
import ./extrema.bend as Extrema
import ./ema.bend as Ema
import ./ma.bend as Ma
import ./rolling_average.bend as Average
import ./parameters.bend as Parameters
import ./volatility.bend as Vol

Types

type Bands source · line 13 · raw

@-N:Data -> Data

type Bollinger source · line 25 · raw

@-N:Data -> Type

type BollingerValue source · line 36 · raw

@-N:Data -> Data

type Acceleration source · line 85 · raw

@-N:Data -> Type

type VolumeWeight source · line 119 · raw

@-N:Data -> Data

type Heikin source · line 144 · raw

@-N:Data -> Data

type Keltner source · line 159 · raw

@-N:Data -> Data

type Stops source · line 200 · raw

@-N:Data -> Data

type ChandeKroll source · line 203 · raw

@-N:Data -> Type

Templates

template channel.output source · line 16 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.Value<N>>) -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N>, Maybe<&2, Bands<N>>)

template channel.next source · line 21 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-lt:(@_:N -> @_:N -> Bool) -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HL<N> -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N>, Maybe<&2, Bands<N>>)

template bollinger.initialized source · line 28 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @period:U32 -> @depth:Nat -> @up:N -> @down:N -> @kind:U32 -> @result:Result<&2, &1, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/parameters.Error, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ma.State<N>> -> Result<&2, &1, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/parameters.Error, Bollinger<N>>

template bollinger.init source · line 33 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @depth:Nat -> @up:N -> @down:N -> @+kind:U32 -> Result<&2, &1, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/parameters.Error, Bollinger<N>>

template bollinger.value source · line 39 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @+up:N -> @+down:N -> @+mean:N -> @+deviation:N -> @residual:N -> BollingerValue<N>

template bollinger.residual.fresh source · line 46 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @count:U32 -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, N) -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N>, N)

template bollinger.residual source · line 50 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @+price:N -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N> -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N>, N)

template bollinger.finish source · line 58 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @average:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ma.State<N> -> @+up:N -> @+down:N -> @+mean:N -> @deviation:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N>, N) -> Pair(Bollinger<N>, Maybe<&2, BollingerValue<N>>)

template bollinger.scan source · line 62 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @average:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ma.State<N> -> @+up:N -> @+down:N -> @+kind:U32 -> @+price:N -> @+mean:N -> @+deviation:N -> @moments:0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N> -> Pair(Bollinger<N>, Maybe<&2, BollingerValue<N>>)

template bollinger.values source · line 67 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @-sqrt:(@_:N -> N) -> @average:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ma.State<N> -> @moments:0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N> -> @up:N -> @down:N -> @+kind:U32 -> @+price:N -> @av:Maybe<&2, N> -> @stats:Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Value<N>> -> Pair(Bollinger<N>, Maybe<&2, BollingerValue<N>>)

template bollinger.moments source · line 73 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @-sqrt:(@_:N -> N) -> @average:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ma.State<N> -> @up:N -> @down:N -> @kind:U32 -> @price:N -> @value:Maybe<&2, N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Value<N>>) -> Pair(Bollinger<N>, Maybe<&2, BollingerValue<N>>)

template bollinger.average source · line 77 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @-sqrt:(@_:N -> N) -> @-abs:(@_:N -> N) -> @moments:0xbb55196063fb99add8900a97dfe6ee2d/src/core/moments.Cached<N> -> @up:N -> @down:N -> @kind:U32 -> @+price:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/ma.State<N>, Maybe<&2, N>) -> Pair(Bollinger<N>, Maybe<&2, BollingerValue<N>>)

template bollinger.next source · line 81 · 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) -> @-le:(@_:N -> @_:N -> Bool) -> @-atan:(@_:N -> N) -> @-sqrt:(@_:N -> N) -> @state:Bollinger<N> -> @+price:N -> Pair(Bollinger<N>, Maybe<&2, BollingerValue<N>>)

template accbands.init source · line 88 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @+period:U32 -> @+depth:Nat -> Acceleration<N>

template acceleration.value source · line 91 · raw

@-N:Data -> @upper:Maybe<&2, N> -> @middle:Maybe<&2, N> -> @lower:Maybe<&2, N> -> Maybe<&2, Bands<N>>

template acceleration.lower source · line 96 · raw

@-N:Data -> @upper:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @middle:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @u:Maybe<&2, N> -> @m:Maybe<&2, N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(Acceleration<N>, Maybe<&2, Bands<N>>)

template acceleration.middle source · line 100 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @upper:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @lower:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @u:Maybe<&2, N> -> @low:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(Acceleration<N>, Maybe<&2, Bands<N>>)

template acceleration.upper source · line 104 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @middle:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @lower:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @mid:N -> @low:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(Acceleration<N>, Maybe<&2, Bands<N>>)

template acceleration.bar source · line 108 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-eq:(@_:N -> @_:N -> Bool) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @upper:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @middle:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @lower:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> Pair(Acceleration<N>, Maybe<&2, Bands<N>>)

template acceleration.next source · line 115 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-eq:(@_:N -> @_:N -> Bool) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @state:Acceleration<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> Pair(Acceleration<N>, Maybe<&2, Bands<N>>)

template volume.step source · line 122 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @origin:N -> @acc:VolumeWeight<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N> -> VolumeWeight<N>

template volume.finish source · line 126 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @origin:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>, VolumeWeight<N>) -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>, Maybe<&2, N>)

template volume.ready source · line 130 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @+price:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>, Bool) -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>, Maybe<&2, N>)

template volume.pushed source · line 136 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @price:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>) -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>, Maybe<&2, N>)

template volume.next source · line 140 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @window:0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N> -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.CV<N>>, Maybe<&2, N>)

template heikin.prices source · line 148 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-min:(@_:N -> @_:N -> N) -> @-max:(@_:N -> @_:N -> N) -> @+open:N -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Pair(Heikin<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N>>)

template heikin.next source · line 154 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-min:(@_:N -> @_:N -> N) -> @-max:(@_:N -> @_:N -> N) -> @state:Heikin<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N> -> Pair(Heikin<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.OHLC<N>>)

template keltner.init source · line 162 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-div:(@_:N -> @_:N -> N) -> @+period:U32 -> @+atr_period:U32 -> @deviation:N -> Keltner<N>

template keltner.value source · line 167 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @factor:N -> @middle:Maybe<&2, N> -> @atr:Maybe<&2, N> -> Maybe<&2, Bands<N>>

template keltner.atr.step source · line 174 · 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) -> @-max:(@_:N -> @_:N -> N) -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N> -> @delay:U32 -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N>, Maybe<&2, N>)

template keltner.ema.step source · line 179 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N> -> @delay:U32 -> @price:N -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>, Maybe<&2, N>)

template keltner.atr source · line 184 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @average:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N> -> @da:U32 -> @dr:U32 -> @+factor:N -> @m:Maybe<&2, N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N>, Maybe<&2, N>) -> Pair(Keltner<N>, Maybe<&2, Bands<N>>)

template keltner.average source · line 188 · 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) -> @-max:(@_:N -> @_:N -> N) -> @atr:0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N> -> @+da:U32 -> @+dr:U32 -> @factor:N -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>, Maybe<&2, N>) -> Pair(Keltner<N>, Maybe<&2, Bands<N>>)

template keltner.bar source · line 192 · 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) -> @-max:(@_:N -> @_:N -> N) -> @average:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N> -> @atr:0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N> -> @+da:U32 -> @dr:U32 -> @factor:N -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> Pair(Keltner<N>, Maybe<&2, Bands<N>>)

template keltner.next source · line 196 · 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) -> @-max:(@_:N -> @_:N -> N) -> @state:Keltner<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> Pair(Keltner<N>, Maybe<&2, Bands<N>>)

template chande.init source · line 206 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-div:(@_:N -> @_:N -> N) -> @+period:U32 -> @depth:Nat -> @factor:N -> @stop_period:U32 -> @stop_depth:Nat -> ChandeKroll<N>

template chande.output source · line 209 · raw

@-N:Data -> @prices:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @atr:0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N> -> @factor:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N>, Maybe<&2, Bands<N>>) -> Pair(ChandeKroll<N>, Maybe<&2, Stops<N>>)

template chande.values source · line 214 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-lt:(@_:N -> @_:N -> Bool) -> @-max:(@_:N -> @_:N -> N) -> @prices:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @stops:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @atr:0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N> -> @+factor:N -> @range:Maybe<&2, Bands<N>> -> @atr_value:Maybe<&2, N> -> Pair(ChandeKroll<N>, Maybe<&2, Stops<N>>)

template chande.atr source · line 221 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-lt:(@_:N -> @_:N -> Bool) -> @-max:(@_:N -> @_:N -> N) -> @prices:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @stops:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @factor:N -> @range:Maybe<&2, Bands<N>> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N>, Maybe<&2, N>) -> Pair(ChandeKroll<N>, Maybe<&2, Stops<N>>)

template chande.range source · line 225 · 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) -> @-lt:(@_:N -> @_:N -> Bool) -> @-max:(@_:N -> @_:N -> N) -> @stops:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @atr:0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N> -> @factor:N -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N>, Maybe<&2, Bands<N>>) -> Pair(ChandeKroll<N>, Maybe<&2, Stops<N>>)

template chande.bar source · line 229 · 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) -> @-lt:(@_:N -> @_:N -> Bool) -> @-max:(@_:N -> @_:N -> N) -> @prices:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @stops:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.State<N> -> @atr:0xbb55196063fb99add8900a97dfe6ee2d/src/core/volatility.Atr<N> -> @factor:N -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> Pair(ChandeKroll<N>, Maybe<&2, Stops<N>>)

template chande.next source · line 233 · 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) -> @-lt:(@_:N -> @_:N -> Bool) -> @-max:(@_:N -> @_:N -> N) -> @state:ChandeKroll<N> -> @bar:0xbb55196063fb99add8900a97dfe6ee2d/src/core/bar.HLC<N> -> Pair(ChandeKroll<N>, Maybe<&2, Stops<N>>)

template midpoint source · line 238 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @value:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema.Value<N> -> N

template midpoint.cached source · line 242 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @value:0xbb55196063fb99add8900a97dfe6ee2d/src/core/extrema_queue.Value<N> -> N