A buy signal is triggered: When stock's 50-day moving average crosses over ("closes higher than") its 200-day moving average; and Only if the stock is currently trading above its 50-day moving average when this crossover occurs. When both of these conditions are met, you buy the stock the next morning when the market opens.

