If for example the buffer variable is not configured properly the EA will give a message saying:
invalid pointer access at ...
Each CSignalClass implementation should implement the ValidateParameters method from CCustomSignal an check for correct configuration of buffers and levels.