Doji

node v6.17.1
version: 2.0.0
endpointsharetweet
var doji =require('technicalindicators@1.0.5').doji; var drawCandleStick = require('draw-candlestick'); var canvas = require('canvas'); var singleInput = { open: [30.10], high: [32.10], close: [30.13], low: [28.10], } var imageBuffer = drawCandleStick(singleInput); console.log(imageBuffer); var result = doji(singleInput); console.log('Is Doji Pattern? :' +result);
Loading…

1 comment

  • posted 2 months ago by trankimtin
    singleInput: { open: [ 71327.11 ], high: [ 71327.12 ], close: [ 71272 ], low: [ 71248.67 ] }, doji: true it should be false

sign in to comment