fungsi RSI ((records, N) {
//LC:=REF(CLOSE,1)
// RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1) * 100
var v1 = []
var v2 = []
var MAX = []
var ABS = []
for (var i = N; i < records.length; i++) {
//LC = rekod[i - 1].Close
var ba = records.slice ((i - N, i + 1)
v1[i] = ba
for (var k = N + 1; k < v1.length; k++) {
for (var j = N; j > 0; j
RumputRSI boleh melihat kod yang sepatutnya, FMZ juga terbuka.
Rumput https://www.fmz.com/bbs-topic/409
pu330619672Adakah ia terbuka? Saya dah cari, boleh saya berikan pautan?