Skip to content

GetFractal does not return any values? #599

Answered by DaveSkender
preintel asked this question in Q&A
Discussion options

You must be logged in to vote

quotes.Count / 2 - 1) as the fractal windowSize is likely the problem in your example. By definition, you have a Williams' Fractal only when the evaluation point is the highest or lowest point within +/- windowSize bars. Try 2 here and use at least 100 quotes and see if you get any results.

Also, keep in mind, we return the same number of elements as there are in this historical quotes. Since there are relatively fewer identified Fractals, most of the result values will be null.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@preintel
Comment options

@DaveSkender
Comment options

@preintel
Comment options

@DaveSkender
Comment options

Answer selected by preintel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
user support Help a user with their implementation
2 participants