PVI – indicator MetaTrader 5

PVI - indicator for MetaTrader 5
The “Positive Volume Index” indicator It has no input parameters. It is calculated by the following formula: if Volume[i]<=Volume[i+1] Positive Volume Index[i]=Positive Volume Index[i+1] and if Volume[i]>Volume[i+1] Positive Volume Index[i]=Positive Volume Index[i+1]*(1+(Close[i]-Close[i+1])/Close[i+1]) PVI – indicator MetaTrader 5