Indicators: Volume Rate of Change - VROC

 

Volume Rate of Change - VROC:

The indicator is equivalent of one of the oldest classical indicators, ROC. The prices are replaced with volumes in this present indicator.

Author: MetaQuotes Software Corp.

 
MetaQuotes Software Corp.:

Volume Rate of Change - VROC:

Author: MetaQuotes Software Corp.

I think the formula is incorrect. Why you added the n-period to previous volume? Correct me if I'm wrong?

It should be: 

(Current Volume(i) - Previous Volume(i-n))/Previous Volume(i-n) * 100
 
Because in mt4 Volume[0] is the latest and Volume[Bars-1] the earliest one and i-n would create a negative index if i<n!
 

If you take pervious period counted, and then trying to make the movements, then its problem like you trying to take reference of the previous period, as if that was true.

We can't predict, when it is true value.

Second point, when new candle starting, this indicator immediately jumps to zero. This also is controversial. 

Major events like news time or weekend last price can be taken for granted assuming most of the contracts on a pair are finished and on Monday, new prices and volumes will appear.

Then start counting volumes +&- on every tick not by candle open or close. You will get proper zero volume also that way.

On balance volume may give proper data.

Reason: