Get previous indicator values

2 views
Skip to first unread message

MKoistinen

unread,
Jun 29, 2009, 10:24:32 AM6/29/09
to jsystemtrader-dev
I've made a simple method in Indicator.java to obtain any previous
result by overloading getValue() to allow a negative number,
indicating the number of bars ago requested. (0 : current value, -1 :
previous value, etc.) I am happy to submit this, but it is trivial.
Reply all
Reply to author
Forward
0 new messages