Fixed Buy Sell logic in Stock Predictor