Back to Community
Talib Chart Patterns

Hey guys I'm just playing around with the chart patterns from talib and I'm curious as to what the output means exactly, I notice the docstring for the function of one of the chart patterns talib.CDL3BLACKCROWS() it says it will give an output of 0,-100,100. When I print the output values of the function, it's a numpy array composed of a bunch of zeros and then a 100 at index [-1] (the end of the numpy array). I'm assuming that 100 means the pattern occurred? That would make sense, what makes me curious is why there are a bunch of zeros prior to the actual 100 and what the -100 output value means? Can someone explain this to me and attach a random backtest of anything using a chart pattern so I can see how it's used. Thanks.

Clone Algorithm
6
Loading...
Backtest from to with initial capital
Total Returns
--
Alpha
--
Beta
--
Sharpe
--
Sortino
--
Max Drawdown
--
Benchmark Returns
--
Volatility
--
Returns 1 Month 3 Month 6 Month 12 Month
Alpha 1 Month 3 Month 6 Month 12 Month
Beta 1 Month 3 Month 6 Month 12 Month
Sharpe 1 Month 3 Month 6 Month 12 Month
Sortino 1 Month 3 Month 6 Month 12 Month
Volatility 1 Month 3 Month 6 Month 12 Month
Max Drawdown 1 Month 3 Month 6 Month 12 Month
# Backtest ID: 590f3a27ed899c61e2a5c3dc
There was a runtime error.