var bearishharamicross =require('
[email protected]').bearishharamicross;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var input = {
open: [25.13, 23.45],
high: [25.80,24.59],
close: [22.14,23.45],
low: [21.7,23.07],
}
var imageBuffer = drawCandleStick(input);
console.log(imageBuffer);
var result = bearishharamicross(input);
console.log('Is Bearish HaramiCross Pattern? :' +result);