Skip to content

how to use predictPattern function #263

Description

@monomy001

Hi, first of all, great library! appreciate everyone's hard work.
I have a question.. How do you use the predictPattern function?
It looks as if the function is turned off deliberately.

I am hoping to be able to do something like this
var twoDayBullishInput = {
open: [23.25, 15.36],
high: [25.10, 30.87],
close: [21.44, 27.89],
low: [20.82, 14.93],
}
console.log(ti.predictPattern(twoDayBullishInput));

and it would log out an array of say
['doji','shootingstar'] of whatever OHLC values passed into the function.

would appreciate any pointers, thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions