Hello,
If you wire your (thick orange line) into a loop (for or while) the auto-indexing of the loop will do th work for you and then you can put your Point by Point peak detection inside the loop.
But if you have your data in an array, you may want to try the Peak Detector.vi that is situated in the Analyse - Signal Processing - Time domain group. You can wire there your array directly and the results aout are the same as the other one.
Hope this helps,
Paulo