rsi indicator function

Author: 779343959, Created: 2016-05-18 23:11:42, Updated:

So what's the smallest period to get rsi, the 30-minute indicator function?


More

779343959https://dn-filebox.qbox.me/8917019aafdcb8b5d7807655f7bba3974cc3c3d8.jpg So, if you want to see if it's wrong, why is it that the result is so far from the rsi of the token?

xuanxuanIt's like the RSI of a BAR before the current time period.

779343959var rsiValue = rsi[records.length - 1]; What does this mean?

The Little DreamThe value of records.length-1 is the last value of this RSI indicator line, which is based on the last column of the K-line, the real-time data change, which has been changing since the end of the cycle, so if you want to verify the RSI, use the second index factor: records.length-2, which is the data determined after the close.

The Little DreamThis records.length-1 is an arithmetic index that represents the last marker of the arithmetic element, rsi [records.length-1] this is the last value of the rsi pointer line