You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the issue arises because some fixed rules, such as criteria for determining whether a candlestick is a long, medium, or short bearish one, are hardcoded in the pattern recognition function. Is it possible to modify these hardcoded criteria into parameters that everyone can adjust according to their needs?
update:
Sorry, I found a solution in a previous issue. I hope it can help you. #624
Not sure if I am misunderstanding something... but I am getting all zeros for many pattern rec functions...
numpy v1.26.4
pandas v2.2.2
TA-Lib v0.4.28
example code:
Results:
Open Prices: [22. 21. 20. 18. 16. 16. 18. 19. 20. 21. 22. 23. 24.]
High Prices: [23. 22. 21. 19. 17. 17. 19. 20. 21. 22. 23. 24. 25.]
Low Prices: [21. 20. 19. 17. 15. 15. 17. 18. 19. 20. 21. 22. 23.]
Close Prices: [21. 20. 18. 16. 16. 18. 19. 20. 21. 22. 23. 24. 25.]
Morning Star Pattern: [0 0 0 0 0 0 0 0 0 0 0 0 0]
The text was updated successfully, but these errors were encountered: