Hello
Thanks for your effort writing this package
When I call candlestick pattern recognition functions, they return either false or an array of calculated data. How to interpret the arrays?
For example this
array(1) {
[11]=>
float(0)
}
Key is candle index, right? What is 0?
According to your code
|
$outInteger[$outIdx++] = ($inClose[$i] >= $inOpen[$i] ? 1 : -1) * 100; |
I assume 0 - not found, 100 - bullish candle, -100 - bearish candle. I'm I right?
Hello
Thanks for your effort writing this package
When I call candlestick pattern recognition functions, they return either false or an array of calculated data. How to interpret the arrays?
For example this
Key is candle index, right? What is 0?
According to your code
phpTraderNative/source/TALib/Core/PatternRecognition.php
Line 682 in e77d8e8
I assume 0 - not found, 100 - bullish candle, -100 - bearish candle. I'm I right?