customization of backtest works running "Optimise", not running "Backtest"

Hello,
I have customized my backtest (bo = GetBacktesterObject() etc.) and it works perfect, but only when runing "optimization".
Runing "backtest", my customization gets totaly ignored.
Of cause I studied the related documents, but I didnt found a hint.
Has someone an idea?
Regards Jutta

Unfortunately your question isn't clear enough and does not provide all necessary details to give you an answer. Please follow this advice: How to ask a good question

In short post the code