Text this: Leveraging momentum clustering and PID control for enhanced portfolio management