OPEN-SOURCE SCRIPT

Herrick Payoff Index

By shardison
The Herrick Payoff Index is designed to show the amount of money flowing into or out of a futures contract. The Index uses open interest during its calculations, therefore, the security being analyzed must contain open interest.

The Herrick Payoff Index was developed by John Herrick.When the Herrick Payoff Index is above zero, it shows that money is flowing into the futures contract (which is bullish). When the Index is below zero, it shows that money is flowing out of the futures contract (which is bearish).

The interpretation of the Herrick Payoff Index involves looking for divergences between the Index and prices.
COTMoney FlowOIpriceVolume Indicator
shardison
Need seasonals for futures data on NQ, ES, YM, or other commodities. Check out agresticresearch.com.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer