@geofx 🙂 glad that worked.. As for the CAppDialogFixed... error, don't know.
From what I read, CappDialog is a panel.... in mt5? If this is not from the indicator, maybe you could renounce the panel.
Also, have you tried in forward test? Maybe it is because of backtest.
EDIT... You have there something that says show statistics on Yes. Maybe that's the panel? Try to put that to off, also.