var doji =require('technicalindicators@1.0.5').doji;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var singleInput = {
open: [30.10],
high: [32.10],
close: [30.13],
low: [28.10],
}
var imageBuffer = drawCandleStick(singleInput);
console.log(imageBuffer);
var result = doji(singleInput);
console.log('Is Doji Pattern? :' +result);