# SF - Positive market data index

An improved variation of the classic volume analysis indicator PVI. Compare price dynamics and a range of market data

Positive market data index (PMDI) is an indicator used in technical analysis, which gives signals about price dynamics based on positive changes in certain market data. PMDI helps to assess trend strength and potentially confirm price reversals.

The indicator represents two lines:

PMDI;

PMDI moving average.

PMDI is based on price movements based on whether the current value of the market data being tracked is higher than the previous period. If the market data parameter being tracked does not increase from one period to the next, the PMDI remains the same.

PMDI is calculated using the formula:

![![](../../.gitbook/assets/image (4).png)

PMDI calculation formula

](https://sf-gitbook-images.s3.eu-central-1.amazonaws.com/assets/image+(4).png)

where PMDI(t) is PMDI at time t, data(t) is the tracked market data parameter at time t, Close(t) is the closing price at time t.

The user has the ability to change the values of the following parameters:

Initial value - the starting value from which the calculation begins. This parameter affects the dimensionality of the scale. The default is 100;

Market data input - type of market data to track. Can take values: "Volatility", "Price manipulation", "Volume", "Volume manipulation", "Orderflow speed", "CVD" cumulative delta of trading volume, "Open interest", "Premium index", "Funding", "Index correlation";

Signal smoothing type - type of moving average calculated for PMDI. Can take the following values: "SMA" (simple moving average), "EMA" (exponential moving average), "WMA" (weighted moving average), "VWMA" (volume weighted moving average), "LSMA" (linear regression moving average);

Length - moving average period;

Index ticker - ticker of the asset, which is used as an index (used when Market data input parameter value = "Index correlation" is selected). Default value is "BTCUSDT"

The user has the ability to customize the graphical display of the indicator. Available for customization:

display colors and transparency of PMDI, moving average, as well as filling of the contour formed by PMDI and moving average (by default - if PMDI is larger than moving average, the indicator chart is colored in green. if it's less than that, it's red. Line transparency - 0%, fill transparency - 50%);

type of line display. The standard display types available are TradingView.

Last updated