var bullishmarubozu =require('
[email protected]').bullishmarubozu;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var input = {
close: [31.23],
open: [30.50],
high: [31.23],
low: [30.50],
}
var imageBuffer = drawCandleStick(input);
console.log(imageBuffer);
var result = bullishmarubozu(input);
console.log('Is Bullish Marubozu Pattern? :' +result);