anandanand84 / technicalindicators

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

What order do we provide data in? Docs don't say #206

Closed Jahans3 closed 4 years ago

Jahans3 commented 4 years ago

Great library, was hoping someone could let me know what order we should provide our time series data in? Oldest first or newest first? Thanks

anandanand84 commented 4 years ago

By default you should provide oldest first. You can also provide latest first if you set the flag reversedInput:true when you call