How to use ai to generate trading ideas from chart patterns