-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Candle pattern 'Shooting Star' is not detected #647
Comments
So you think the candle is defined in such a way that C code should trigger and it isn't? Or are you wondering if there is a definition issue where the example prices don't trigger and should? |
I think that the C code doesn't trigger the pattern when it should - according to the pattern describe in the documentation |
It is solved when I'm adding another candle from the left:
So the issue is about the definitions: How can I change the global candles settings ( |
What do you need to change? We currently expose that through a |
Thanks @mrjbq7 it is minor bug of off-by-one - the calculation should be over 10 candles and not 11. |
The pattern 'shooting star' is not detected on sample data (
talib.CDLSHOOTINGSTAR
)Here is a test file to reproduce it - you can run it directly and see the plot printed to the screen.
The shooting star candle is the second from the end.
You can run this simple python file and see that there's no detection and the pattern on the chart:
This is the chart:
I followed and made sure that the definition of my candles are correct according to the documentation in the C source code of the Shooting star pattern:
And I also made sure that the candles follows the default global definitions:
The text was updated successfully, but these errors were encountered: