Thanks for the answer.

If I understood (I'm not a java developer), I should add to
onBookSnapshot() :

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

So in the variable "value" I have all the 1 minute values of
myIndicator ?
How can I access these values ? value[1] ... ?
How can I debug and see if that's right ? like a printf.

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