ZenAlgo - Advanced Open InterestZenAlgo - Advanced Open Interest combines open interest, price changes, and volume dynamics into a single, powerful TradingView indicator. By integrating these key market metrics and enhancing them with proprietary algorithms, it provides traders with actionable insights that streamline decision-making and enhance market analysis.
Features
Open Interest Change (%): Tracks changes in open interest, a key indicator of market participation and sentiment.
Price Change (%): Monitors price momentum, providing clarity on trend directions.
Volume Analysis: Aggregates upward and downward volume for detailed sentiment analysis.
Delta Calculation: Highlights the net difference between upward and downward volume, offering instant insights into buying or selling dominance.
Proprietary Trend Detection: Suggests "Long Enter," "Short Enter," "Long Close," or "Short Close" signals based on a synergy of open interest, price, and volume.
Market Sentiment Insights: Indicates whether new long or short positions dominate.
Customizable Display: Features themes, sizes, and positions for a tailored interface.
Added Value: Why Is This Indicator Original/Why Shall You Pay for This Indicator?
Integrated Synergy: Combining open interest, price, and volume into a single indicator reduces complexity and offers enhanced clarity. Instead of toggling between multiple charts, users receive actionable insights from a unified view.
Proprietary Rules-Based Algorithm: The algorithm synthesizes data from sub-indicators, creating trends and signals not available in free tools. For instance, the "Long Enter" or "Short Close" signals are generated by evaluating relationships between metrics, offering a predictive edge.
Enhanced Trend Confirmation: By correlating open interest changes with price movements and volume imbalances, the indicator provides a more robust confirmation of market trends compared to individual metrics.
Time-Saving and Simplicity: Freely available sub-indicators require manual setup, interpretation, and customization. ZenAlgo - Advanced Open Interest offers pre-configured analysis, reducing the learning curve and decision time.
Unique Customization: With themes, positions, and table sizes, users can adapt the interface to their preferences, enhancing usability.
How It Works
1. Open Interest and Price Change
Retrieves historical open interest and price data for the selected timeframe.
Calculates percentage changes between bars to indicate market participation (open interest) and directional momentum (price).
Combines these metrics to assess whether price movements are supported by increasing or decreasing participation.
2. Volume Aggregation
Splits the selected timeframe into smaller sub-timeframes to analyze granular volume data.
Aggregates upward (price closes above open) and downward (price closes below open) volumes, calculating their totals and percentage contributions to overall volume.
3. Delta Calculation
Computes Delta as the difference between upward and downward volume.
Highlights buyer or seller dominance using color-coded visuals for quick interpretation.
4. Trend Analysis
Uses a proprietary algorithm to classify market states:
"Long Enter": Rising price, increasing open interest, and dominant upward volume.
"Short Enter": Falling price, increasing open interest, and dominant downward volume.
Neutral States: Generated when no strong alignment is found among metrics.
5. Market Sentiment
Correlates open interest and price to indicate if new long or short positions dominate.
Outputs simplified insights like "More longs opened" or "Shorts closing."
6. Customizable Table
Displays real-time updates with user-controlled themes, sizes, and positions for a tailored experience.
Usage Examples
Detecting Bullish Trends: Identify "Long Enter" signals when open interest and price rise, supported by strong upward volume.
Spotting Bearish Reversals: Use "Short Enter" signals when price declines, open interest rises, and downward volume dominates.
Analyzing Volume Shifts: Leverage Delta to uncover significant shifts in buying or selling pressure.
Validating Trends: Use the combination of open interest and volume trends to confirm price movements.
Exiting Profitable Trades: Look for "Long Close" or "Short Close" signals to time exits during profit-taking phases.
Avoiding Choppy Markets: Use "Neutral" signals to stay out of indecisive markets and avoid unnecessary risks.
Identifying Sentiment Swings: Follow "Positions" insights to detect a transition in market dominance from longs to shorts or vice versa.
High-Volume Trend Confirmation: Confirm strong trends during high trading volumes.
Short-Term Scalping: Use sub-timeframes to spot rapid entry and exit points.
Event-Based Trading: Correlate indicator signals with major market events for timely trades.
Settings
ZenAlgo Theme: Toggle a branded theme for better visual integration.
Table Size: Adjust display size (Tiny, Small, Normal, Large) based on preference.
Table Position: Choose between four positions (e.g., Bottom Right, Top Left).
Table Mode: Switch between Dark and Light themes for optimal readability.
Important Notes
This indicator is a technical analysis tool and does not guarantee trading success. Use it with other indicators and fundamental analysis for a comprehensive strategy.
Always validate signals in conjunction with other market factors to ensure informed trading decisions.
Scenarios of Potential Underperformance:
Low-Volume Markets: Signals may lack reliability due to insufficient data granularity.
Extreme Volatility: Rapid price movements can distort short-term insights.
Exchange Variations: Data discrepancies between exchanges may affect calculations.
Choppy Markets: During indecisive phases, the indicator may generate more neutral signals.
Longs
DAILY Supertrend + EMA Crossover with RSI FilterThis strategy is a technical trading approach that combines multiple indicators—Supertrend, Exponential Moving Averages (EMAs), and the Relative Strength Index (RSI)—to identify and manage trades.
Core Components:
1. Exponential Moving Averages (EMAs):
Two EMAs, one with a shorter period (fast) and one with a longer period (slow), are calculated. The idea is to spot when the faster EMA crosses above or below the slower EMA. A fast EMA crossing above the slow EMA often suggests upward momentum, while crossing below suggests downward momentum.
2. Supertrend Indicator:
The Supertrend uses Average True Range (ATR) to establish dynamic support and resistance lines. These lines shift above or below price depending on the prevailing trend. When price is above the Supertrend line, the trend is considered bullish; when below, it’s considered bearish. This helps ensure that the strategy trades only in the direction of the overall trend rather than against it.
3. RSI Filter:
The RSI measures momentum. It helps avoid buying into markets that are already overbought or selling into markets that are oversold. For example, when going long (buying), the strategy only proceeds if the RSI is not too high, and when going short (selling), it only proceeds if the RSI is not too low. This filter is meant to improve the quality of the trades by reducing the chance of entering right before a reversal.
4. Time Filters:
The strategy only triggers entries during user-specified date and time ranges. This is useful if one wants to limit trading activity to certain trading sessions or periods with higher market liquidity.
5. Risk Management via ATR-based Stops and Targets:
Both stop loss and take profit levels are set as multiples of the ATR. ATR measures volatility, so when volatility is higher, both stops and profit targets adjust to give the trade more breathing room. Conversely, when volatility is low, stops and targets tighten. This dynamic approach helps maintain consistent risk management regardless of market conditions.
Overall Logic Flow:
- First, the market conditions are analyzed through EMAs, Supertrend, and RSI.
- When a buy (long) condition is met—meaning the fast EMA crosses above the slow EMA, the trend is bullish according to Supertrend, and RSI is below the specified “overbought” threshold—the strategy initiates or adds to a long position.
- Similarly, when a sell (short) condition is met—meaning the fast EMA crosses below the slow EMA, the trend is bearish, and RSI is above the specified “oversold” threshold—it initiates or adds to a short position.
- Each position is protected by an automatically calculated stop loss and a take profit level based on ATR multiples.
Intended Result:
By blending trend detection, momentum filtering, and volatility-adjusted risk management, the strategy aims to capture moves in the primary trend direction while avoiding entries at excessively stretched prices. Allowing multiple entries can potentially amplify gains in strong trends but also increases exposure, which traders should consider in their risk management approach.
In essence, this strategy tries to ride established trends as indicated by the Supertrend and EMAs, filter out poor-quality entries using RSI, and dynamically manage trade risk through ATR-based stops and targets.
ETH Long/Short Ratio BITFINEX - (ALPHRACTAL)Indicator Description: ETH Long/Short Ratio BITFINEX - (ALPHRACTAL)
The ETH Long/Short Ratio BITFINEX - (ALPHRACTAL) indicator provides a detailed analysis of Ethereum (ETH) long and short positions in USD and USDT on the Bitfinex exchange. This indicator is ideal for traders who want to monitor market behavior and better understand the relationship between long and short positions.
Features:
USD and USDT Long/Short Ratio:
Calculates and displays the ratio between long and short ETH positions in USD and USDT.
Helps identify market trends and the relative strength between buyers and sellers.
Color Configuration:
Allows customization of chart colors for clear and distinct visualization of USD and USDT ratios.
Uses colors with adjustable transparency to enhance chart visibility.
Label Display:
Option to show or hide labels indicating the type of ratio (USD or USDT) at the latest chart value.
Labels are useful for quickly identifying the visualized ratio.
Display Control:
Option to enable or disable the display of individual USD and USDT ratio charts.
Flexibility to view only the relevant data for your analysis.
How to Use:
Add the indicator to your chart to visualize the long/short ratios of ETH in USD and USDT.
Adjust colors and transparency as per your preference for better visual distinction.
Use the option to show or hide labels for quick identification of the data.
Analyze the relationship between long and short positions to make informed trading decisions, observing market buying and selling trends.
Example Use Cases:
Market Sentiment Analysis: An increase in the Long/Short ratio may indicate bullish sentiment among traders, while a decrease may indicate bearish sentiment.
Identifying Opportunities: Significant discrepancies between USD and USDT ratios may signal arbitrage opportunities or alert to significant market movements.
This indicator is a powerful tool for Ethereum traders who want a deeper understanding of market behavior and the dynamics of long and short positions on Bitfinex. Add the ETH Long/Short Ratio BITFINEX - (ALPHRACTAL) to your technical analysis toolkit and gain an edge in your trading strategy.
TTP Breaking PointThis signal uses information from BITFINEX:BTCUSDLONGS and BITFINEX:BTCUSDSHORTS to forecast tops and bottoms.
The idea behind is very simple.
We calculate the RSI of the ratio of longs vs shorts and find areas where both the SMA of this RSI and the RSI itself are overextended.
You might notice that the win rate is not high but most of the wins provide a decent move that, if combined with proper risk management, can be used to build profitable strategies.
The signal offers a backtesting stream: 1 for buy and 2 for sell.
Shortly I'll be adding new features including: alerts, support for other symbols, filters, etc.
Open Interest Suite [Aggregated] - By LeviathanThis script is an all-in-one indicator that uses aggregated Open Interest data to plot OI candles, Open Interest Delta, OI x rVOL, and OI RSI. It also includes tools such as an OI Distribution profile, large OI increase/decrease coloring, a Stats Screener, and much more.
You can select and have the script plot the following:
- Open Interest in the form of OHLC candles
- Open Interest Delta in the form of a histogram
- Open Interest x Relative Volume in the form of a histogram
- Open Interest RSI in the form of a line
Additional features include:
- OI Distribution Profile (It shows the distribution of open interest in the visible range on y axis. This makes it easier to identify when Open Interest is relatively high or low and at which values most of the action took place)
- Stats screener (The screener includes the real-time net Open Interest value, Rekt Longs/Rekt Shorts based on large OI decreases and Aggressive Longs/Shorts based on large OI increases)
- Coloring (You can color OI Delta nodes, background and chart candles based on large OI increases/decreases)
- more
Instructions for the settings will be provided in the tooltips shortly.
Full credit goes to @KioseffTrading for the profile generation code.
Net Positions (Net Longs & Net Shorts) - By LeviathanThis script is an experimental indicator that visualizes the entering and exiting of long and short positions in the market. It also includes other useful tools, such as NL/NS Profile, NL/NS Delta, NL/NS Ratio, Volume Heatmap, Divergence finder, Relative Strength Index of Net Longs and Net Shorts, EMAs and VWMAs and more.
To avoid misinterpretation, it's important to understand some basics. The “real” ratio between net long and net short positions in a given market is always 1:1. A futures contract is an agreement between two parties to buy or sell an underlying asset at an agreed-upon price. Each contract has a long side and a short side, with one party agreeing to buy (long) and the other party agreeing to sell (short) the asset at the agreed-upon price. The long position holder anticipates that the asset's price will rise, while the short position holder expects it to fall. Because every futures contract involves both a buyer and a seller, it is impossible to have more net longs than net shorts or vice versa (in terms of the net value). For every long position opened, there must be a corresponding short position taken by another market participant (and vice versa), thus maintaining the 1:1 ratio between longs and shorts. While there can be an imbalance in the number of traders/accounts holding long and short contracts, the net value of positions held on each side remains 1 to 1.
Open Interest (OI) is a metric that tracks the number of open (unsettled) contracts in a given market. For example, Open Interest of 100 BTC means that there are currently 100 BTC worth of longs and 100 BTC worth of shorts open in the market. There may be more traders on one side holding smaller positions, and fewer traders on the other side holding larger positions, but the net value of positions on one side is equal to the net value of positions on the other side → 100 BTC in longs and 100 BTC in shorts (1:1). Consider a scenario in which a trader decides to open a long position for 1 BTC at a price of HKEX:30 ,000. For this long order to be executed, a counterparty must take the opposite side of the contract by placing an order to short 1 BTC at the same price of HKEX:30 ,000. When both the long and short orders are matched and executed, the open interest increases by 1 BTC, reflecting the addition of this new contract to the market.
Changes in Open Interest essentially tell us 3 things:
- OI Increase - new positions entered the market (both longs and shorts!)
- OI Decrease - positions exited the market (both longs and shorts!)
- OI Flat - no change in open positions due to low activity or simply lots of transfers of contracts
However, different concepts can be used to analyze sentiment, aggressiveness, and activity in the market by analyzing data such as Open Interest, price, volume, etc. This indicator combines Open Interest data and price action to simplify the visualization of positions entering and exiting the market. It is based on the following concept:
Increase in Open Interest + Increase in price = Longs Opening
Decrease in Open Interest + Decrease in price = Longs Closing
Increase in Open Interest + Decrease in price = Shorts Opening
Decrease in Open Interest + Increase in price = Shorts Closing
When "Longs Opening" occurs, the OI Delta value is added to the running total of Net Longs, and when "Longs Closing" occurs, the OI Delta value is subtracted from the running total of Net Longs.
When "Shorts Opening" occurs, the OI Delta value is added to the running total of Net Shorts, and when "Shorts Closing" occurs, the OI Delta value is subtracted from the running total of Net Shorts.
To summarize:
Net Longs: Cumulative value of Longs Opening and Longs Closing (LO - LC)
Net Shorts: Cumulative value of Shorts Opening and Shorts Closing (SO - SC)
Net Delta: Net Longs - Net Shorts
Net Ratio: Net Longs / Net Shorts
This is the fundamental logic of how this script functions, but it also includes several other tools and options. Here is an overview of the settings:
Type:
- Net Positions (display values of Net Longs, Net Shorts, Net Delta, Net Ratio as described above)
- Relative Strength (display Net Longs, Net Shorts, Net Delta, Net Ratio in the form of a momentum oscillator that measures the speed and change of movements. Same logic as RSI for price)
Display as:
- Candles (display the data in the form of candlesticks)
- Lines (display the data in the form of candlesticks)
- Columns (display the data in the form of columns)
Cumulation:
- Visible Range (data is cumulated from the first visible bar on your chart)
- Full Data (data is cumulated from the beginning)
Quoted in:
- Base Currency (all data is presented in the pair’s base currency eg. BTC)
- Quote Currency (all data is presented in the pair’s quote currency eg USDT)
OI Sources
- Pick the sources from where the data is collected (if available).
Net Positions:
- NET LONGS (show/hide Net Longs plot, choose candle colors, choose line color)
- NET SHORTS (show/hide Net Shorts plot, choose candle colors, choose line color)
- NET DELTA (show/hide Net Delta plot, choose candle colors, choose line color)
- NET RATIO (show/hide Net Ratio plot, choose candle colors, choose line color)
Moving Averages:
- Type (choose between EMA and Volume Weighted Moving Average)
- NET LONGS (show/hide NL moving average plot, choose length, choose color)
- NET SHORTS (show/hide NS moving average plot, choose length, choose color)
- NET DELTA (show/hide ND moving average plot, choose length, choose color)
- NET RATIO (show/hide NR moving average plot, choose length, choose color)
Profile:
- Profile Data (choose the source data of the profile)
- Value Area % (set the percentage width of profile’s value area)
- Positions (set the position of the profile to left or right of the visible range)
- Node Size (set the relative size of nodes to make them appear smaller or larger)
- Rows (select the amount of rows displayed by the profile to control granularity)
- POC (show/hide POC- Point Of Control and select its color)
- VA (show/hide VA- Value Area and select its color)
Divergence finder
- Source (choose the source data used by the script to compare it with price pivot points)
- Maximum distance (the maximum distance between two divergent pivot points)
- Lookback Bars Left (the number of bars to the left of the current bar that the function will consider when looking for a pivot point)
- Lookback Bars Right (the number of bars to the right of the current bar that the function will consider when looking for a pivot point)
Stats:
- Show/Hide the Stats table
- Bars Back (choose the length of data analyzed for stats in number of bars)
- Position (choose the position of the Stats table)
- Select Data you want to display in the Stats table
Additional Settings:
- Volume Heatmap (show/hide volume heatmap and select its color)
- Label Offset (select how much the plot label is shifted to the right
- Position Relative Strength Length (select the length used in the calculation)
- Value Label (show/hide OI Delta values when candles are displayed)
- Plot Labels (show/hide the labels next to the plot)
- Wicks (show/hide wick when candles are displayed)
Code used for generating profiles is taken from @KioseffTrading's "Profile Any Indicator" script (used with author's permission)
Crypto Longs & Shorts (Multi Exchange) - InFinitoThis indicator uses data provided by different crypto derivative exchanges to estimate and display the potential Longs and Shorts opened and closed during a determined period. The indicator supports multiple exchanges and coins.
Knowing the the behavior of traders as in how they're positioning can be useful for different things like:
Get a sense of market sentiment
Better anticipating which way liquidity/stop hunts might potentially go.
All data is calculated based off OI data provided by exchanges except for Bitfinex which provides both Longs and Shorts opened and closed
Preset exchanges included are:
Bitfinex
Binance: USDT, USDPERP & BUSD pairs
Bitmex: USDT & USD pairs
Kraken
The indicator is preset to work with BTC but it can be easily changed to any coin by typing it's name (Capitalized) in the Coin Name box
TRAILING STOP LOSS TO LONG AND SHORT LONG AND SHORT ( with stop loss) LONG AND SHORT ( with stop loss) LONG AND SHORT ( with stop loss)
WhaleCrew Long/Short Ratio (Bitfinex)Shows the long/short ratio (amount of longs per short) on ANY Bitfinex pair (BTCUSD, ETHUSD, ADAUSD, ...).
BKN: Hickory Smoked StrategyThis strategy is to be used with the BKN: Hickory Smoked Indicator. This is a strategy that thrives in trending environments. We've included settings for crypto and forex and lower speed options for lower timeframes.
The script offers a stop loss or trailing stop loss that will trigger when an entry is triggered. You can also choose to use it as long or short only. Pictured is the LONG only settings.
You can use this strategy to backtest settings for the indicator.
***IMPORTANT***
For access, please do not comment below. Instead, send a DM here on TradingView or on my linked Twitter account.
Bitfinex BTC Open InterestBitfinex open interest, or bitcoin open interest chart, shows the amount of open positions currently on Bitfinex BTC / USD trading pairs. Usually when open interest reaches unusually high numbers we'll see an increased volatility in Bitcoin's price. The open interest chart could also be useful for determining the tops and bottoms for Bitcoin.
Kelley's LayoutWe use our own proprietary script with a collection of technical indicators that show support and resistance levels as well as momentum and trend direction. The Kelley’s Layout took over 2 years to prefect the formula that allows us to scalp the market in a safe conservative manner. However we do use Moving Averages, Moving Average Convergence Divergence ( MACD ), Simple Moving Average , Golden Ratio, Fibonacci Retracement , Relative Strength Index , and Gann Fan and Square as filters. Using these many filters is the reason why it took us over 2 years to prefect.
1 ~ Simple Moving Average
2 ~ Weighted Moving Average
3~ Convergent Divergent Alpha (Slow)
4~ Convergent Divergent Omega (Fast)
5 ~ Kelley’s Layout Proprietary Bearish Kill Zone
6 ~ Kelley’s Layout Proprietary Bullish Kill Zone
Bitfinex Long/Short Delta (Longs - Shorts)Bitfinex Long/Short Delta (Longs - Shorts)
Longs = Green
Shorts = Red
Delta = Yellow
Fully Adjustable BTC Longs/ShortsThis indicator shows you Bitfinex Longs&Shorts charts in one handy indicator. It's fully adjustable to your own prefference.
Tipjar : 38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4 (btc)
BFXLS100This is the popular Bitfinex margin Longs/Shorts overlay script made compatible with other exchanges. So you can for example use it with BitMEXT XBTUSD and it will still plot Bitfinex BTCUSD.
It always plots data for the same currency pair, so for ETHUSD of any exchange, it will always plot Bitfinex ETHUSD margin data.
stress Birfinex and BitmexThis script identifies stress points in the major exchanges, recommended use in 1h.
Ultimate Crypto SentimentThis study plots sentiment data from Longs vs Shorts reported at Bitfinex and the Funding Interest Rate that applies at Bitmex.
The indicator includes 4 visualization modes:
Overlapped Areas: Plots Longs and Shorts overlapping each other
Opposed Areas: Displays Longs as positive values and Shorts as negative.
Cloud: Highlights the difference between Longs and Shorts
Bitmex Interest Rate: Shows the funding rate that applies at Bitmex
The Longs vs Shorts data can be displayed either in Absolute mode or in Relative Mode.
The indicator includes visibility controls to Show/Hide:
The Longs
The Shorts
The Delta
The Longs vs Shorts Ratio
msoro Longs+Shorts sumIt charts the sum of open long and short positions. Useful for determining speculation levels on a cryptocurrency.
Use this indicator on any coin that has margin trading available on bitfinex.
Works for XBT as well