LONG/SHORT PIFRO que esse indicador faz?
Esse indicador tem o objetivo de plotar o valor de Premium Index e Funding Rate de qualquer token que seja negociado nos futuros da Binance. Basta acessar o token, por exemplo "BTCUSDT" ou "BTCUSDT.P" e o indicador funcionará de forma automática.
A ideia de leitura desse indicador é verificar as maiores oscilações e aliar a analise técnica para tomar uma decisão de compra ou venda.
What does this indicator do?
This indicator aims to plot the Premium Index and Funding Rate value of any token that is traded on Binance futures. Just access the token, for example "BTCUSDT" or "BTCUSDT.P" and the indicator will work automatically.
The idea of reading this indicator is to check the biggest fluctuations and combine technical analysis to make a buy or sell decision.
=============
O que é o Índice Bitcoin Premium?
O índice Bitcoin Premium rastreia o prêmio ou desconto dos contratos perpétuos de Bitcoin em relação ao preço do índice à vista por minuto. O Índice de prêmio é baseado na diferença de preço entre o último preço negociado de um contrato perpétuo e o preço do índice à vista. O preço do índice à vista é um índice à vista ponderado pelo volume, o que significa um preço médio obtido em várias bolsas.
Basicamente, ele mostra para cada criptomoeda se o mercado à vista está negociando acima ou abaixo do contrato perpétuo. O valor pode ser superior, inferior ou igual a 0. Quando o valor está acima de 0, o contrato perpétuo está sendo negociado acima do “preço de referência”, quando o valor está abaixo de 0, o índice à vista está negociando acima do contrato perpétuo .
Como ler o índice premium do Bitcoin?
Existem várias maneiras de visualizar o Índice Bitcoin Premium. Você pode observar o valor (acima ou abaixo de 0) semelhante às taxas de financiamento ou pode observar certos extremos. Esta informação pode ser muito útil na sua estratégia de negociação. O gráfico é exibido como um gráfico de velas com um corpo e o pavio (também conhecido como sombra) da vela. O pavio pode mostrar um certo extremo, enquanto o fechamento da vela mostra o valor.
O valor acima ou abaixo de 0 mostra se o preço dos contratos perpétuos de Bitcoin está sendo negociado acima ou abaixo do índice à vista. Quando o índice à vista está sendo negociado em alta, o prêmio cai abaixo de 0 e fica negativo, geralmente, isso é conhecido como um sinal de alta. Quando o valor está sendo negociado acima de 0 e fica positivo, significa que o contrato perpétuo do Bitcoin está sendo negociado acima do índice à vista, geralmente isso é visto como um sinal de baixa.
Os mercados são um reflexo das emoções humanas e muitas vezes, antes que o preço possa mudar, vemos um certo extremo nas emoções. Esse extremo pode ser identificado no Índice Premium. Quando temos um sinal extremo no Índice Bitcoin Premium as chances de uma reversão aumentam. Esta pode ser uma reversão de curto prazo ou uma reversão maior.
Resumindo, um prêmio de índice à vista é geralmente de alta e um prêmio de derivativos é geralmente um sinal de baixa.
Mas, tal como acontece com as taxas de financiamento, por vezes demora um pouco para que essa pressão de compra ou venda seja expressa no preço e, portanto, é sempre importante combinar esta métrica com outras métricas, como a estrutura de preços.
Por exemplo, aqui na imagem abaixo podemos ver uma leitura extrema no índice premium do Bitcoin. Embora várias horas após o evento ainda vejamos a subida do preço, vemos que está bastante perto de uma reversão e, eventualmente, o preço muda.
Descrição por whaleportal
What is the Bitcoin Premium Index?
The Bitcoin Premium index tracks the premium or discount of Bitcoin perpetual contracts relative to the spot index price per minute. The premium Index is based on the difference in price between the last traded price of a perpetual contract and the spot index price. The spot index price is a volume- weighted spot index, which means an average price taken from multiple exchanges.
Basically, it shows you for each cryptocurrency whether the spot market is trading higher or lower than the perpetual contract. The value can either be above, below, or equal to 0. When the value is above 0, the perpetual contract is trading higher than the “mark price”, when the value is below 0 the spot index is trading higher than the perpetual contract.
How to read the Bitcoin premium index?
There are multiple ways to view the Bitcoin Premium Index. You can either look at the value (above or below 0) similar to the funding rates or you can look at certain extremes. This information can be very helpful in your trading strategy. The chart is displayed as a candlestick chart with a body and the wick (also known as shadow) of the candle. The wick can show a certain extreme, while the close of the candle shows the value.
The value, either above or below 0 shows whether the price of Bitcoin perpetual contracts is trading higher or lower than the spot index. When the spot index is trading higher, the premium will go below 0 and turns negative, usually, this is known to be a bullish sign. When the value is trading higher than 0 and turns positive, it means the Bitcoin perpetual contract is trading higher than the spot index, usually, this is seen as a bearish signal.
The markets are a reflection of human emotions and often before the price can shift we are seeing a certain extreme in emotions. That extreme can be spotted in the Premium Index. When we have an extreme signal in the Bitcoin Premium Index the chances of a reversal increase. This can be either a short-term reversal or a bigger reversal.
In short, a spot index premium is usually bullish and a derivatives premium is usually a bearish signal.
But as with funding rates, it sometimes takes a moment for that buying or selling pressure to be expressed in the price and therefore it is always important to combine this metric with other metrics like the price structure.
For example, here in the image below we can see an extreme reading in the premium index on Bitcoin. Although in several hours after the event we still see the price climb, we do see that it’s rather close to a reversal and eventually the price turns around.
Description by whaleportal
Fundingrate
Aggregated Funding RateAFR - A tool designed for traders who demand real-time, comprehensive insights into funding rates across various exchanges. This script stands out in its ability to aggregate and analyze funding rates from 9 different exchanges , offering unparalleled depth and breadth in market analysis.
Key Features:
Real-Time Monitoring Across Multiple Exchanges: Seamlessly tracks funding rates from top exchanges including Binance, Bybit, Bitmex, Bitget, OKX, and more, ensuring a broad market view.
Sophisticated Algorithms for Accurate Calculations: Each exchange has unique algorithms for funding rate calculation. This script accounts for these variations, providing precise, reliable data. It is important to note that exact calculations are not possible on TradingView due to data limitations; there is no direct access to order books, so for some parts, generalizations have been made.
Dual Modes for Enhanced Understanding:
Standard Mode: Displays the current funding rate as is, for immediate insight.
Annualized Mode: Projects the funding rate on an annual basis, offering a perspective on long-term trends and impacts.
Weighted Analysis Options:
Average Mode: Treats each exchange equally, providing a balanced overview.
Weighted Mode: Adjusts the influence of each exchange based on their perpetual trading volume, offering a nuanced, market-relevant view.
Customizable Exchange Selection: Users have the flexibility to include or exclude specific exchanges from the calculation, allowing for tailored analysis based on personal trading strategies.
User-Friendly Visualization: The script features clear, intuitive plots and color-coded visuals to make data interpretation straightforward and effective.
Versatility in Timeframes: Designed to be adaptable across any timeframe, this tool is equally effective whether you are looking at a 1-minute interval or longer durations. This makes it an indispensable tool for both high-frequency traders and those analyzing broader market trends.
As always, use this indicator in tandem with other tools. This is a very useful indicator, but one should always rely on self-made, backtested and forward tested strategies
Aggregated Funding RateThis funding rate indicator combines data from two of the largest cryptocurrency exchanges, BitMex and Binance, and supports USD, USDT, and BUSD currency pairs. Moreover, it covers a wide range of 31 different crypto assets to choose from, providing users with a comprehensive view of the funding rate for each asset.
The aggregation is formed by calculating the funding rate of the cryptocurrency for each perpetual chart respectively (Binance - USDT & BUSD and BitMex - USDT & USD). The calculation itself is based on each exchange's official formula, hence the reasoning behind including only 4 sources, they are currently the only ones which can be calculated this way in Tradingview.
Afterwards, it is either summed or averaged based on the user input. Additionaly, the user may choose freely which of the four sources will be included.
What is Funding Rate ?
The funding rate is the cost of holding a cryptocurrency position on a futures exchange. It is essentially an interest rate paid by the long or short position holder to the counterparty. If the funding rate is positive, longs pay shorts, and if it is negative, shorts pay longs. This rate is adjusted periodically, typically every eight hours, to ensure that the futures price of the cryptocurrency remains close to its spot price.
Utility :
The funding rate indicator can be used in a variety of ways. Traders can use it to gauge the sentiment of the market. If the funding rate is consistently positive, it suggests that there is more demand for long positions than short positions, indicating that the market is bullish. On the other hand, if the funding rate is consistently negative, it suggests that there is more demand for short positions than long positions, indicating that the market is bearish.
In addition, the funding rate indicator can be used to identify potential trading opportunities. If the funding rate is significantly higher than usual, it may indicate that longs are overpaying shorts, creating a potential arbitrage opportunity. Alternatively, if the funding rate is significantly lower than usual, it may indicate that shorts are overpaying longs, creating a potential arbitrage opportunity in the opposite direction.
Key Features
Aggregation type
31 supported cryptocurrencies
Simple or Depth style options
Sources to aggregate
[FTX Funding Colored Candles] [third eye]This Indicator plots FTX: BTCPERP predicted funding rates and colours the candlesticks based on it.
!!!
Since Tradingview always plots new indicators at the back you might have to click:
Name of the Indicator ( ) -> More -> Visual Order -> Bring to Front
(unfortunately, there is no way for me to do this in pinescript)
There is also the possibility to change colors in the Settings:
It is grouped by where Basis is (FTX:BTCPERP - FTX Spot index)
Changing that might be good for getting a more close up view of LTF price action.
Also to get rid of the Values in the Status line click on Settings and scroll to the bottom to disable "Value in Status Line"
Bitmex BTC Perpetual Premium and FundingThis script tracks the premium (default red line) and the funding rate (default yellow area) of the Bitmex XBTUSD pair perpetual contract.
The calculations are based on the 8H TWAP of interest rates and premium index from Bitmex.