Hello, I'm looking for help with a problem that I feel is rather basic, but is stumping me. I've been trading either single issue or mean reversion systems and to try and expand my skills I've been trying to code and learn trend following systems.
I've coded a simple 52 week breakout system, but I can't determine how I would actually take the signals to trade it. When I run a backtest it gives me a trade list with entry and exit dates. However when I run a scan I receive many buy/sell signals. Due to position limits they are not all going to be entered.
How do you determine when to place a buy or sell order in a trade system? Is there a simple way to do this with scan or explore I'm just not aware of? Any help or ideas would be appreciated.
Happy to include code if necessary, but I think this is more of a knowledge gap than a code issue.