Hello everyone

I've been trying to implement a version of Andreas Clenow's algorithm, from his book Stocks on The Move. In this version I want to select the stocks based on momentum, then build an equal-weighted portfolio. However, I don't know why but the Long exposure of my algorithm is falling below 1, how can I fix it? I want to keep the exposure in 1.