- Wrap your code in code tags. It makes it easier on the people who are trying to help you.
See https://forum.amibroker.com/t/how-to-use-this-site/182 and thoroughly read the "Enter the AFL code properly" section.
I also advised this earlier but you haven't read it yet. Please do so. - Use a different list of tickers and see if you get trades.