Post
Topic
Board Service Announcements
Re: CryptoTrader.org - First Web-based Algorithmic Trading Platform for Bitcoin
by
ironstove
on 08/09/2013, 00:25:02 UTC
Having trouble getting the RSI to calculate:

The following code:
Code:
   value = talib.RSI
    startIdx: 0
    endIdx: instrument.close.length-1
    inReal: instrument.close
    optInTimePeriod: 14
    result = _.last(value)
    
    debug result

debug value returns null like so:

Quote
2013-09-07 15:00 null
2013-09-07 15:15 null
2013-09-07 15:30 null
2013-09-07 15:45 null
2013-09-07 16:00 null

Any idea what's going on? Thanks.

EDIT:

Nevermind, looks like the double space matters quite a bit hahaha. Got it to work.