You can replace the following code:
indicatorInfo = new IndicatorInfo("SMA_RSI", "SMA over RSI", "My indicators", false, false, false, false, 1, 2, 2);
with:
indicatorInfo = new IndicatorInfo("SMA_RSI", "SMA over RSI", "My indicators", false, false, false, 1, 2, 2);
If you need help developing indicators and strategies please use services of external programmers:
https://www.dukascopy.com/fxcomm/members/?user=&country=0&spoken_language=&services=program_service