Long Entry if the Close is above 50 Simple Moving average Short Entry if the Close is below 50 Simple Moving average