Skip to content

Candle pattern recognition retuning values #9

@sribna

Description

@sribna

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions