Ta4j is an open-source Java library for technical analysis. It provides the basic components for the creation, evaluation, and execution of trading strategies. Ta4j is available on Maven Central. You can also download example code from the maven central repository. The wiki is the best place to start learning about ta4j. For more detailed questions, please use the issues tracker. 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.
Features
- 100% Pure Java - works on any Java Platform version 8 or later
- More than 130 technical indicators (Aroon, ATR, moving averages, parabolic SAR, RSI, etc.)
- A powerful engine for building custom trading strategies
- Utilities to run and compare strategies
- Minimal 3rd party dependencies
- It's MIT licensed