Clone of Accumulation in a queue

chenbo shi
Shows accumulation based on time of entry and exit from a stock