How to subtract previous bars value of 1st buffer with current bars value of the same buffer and show the result in the 2nd buffer?

 
How to subtract previous bars value of 1st buffer with current bars value of the same buffer and show the result in the 2nd buffer?

please someone help me
 
shararath2004: How to subtract previous bars value of 1st buffer with current bars value of the same buffer and show the result in the 2nd buffer?
  1. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. buffer2[iPos] = buffer1[iPos + 1] - buffer1[iPos]
    Is that so hard?
Reason: