OPEN-SOURCE SCRIPT

Open Interest Market Facilitation Index

Atualizado
Original script from ChartChampions :

Market Facilitation Index - MFI


Let's start.

This script was created by using Open Interest instead of Volume in the Market Facilitation Index.
Thus, it can make a difference in the Future and CFD Markets.
If your financial instrument is not from these markets, that is, if Open Interest is not used, you can choose Volume.
You can set "FUTURES" and "OTHERS" from the menu.

If you use the Open Interest (FUTURES) option in the menu on 1W bars and defined Future markets, it will not repaint.
This is the best use for Open Interests, as data is extracted from Quandl and CFTC COT reports are published once a week.

Color Change Rules :

In my version :

Green Bars = Green
Fade Bars = Orange
Fake Bars = Blue
Squat Bars = Red



To show the difference in the presentation, both the Futures option using Open Interest and the Others option using Volume were published to compare.
You can observe the difference.

Best regards.

Notas de Lançamento
  • TV Pinescript v6 update

  • With LibraryCOT integration, the data access problem has been solved.
cftcCommitment of Traders (COT)DATAMarket Facilitation IndexOIOpen InterestquandlVolume

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal