calculate rsi
const newFunction = async () => { // https://stackoverflow.com/questions/70452789/node-js-find-the-same-rsi-as-tradingview // https://gist.github.com/jmoz/1f93b264650376131ed65875782df386 // https://stackoverflow.com/questions/50203625/calculate-rsi-based-on-kraken-ohlc // topdown1.count({}, function( err, count){ // console.log( "Number of data in db :", count ); // topdown1.find(async (err,items)=>{ // if(err){ // console.log(err) // } // else{ const ticker = await exchange . fetchTicker ( '...