Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
PVI - indicator for MetaTrader 5
- Views:
- 4093
- Rating:
- Published:
- 2018.06.06 13:36
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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])
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20379