anandanand84 / technicalindicators

A javascript technical indicators written in typescript with pattern recognition right in the browser
MIT License
2.15k stars 557 forks source link

How to Calculate Real-time 1-Minute RSI value ? #122

Closed fc01 closed 6 years ago

fc01 commented 6 years ago

nextValue ??

I need updateValue function

const v = updateValue(13.4) //last minute close is 13.4 __ real time call

JMoli commented 6 years ago

You mean getResult? https://github.com/anandanand84/technicalindicators#getresult

anandanand84 commented 6 years ago

@fc01 Here is an example of using nextvalue.

https://github.com/anandanand84/technicalindicators/blob/master/test/oscillators/RSI.js#L66

mortezae commented 4 years ago

For people who reach this issue via search: this question is answered in #123