I could potentially implement something like that but it would be extremely hard to predict, not sure i want to take any chances with peoples money.
Ninjatrader themselves also don't reveal internal code that's responsible for doing something like this, If they did i would do it in a heartbeat.
Hopefully you find something you can use!
Best of luck and happy trading!
Aviram.