I just tried it.

private final MovingWindow values;
values = new MovingWindow(60);
double value = myIndicator.getValue();
values.add(value);

values.getElement(1) doesn't return the value of the close of
myIndicator 60 seconds before.
Is there anything wrong in what I'm doing ?

-- 
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.

Reply via email to