[MAD] BTC ETF Volume In/OutflowThe " BTC ETF Volume In/Outflows" indicator is designed to analyze and visualize the volume data of various Bitcoin Exchange-Traded Funds (ETFs) across different exchanges. This indicator helps traders and analysts observe the inflows and outflows of trading volume in a structured and comparative manner.
Features
Multi-Ticker Support: The indicator is capable of handling volume data from multiple ETFs simultaneously, making it versatile for comparative analysis.
Volume Adjustments: Provides an option to view volume data either as the number of pieces (shares) traded or as monetary flow (value traded).
Compression Factor: Includes a volume compression factor setting that helps in emphasizing smaller volume changes or smoothing out volume spikes.
Data Calculation
Volume data is processed using a custom function that adjusts the data based on user settings for piece or monetary representation and applies a logarithmic compression factor.
This processed data is then fetched for each ticker.
Visualization
Volume data is visualized on the chart using column plots where each ETF's volume data is stacked and offset to provide a clear visual representation of in/outflows. Horizontal lines indicate the zero level for reference.
Usage Scenario
This indicator is particularly useful for traders who track multiple ETFs and need to compare their volume activities simultaneously. It provides insights into market trends, potentially indicating bullish or bearish shifts based on volume inflows and outflows across different instruments.
have fun :-)
BTC-M
True Market Mean BandsIntroducing the "True Market Mean Bands" (TMMB) , a technical analysis tool designed for Bitcoin. TMMB provides a model of market valuation by integrating the concept of Vaulted Realized Price with dynamic volatility bands, offering traders insights into potential market movements.
Core Concept and Utility:
The TMMB centers around the Vaulted Realized Price, an advanced metric that refines the realized price by accounting for Bitcoin that is "vaulted" - or held out of active circulation. This metric offers a deeper understanding of market valuation by considering not just the last transaction prices but also the long-term holding behaviors of investors.
Innovative Bands:
Building on this core concept, the TMMB introduces multiple bands that reflect market volatility and supply dynamics. These bands are derived using a combination of statistical analysis and customizable multipliers, allowing for adaptation to varying market conditions. The bands include:
Standard Deviation Bands: Adjusted for market volatility, providing a dynamic measure of overbought and oversold conditions.
Vaulted Realized Price Multiplier Bands: These bands use multipliers inspired by the price distribution around the mean, aligning with key psychological and mathematical levels in the market.
Technical Insight:
At the heart of TMMB lies a robust calculation framework that leverages:
Security Function: To fetch relevant market data, ensuring real-time accuracy and relevance.
Customizable Multipliers: Allowing users to adjust the sensitivity of the bands according to their trading strategies.
Statistical Analysis: Utilizing standard deviation and mean calculations to dynamically adapt the bands to market conditions.
Originality and Usefulness:
The TMMB stands out by offering a unique perspective on Bitcoin's market valuation, taking into account long-term holding patterns which are often overlooked in traditional indicators. This approach not only enriches market analysis but also provides traders with actionable insights, potentially enhancing trading strategies.
Application and Value:
TMMB is especially useful for traders and analysts looking for a deeper understanding of market dynamics, beyond surface-level price movements. It offers a valuable tool for identifying potential entry and exit points, assessing market sentiment, and making informed trading decisions.
BTC Purchasing Power 2009-20XX! Hello, today I'm going to show you something that shifts our perspective on Bitcoin's value, not just in nominal terms, but adjusted for the real buying power over the years. This Pine Script TAS developed for TradingView does exactly that by taking into account inflation rates from 2009 to the present.
As you know, inflation erodes the purchasing power of money. That $100 in 2009 does not buy you the same amount in goods or services today. The same concept applies to Bitcoin. While we often look at its price in terms of dollars, pounds, or euros, it's crucial to understand what that price really means in terms of purchasing power.
What this script does is adjust the price of Bitcoin for cumulative inflation since 2009, allowing us to see not just how the nominal price has changed, but how its value as a means of purchasing goods and services has evolved.
For example, if we see Bitcoin's price at $60,000 today, that number might seem high compared to its early years. However, when we adjust this price for inflation, we might find that in terms of 2009's purchasing power, the effective price might be somewhat lower. This adjusted price gives us a more accurate reflection of Bitcoin's true value over time.
This script plots two lines on the chart:
The Original BTC Price: This is the unadjusted price of Bitcoin as we typically see it.
BTC Purchasing Power: This line shows Bitcoin's price adjusted for inflation, reflecting how many goods or services Bitcoin could buy at that point in time compared to 2009.
By comparing these lines, we can observe periods where Bitcoin's purchasing power significantly increased, even if the nominal price was not at its peak. This can help us identify moments when Bitcoin was undervalued or overvalued in real terms.
This analysis is crucial for long-term investors and traders who want to understand Bitcoin's value beyond the surface-level price movements. It helps us appreciate Bitcoin's potential as a store of value, especially in contexts where traditional currencies are losing purchasing power due to inflation.
Remember, investing is not just about riding price waves; it's about understanding the underlying value. And that's precisely what this script helps us to uncover
(mab) Dynamic Bitcoin NVT SignalBitcoin`s NVT is calculated by dividing the Network Value (market cap) by the USD volume transmitted through the blockchain daily. Note this equivalent of the bitcoin token supply divided by the daily BTC value transmitted through the blockchain, NVT is technically inverse monetary velocity.
Credits go to Willy Woo for creating the Network Value Transaction Ratio (NVT). Credits go also to Dimitry Kalichkin improving NVT and creating the NVT Signal (NVTS).
According to its creator, the NVT Ratio is somewhat similar to the PE Ratio used in equity markets. When Bitcoin`s NVT is high, it indicates that its network valuation is outstripping the value being transmitted on its payment network, this can happen when the network is in high growth and investors are valuing it as a high return investment, or alternatively when the price is in an unsustainable bubble.
I created this indicator because the NVT indicator I was using suddenly stopped working. I tried a number of other NVT indicators, but all of them seem to have the same problem and stopped updating after a certain date. The cause is that the data feed from 'Quandl' that is used by most NVT indicators is no longer updated through the previous API.
Instead TradingView created a special API to access 'Quandl" data. This indicator not only uses the new API for 'Quandl', it can also access data from other providers like 'Glassnode', 'CoinMetrics' and 'IntoTheBlock'. However, the 'Quandl' data feed seems to produce the best results with this indicator.
The indicator provides dynamically adjusting overbought and oversold thresholds based on a two year moving average and standard devition with adjustable multipliers. It also implements alerts for NVT going into overbought, oversold or crossing the moving average.
Version 1.0
--
Version history
0.1 Beta
- Initial version
1.0
- First release
BTC/USD Inflation priced in! ~Period 2009 - 2023 (by TAS)The script creates a custom indicator titled "BTC Adjusted for Economic Factors.
Adjusted BTC Price is plotted in red, making it more prominent. The adjusted price is Bitcoin's historical closing prices adjusted for cumulative inflation over time, based on the Core Consumer Price Index (CPI) annual inflation rates from 2009 onwards.
The script calculates the adjusted price of Bitcoin by taking into account the effect of inflation on its value. It uses annual CPI rates for each year from 2009 to 2022 to calculate a cumulative inflation factor. The script assumes a placeholder inflation rate of 2.5% for 2023, indicating that this value should be updated when the actual rate is available. The script suggests adding CPI rates for additional years as they become available to maintain the accuracy of the adjustment.
Here's a breakdown of how the script works:
Core CPI Annual Inflation Rates: It starts by defining the annual inflation rates for each year from 2009 to 2022, expressed as a percentage divided by 100 to convert to a decimal.
Cumulative Inflation Calculation: The script calculates cumulative inflation starting from the year 2009 up to the current year. For each year that has passed since 2009, it multiplies the cumulative inflation factor by (1 + cpiRate), where cpiRate is the inflation rate for that year. This effectively compounds the inflation rate over time.
Adjusting Bitcoin's Price: The script then adjusts Bitcoin's closing price (close) for the calculated cumulative inflation to get the adjusted price (adjustedPrice).
Plotting the Prices: Finally, it plots both the original and the adjusted Bitcoin prices on the chart, allowing users to visually compare how inflation has theoretically impacted Bitcoin's value over time.
--------------------------------------------------------------------------------------------------
Important to notice, Fib. Retracements from the 2017 cycle top to the recent top (¬80K) doesn't look invalidated.
--------------------------------------------------------------------------------------------------
Inputs and feedback are welcome!
STABLECOINS DEPEG FINDERSTABLECOINS DEPEG FINDER
With this script, you will be able to understand how DePeg in stablecoins USDT, USDC, and FDUSD can influence the TOTAL Market Cap.
WHAT IS DEPEG?
DePeg occurs when a stablecoin loses its peg. It can't maintain the $1.00 price for a while (or anymore). Traders can use DePeg for high-quality trading both in Crypto and Stablecoins. Usually, a Negative DePeg (e.g., 0.98%) means you can buy Stablecoins at a 2% discount. This translates to a 2% gain when the Stablecoin returns to its peg. Additionally, a Positive DePeg could be a good moment for selling or withdrawal.
WHY DEPEG MATTERS IN THE CRYPTO SPACE
Depeg in Crypto markets is primarily a matter of "earning from small differences in peg." If well understood, it can help traders and analysts to spot whales' next moves. Usually, when a negative DePeg (below $1) occurs, it means whales are in a hurry to sell their Stablecoin tokens for Crypto Tokens. In this hurry, they sell Stablecoins at a discount. In the short term, a Crypto pump is likely planned, and they buy the next x100 token.
On the other hand, a positive DePeg (above $1) means whales are in a hurry to convert tokens into Stablecoins because they are heavily selling Crypto Tokens. This leads to them paying more for Stablecoins. Positive Depeg is more interesting than Negative DePeg. Usually, it signifies an important sell-off in the crypto environment, creating high tension to safeguard your hard-earned money. Whales hurry to convert altcoins and tokens into stablecoins, causing a Positive Depeg (they are willing to pay more to be safe). Positive DePeg is plotted as Intense Background Color.
Identifying 'areas' where this occurs could help traders and analysts understand this highly manipulative market better and take positions.
THE SCRIPT
This script will help traders and analysts understand when USDT, USDC, and FDUSD depegged and how the crypto market reacted. It comes with the possibility to check and plot backgrounds when there's Positive DePeg or Negative DePeg for USDT, USDC, or FDUSD.
It's pretty useful for data analysis. In the bottom-right part, you can check the actual stablecoin peg for the three Stablecoins:
- Highest Positive DePeg in a given BackTrace
- Average Positive DePeg in a given BackTrace
- Actual Peg for USDT, USDC, FDUSD
- Average Negative DePeg in a given BackTrace
- Lowest Negative DePeg in a given BackTrace
UNDERSTANDING THE BACKGROUND PLOT
NEGATIVE DEPEG
For each Stablecoin, negative DePeg is plotted as Translucent Background Color: USDT lime, USDC aqua, FDUSD grey. You can choose from settings whether it needs to be enabled or disabled for each token.
POSITIVE DEPEG
For each Stablecoin, positive DePeg is plotted as Intense Background Color: USDT lime, USDC aqua, FDUSD grey. You can choose from settings whether it needs to be enabled or disabled for each token.
USE CASE EXAMPLES
With this script you can plan to be alerted WHEN one of those stablecoin are depegging over a threesold. Than you can act accordingly.
BUY OPPORTUNITY
Let' suppose you want to see how USDC can influence Crypto Price when deppeged
I've setup signal to be plotted only for negative Depeg when USDC goes below 0.998. As you can see it was a very good and nice buy area for the entire crypto market
SELL OPPORTUNITY
Spot a selling point could be harder. In the example below let's see how USDC positive DePeg can show signal of Crypto dump earlier in daily TF
ATH Gain PotentialThe indicator quantifies the relative position of a symbol's current closing price in relation to its historical all-time high (ATH).
By evaluating the ratio between the ATH and the present closing price, it provides an analytical framework to estimate the potential gains that could accrue if the symbol were to revert to its ATH from a specified reference point. The ratio serves as a quantitative measure for assessing the distance between the current market value and the symbol's historical peak, enabling investors to gauge the prospective profitability of a return to the ATH.
MicroStrategy / Bitcoin Market Cap RatioThis indicator offers a unique analytical perspective by comparing the market capitalization of MicroStrategy (MSTR) with that of Bitcoin (BTC) . Designed for investors and analysts interested in the correlation between MicroStrategy's financial performance and the Bitcoin market, the script calculates and visualizes the ratio of MSTR's market capitalization to Bitcoin's market capitalization.
Key Features:
Start Date: The script considers data starting from July 28, 2020, aligning with MicroStrategy's initial announcement to invest in Bitcoin.
Data Sources: It retrieves real-time data for MSTR's total shares outstanding, MSTR's stock price, and BTC's market capitalization.
Market Cap Calculations: The script calculates MicroStrategy's market cap by multiplying its stock price with the total shares outstanding. It then forms a ratio of MSTR's market cap to BTC's market cap.
Bollinger Bands: To add a layer of analysis, the script includes Bollinger Bands around the ratio, with customizable parameters for length and multiplier. These bands can help identify overbought or oversold conditions in the relationship between MSTR's and BTC's market values.
The indicator plots the MSTR/BTC market cap ratio and the Bollinger Bands, providing a clear visual representation of the relationship between these two market values over time.
This indicator is ideal for users who are tracking the impact of Bitcoin's market movements on MicroStrategy's valuation or vice versa. It provides a novel way to visualize and analyze the interconnectedness of a leading cryptocurrency asset and a major corporate investor in the space.
BTC ETF Premium IndicatorThe "BTC ETF Premium Indicator" (BEPI) is a sophisticated tool designed for investors and traders who seek to analyze the performance of Bitcoin ETFs relative to the actual market price of Bitcoin. This indicator provides a comprehensive visualization of the premium or discount at which each ETF is trading compared to its Net Asset Value (NAV).
Functionality:
ETF Selection: Users can toggle the visibility of individual ETFs to customize their view, focusing on the ETFs most relevant to their trading or analysis strategies.
Premium Computation: BEPI calculates the premium of each selected ETF by comparing its market share price to its NAV, expressed as a percentage. A positive percentage indicates a premium, while a negative percentage suggests a discount.
Aggregate View: The indicator can plot an average premium based on the selection, providing a consolidated perspective of the overall market sentiment across the chosen ETFs.
Customizable Display: With the option to display only the average or individual ETF premiums, the BEPI offers flexibility in data presentation, ensuring that users can quickly glean the insights that matter most to them.
Visual Clarity: Premiums are visualized with color-coded columns, making it easy to distinguish between ETFs performing above or below their NAV. A zero baseline is included for reference, indicating no premium or discount.
Dynamic Labels: For real-time analysis, dynamic labels present the latest premium values for each ETF, ensuring users have up-to-date information at their fingertips.
Currently, BEPI supports Blackrock, ARK 21Shares, and Valkyrie ETFs, reflecting the most active segments of the market. As the landscape of Bitcoin ETFs evolves, there are plans to expand the indicator's capabilities to include a broader range of ETFs, enhancing its utility for a wider audience.
Whether you're looking for arbitrage opportunities, assessing ETF performance, or simply keeping an eye on the market, BEPI is the go-to indicator for a clear and concise overview of Bitcoin ETF premiums.
MVRV Z-ScoreThe MVRV ratio was created by Murad Mahmudov & David Puell. It simply compares Market Cap to Realised Cap, presenting a ratio (MVRV = Market Cap / Realised Cap). The MVRV Z-Score is a later version, refining the metric by normalising the peaks and troughs of the data.
BTC Halving [YinYangAlgorithms]This Indicator not only estimates what it thinks may be the PRICE for the Start, High and Low of the Halving, but likewise estimates WHEN the Start, High and Low of Halving may be. It then creates Trend Lines based on these predictions so that you may get an evaluation towards if the Price is currently Overbought or Oversold. These Trend Lines may be very useful for seeing the Slope in which the Price may move if it is to reach the estimated Price by the estimated Date. By evaluating the Prices location based on these Trend Lines we may determine if the Price is currently Overbought or Oversold.
These Trend Lines likewise may help identify locations of Support and Resistance. If the Price is much higher than its current Trend Line it is Overbought. There is a chance it will Consolidate back to the Trend Line or it may even correct with a dump all the way back to it; the opposite is true if it is much lower than its current Trend Line.
Trend Lines and Estimates are not all that is featured within this Indicator however. There are also Price Zones which may help identify if the price is currently:
Very Overbought (Red)
Slightly Overbought (Orange)
Neutral (Yellow)
Slightly Oversold (Teal)
Very Oversold (Green)
These zones may help give you an idea of how the price is currently fairing and its potential for movement. Likewise, it may help define where Support and Resistance may be found.
The trend line estimates are done with an algorithm created to evaluate the difference between price and % change that has occurred between the Start, High and Low of all the halvings over how many days between each data type. This may allow us to make an educated estimate towards what Price and Date the Start, High and Low will occur at.
Our Zones are created by evaluating the current Market Cap and circulating supply vs Max Supply of BTC. This may help give us an evaluation of what Price may be considered to be Overbought and Oversold; and likewise may help with estimations of where there may be Support and Resistance based on these Zones.
Tutorial:
In the example above we’re displaying the Halving Start Trend Line, our Information Tables and our Estimated Halving Vertical Marker. This Trend Line may help to display not only the trajectory and slope the Price needs to take to reach the Estimated Halving Price by the Estimated Halving Date; but it may also help to show if the price is Overvalued or Undervalued based on its position above or below this Trend Line.
Based on the Trajectory of the Estimated High Upward Trend Line (Green Line) in the photo above and from the ‘High Date’ estimated in the Information tables; we may attempt to estimate the location the ATH of this Bull Market will create and the price slope it may follow in doing so. This Trajectory may be very useful for understanding the price action that may occur for it to reach the High estimated Price by the High estimated Date.
We currently allow for two different types of zones within our Settings, one called ‘Fast’ displayed in the example above; and the other called ‘Slow’ displayed in the example below.
Our Fast Zone aims to move the Zone Levels Faster in an attempt to move with volatility and parabolic movement. This may help to keep the Very Overbought (Red) and Very OverSold (Green) Levels more accurate by attempting to keep the price within them. By doing so, we may aim to keep all of the Slightly Overbought, Slightly Oversold and Neutral Levels more accurate as well.
The Levels within these zones are defined by the Bright (less transparent) Lines. Whereas the Darker (more transparent) lines represent the Basis Lines between two different levels. These Basis lines may likewise act as a Support and Resistance Location too, but generally hold less weight than the actual Levels themselves.
What you may see is that during the Bull Market, the price is within the very Overbought Zones and even touches again the Very Overbought Level a few times. Likewise, during the Bear Market, the price is within the very Oversold Zones and even slightly drops below the Very Oversold Level. This may be expected and likewise may help to give estimates at potential for growth and decay within the Price based on which condition the Market is within.
Slow Zones move a little slower than Fast Zones, however they may still be accurate. Likewise, it is up to you to decide which Zone works better for your specific Trading Style; however, by default, the Zone type is set to Fast.
If you refer to both the Fast and Slow examples above, you may notice in the Fast the Price is only slightly above the ‘Slightly Oversold’ (Teal) line. Also, In the Fast, the Price where the ‘Very Overbought’ Level is 100k. This is one of the many reasons we’ve opted for ‘Fast’ as the default, and it is because it allows more room for movement; and in our opinion, potentially accuracy as well.
If you refer to the Slow example, you’ll see that the price is currently facing the Neutral Level as a Resistance location. However, if you refer to the price residing at the Slows ‘Very Overbought’ Level, it is only 81.5k, compared to the 100k of Fast.
The BTC Halving is a major event that takes place roughly every 4 years. It historically has a major impact on the market, and some may even say it signifies the Start, or close to start of the Bull Market. Therefore, since historically there may be cycles that BTC and potentially crypto itself follows, we’ve developed this Indicator in hopes that it may solve one of the biggest questions traders face. What Date will the Start, High and Low of the Halving occur and also at what Price.
Hopefully this Tutorial has given you some guidance as to how this Indicator may be used to help identify some of these key levels; including the slope at which the price may have to move if it is to reach its projection Price by its projected Date.
Settings:
1. Show Prediction Trend Lines:
- Options:
All
Start + High
Start + Low
High + Low
Start
High
Low
None
- Description:
Prediction Trend Lines may be an important way to see the Slope the Price needs to take to reach the Predicted Price by the Predicted Date. This may be useful for identifying if the Price is currently Overbought or Oversold.
2. Zone Type:
- Options:
Fast
Slow
- Description:
Zone types change the way the Zones expand.
3. Show Zones:
- Options:
All
Zones
Basis
None
- Description:
Zones are a way of seeing Overbought and Oversold Price locations based on Market Cap and Circulating Supply vs Max Supply.
4. Vertical Markers:
- Options:
All
Line
Label
None
- Description:
Vertical Markers display where the Halving has occurred with a Vertical Line and Label.
5. Show Tables:
Tables may be useful for seeing the Price and Date for when the Start, High and Low of the Halving may occur.
6. Fill Zones:
Filling in Zones may help to identify which Zone the Price is currently in.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
USDT+USDC+BUSD Market CapThis Pine Script indicator visualizes the combined market capitalization of three prominent stablecoins: USDT, USDC, and BUSD, on a daily basis.
It fetches the daily closing market caps of these stablecoins and sums them. The resulting line graph is displayed in its own separate pane below the main price chart.
The line is color-coded: green on days when the market cap is increasing compared to the previous day, and red when it's decreasing.
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:
TTP NVT StudioNVT Studio is an indicator that aims to find areas of reversal of the Bitcoin price based on the extreme areas of Network Value Transaction.
Instructions:
- We recommend using it on INDEX:BTCUSD
- Use the daily or weekly timeframe
The indicator works as an oscillator and offers to visualisation modes.
1) Showing the short term oscillations of NVT showing signals in potential areas of reversal.
2) The actual value of NVT displayed. When in green is an area of value and in red when its overextended.
This indicator can be used based on the signals or based on breakouts of trend lines drawn in the oscillator mode.
Red/green dots: signal type 1 - extremes with confirmation, these might trigger late
Yellow/Orange: signal type 2 - extremes without confirmation, might trigger too soon
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.
Fierytrading: Volatility DepthDear Tradingview community,
I'd like to share one of my staple indicators with you. The volatility depth indicator calculates the volatility over a 7-day period and plots it on your chart.
This indicator only works for the DAILY chart on BTC/USD.
Colors
I've color coded the indicator as follows:
- Red: Extreme Volatility
- Orange: High Volatility
- Yellow: Normal Volatility
- Green: Low Volatility
Red: extreme changes in price. Often during local tops and bottoms.
Orange: higher than average moves in price. Often before or after a "red" period. Often seen in the middle of bear or bull markets.
Yellow: normal price action. Often seen during early stage bull-markets and late stage bear-markets.
Green: very low price movement. Often during times of indecision. Once this indicator becomes green, you can expect a big move in either direction. Low volatility is always followed by high volatility.
In a long-term uptrend, a green period often signals a bullish break out. In a long-term downtrend it often signals a bearish break out.
How to use
Save the indicator and apply it to your chart. You can change the length in the settings, but it's optimized for 7 days, so no need to change it.
I've build in alerts for all 4 different volatility periods. In most cases, the low volatility alert is enough.
Good luck!
Correlation Coefficient - DXY & XAUPublishing my first indicator on TradingView. Essentially a modification of the Correlation Coefficient indicator, that displays a 2 ticker symbols' correlation coefficient vs, the chart presently loaded.. You can modify the symbols, but the default uses DXY and XAU, which have been displaying strong negative correlation.
As with the built-in CC (Correlation Coefficient) indicator, readings are taken the same way:
Positive Correlation = anything above 0 | stronger as it moves up towards 1 | weaker as it moves back down towards 0
Negative Correlation = anything below 0 | stronger moving down towards -1 | weaker moving back up towards 0
This is primarily created to work with the Bitcoin weekly chart, for comparing DXY and Gold (XAU) price correlations (in advance, when possible). If you change the chart timeframe to something other than weekly, consider playing with the Length input, which is set to 35 by default where I think it best represents correlations with Bitcoin's weekly timeframe for DXY and Gold.
The intention is that you might be able to determine future direction of Bitcoin based on positive or negative correlations of Gold and/or the US Dollar Index. DXY has been making peaks and valleys prior to Bitcoin since after March 2020 black swan event, where it peaked just after instead. In the future, it may flip over again and Bitcoin may hit major highs or lows prior to DXY, again. So, keep an eye on the charts for all 3, as well as the indicator correlations.
Currently, we've moved back into negative correlation between Bitcoin and DXY, and positive correlation with Bitcoin and Gold:
Negative Correlation b/w Bitcoin and DXY - if DXY moves up, Bitcoin likely moves down, or if DXY moves down, Bitcoin likely moves up (or if Bitcoin were to move first before DXY, as it did on March 2020, instead)
Positive Correlation b/w Bitcoin and Gold - Bitcoin and Gold will likely move up or down with each other.
DXY is represented by the green histogram and label, Gold is represented by the yellow histogram and label. Again, you can modify the tickers you want to check against, and you can modify the colors for their histograms / labels.
The inspiration from came from noticing areas of same date or delayed negative correlation between Bitcoin and DXY, here is one of my most recent posts about that:
Please let me know if you have any questions, or would like to see updates to the indicator to make it easier to use or add more useful features to it.
I hope this becomes useful to you in some way. Thank you for your support!
Cheers,
dudebruhwhoa :)
Buy / Sell Fractal Algorithm with SL Line GenerationThis algorithm is designed for usage across indices.
How it works?
The algorithm uses a variation of fractals, momentum, RSI and LRSI to determine a trends direction.
The Relative Strength Index (RSI) is a momentum-based oscillator used to measure the speed (velocity) and change (magnitude) of directional price movements. It provides a visual means to monitor both the current and historical strength and weakness of a particular market. The strength or weakness is based on closing prices over the duration of a specified trading period, creating a reliable metric of price and momentum changes
Momentum in trading refers to the direction and magnitude of price. Momentum plays a key role in assessing trend strength, and it is important to know when a trend is slowing down. Less momentum does not always lead to a reversal, but it does signal that something is changing, and the trend may consolidate or reverse
Fractals are patterns within price changes which are repeated across thousands of bars. Examples of fractals include the golden ratio, PHI and the spirals of the milk way. They are quite literally a universal concept.
Basics of usage:
When a bullish trend is detected; the algorithm will generate a green "SL Line" at a calculated point, which can be interpreted as an invalidation line.
If the price goes below this line, the bullish trend is invalidated. So long as it holds, the bullish trend is true until the next detection change.
When a bearish trend is detected; the algorithm will generate a red "SL Line", at a calculated point, which can be interpreted as an invalidation line.
If the prices goes above this line, the bearish trend is invalidated. So long as it holds, the bearish trend is true until the next detection change.
When a given trend is invalidated, the SL Line turns yellow and you enter a "pause zone", where neither a bearish nor bullish trend is calculated.
This resets itself on the next trend detection.
Additional information:
I have coded my own backtest to this algorithm, along with plotting the profit / loss of each generated trade.
The profit is calculated by the difference between the open bar of the trade after a long ( or short ) and the following trade.
If we are calculating a short, the resulting value is then multiplied by -1 to get a positive integer.
For calculating a loss we take the value of the open bar of the trade that generates a long, and take the difference between this and the SL line, and similarly for short positions. The code assumes the user is placing their SL at the indicated line.
Within the input settings there are a few customisation options:
Alpha & Fractal Energy Length & Source - Should not be changed.
Highly bands crossover? - Has no visible effect whether on or off. It refers to the fractal chart which in this iteration is not visible and rather a backend mechanic.
Apply fractal energy? - Should generally be left turned on. This is a noise reduction. Disabling will result in over-trading.
Apply normalization? - Has no impact, is solely used to make the fractal values more human-readable rather than decimal format.
Offset - refers to the offset value of the SL Line generations. This should be set to a value that gives you enough breathing room, and remember to include any spreads! Default is 0.2, written in %
Trading hours - This simply gives a session input for the trading hours you want to trade within, and then colours the background green for that session. Trading 24/7 is never a wise strategy, stick to whatever is most optimal for you.
Leverage - Whatever leverage you are using. Default is x20. This will affect the profit / loss calculations accordingly.
Start equity - refers to the equity value you want to backtest with. Some assets will generate NA for this in the backtest label explained later.
Label customisation options.
Note that the backtest label is by default hidden, and appears when you hover over the black label at the current bar. When enabled to visible, it will show a large text label that may cover your chart screen more than you wish.
Alerts -
There are dozens of alert functionalities here; first are the timeframe assignments for each alert, set by default to 2hrs.
These timeframes then affect the asset you select in the corresponding setting.
In total there are 8 additional assets you can set alerts for.
Once you have assigned the timeframe and asset for an alert, you can then check the tick box for that individual alert.
Once done, you set the alert as normal through the tradingview alerts window. Remember to set "alert function calls only"
-
Timers:
I have added some functionality for timers to be set, values are in minutes. These work on the exact time of placement. Do not change the extra symbol formula option.
-
Note that this backtest is not intended as a replacement for tradingview backtest, nor is there a guarantee that historical results are to be replicated in the future. Trading is inherently risky.
Bitcoin SOPR HeatmapSOPR (spent output profit ratio) is a metric, provided by Glassnode to measure if most BTC are moved in profit or in loss. The higher SOPR is, the more profits are realized (theoretically) and vice versa.
This indicator shows SOPR visually as a heatmap directly on the Bitcoin chart.
Cold temperatures (blue, purple) show bear markets. Bear market peaks should be visible in dark purple.
Hot temperatues (yellow, red) show bull markets. Hype phases should be visible in red.
I recommend to hide chart when using the indicator. Otherwise you can also enlarge the heatmap in the settings.
The indicator works best on BTCUSD standard charts on daily timeframe. Otherwise you will see an error message.
ViPlay Signal demo versionViPlay Signal is a trading indicator designed for the TradingView platform that generates buy and sell signals based on a combination of technical indicators. The indicator uses two different Moving Averages, the Market Range Oscillator (MRO), and the Williams Percent Range (WPR) to provide traders with a comprehensive set of tools for identifying potential entry and exit points, confirming trends, and managing risk.
The Moving Averages used in the indicator are the 50-period and 200-period Simple Moving Averages (SMA) of the closing price, which are widely used in technical analysis to identify trends and support/resistance levels. The Market Range Oscillator (MRO) is a proprietary indicator that measures the range of the market, which can help identify extreme market conditions. The MRO is used to determine buy and sell signals, with two different calculations performed to identify each type of signal.
The Williams Percent Range (WPR) is a momentum indicator that helps traders identify overbought and oversold conditions in the market. By using the WPR in combination with the Moving Averages and the MRO, the ViPlay Signal indicator can provide more accurate and reliable signals to traders.
The indicator allows users to select a strategy from a dropdown menu that includes BTC 1m, 3m, 15m, 4H, and LTC 3m, ideal 5m, and 15m super. The values of some of the parameters change based on the selected strategy, allowing traders to customize the indicator to their specific needs.
The ViPlay Signal indicator plots buy and sell signals on the chart as labels with arrows pointing up or down to indicate the direction of the trade. A green arrow represents a buy signal, and a red arrow represents a sell signal. The chart is clean and easy to read, with complete symbol/timeframe and script name information provided.
In summary, the ViPlay Signal indicator is a powerful and customizable tool for traders looking to improve their trading performance. The indicator provides a comprehensive set of technical analysis tools, including Moving Averages, the MRO, and the WPR, to help traders identify potential trading opportunities and manage risk.
Crypto Performance Index1. The Crypto Performance Index (CPI) estimates the price appreciation of a crypto asset relative to the overall crypto market performance. The indicator is calculated using a Sharpe Ratio principle enhanced with time-domain normalization and cumulative parametrization.
2. The CPI is based on the idea that the performance of an asset should be evaluated not only in terms of its absolute price movement, but also in terms of its risk-adjusted returns compared to the broader market. The Sharpe Ratio, which takes into account both the asset's return and its volatility, is a commonly used measure of risk-adjusted performance.
3. The CPI takes the Sharpe Ratio principle further by incorporating a time-domain normalization technique that adjusts for differences in volatility across different time periods. The cumulative parametrization ensures that the CPI considers the overall performance of the asset over a specified period of time.
4. To use the indicator, select a timeframe and set the standard deviation period (default is 20). The CPI line can be compared against various market benchmarks, including the total crypto market cap (white line), altcoins total market cap (blue line), low-cap altcoins (without ETH), and Bitcoin.
5. An upward slope of the CPI line indicates strong price performance of an asset, with a relatively high chance for the asset to continue growing faster than the market in the future. Conversely, a downward slope of the CPI line indicates weak price performance of an asset, with a relatively high chance for the asset to depreciate in price with respect to the rest of the market in the future.
6. Overall, the CPI provides a comprehensive measure of an asset's price performance, taking into account both its absolute return and its risk-adjusted return relative to the broader market. This makes it a valuable tool for investors looking to evaluate the performance of their crypto holdings and make informed decisions about buying, selling, or holding assets.
Trendmaster - Crypto Flow IndexWhat it is:
The Trendmaster Crypto Flow Index is a unique tool designed to give you an overview of the performance of different Crypto market sectors and sub-sectors. It helps you to identify where you should be focusing your investments for maximum portfolio efficiency and profitability.
What it does:
The Crypto Flow Index presents a visual overview of the flows of retail and institutional capital into the four main market sectors: Large Caps, Alts Coins, Shit Coins, and Stable Coins as well as several other sub-sectors. Each sector is assigned a "Flow Score", which indicates its current performance, demand, and strength in percentage terms. The "Flow Score" also provides insights into the current stage of the market cycle and the typical over and underperformances of assets that correlate to it. Additionally, the index factors in the sector have a "Correlation" to the broader market, allowing you to see the best sectors for trading and investing, either for positional hedging or differential plays.
How to Use it:
To use the Trendmaster Crypto Flow Index, you can simply observe the evolving colored line within the indicator and the table overview. You can identify which sectors are outperforming or underperforming the general market and make informed decisions about where to direct your focus and funds. By monitoring the transitions of Flow between sectors, you can gain invaluable insights into the market cycle and the typical over and underperformances of assets that correlate to it. This information will help you to maximize portfolio efficiency by targeting different market sectors based on their performance to the overall cryptocurrency market. The index covers different sectors, including Large caps, Alts, Shit, Stables, AI, Defi, Dex, Exchange, Gaming, Meme, Metaverse, Nft, Privacy, Smart, and Sports.
Examples of Cryptocurrencies represented in the different market sectors:
Large caps: The biggest market cap cryptocurrencies such as BTC and ETH.
Alts: High-cap and high-volume digital assets that are smaller than large caps, such as LTC and XRP.
Shit coins: Smaller cap projects that are highly speculative and experience significant price volatility, such as BAT and HOT.
Stables: Fiat-pegged assets that provide a stable value, such as USDT and USDC.
AI: Projects that are based on artificial intelligence, such as FET and AGIX.
DeFi: Leverages high volume smart contract platforms to provide financial products in crypto, mainly ERC20 tokens such as LINK and AAVE.
DEX: Decentralized exchanges with their own utility tokens, such as UNI and SUSHI.
Exchange: Centralized exchanges with their own utility tokens, such as BNB and CRO.
Gaming: Web3/crypto gaming platforms with their own utility tokens, such as AXS and GMT.
Meme: Similar to shit coins, but with no real functionality and based purely on social media and memes, such as DOGE and SHIB.
Metaverse: Projects that aim to provide Metaverse assets such as virtual land and assets, such as MANA and SAND.
NFT: Non-fungible tokens with their own token or NFT-based platforms that have their own utility tokens, such as APE and LOOKS.
Privacy: Anonymous and privacy-focused chains, such as XMR and ZEC.
Smart: Projects that provide smart contract alternatives to ETH, such as ADA and AVAX.
Sports: Fan tokens based on real-world sports teams or platforms that support and distribute them, such as CHZ and FLOW.
BTC 4h bot 2.0 AlertsThis is Alert version of BTC 4h bot 2.0.
Optimized for pairs BTC vs stablecoins, 4h timeframe.
HOW IT WORKS:
Script is based on the fact that there are certain phases of the market when there is a greater probability that BTC will go to one side or the other. To evaluate which phase we are in, the script uses "Main trend" and "Confirmation signals".
Main trend
- Is composed of a combination of several supertrends and moving averages. A Supertrend is a trend following indicator that helps in identifying whether we are in an uptrend or a downtrend. A higher factor is used to capture the main trend and not just small movements. In case the market goes sideways, the Supertrend does not work well, so it is a combination of multiple supertrends along with moving averages to differentiate a real strong trend from a range.
- It can be seen on the graph as a thick solid line.
- In an uptrend is green, in a downtrend red, gray represents the neutral zone.
Confirmation signals
- Are several script-evaluated indicators such as RSI , MACD , ADX and others, which serve to confirm the trend. In this case, it is the opposite way to the Main trend. Confirmation signals are used here to detect small movements. They are trying to capture bullish and bearish price momentum.
- On the graph they are seen as dashed lines above or below the Main trend (in the gray zone they are in the middle).
- It indicates only two signals, green for buy and red for sell.
HOW TO USE IT:
if the Main trend and Confirmation signals are of the same color, it will send a buy or sell signal, depending on which phase of the trend it is in. If the Main trend is e.g. in an uptrend and the market is going up, Confirmation signals should generate a lot of signals. But if the market starts to go in the opposite direction, Confirmation signals should generate fewer signals or none at all, thus reducing the number of wrong trades. In the gray zone of the Main trend it does not open positions.
To close position is possible to use stop loss and take profit or alternative could be to set very high TP value, thereby letting the script close the positions by itself by Stop Long or Stop Short.
The recommended setting is:
TP: 3.9%
SL: 4.7%.
In this case, it is a Alert version, where can be seen all the signals, which the script generates.
Green triangels indicate open Long.
Red triangels indicate open Short.
Small blue triangels indicate Stop Long position.
Small orange triangels indicate Stop Short position.
Signal is valid after bar is closed, so do not open a position before.
Script works well on Bitstamp, but also other exchanges with pair BTC/USD or BTC/stablecoins.
The script works consistently well over a long period of time, using past probabilities, but this does not guarantee future results.