Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Bullish Harami

node v6.17.1
version: 2.0.0
endpointsharetweet
var bullishharami =require('technicalindicators@1.0.5').bullishharami; var drawCandleStick = require('draw-candlestick'); var canvas = require('canvas'); var input = { open: [20.12, 22,13], high: [23.82,22.76], close: [23.50,21.70], low: [19.88,21.31], } var imageBuffer = drawCandleStick(input); console.log(imageBuffer); var result = bullishharami(input); console.log('Is Bullish Harami Pattern? :' +result);
Loading…

1 comment

  • posted 5 years ago by zural
    Hi aarthi, There is problem in data. On this example it showing "Bearish Harami", Actually it should be bullish harmani. var input = { open: [23.50, 21.70], high: [23.82,22.76], close: [20.12,22.13], low: [19.88,21.31], }

sign in to comment