I've tried to write automated trading systems over the years, but they always perform worse than the stocks I pick to buy and hold and trade at most a few times a year. People do make money at this, so it's not impossible, but it's a bit of a white whale.