> If your MovingWindow size is 60, then values.getElement(0) is the > value 59 seconds ago, values.getElement(1) is the value 58 seconds > ago, and values.getElement(59) is the value now. If that's not what > you see, please post your indicator class code, and we'll figure it > out. >
I looked at my code and realized there is a bug in the values.getElement(int index) method, so it does not behave as I described. I'll post a fix shortly. -- You received this message because you are subscribed to the Google Groups "JBookTrader" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
