BTC Price TrendThe crypto market is reacting very quickly based on BTC price, thus monitoring the BTC price is very helpful.
This script will color the candles based on the BTC price trend. Set the timeframe and down/up percentage to monitor the BTC price trend, and the script should not repaint.
The indicator will monitor the BTC price in a high frame, for example, for 4 hours, if the price goes down the set percentage during one candle, will change the candle color. Thereafter, if the price goes up within a small timeframe (as you set) then the candle color will be changed.
So, in case the bar color is red, then it is recommended to avoid trading since the BTC price is down trending.
The indicator is requesting the BTC price as of now, and the previous closed price, then it will calculate the price difference, if it result is minus, then the price is in a downtrend, else it is in an uptrend.
BTCUSD
RSI OverlayThis is the stock RSI index using the Price as the midline.
It can be useful to view information normally displayed in a second pane overlaid on the price chart. As far as I know, this has not been done for one of the most widely used indicators, the Relative Strength Index.
This can be overlaid anywhere on the chart and every parameter is variable. If you'd like to change the position, the RSI, midline, upper line, and lower line are scaled with a factor "*close/x"
To change the position on the chart, simply change the "X" until you are pleased with the location.
The RSI MA was distracting so I removed it. I also published this indicator including the MA, titled "RSI Overlay with MA."
Rate Of Change Trend Strategy (ROC)This is very simple trend following or momentum strategy. If the price change over the past number of bars is positive, we buy. If the price change over the past number of bars is negative, we sell. This is surprisingly robust, simple, and effective especially on trendy markets such as cryptos.
Works for many markets such as:
INDEX:BTCUSD
INDEX:ETHUSD
SP:SPX
NASDAQ:NDX
NASDAQ:TSLA
Trend IdentifierTrend Identifier for 1D BTC.USD
It smoothens a closely following moving average into a polynomial like plot.
And assumes 4 stage cycles based on the first and second derivatives.
Green: Bull / Exponential Rise
Yellow: Distribution
Red: Bear / Exponential Drop
Blue: Accumulation
Red --> Blue --> Green: indicates the start of a bull market
Green --> Yellow --> Red: indicates the start of a bear market
Green --> Yellow: Start of a distribution phase, take profits
Red --> Blue: Start of a accumulation phase, DCA
Sonic R & RSI only BTCUSD D1 strategySonic R & RSI only BTCUSD D1 strategy
for t.me/beincypto_vn
for those who want to create their own strategy
Use the explanations in the strategy to copy and edit a strategy for yourself
buy when on the chart is buyEMA or buyRSI
close buy order when on chart is closeEMA or closeRSI
please use coinbase exchange time frame D1
[CP]Pivot Boss Multi Timeframe CPR Inception with MACD and EMAINTRODUCTION:
This indicator combines multi-timeframe CPR bands with MACD Momentum and EMA trend, all projected on the candlestick chart through a novel visualization.
If you have seen my other indicators on TradingView, you would know that I use floor pivots a lot and “Secrets of a Pivot Boss” is my favorite book. While using floor pivots, time and again I have noticed an interesting price behavior,
Trending moves in price typically start from around the Central Pivot Range (CPR). The CPR could be from ANY timeframe. These moves can easily be caught using simple momentum and trend indicators like MACD and EMA crossovers.
Yes, it is that simple. Follow along to understand how to use this indicator.
INDICATOR SETTINGS:
RANGEBOUND MACD AND EMA MARKINGS:
TradingView limits the max number of labels that can be shown on a chart to 500. Therefore, if you go far back enough, you won't see any markings for the MACD or EMA setups. If you are looking to test the efficacy of this indicator in the past, change the start and end dates to your desired timeframe and then select the ‘Mark MACD and EMA Setups in Range?’ option.
MULTI TIMEFRAME CENTRAL PIVOT RANGE:
Here you can select CPRs and their bands from which timeframes are shown on the chart. I will share my favorite settings later in this description.
CPR CONFIGURATION:
Show CPR Labels: CPRs markings can carry labels, so that you don’t confuse between which line is what. Use this setting to toggle them On/Off.
Show Next Time Period Pivots: Check this option if you want to see the CPR of the next time period. This is typically done to figure out the ’Two Day CPR Relationship’ . Read the book, “Secrets of a Pivot Boss”, to understand more.
EMA TREND:
Show EMA on the Chart: EMAs will be plotted on the chart. Standard stuff.
Mark EMA Crossovers on Chart: EMA crossovers will be marked on the chart in diamond shapes. If you are using EMA crossovers, I recommend setting this option to True.
Rest of the EMA settings are fairly obvious.
MACD MOMENTUM:
Projecting MACD parameters directly on the candlesticks is surely going to give you a new perspective about price action and MACD.
Also, in order to better understand the MACD projections on the chart, you can add a standard MACD indicator on the chart with default settings to figure out what my indicator is actually showing you.
Marking MACD Crossovers on Chart: Marks the MACD signal crossovers on the chart. This visualization was a game changer for me.
Show MACD Histogram on Chart: Projects the complete MACD Histogram in a novel fashion (Try it!). You will be able to visually see the ebbs and flow of momentum in the charts.
Mark MACD Histogram Peaks on Chart: Marks only the MACD peaks instead of the complete histogram. Peaks are a great way to enter an ongoing trend and to play an intraday rangebound market.
Rest of the settings are just the standard settings that you will find in a typical MACD indicator.
ALERTS:
Not shown in the settings panel, but I have added alerts for EMA and MACD Crossovers so that you don’t have to sit in front of the charts or constantly check the price all day long.
If you don’t know how to set alerts in TradingView, then please Google it.
INDICATOR USAGE EXAMPLES:
This indicator can be used in intraday as well as in higher timeframes.
There are quite a few variations possible, I personally prefer to use the EMA crossovers in intraday (5m) and MACD on Daily timeframes.
This is just a matter of personal preference, some people might prefer using EMAs only or MACD only in all timeframes.
Here are my personal settings for the intraday 5-minute timeframe:
Turn on all the CPR pivots starting from Yearly all the way to Daily. You can turn on 6 hourly and 4 hourly as well if you want.
Hourly CPR is mostly used when the price is in a strong trend and you missed the entry and don’t know when to enter. Price will typically experience pullbacks towards the Hourly CPR, before resuming in the direction of the trend. That is your chance to hop onto the bandwagon.
For Intraday, I keep the Bands off. Just a personal preference here.
You can turn ON the Show CPR Labels , if you want.
Turn ON both the options in the EMA TREND section. You would want to see the EMA crossovers marked on the chart as well as the EMAs themselves, as the distance between the two EMAs will give you an idea about the strength of the trend.
Keep rest of the settings in the EMA section as default (you can change the colors if you wish). I keep the same EMAs as the ones kept in the MACD indicator. I like to keep things simple.
In the MACD MOMENTUM section, turn ON Mark MACD Histogram Peaks on Chart and all the other options turned OFF. Leave the other settings as default. By the way, these are the default settings of the standard MACD Indicator.
You can set up EMA Bullcross and Bearcross alarms if you like.
Before checking out the examples, remember one super simple rule:
SOME OF THE BEST TRENDING MOVES IN THE MARKET, BE IT INTRADAY OR OTHERWISE, ORIGINATE IN THE VICINITY OF A LARGER TIMEFRAME PIVOT/CPR.
Look for price settling above/below a pivot, and then a move away from the pivot in any direction is typically a trending move.
You can use hourly pivots or MACD Histogram peaks marked on the chart to enter an existing trend, or add to your positions.
Let’s have a look at a few recent intraday examples from the Crypto, Indian, and US equity markets.
I have added my comments in the charts to make you easily understand what is going on.
Understand that both, moving average crossover and MACD, will give out a lot of signals (chop) every day. But almost 70% of them are going to be fake signals. It is the signals that you get when the price is near a Pivot, that tend to convert into gorgeous trending moves that last.
BTC 5m Charts
NIFTY Futures 5m Charts (good intraday trends are hard to find here, as the market is very efficient)
TSLA 5m Charts
Some important points for using this indicator in higher timeframes:
For higher timeframes, my personal preference is to go with the MACD indicator. I personally find MACD to be lethal on daily and weekly timeframes, if you know how to use it well.
The default settings of the indicator are the settings I use for both, Daily and Weekly, timeframes. Additionally, I turn off the CPR labels.
In theory large trending moves still have a big probability to start near an important pivot level, however, in larger timeframes, trending moves can start from anywhere. They need not start in the vicinity of any important pivot (but they often do!).
Weekly pivots can act as great pullback levels when the price is in strong momentum, when trading on the daily timeframe.
Quarterly Pivots act as great pullback levels when the price is in strong momentum, when trading on the weekly timeframe.
BTC Weekly Chart
BTC Daily Chart
Nifty Weekly Chart
Nifty Daily Chart
NASDAQ Weekly Chart
NASDAQ Daily Chart
FINAL WORDS:
Please understand that I have Cherry Picked the examples to showcase the capability of the indicator and its usage.
DO NOT conflate the accuracy of examples with the accuracy of this indicator.
Biggest catch is the fact that this indicator, like every other indicator out there, will have whipsaws. Some I have also marked in the example charts.
You need to come up with your own technique to avoid whipsaws, one technique I have shared here…… big moves typically start near pivots.
Work on avoiding whipsaws and finding you own edge in the markets.
If you really want to learn how to use Pivots, read the book ’Secrets of a Pivot Boss’ . This book can change your life.
Fukuiz Octa-EMA + Ichimoku (Strategy)This strategy is based EMA of 8 different period and Ichimoku Cloud which works better in 1hr 4hr and daily time frame.
#A brief introduction to Ichimoku #
The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future.
#A brief introduction to EMA#
An exponential moving average ( EMA ) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average . An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average ( SMA ), which applies an equal weight to all observations in the period.
#How to use#
The strategy will give entry points itself, you can monitor and take profit manually(recommended), or you can use the exit setup.
EMA (Color) = Bullish trend
EMA (Gray) = Bearish trend
#Condition#
Buy = All Ema (color) above the cloud.
SELL= All Ema turn to gray color.
Saturday Strategy BTC By KziI take the hypothèse that saturday is the most stable day of the week because, no SP500, no fed announcement and no weekly closure.
My Strategy is very simple:
Take the friday color (Red = Short // Green = Long)
Then open at the friday close price
Take a small pourcentage (1 or 2 %) then close.
What ever close on midnight.
Work Well on the 1h chart.
The Yellow is the saturday.
Maybe we can add the monthly close information to avoid opening trade on saturday if we are at this event.
Enjoy and give me your comment.
Kzi
Trend Day IndentificationVolatility is cyclical, after a large move up or down the market typically "ranges" during the next session. Directional order flow that enters the market during this subsequent session tends not to persist, this non-persistency of transactions leads to a non-trend day which is when I trade intraday reversionary strategies.
This script finds trend days in BTC with the purpose of:
1) counting trend day frequency
2) predicting range contraction for the next 1-2 days so I can run intraday reversion strategies
Trend down is defined as daily bar opening within X% of high and closing within X% of low
Trend up is defined as daily bar opening within X% of low and closing within X% of high
default parameters are:
1) open range extreme = 15% (open is within 15% of high or low)
2) close range extreme = 15% (close is within 15% of high or low)
There is also an atr filter that checks that the trend day has a larger range than the previous 4 bars this is to make sure we find true range expansion vs recent ranges.
Notes:
If a trend day occurs after a prolonged sideways contraction it can signal a breakout - this is less common but is an exception to the rule. These types of occurrences can lead to the persistency of order flow and result in extended directional daily runs.
If a trend day occurs close to 20 days high or low (stopping just short OR pushing slightly through) then wait an additional day before trading intraday reversion strategies.
DashBoard Alt Season by KziHere is a Dashboard to have an overview of the Alt Season oportunity.
Multiple time frame (Month / Week / Daily /4H)
How to use it?
You have 4 columns
TOTAL Crypto / Btc dominance / Btc Price / Alt ?
The alt? column is the resulte of the price and dominance of btc + 1 point with the total crypto
BTC Dominance UP ? Yes = Négatif for ALTS
/// Btc Price UP ?= > Yes = Positif for ALTS
NO = super négatif for ALTS
No = Positif for ALTS
/// Btc Price UP ?= > Yes = super Positif for ALTS
NO = Neutral
The total market just smooth the total.
If Alt columm is Green= It's OK
If Alt columm is orange = carrefull
If Alt Columm is red = leave the alt
You have to considered that you look on the time frame where you want to trade.
The overtime frame help to understand the bigger view.
Hop you like it and give comment to help the évolutions.
Bitcoin Best Value CorridorHere is my interpretation of the "Best Time To Buy" Bitcoin over its lifetime using a logarithmic regression trendline. The upper and lower lines are 10% deviations from the centre line. I calculated the trendline in excel and then coded my results into pine script.
Lev Umanov Sin EquationThis indicator is taken from the calculations made by Lev Umanov. It predicts the peaks of Bitcoin. The indicator works with most BTCUSD pairings.
100W sma/200W smaThis is an Indicator specifically made for BTC/USD ( Index)
Zoom out on Daily and Weekly candles as much and you can SEE a trend . A very very important trend and you shall remember this indicator with Years to come . This is a VERY long term type indicator and can help you with long term hodling investor mindset analysis .
Accumulation/Distribution Bands & Signals (BTC, 1D, BITSTAMP) This is an accumulation/distribution indicator for BTC/USD (D) based on variations of 1400D and 120D moving averages and logarithmic regression. Yellow plot signals Long Term Accumulation, which is based on 1400D (200W) ALMA, orange plot signals Mid Term Accumulation and is based on 120D ALMA, and finally the red plot signals Long Term Distribution that's based on log regression. It should be noted that for red plot to work BTC 1D BITSTAMP graph must be used, because the function of the logarithmic regression was modified according to the x axis of the BITSTAMP data.
Signal bands have different coefficients; long term accumulation (yellow) and and the log regression (red) plots have the highest coefficients and mid term accumulation (orange) has the lowest coefficients. Coefficients are 6x, 3x and 1.5x for the red (sell) and yellow (buy) plots and 1x, 2x and 3x for the orange (buy) plot. Selling coefficient for the yellow and the orange plots are respectively 2x and 1x. Buy and sell signals are summed up accordingly and plotted at the top of the highest band.
Acknowledgement: Credits for the logarithmic regression function are due @memotyka9009 and Benjamin Cowen
Chanu Delta RSIThis Chanu Delta RSI indicates the strength of the Bitcoin market. The problem with the previous Chanu Delta Indicator was that it was simply based on the price difference between the two Bitcoin markets, so there was no universality. However, this new Chanu Delta RSI solves the problem by introducing an RSI that compares the price difference trend.
This indicator is selectable from both reference and large amplitude BTCUSD markets. I recommend using BYBIT:BTCUSDT for the reference market and COINBASE:BTCUSD for the large amplitude market.
_____________________________________________________________
이 지표는 비트코인 시장의 단기적인 추세를 판단하는데 도움을 줄 수 있습니다. 기존 Chanu Delta 지표의 문제점은 단순히 두 비트코인 시장의 가격차를 기준으로 하여 보편성이 없었다는 점이다. 하지만 이번 새로운 Chanu Delta RSI는 가격차이 추세를 비교하는 RSI를 도입해 문제를 해결했습니다.
이 지표는 레퍼런스 및 큰 진폭 BTCUSD 시장에서 모두 선택할 수 있습니다. 레퍼런스 시장에는 BYBIT:BTCUSDT를 사용하고 큰 진폭 시장에는 COINBASE:BTCUSD를 사용하는 것이 좋습니다.
Chanu Delta RSI StrategyThis strategy is built on the Chanu Delta RSI , which indicates the strength of the Bitcoin market. The problem with the previous Chanu Delta Strategy was that it was simply based on the price difference between the two Bitcoin markets, so there was no universality. However, this new Chanu Delta RSI strategy solves the problem by introducing an RSI that compares the price difference trend.
When the Chanu Delta RSI hits “Bull Level” and “Bear Level” and closes the candle, long and short signals are triggered respectively. The example shown on the screen is a default setting optimized for a 4-hour candlestick strategy based on the Bybit BTCUSDT futures market. You can use it by adjusting the setting value and modifying it to suit you.
This strategy is selectable from both reference and large amplitude BTCUSD markets in order to enable fine backtesting. I recommend using BYBIT:BTCUSDT for the reference market and COINBASE:BTCUSD for the large amplitude market.
(Note) Using the "Chanu Delta RSI" to know the current indicator value in real time, it is convenient to predict the signal of the strategy.
(Note) Because the Chanu Delta RSI represents the price difference based on the Bybit BTCUSDT futures market, backtesting is possible from March 2020.
_____________________________________________________________
이 전략은 비트코인 시장의 강점을 나타내는 Chanu Delta RSI를 기반으로 합니다. 기존 Chanu Delta 전략의 문제점은 단순히 두 비트코인 시장의 가격차를 기준으로 하여 보편성이 없었다는 점이다. 하지만 이번 새로운 Chanu Delta RSI 전략은 가격차이 추세를 비교하는 RSI를 도입해 문제를 해결했습니다.
Chanu Delta RSI가 "Bull Level"과 "Bear Level"에 도달하고 봉마감하면 롱, 숏 신호가 각각 트리거됩니다. 화면에 보이는 예시는 Bybit BTCUSDT 선물 시장을 기반으로 한 4시간 캔들스틱 전략에 최적화된 기본 설정입니다. 설정값을 조정하여 자신에게 맞게 수정하여 사용하시면 됩니다.
이 전략은 정밀한 백테스팅을 가능하게 하기 위해 참조 및 큰 진폭 BTCUSD 시장에서 모두 선택할 수 있습니다. 참조 시장에는 BYBIT:BTCUSDT를 사용하고 큰 진폭 시장에는 COINBASE:BTCUSD를 사용하는 것이 좋습니다.
(주) "Chanu Delta RSI"를 이용하여 현재 지표 값을 실시간으로 알 수 있어 전략의 시그널을 예측하는데 편리합니다.
(주) Chanu Delta RSI는 바이비트 BTCUSDT 선물시장을 기준으로 가격차이를 나타내므로 2020년 3월부터 백테스팅이 가능합니다.
BTC Cap Dominance RSIBTC Cap Dominance RSI indicator is a combination of the RSI of Bitcoin Market Cap and the RSI of Bitcoin Dominance. The concept of this indicator is to get a good grasp of the bitcoin market flow by combining bitcoin dominance as well as bitcoin market cap.
BTC Cap Dominance (BCD) RSI is defined as:
BCD RSI = (BTC Cap RSI + BTC Dominance RSI) / 2
Case 1 (Bull market):
Both Cap RSI and Dominance RSI values are high
Case 2 (Neutral market):
Cap RSI is high but Dominance RSI is low
Cap RSI is low but Dominance RSI is high
Case 3 (Bear market):
Both Cap RSI and Dominance RSI values are low
(Note) Please note that the market capitalization symbols (CRYPTOCAP:TOTAL and CRYPTOCAP:TOTAL2) of TradingView started in January 2020, so you can check the indicator value from this point on.
BTC Cap Dominance RSI StrategyThis strategy is based on the BTC Cap Dominance RSI indicator, which is a combination of the RSI of Bitcoin Market Cap and the RSI of Bitcoin Dominance. The concept of this strategy is to get a good grasp of the bitcoin market flow by combining bitcoin dominance as well as bitcoin market cap.
BTC Cap Dominance (BCD) RSI is defined as:
BCD RSI = (BTC Cap RSI + BTC Dominance RSI) / 2
Case 1 (Bull market):
Both Cap RSI and Dominance RSI values are high
Case 2 (Neutral market):
Cap RSI is high but Dominance RSI is low
Cap RSI is low but Dominance RSI is high
Case 3 (Bear market):
Both Cap RSI and Dominance RSI values are low
When the BCD RSI value closes the candle above the Bull level, it triggers a long signal and when the value closes below the Bear level, it triggers a short signal.
(Note) Please note that TradingView's market cap symbols (CRYPTOCAP:TOTAL and CRYPTOCAP:TOTAL2) started in January 2020, so strategy backtesting is possible from this point on.
(Note) Since the real-time BCD RSI value does not come out with this strategy, it is recommended to use it together because the current value can be known and the long-short signal can be predicted in advance by using a separate BCD RSI Index together.
If "Use Combination of dominance RSI ?" is not checked in addition to the recommended default value of the strategy, the recommended values are Length (14), Bull level (74), Bear level (25).
_______________________________________________________________________
이 전략은 비트코인 시가총액의 RSI와 비트코인 도미넌스 RSI를 조합하여 만든 BTC Cap Dominance RSI 지표를 기반으로 만들어졌습니다. 이 전략의 컨셉은 비트코인 시가총액뿐만 아니라 비트코인 도미넌스를 조합함으로써 비트코인 시장 흐름을 잘 파악할 수 있도록 하는 것입니다.
BTC Cap Dominance (BCD) RSI는 다음과 같이 정의하였습니다.
BCD RSI = (BTC Cap RSI + BTC Dominance RSI) / 2
Case 1 (강세 장):
Cap RSI와 Dominance RSI 값 모두 높은 경우
Case 2 (횡보 장):
Cap RSI는 높지만 Dominance RSI는 낮은 경우
Cap RSI는 낮지만 Dominance RSI는 높은 경우
Case 3 (약세 장):
Cap RSI와 Dominance RSI 값 모두 낮은 경우
BCD RSI 값이 Bull level 위에서 캔들 마감할 경우 long 신호를 트리거하고 Bear level 아래에서 캔들 마감할 경우 short 신호를 트리거합니다.
(주의) 트레이딩뷰의 시가총액 심볼들 (CRYPTOCAP:TOTAL과 CRYPTOCAP:TOTAL2)이 2020년 1월부터 시작하였으므로 이 시점부터 전략 백테스팅이 가능한 점을 유의하십시오.
(주의) 이 전략은 실시간 BCD RSI 값이 나오지 않기 때문에 별도의 BCD RSI Index를 함께 사용하면 현재 값을 알 수 있어 롱숏 신호를 사전에 예측할 수 있으므로 함께 사용하기를 권장합니다.
전략의 추천 기본값 외에 "Use Combination of dominance RSI ?"를 체크하지 않는 경우 권장하는 값은 Length (14), Bull level (74), Bear level (25) 입니다.
Bitcoin Inflation-Adjusted Support and Resistance5year breakeven inflation rate fitted for log BTC chart as Support and Resistance
[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"
Bitcoin Golden Bottom Oscillator (MZ BTC Oscillator)This indicator uses Elliot Wave Oscillator Methodology applied on "BTC Golden Bottom with Adaptive Moving Average" and Relative Strength Index of Resulted EVO to form an Oscillator to detect trend health in Bitcoin price. Ticker is set to "INDEX : BTCUSD" on 1D timeframe.
Methodology
Oscillator uses Adaptive Moving Average with 1 year of length, Minor length of 50 and Major length of 100 to mark AMA as Golden Bottom.
Percentage Elliot Wave Oscillator is calculated between BTC price and AMA.
Relative Strength Index of EVO is calculated to detect trend strength and divergence detection.
Hull Moving Average of resulted RSI is used to smoothen the Oscillator.
Oscillator is hard coded to 'INDEX:BTCUSD' ticker on 1d so it can be used on any other chart and on any other timeframe.
Color Schemes
Bright Red background color indicates that price has left top Fib multiple ATR band and possibly go for top.
Light Red background color indicates that price has left 2nd top Fib multiple ATR band and possibly go for local top.
Lime background color indicates that price has entered lowest band indicating local bottom.
Bright Green background color indicates that price is approximately resting on Golden Bottom i.e. AMA.
Oscillator color is set to gradient for easy directional adaption.
BTC Golden Bottom with Adaptive Moving Average
BTC Price OverlayThis is not a crazy strategy like most of the code I write. It's a simple overlay so you can drop BTC on top of whatever chart you are watching. It will track BTC's price on Binance.us (though the exchange is changeable with a few lines of code, maybe I will make it a dropdown on the next iteration of this.)
It uses TradingView's scale function to show both assets on a relative chart. BTC's price is on the left and your asset is on the right.
I've made this available for free because it is quick and easy. I plan to write a bot based around this code and that one will be private.
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.