var darkcloudcover =require('technicalindicators@1.0.5').darkcloudcover;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var twoDayInput = {
open: [30.10,39.45],
high: [37.40,41.45],
close: [35.36,32.50],
low: [28.30,31.25],
}
var imageBuffer = drawCandleStick(twoDayInput);
console.log(imageBuffer);
var result = darkcloudcover(twoDayInput);
console.log('Is DarkCloudCover Pattern? :' +result);