var morningdojistar =require('technicalindicators@1.0.5').morningdojistar;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var input = {
open: [22.20,20.30,20.70],
high: [22.50,20.45,21.82],
close: [20.80,20.30,21.58],
low: [20.65,20.10,20.40]
}
var imageBuffer = drawCandleStick(input);
console.log(imageBuffer);
var result = morningdojistar(input);
console.log('Is Morning Doji Star Pattern? :' +result);