function CEL_OnInstrumentChanged(Source, EventID, Instrument, Quotes, props, varargin)

global m_UpdatesCount;

try
    m_UpdatesCount = m_UpdatesCount + 1;
catch
    CEL_ShutDown;
    disp('An error occurred in CEL_OnInstrumentChanged.m file.');
end