Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use predictPattern function #263

Open
monomy001 opened this issue Dec 7, 2022 · 0 comments
Open

how to use predictPattern function #263

monomy001 opened this issue Dec 7, 2022 · 0 comments

Comments

@monomy001
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant