function RSI ((records, N) {
//LC:=REF ((CLOSE, 1) is the
// RSI1:SMA ((MAX)) close-LC,0), N1,1) /SMA (ABS) close-LC, N1,1) * 100
var v1 is equal to []
var v2 is equal to []
var MAX is equal to []
var ABS is equal to []
for (var i = N; i < records.length; i++) {
//LC = records[i - 1].Close
var ba = records.slice ((i - N, i + 1)
v1[i] is equal to ba
for (var k = N + 1; k < v1.length; k++) {
for (var j = N; j > 0; j
The grassRSI can see the code, FMZ is also open.
The grass https://www.fmz.com/bbs-topic/409
pu330619672It's open, I looked it up, can you give me a link?