final Conditions conditions = new Conditions(new BigDecimal(commissions), new BigDecimal(slippage));
final MoneyManagementStrategy moneyManager = new FixedPercentageAllocationStrategy(allocation, asset);
FitnessFunction fitness = new FitnessFunction() {
public double evaluate(double[] x) {
double buyTrigger = x[0];
double sellTrigger = x[1];
double stopLoss = x[2];