Tony,
Please review the new modified version.
Mainly check the order modifications, you can open as many orders as you want, I tested it to 10 per side, and it seems as if it does what you asked, but it gets a bit cluttered because I have disabled the order close functions. I have the closing done about 80%, but if you need something changed in the placing and modifying of stop orders, it will change a couple of lines. So I need your input here before I continue.
As an added feature I've added an "Auto X_Diff" calculator.
It takes the highest high of the Diff_Bars and subtract the lowest low of the same range, that difference is then the X_Diff.
The "Auto Diff Calculator" must be selected as "true" for it to work.
Waiting to hear from you
F