Funding & Open Interest shows the funding of the perpetual contract, marks when longs or shorts are crowded and classifies what open interest does alongside price.
Real example on TradingView
A real case recorded on TradingView with the indicator, explained step by step.
What it does
Funding is what longs pay shorts (or the reverse) at each interval (8 hours on BTC and ETH; 4 or 1 hour on many altcoins) to keep the perpetual pinned to the spot price. If it is positive, there is more buying leverage; if negative, selling leverage.
Open interest is the total of open contracts. Combined with price it tells you whether new money is coming in or positions are being closed.
Why it matters
When one side is heavily loaded, a move against it is enough to trigger a chain of closures. Funding extremes warn of that risk.
Price rising with open interest falling is not the same as price rising with open interest rising: the first is shorts closing, the second new buyers.
How it works
- 1
Reads the perpetual's data
Uses TradingView's series of your chart's perpetual contract (<PAIR>.P_FR and <PAIR>.P_OI). If your exchange does not publish them, it uses Binance.
- 2
Smooths and normalises
Averages the predicted funding over one settlement interval and always expresses it in % per 8 hours, even if the contract settles every 4 hours or every hour, so thresholds and history are comparable.
- 3
Detects extremes
Compares funding with its recent mean and deviation and also requires an absolute minimum (0.03 % for longs, −0.01 % for shorts).
- 4
Classifies the regime
Depending on whether price and open interest rise or fall: longs entering, short covering, shorts entering or long liquidation.
What it marks on the chart
Every element the indicator draws, with the look and colour you will see on TradingView.
Red columns
Positive funding: longs pay shorts.
Green columns
Negative funding: shorts pay longs.
Thin grey lines
Extreme band: the recent mean of funding plus and minus two deviations. Outside it, funding is unusual.
Crowded longs / shorts triangle
An extreme positioning begins: crowded longs (top, red) or crowded shorts (bottom, green).
Panel
Current funding (and annualised), open interest, its 24 h change and the current regime.
How to use it
- 1
Look at the current regime
It tells you whether the move is driven by new money or by positions closing.
- 2
Distrust the extremes
With crowded longs, rises are more fragile; with crowded shorts, drops.
- 3
Combine with structure
A funding extreme next to a liquidity sweep and a CHoCH is a much clearer context.
Tips
- Turn on Colour the background by regime on 1 h or higher: on low timeframes it changes too often.
- The annualised funding in the panel helps to see how expensive it is to hold the position.
- If your exchange does not publish the data, the indicator uses Binance automatically.
Where it works best
Timeframes
- 1 to 5 minNot recommendedFunding barely changes in that span.
- 15 min to 4 hRecommendedFunding settles every 1 to 8 hours depending on the contract.
- DailyUsefulTo see the context of weeks.
Markets
- Crypto (perpetuals)RecommendedTested with Binance.
- Forex, indices, stocksNot recommendedThere is no funding on those markets.
Alerts
Created from TradingView with “Create alert”, choosing the indicator. They can warn you about:
- Crowded longs
- Crowded shorts
- Regime change
Limits
What the indicator does not do, so you do not expect something it cannot give you.
- Crypto with perpetual contracts only.
- It depends on the data TradingView publishes for each exchange.
Questions
Why does my panel say no data?
Your market has no perpetual contract on TradingView, or it is not crypto.
How often does it update?
The predicted funding changes every candle; the indicator averages it over one settlement interval (8 h by default, adjustable).