Request for developing an alert when the CCI line crosses above the +100 level (becomes overbought) for the very first time only, after coming out of oversold territory. There should be no signals for subsequent overbought crosses above or crosses under the +100 level, unless it has tested the oversold territory {i.e. fallen below the (-)100 level} at least once again.
And vice versa, signal for being oversold for the very first time, after having been overbought at least once. Thanks in advance.