For example I would like to be able to change the price every time I run a strategy.
I have noticed that when you right click on a strategy to run it, there is an option called "parameters". This is currently greyed out on my options.
How do i change my code to allow me to pass a strategy a parameter. I have tried the following which doesn't work

public class ParameterTest(double dPrice) implements IStrategy {
public void onTick(Instrument instrument, ITick tick) throws JFException {
console.getOut().println(dPrice);
}
}
Thanks in advance.