var piercingline =require('technicalindicators@1.0.5').piercingline;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var input = {
open: [42.70, 41.33],
high: [42.82,42.50],
close: [41.60,42.34],
low: [41.45,41.15],
}
var imageBuffer = drawCandleStick(input);
console.log(imageBuffer);
var result = piercingline(input);
console.log('Is Piercing Line Pattern? :' +result);