Morning Star

node v6.17.1
version: 2.0.0
endpointsharetweet
var morningstar =require('technicalindicators@1.0.5').morningstar; var drawCandleStick = require('draw-candlestick'); var canvas = require('canvas'); var input = { open: [22.20,20.30,20.70], high: [22.50,20.45,21.82], close: [20.80,19.80,21.58], low: [20.65,19.60,20.40] } var imageBuffer = drawCandleStick(input); console.log(imageBuffer); var result = morningstar(input); console.log('Is Morning Star Pattern? :' +result);
Loading…

no comments

    sign in to comment