2.0.1 • Published 5 years ago

@strong-roots-capital/ichimoku-moving-average v2.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

ichimoku-moving-average Build status npm version codecov

Average of high and low over a lookback period

Install

npm install @strong-roots-capital/ichimoku-moving-average

Use

import IchimokuMovingAverage from '@strong-roots-capital/ichimoku-moving-average'

const tenkan = new IchimokuMovingAverage(9)
const kijun = new IchimokuMovingAverage(26)

for (const value of getValues()) {
    tenkan.push(value)
    kijun.push(value)
    console.log(tenkan.value() > kijun.value() ? 'uptrend' : 'downtrend')
}
2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago