How I see a D Major arpeggio at this location is with string skipping. I hope you’re feeling adventurous, because your fingers are going on a real journey with this one!
e 5 10!
b 3 7
g
D 4 7
A 5
E
Of course, there is no virtue in doing things the hard way. If you want to do some D Major sweeps, it’s a hundred times easier to just go down a few frets and use the D-chord shape. Unless you can name a serious reason for exclusively using one “caged” box, then feel free to jump in and out of it as much as you need to.
e 2
b 3
g 2
D 4
A 5
E
Regarding the shape you demonstrated and asked about, it might be easier to reach “sweeping speed” by rolling those sevens with your index finger and reaching up for the last note instead of going to the 5th fret. This could be called a “G shape” arpeggio. This is not an easy sweeping shape, and I’ll admit that I’m not even close to mastering it.
e
b 7 10
g 7
D 7
A 9
E 10
Of course if you don’t need to use the lower notes in the arpeggio, here’s another “hundred times easier” choice:
e 10 14
b 10
g 11
D 12
A
E
Have fun and good luck!