// In the initialize method:
settinggroup.addRow(new InstrumentDescriptor(Inputs.INSTRUMENT, "Selection"));
// In the calculate method:
Instrument i1 = getSettings().getInstrument(Inputs.INSTRUMENT);
if (series.getClose(i1) < 40.0) i1.setSymbol("FB");