Objective: Model the digital codes to enhance the detection of desired target in Multi-object environment. Methods: This study presents an effective mathematical model using convolution code, Trellis Code, and Quadratic Residue Technique to increases the probability of moving target detection. Findings: The proposed digital codes are efficient in detecting and tracking battle-field targets, slow-moving targets (helicopters, fighter aircraft), and fast moving ICBM (Inter-Continental Ballistic Missile). Application: The proposed approach can be used in surveillance, defense, and monitoring the weather forecast. It also provides an opportunity for researchers to improve the methodology for fast-moving targets at desired Doppler frequency. Novelty: This approach improves the merit factor (MF) of the main lobe and also reduces the amplitude of the side spikes below the threshold limit by creating multiple clear windows at various Doppler ranges. To authenticate the proposed model, a comparison between the proposed model and the existing model is presented. The work has been validated using Mat-Lab.