Last candle data
#2
Ensure that you are within a function that has candle data passed into it.


Code:
function check(candle) {}


Then you can use candle.high, candle.low as regular variables.


Code:
console.log(`Candle High = ${candle.high}`);


etc
  Reply


Messages In This Thread
Last candle data - by Kris191 - 11-23-2018, 10:47 PM
RE: Last candle data - by Gryphon - 11-26-2018, 08:28 AM
RE: Last candle data - by Kris191 - 11-26-2018, 07:27 PM
RE: Last candle data - by Gryphon - 11-26-2018, 07:33 PM
RE: Last candle data - by Kris191 - 11-26-2018, 07:56 PM

Forum Jump:


Users browsing this thread: