Yes one way is to built in a "parameter-checker" at the top of the code.
And if your platform supports multicore (Ninjatrader 7, MultiCharts, ...) than use amazon cpu-servers
(rent amazon High-CPU Instances, High-CPU Extra Large (XL) Instance ~ 20-25 GHz, 7 GB RAM, cost 1.16 $ per hour with...