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