ta4j
A Java library for technical analysis
...We can calculate indicators over this bar series, in order to forecast the direction of prices through the study of past market data. Then we have to build our trading strategy. It is made of two trading rules, one for entry, the other for exit. Ta4j comes with a set of basic trading rules/strategies which can be combined using boolean operators. Trading strategies can be easily compared according to a set of analysis criteria. Ta4j can also be used for live trading with more complicated strategies.