herrick payoff index

 

The calculation of the Herrick Payoff Index ("HPI") is:

 

 

 

Where:

 

 

 

 

I want create this indicator with metaquotes, but i dont know how to do that. 

 
https://www.mql5.com/en/job
 
As this indicator (for futures!) needs the real (not tick-) volume and the open-interest which mt4 does not provide I think you won't find it and won't get it.
 
christianbs95: I want create this indicator with metaquotes, but i dont know how to do that.
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
 
WHRoeder:
christianbs95: I want create this indicator with metaquotes, but i dont know how to do that.
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.

Yeaah HPI lokks great, I want this indicator too. For the Open Interest data we can get from COT reports.
Reason: