Handbook
Glossary
tema ( seq n -- newseq )
Vocabulary
math
.
finance
Inputs
seq
an
object
n
an
object
Outputs
newseq
an
object
Definition
USING:
kernel
math.vectors
sequences
;
IN:
math.finance
:
tema
( seq n -- newseq )
[
ema
]
keep
dupd
[
ema
]
keep
[
drop
[
3
v*n
]
bi@
[
length
tail*
]
keep
v-
]
[
ema
nip
]
3bi
[
length
tail*
]
keep
v+
;