ALT to BTC EvaluationThis custom TradingView indicator, titled "Price Relative to BTC Index", allows users to visualize the price of any selected asset relative to Bitcoin. It achieves this by comparing the closing price of the current ticker to the closing price of Bitcoin as measured by a prominent BTC index. The resulting relative price is then plotted on the chart, providing a clear and direct visual representation of how the asset is performing in comparison to Bitcoin. The plot is displayed in blue with a line width of 2, ensuring that it stands out on your trading charts. This indicator is especially useful for traders looking to assess market sentiment and relative strength between Bitcoin and other assets in real-time.
Cari dalam skrip untuk "btc期权交割时间"
TFS - Bitcoin (BTC) Transaction Fee Spike Top Indicator [Logue]Transaction Fee Spike (TFS) - For bitcoin (BTC), transaction fees on the bitcoin network can signal a mania phase when they increase well above historical values. This mania phase may indicate we are near a top in the BTC price. The transaction fee in USD is directly retrieved from Glassnode. The default trigger for this indicator fires when the transaction fees increase above $44/transaction.
3kilos BTC 15mThe "3kilos BTC 15m" is a comprehensive trading strategy designed to work on a 15-minute timeframe for Bitcoin (BTC) or other cryptocurrencies. This strategy combines multiple indicators, including Triple Exponential Moving Averages (TEMA), Average True Range (ATR), and Heikin-Ashi candlesticks, to generate buy and sell signals. It also incorporates risk management features like take profit and stop loss.
Indicators
Triple Exponential Moving Averages (TEMA): Three TEMA lines are used with different lengths and sources:
Short TEMA (Red) based on highs
Long TEMA 1 (Blue) based on lows
Long TEMA 2 (Green) based on closing prices
Average True Range (ATR): Custom ATR calculation with EMA smoothing is used for volatility measurement.
Supertrend: Calculated using ATR and a multiplier to determine the trend direction.
Simple Moving Average (SMA): Applied to the short TEMA to smooth out its values.
Heikin-Ashi Close: Used for additional trend confirmation.
Entry & Exit Conditions
Long Entry: Triggered when the short TEMA is above both long TEMA lines, the Supertrend is bullish, the short TEMA is above its SMA, and the Heikin-Ashi close is higher than the previous close.
Short Entry: Triggered when the short TEMA is below both long TEMA lines, the Supertrend is bearish, the short TEMA is below its SMA, and the Heikin-Ashi close is lower than the previous close.
Take Profit and Stop Loss: Both are calculated as a percentage of the entry price, and they are set for both long and short positions.
Risk Management
Take Profit: Set at 1% above the entry price for long positions and 1% below for short positions.
Stop Loss: Set at 3% below the entry price for long positions and 3% above for short positions.
Commission and Pyramiding
Commission: A 0.07% commission is accounted for in the strategy.
Pyramiding: The strategy does not allow pyramiding.
Note
This strategy is designed for educational purposes and should not be considered as financial advice. Always do your own research and consider consulting a financial advisor before engaging in trading.
High/Low of week: Stats & Day of Week tendencies// Purpose:
-To show High of Week (HoW) day and Low of week (LoW) day frequencies/percentages for an asset.
-To further analyze Day of Week (DoW) tendencies based on averaged data from all various custom weeks. Giving a more reliable measure of DoW tendencies ('Meta Averages').
-To backtest day-of-week tendencies: across all asset history or across custom user input periods (i.e. consolidation vs trending periods).
-Education: to see how how data from a 'hard-defined-week' may be misleading when seeking statistical evidence of DoW tendencies.
// Notes & Tips:
-Only designed for use on DAILY timeframe.
-Verification table is to make sure HoW / LoW DAY (referencing previous finished week) is printing correctly and therefore the stats table is populating correctly.
-Generally, leaving Timezone input set to "America/New_York" is best, regardless of your asset or your chart timezone. But if misaligned by 1 day =>> tweak this timezone input to correct
-If you want to use manual backtesting period (e.g. for testing consolidation periods vs trending periods): toggle these settings on, then click the indicator display line three dots >> 'Reset Points' to quickly set start & end dates.
// On custom week start days:
-For assets like BTC which trade 7 days a week, this is quite simple. Pick custom start day, use verification table to check all is well. See the start week day & time in said verification table.
-For traditional assets like S&P which trade only 5 days a week and suffer from occasional Holidays, this is a bit more complicated. If the custom start day input is a bank holiday, its custom 'week' will be discounted from the data set. E.g.1: if you choose 'use custom start day' and set it to Monday, then bank holiday Monday weeks will be discounted from the data set. E.g.2: If you choose 'use custom start day' and set it to Thursday, then the Holiday Thursday custom week (e.g Thanksgiving Thursday >> following Weds) would be discounted from the data set.
// On 'Meta Averages':
-The idea is to try and mitigate out the 'continuation bias' that comes from having a fixed week start/end time: i.e. sometimes a market is trending through the week start/end time, so the start/end day stats are over-weighted if one is trying to tease out typical weekly profile tendencies or typical DoW tendencies. You'll notice this if you compare the stats with various custom start days ('bookend' start/end days are always more heavily weighted). I wanted to try to mitigate out this 'bias' by cycling through all the possible new week start/end days and taking an average of the results. i.e. on BTC/USD the 'meta average' for Tuesday would be the average of the Tuesday HoW frequencies from the set of all 7 possible custom weeks(Mon-Sun, Tues-Mon, Weds-Tues, etc etc).
// User Inputs:
~Week Start:
-use custom week start day (default toggled OFF); Choose custom week start day
-show Meta Averages (default toggled ON)
~Verification Table:
-show table, show new week lines, number of new week lines to show
-table formatting options (position, color, size)
-timezone (only for tweaking if printed DoW is misaligned by 1 day)
~Statistics Table:
-show table, table formatting options (position, color, size)
~Manual Backtesting:
-Use start date (default toggled OFF), choose start date, choose vline color
-Use end date (defautl toggled OFF), choose end date, choose vline color
// Demo charts:
NQ1! (Nasdaq), Full History, Traditional week (Mon>>Friday) stats. And Meta Averages. Annotations in purple:
NQ1! (Nasdaq), Full History, Custom week (custom start day = Wednesday). And Meta Averages. Annotations in purple:
GBTC Cost Equivalent per BTCGBTC Cost Equivalent per BTC, dynamically updates BTC holdings per share of GBTC daily
Comparison with BTC (RSI)显示当前品种与BTC汇率对的RSI值
以此判断强势或弱势品种以及超买超卖
——————————
Display the RSI value of the exchange rate between the current variety and BTC
Use this to determine strong or weak varieties, as well as overbought and oversold
Trend Following based on Trend ConfidenceThis is a Trend Following strategy based on the Trend Confidence indicator.
The goal of this strategy is to be a simple Trend Following strategy, but also to be as precise as possible when it comes to the question 'how confident are we that a linear trend is ongoing?'. For this we calculate the 'confidence' of a linear trend in the past number of closing prices. The idea of this strategy is that past a certain confidence, the ongoing linear trend is more likely to continue than not.
Trend Confidence:
The Trend Confidence shows us how strong of a linear trend the price has made in the past number (given by Length parameter) of closing prices. The steepness of the price change makes the Trend Confidence more extreme (more positive for an uptrend or more negative for a downtrend), and the deviation from a straight line makes the Trend Confidence less extreme (brings the confidence closer to 0). This way we can filter out signals by wild/sudden price moves that don't follow a clear linear trend.
Math behind the Trend Confidence:
A linear fit is made on the past number of closing prices, using Ordinary Linear Regression. We have the steepness of the linear fit: b in y=a+bx . And we have the standard deviation of the distances from the closing prices to the linear fit: sd . The Trend Confidence is the ratio b/sd .
Entries and Exits:
For entry and exit points we look at how extreme the Trend Confidence is. The strategy is based on the assumption that past a certain confidence level, the ongoing linear trend is more likely to continue than not.
So when the Trend Confidence passes above the 'Long entry" threshold, we go Long. After that when the Trend Confidence passes under the 'Long exit' threshold, we exit. The Long entry should be a positive value so that we go Long once a linear uptrend with enough confidence has been detected.
When the Trend Confidence passes below the 'Short entry' threshold, we go Short. After that when the Trend Confidence passes above the 'Short exit' threshold, we exit. The Short entry should be a negative value so that we go Short once a linear downtrend with enough confidence has been detected.
Default Parameters:
The strategy is intended for BTC-USD market, 4 hour timeframe. The strategy also works on ETH-USD with similar parameters.
The Length is arbitrarily set at 30, this means we look at the past 30 closing prices to determine a linear trend. Note that changing the length will change the range of Trend Confidence values encountered.
The default entry and exit thresholds for Longs and Shorts do not mirror each other. This is because the BTC-USD market goes up more heavily and more often than it goes down. So the ideal parameters for Longs and Shorts are not the same.
The positive results of the strategy remain when the parameters are slightly changed (robustness check).
The strategy uses 100% equity per trade, but has a 10% stop loss so that a maximum of 10% is risked per trade.
Commission is set at 0.1% as is the highest commission for most crypto exchanges.
Slippage is set at 5 ticks, source for this is theblock.co.
Crypto BTC Correlation Scalper Gaps StrategyThis strategy is based on the gaps theory.
In this case we have the BTC futures from CME, which acts in a way similar to stocks, and we can have gaps present between close/open session, and also sometimes between same candle due to huge movements intra candle.
At the same time I have combined this with a daily moving average, to help out a bit with the trend, since we are looking at small timeframe like 1-15/30min .
On top of that we have a reverse option, where long = short and viceversa, which can be used with against BTC pairs .
Rule are simple:
For long, we have a long gap and the close of the correlated candle is above daily sma
For short, we have a short gap and the close of the correlated candle is below daily sma
For exit:
For exit, we take the highest highest values for short entry TP, meaning we get the different from the HH and rest the current open candle distance, and use that distance as a TP.
At the same time for long entry, we take the lowest low value and rest current close of the candle to that value, and we get the TP.
Can also be applied this logic for SL aswell but from the test I have found out that exiting based on a reverse condition(when tp is not being hit), gives better results/dd overall.
If you have any questions, please let me know !
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
STRATEGY R18-F-BTCHi, I'm @SenatorVonShaft
Just finished the strategy "STRATEGY R18-F-BTC" for trading on #bitcoin and other cryptocurrencies.
As any strategy on TradingView, R18 opens Long/Short positions (with no leverage) on certain price points for assets in the chart. But I intentionally make this strategy for Bitcoin . Strategy is effective with 1h chart and it has %36 winning trade ratio for #bitcoin trade. As strategy uses approximately 1/3 ratio of SL/TP levels, gross profit for 1 year backtest is above %200 (I mean above 3x for only BTC )
Strategy is built on combination of:
- MACD
- RSI
- FIBONACCI levels
- BTCUSDT price itself as indicator (for different crypto assets and BTCUSDTPERP trading. You can select different assets you like for indicator (it's BTCUSDT:Binance by default))
I fine-tuned all levels of indicators above accordingly (it has more than 10 variables that effects strategy itself).
You can find out your own strategy levels by adjusting long/short tp&sl variables as well as initial capital ratio variable.
Reverse option open reverse positions of the strategy
Rational Root TimelineThis script is based on RationalRoot's spiral btc chart. Since I dont know how to make spirals in pinescript I just flattened it out into a readable chart. All this shows is the log price for btc over a 4 year timeframe. I found it interesting how well things line up with this idea. The white circle just shows the current day price location. You need to be on the Daily timeframe to view this correctly.
Glassnode SOPR for BTCThe indicator SOPR by Glassnode is used. The SMA is also used to smooth the values of the SOPR indicator.
For:
- Only for BTC/USD or BTC/USDT
- Time frame 1d or more
Lines :
- Blue line is SMA of SOPR
- Black line is always 1.00
- Red line is 1 plus user percentage
- Lime line is 1 minus the user percentage
Background:
- If the indicator is above the red line then the red background is displayed
- If the indicator is below the lime line the lime background is displayed
Usage:
- When the SMA of SOPR is above the red line there is a high probability of a market top.
- When the SMA of SOPR is below the lime line, there is a high probability of a market bottom (these are good prices to buy bitcoin for a long-term position).
Tether DataCONCEPT
A toolkit with a bunch of different metrics for the widely used stablecoin called tether (USDT).
It's very easy to use, just select in the settings what data you want to look at.
FEATURES
Value index.
The "index" setting shows a volume weighted index of different exchanges to give the most accurate average USDT/USD price.
Market cap.
Very straight forward. This shows you the current tether market cap.
Market cap changes.
This gives you a better visualization of increases (or sometimes decreases) in the tether market cap.
Dominance
This shows tether dominance in the market, same concept as bitcoin dominance.
It compares the USDT mcap to the total crypto mcap and then shows the dominance percentage wise.
It's considered bearish when USDT dominance goes up because it means people want to get out of coins and flee to something more stable.
BTC buying power.
This compares the tether market cap and compares it to the bitcoin market cap to give you an idea of how much BTC buying power has in theory.
The higher this ratio the more bitcoin could be bought with all the tether available.
You'll notice that this often looks very similar to the dominance metric.
Exchanges.
The tether price of multiple exchanges.
In the settings you can select which ones you want the indicator to show.
TRADING
I can't tell you exactly how useful this indicator is for trading, I don't have strong opinions on it.
Some people think a high tether price and dominance is bearish.
Some think the market cap increasing (because of new prints) is bullish.
The buying power metric can give you an idea of how much dry powder there is in the market.
The exchanges metric shows you where you can get the cheapest USDT...
Just some ideas.
This indicator is free so if you add it to your favourites you can start using it immediately (it's possible that you have to refresh Tradingview before it actually works).
Source code is visible for learning purposes.
Cheers.
3GBH - RSI vs BTC's RSIThis indicator compared the RSI of the pair you're viewing to BTC's RSI.
- Currently based against 'BTCUSD', more BTC pairs will be added in the near future.
-----
Included in this indicator:
- RSI of current pair
- RSI of 'BTCUSD'
- EMA of current pair RSI
- EMA of 'BTCUSD' RSI
-----
See what your pair is doing versus BTC.
EMA's to help with Technical Analysis.
-----
Help decide whether to look for a SHORT or LONG entry. ( Shows if 'Table' is On )
-----
User-friendly.
You can change all the inputs, they are labelled for ease-of-use.
You can toggle On/Off any or all of the options.
Miyuki BTC Exchange PremiumThis is a simple indicator to display the difference between different BTC exchanges on the chart. It works similarly to my BTC Spot Perp Delta indicator.
There are options to choose which spot and perp exchanges should be included in the mean calculations. It also includes the following options -
- COLOUR BY EXCHANGE: colour each exchange its own colour, or according to if its a spot or perp market
- PLOT EACH EXCHANGE: an option to plot every exchange
- PLOT MEANS: an option to plot the spot and perp means
- PLOT CME: an option to plot the CME price
I find its best used on the lowest timeframes. It can be a good way to visualise the spread between exchanges.
Miyuki BTC Perp Spot DeltaThis is a simple indicator to display the difference between the mean BTC spot price and the mean BTC perp price.
There are options to choose which spot and perp exchanges should be included in the mean calculations. It also includes the following options -
- FLIP: flip the display
- DOLLARS/PERCENT: show the difference in dollar terms or percentage terms
- MOVING AVERAGE: show an adjustable length simple moving average based on the difference
- HORIZONTAL LINES: show up to 3 horizonal lines to indicate the extent of the spread
I find its best used on the lowest timeframes.
Woobull BTC Top CapA close approximation of Willy Woo's Top Cap indicator.
Top Cap is BTC's market cap cumulative average x 35
Since trading view lacks the data from 2010 to 2014 that is used for the calculation, initial values are taken from Willy Woo's chart.
The indicator must be applied to a CRYPTOCAP:BTC chart and daily timeframe
Bitfinex Spot PremiumOverview
A tool to display the spot price premium of Bitfinex coins vs the other big 3 exchanges.
Premium is calculated against:
- Coinbase
- Binance
- FTX
The average is calculated through volume weighting. The absolute difference between the Bitfinex spot price and the calculated average is then displayed on the histogram.
Interacting with the tool
Colours: Green bars indicate a positive premium (Bitfinex spot price is greater than the average), Red bars indicate a negative premium. The ability to grey out smaller premiums is also enabled with the "Grey Small Vals" checkbox, this can be used to further emphasise larger premiums.
Ticker: The ticker input allows you to detect the Bitfinex premium for any coin traded within all 4 exchanges (Bitfinex, Coinbase, Binance, FTX). Just input the coins ticker symbol, for example, "BTC", "ETH", "UNI".
Indicator Ideology
Bitfinex is known for being the home of crypto "smart money". Therefore, positive premiums indicate stronger buying from "smart money". Although this premium is a good sign of bullish/ bearish market conditions, for example, consecutive days of a negative Bitfinex premium have been pretty good at indicating short term tops in BTC, this indicator should only be used as a confirmation signal.
Bitcoin Bulls and Bears by @dbtrBitcoin 🔥 Bulls & Bears 🔥
v1.0
This free-of-charge BTC market analysis indicator helps you better understand what's going with Bitcoin from a high-level perspective. At a glance, it will give you an immediate understanding of Bitcoin’s historic price channel dating back to 2011, past and current market cycles, as well as current key support levels.
Usage
Use this indicator with any BTCUSD pairs , ideally with a long price history (such as BNC:BLX )
We recommend to use this indicator in log mode, combined with Weekly or Monthly timeframe.
Features
🕵🏻♂️ Historic price channel curve since 2011
🚨 Bull & bear market cycles (dynamic)
🔥 All-time highs (dynamic)
🌟 Weekly support (dynamic, based on 20 SMA )
💪 Long-term support (channel bottom)
🔝 Potential future price targets (dynamic)
❎ Overbought RSI coloring
📏 Log/non-log support
🌚 Dark mode support
Remarks
With exception of the price channel curve, anything in this indicator is calculated dynamically , including bull/bear market cycles (based on a tweaked 20SMA), ATHs, and so on. As a result, historic market cycles may not be 100% accurately reflected and may also differ slightly in between various time-frames (closest result: Monthly). The indicator may even consider periods of heavy ups/downs as their own market cycles, even though they weren’t. Due to its dynamic nature, this indicator can however adapt to the future and helps you quickly identify potential changes in market structure, even if the indicator is no longer updated.
On top of that bullmarket cycles (colored in green) feature an ingrained RSI: the darker the green color, the more the RSI is overbought and close to a correction (darkest color in the chart = 90 Weekly RSI). In comparison with past bull cycles, it helps you easily spot potential reversal zones.
Thanks
Thanks to @quantadelic and @mabonyi which both have worked on the BTC "growth zones" indicator including the price channel, of which I have used parts of the code as well as the actual price channel data.
Follow me
Follow me here on TradingView to be notified as soon as new free and premium indicators and trading strategies are published. Inquire me for any other requests.
Enjoy & happy trading!
[SCL] BTC Futures Daily Bias (CME BTC1!)Derives a bias for BTC/USD on the daily timeframe and displays it on the chart in a configurable way. Takes price data from the CME BTC futures chart (exchange is configurable), regardless of what symbol you run it on.
Why? Because futures are said to give cleaner charts, but most traders are not trading CME futures. So you can use this indicator on whichever exchange you want to chart Bitcoin on.
Uses the 80D HMA and the 8D and 21D EMAs by default; all intervals are configurable.
ALL TIME HIGHHH BTC!
Ola Amigos,
Weekly indicator.
This indicator, more commonly called "the Pi indicator", is based on the use of two moving averages: mm50 and mm16.
By dividing a mm50 in order to try to get as close as possible to PI, we fall back on mm16.
50/16 = 3.13
When the white curve passes above the blue curve, we are on historic highs.
It is very easy to test on the BLX, being the graph with the most history.
We can say thank you to JDC for this nice discovery which remains very useful for the rest of the BTC run.
Love!
Ola Amigos,
Weekly indicator.
Cet indicateur, plus communément appelé "the Pi indicator" est basé sur l'utilisation de deux moyennes mobiles : mm50 et mm16.
En divisant une mm50 afin de chercher a essayer de se rapprocher le plus pres de PI, on retombe sur la mm16.
50/16= 3.13
Lorsque la courbe blanche passe au dessus de la courbe bleue, on se trouve sur des plus hauts historiques.
Il est très facile a tester sur le BLX , étant le graph avec le plus d'historique.
On peut dire merci a JDC pour cette jolie découverte qui reste tres utile pour la suite du run BTC .
Love!
RSI Cross for BTC DominanceIn order to get stable alt-coin investments, the BTC dominance (BTC.D) is of parmaount importance.
With this script, I plotted both RSI (28) and the EMA (9).
Whenever the RSI is decreasing and is below EMA, alt-coins are more likely thrive.
Viceversa, when the RSI is mounting the is at least 10% above the EMA, BTC is growing in dominance.
Bitcoin SpreadThis indicator display the current lowest and the highest value of btc on a set of exchanges for a define type of market.
Bitcoin Spread was originally made by @DayTradingItalia, i have bring his indicator to pine v4, add add some stuff to it:
5 Type of BTC Market : USDT Swap, USD and Futures (current/next contract)
Spread value