The %K and %D lines refer to stochastic oscillators. The %K line is calculated based on the highest and lowest prices reached in a selected number of days, and the %D line is a moving average of the %K line. Used as trading signals, crossovers of the %K line above the %D line are buy signals and crossovers below the %D line are sell signals.
With a moving average convergence/divergence oscillator, a sell signal is indicated when the MACD line crosses below the signal line, which is a moving average of the MACD line. If a rate of change oscillator is used to generate signals, these would typically be indicated when the oscillator crosses above or below the level around which it fluctuates (either 0 or 100).