Bullish Engulfing Pattern
var bullishengulfingpattern =require('technicalindicators@1.0.5').bullishengulfingpattern;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var twoDayBullishInput = {
open: [23.25,15.36],
high: [25.10,30.87],
close: [21.44,27.89],
low: [20.82,14.93],
}
var imageBuffer = drawCandleStick(twoDayBullishInput);
console.log(imageBuffer);
var result = bullishengulfingpattern(twoDayBullishInput);
console.log('Is BullishEngulfingPattern? :' +result);
no comments