-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Q: what does CDL2CROWS return value -100 and 100 stands for? #711
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
Comments
It looks like perhaps it only returns 0 or -100: https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_CDL2CROWS.c#L225 |
But I do see others e.g: CDLXSIDEGAP3METHODS return 3 values: np.unique(candles) = array([-100, 0, 100] so, in general, what does |
Well there are also -200 and 200. In general, it's supposed to represent bearish for negative and bullish for positive. And I think -200 and +200 are meant to be "confirmation" signals. |
ok, these values should be in the README as guide, e.g. https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_CDLXSIDEGAP3METHODS.c#L215 |
PR's welcome! |
Well, only if I know enough about these values myself, e.g. so CDLXSIDEGAP3METHODS can be both bullish and bearish? |
Apparently!
I’m not trying to be difficult, but the authority for what each returns is
in the C source code.
There are also some candle settings that determine aspects of the CDL
algorithms.
|
ta-lib-python/talib/_func.pxi
Line 776 in 2ffcf42
0 means no pattern detected.
but what does CDL2CROWS return value -100 and 100 stands for?
Thanks.
The text was updated successfully, but these errors were encountered: