Suppose in cell C1 is the price and D1 is the volume of a certain scrip.
Every time the price goes up( ie C1>OLDC1), in cell B1 we add 1. Concurrently in the cell A1 we add the Volume( D1-Prev D1)
Every time the price goes down( ie C1<OLDValueC1), in cell B1 we add -1. Concurrently in the cell A1 we add the Volume( D1-Prev D1) in a negative value=-(D1-OLDValueD1)
How can we write this for 2 pairs ?
It will be so kind of any one to help me out.
Bookmarks