Open temp3l opened 5 years ago
var input = { open: [23.5, 21.7], high: [23.82, 22.76], close: [20.12, 22.13], low: [19.88, 21.31] };
Logic was correct, only the sample data given in the example was wrong, use the above and check.
@sivaraj-v Your input gives false
for Bullish Harami using this library, but in my opinion, it should be true. Your inputs indeed follow the pattern of Bullish Harami. I believe there's a bug here with the library
var bullishharami =require('technicalindicators').bullishharami;
var input = { open: [20.12, 22,13], high: [23.82,22.76], close: [23.50,21.70], low: [19.88,21.31], }
var result = bullishharami(input); console.log('Is Bullish Harami Pattern? :' +result);