function CEL_OnCELStarted(Source, EventID, varargin)

global m_CEL;
global m_Symbol;
global m_Status;

try
    % Informing about CQGCEL starting and subscribing to given symbol.
    disp 'CEL is started.';
    disp (['Subscribing to ''', m_Symbol, '''.']);
    m_CEL.NewInstrument(m_Symbol);
    m_Status = 0;
catch
    CEL_ShutDown;
    disp('An error occurred in CEL_OnCELStarted.m file.');
end