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