anandanand84 / technicalindicators

A javascript technical indicators written in typescript with pattern recognition right in the browser
MIT License
2.13k stars 550 forks source link

bullishspinningtop and bearishspinningtop return the same result #223

Open thicow opened 3 years ago

thicow commented 3 years ago

bullishspinningtop and bearishspinningtop return the same result to this sample: import * as ti from 'technicalindicators'; var singleInput = { open: [19.72], high: [19.86], close: [19.67], low: [19.38], }

const bullishspinningtop = ti.bullishspinningtop; bullishspinningtop(singleInput); // return true...

const bearishspinningtop = ti.bearishspinningtop; bearishspinningtop(singleInput); // return true