Candle + Volume as HistogramNow plot Candle and Volume as Histogram Oscillator. It is a very simple but very effective indicator to see what is happening at Volume and Candle levels. It clearly plots whether the market is trending, volatile, what is going to happen in next candles etc. Above Zero is price candle and below Zero is Volume histogram.
SETTINGS:
EMA : 9 period EMA on price is default, which I find the best, but you can change as you likes. Below zero line shows market is in negative phase and above zero market is positive.
PRICE CANDLE : As price and volume have different numeric value, so you have to use multiplier to set the proper price candle, which is plotted above zero
VOLUME : As price and volume have different numeric value, so you have to use multiplier to set the Volume candle, which is plotted below zero.
ZERO LINE : use ‘Gap between Candle and Volume plotting’. Increase the value until you see a thin line between price and volume histogram.
NOTE: (i) When you will plot the indicator for the first time, either price candle may not be appearing properly or volume. It means that non-appearing histogram side needs multiplication, so keep on increasing value on proper side until both side histogram appears properly.
(ii) In other case. Price or volume histogram may appear as full Candle. In this case too, you need to increase multiplier value on opposite side till value becomes equal on both sides.
These settings are important because a share price can be 10 only whereas volume may be in millions. Indicator has been tested on many shares and indexes, so never feels that indicator is improper. Just try to change the setting.
Enjoy.
Sentiment
Market Activity Risk"Market Activity Risk" (MAR) - Is a dynamic tool designed to structurize the competitive landscape of blockchain transaction blocks, offering traders a strategic edge in anticipating market movements.
By capturing where market participants are actively buying and selling, the MAR indicator provides insights into areas of high competition, allowing traders to make informed decisions and potentially front-run transactions.
At the heart of this tool are blockchain transaction fees , they can represent daily shifts in transaction fee pressures.
By measuring momentum in fees, we can analyze the urgency and competition among traders to have their transactions processed first. This indicator is particularly good at revealing potential support or resistance zones, areas where traders are likely to defend their positions or increase their stakes, thus serving as critical junctures for strategic decision-making.
Key Features:
Adaptable Standard Deviation Settings: Users have the flexibility to adjust the length of the standard deviation and its multipliers, managing the risk bands to their individual risk tolerance.
Color-Coded Risk Levels: The MAR indicator employs an intuitive color scheme, making it easy to interpret the data at a glance.
Multi-Currency Compatibility: While designed with Bitcoin in mind, the MAR indicator is versatile, functioning effectively across various cryptocurrencies including Ethereum, XRP, and several other major altcoins. This broad compatibility ensures that traders across different market segments can leverage the insights provided by this tool.
Customizable Moving Average: The 730-day moving average setting is thoughtfully chosen to reflect the nuances of a typical cryptocurrency cycle, capturing long-term trends and fluctuations. However, recognizing the diverse needs and perspectives of traders, the indicator allows for the moving average period to be modified.
SAT - Sentiment Analysis Tool by Csth97This code calculates the correlation between the ATR and the OBV of the price, and plots the difference between the positive and negative OBV correlations as a line. It also plots horizontal lines at the UP and DOWN levels, and signals bullish and bearish crosses when the difference line crosses those levels.
Inflation IndicatorThis script provides a great view of Year-over-Year (YoY) inflation rates for key countries.
The inflation data used per default are TradingView Tickers, but you can change them to anything you want from the settings.
There is no calculation in this script, all it does is providing a overview of inflation rates in a single indicator.
Inflation data for the USA, European Union, Australia, Canada, Switzerland, Japan, United Kingdom, and New Zealand (Inflation Symbols editable in the settings)
Customizable static line to indicate a specific threshold value (default: 2.0).
Table displaying country flags, names, and the latest inflation rates.
Country-representative colors for easy identification.
Economic Growth Index (XLY/XLP)Keeping an eye on the macroeconomic environment is an essential part of a successful investing and trading strategy. Piecing together and analysing its complex patterns are important to detect probable changing trends. This may seem complicated, or even better left to experts and gurus, but it’s made a whole lot easier by this indicator, the Economic Growth Index (EGI).
Common sense shows that in an expanding economy, consumers have access to cash and credit in the form of disposable income, and spend it on all sorts of goods, but mainly crap they don’t need (consumer discretionary items). Companies making these goods do well in this phase of the economy, and can charge well for their products.
Conversely, in a contracting economy, disposable income and credit dry up, so demand for consumer discretionary products slows, because people have no choice but to spend what they have on essential goods. Now, companies making staple goods do well, and keep their pricing power.
These dynamics are represented in EGI, which plots the Rate of Change of the Consumer Discretionary ETF (XLY) in relation to the Consumer Staples ETF (XLP). Put simply, green is an expanding phase of the economy, and red shrinking. The signal line is the market, a smoothed RSI of the S&P500. Run this on a Daily timeframe or higher. Check it occasionally to see where the smart money is heading.
BTC Perp/Spot Price DifferenceThis is a simple script that provides you with realtime information on the actual Bitcoin price difference between the Binance Perpetual Futures and the Coinbase Spot markets.
I consider this information very useful - especially on intraday timeframes - because it immediately shows the way the retail margin traders are skewed.
Positive values mean that the margin retail daytraders are mainly long, negative values mean the opposite.
I hope this indicator will help you in your intraday Bitcoin trades.
NY Open Breakout Strategy - High Liquidity & Favorable RRR Pine Description:
The NY Open Breakout Strategy is an advanced Pine Script indicator tailored for the TradingView platform. This strategy is specifically designed to exploit the high liquidity found during the New York session opening in the Forex market. Its primary goal is to provide traders with an opportunity to engage in positions with lower risk and higher potential profits, thereby ensuring an advantageous risk-to-reward ratio (RRR).
Core Objectives:
Leveraging High Liquidity: Capitalizes on the significant market movements at the New York session opening, known for its high liquidity, to identify strong breakout signals.
Achieving Favorable RRR: By setting strategic stop-loss and take-profit levels, the strategy aims for a higher RRR. This approach can lead to overall profitability, even if the win rate is lower than the loss rate.
Functionality:
Dynamic Breakout Identification: Uses the first 15-minute candle’s high and low after NY open as benchmarks for detecting potential breakouts.
Customizable Stop-Loss & Take-Profit: Provides options to configure stop-loss at the last swing or the previous candle’s close. The take-profit levels are determined based on a favorable risk-reward ratio.
Visual Session Indicators: Includes distinct background coloring and vertical lines to mark the New York session for easy visibility.
Methodology:
This strategy hinges on the premise that the opening of the New York session often triggers key price movements due to an influx of trading activity. By focusing on these moments, our indicator aims to capture strong trends and breakout patterns. The carefully calibrated stop-loss and take-profit settings ensure that each trade aims for a higher potential reward compared to the risk undertaken.
Unique Features:
Enhanced Risk Management: With adaptable risk-reward settings, traders can tailor their trading strategies to align with individual risk appetites.
Personalized User Experience: Offers a range of customizable settings for visual elements, allowing traders to adjust the look and feel of the indicator to their preferences.
Usage Guidelines:
Customize the indicator settings, including the stop-loss reference and risk-reward ratio, to match your trading style.
Watch for 'Buy Enter' and 'Sell Enter' signals during the New York session opening.
Utilize the displayed stop-loss and take-profit levels to effectively manage each trade.
This NY Open Breakout Strategy is ideal for traders who prioritize efficient risk management while aiming to capitalize on the high liquidity periods of the Forex market. The strategy is designed to be robust, providing a pathway to profitability even in scenarios where the number of losing trades surpasses winning ones, thanks to its emphasis on a high risk-to-reward ratio.
Weekly BiasWeekly Bias
For H1 time frame and below.
Horizontal Line Plots every week.
Condition for line is 12am EST on Monday.
Price above, line is green~ potential bullishness.
Price below, line is red~ potential bearishness.
This line gives us potential sentiment for any given week on any given forex market.
If you have any questions, or want access to other indicators, please message me.
Williams Percent Range with Trendlines and BreakoutsHere is my "Williams Percent Range with Trendlines and Breakouts" indicator, a simple yet powerful tool for traders. This indicator combines the classic Williams %R oscillator, which helps identify overbought and oversold levels, with added trendlines for easier trend analysis at a glance.
It's designed to make spotting potential breakouts easier by drawing attention to significant price movements. With customizable settings for the Williams %R period and trendline sensitivity, it's a flexible tool for various symbols and trading styles.
Whether you're looking to refine your trading strategy or just need a clearer view of market trends, this indicator should offer a straight forward approach to hopefully enhance your trading decisions.
Disclaimer: This indicator is intended for educational and informational purposes only. Always conduct your own research and analysis before making trading decisions.
Rotation Factor for TPO and OHLC (Plot)The Rotation Factor objectively measures attempted market direction(or market sentiment) for a given period. It records the cumulative directional attempts of auction rotations within a given period, thus, helping traders determine which way the market is trying to go and which market participant is exerting greater control or influence.
Theory
The premise is that a greater number of bars auctioning higher contrasted to bars auctioning lower indicates that buyers are exerting greater control over price within the given period(usually daily). In this case, the market is attempting to go higher (Market is Bullish). The same is true for a greater number of bars auctioning lower than higher, which, in this case, indicates that the sellers are exerting greater control over price within the given period and that the market is attempting to go lower (Market is Bearish).
Calculation
Each bar is individually measured in relation to the immediate previous bar, and calculations are reset at the beginning of each period.
For every bar, two variables are utilised: One for the highs and another for the lows. During bar start, these variables are initiated at 0.
As the period progresses, these variables are set accordingly: If the high of the current bar is higher than that of the previous bar, then the bar's highs variable is assigned a "+1". If the opposite is true, it is given a "-1". Finally, if both bar highs are equal, it is, instead, assigned a "0". The same is true for the lows: if the low of the current bar is higher than that of the previous low, then the bar's lows variable is assigned a "+1". Similarly, the opposite is given a "-1", while equal lows causes it to be assigned a "0". All highs and lows are then summed together resulting to a total, which becomes the Rotational Factor.
Presentation
Furthermore, this Rotation Factor Indicator is presented as a plot, which, unlike its classic variation, shows you how the rotation factor is developing. It also includes lines indicating the Top Rotation Factor and the Bottom Rotation Factor individually, the better to observe the developing auction.
Link to the Classic Variation:
Features
1. Customisable Tick Size/Granularity : The calculation tick size/ granularity is customisable which can be accessed through the indicator settings.
2. Customisable Labels and Lines : The colour and sizes used by the labels and lines are customisable the better for accessibility.
3. Period Separator : A separator is rendered to represent period borders (start and end). If separators are already present on your chart, you can remove them from the indicator settings.
4. Individual Top Rotation Factor and Bottom Rotation Factor plots : These two parts which becomes of the Rotation Factor are also presented individually, on their own plots, the better to observe the developing auction.
Works for both split Market Profile(TPO) charts and regular OHLC bars/candle charts
The Rotation Factor is usually used with a Split Market Profile (TPO). However, if no such tool is available, you will still be able to benefit from the Rotation Factor as the price ranges of Split Market Profiles and OHLC bars/candles are one and the same. In such cases, it is recommended that you set your chart to use a 30 minute timeframe and the indicator's period to "daily" to simulate a Split Market Profile.
Note :
The Rotation Factor is, to quote, "by no means not an all-conclusive indication of future market direction.". It only helps determine which way the market is trying to go by objectively measuring the market's directional attempts.
Rotation Factor for TPO and OHLC (Classic)The Rotation Factor objectively measures attempted market direction(or market sentiment) for a given period. It records the cumulative directional attempts of auction rotations within a given period, thus, helping traders determine which way the market is trying to go and which market participant is exerting greater control or influence.
Theory
The premise is that a greater number of bars auctioning higher contrasted to bars auctioning lower indicates that buyers are exerting greater control over price within the given period(usually daily). In this case, the market is attempting to go higher (Market is Bullish). The same is true for a greater number of bars auctioning lower than higher, which, in this case, indicates that the sellers are exerting greater control over price within the given period and that the market is attempting to go lower (Market is Bearish).
Calculation
Each bar is individually measured in relation to the immediate previous bar, and calculations are reset at the beginning of each period.
For every bar, two variables are utilised: One for the highs and another for the lows. During bar start, these variables are initiated at 0.
As the period progresses, these variables are set accordingly: If the high of the current bar is higher than that of the previous bar, then the bar's highs variable is assigned a "+1". If the opposite is true, it is given a "-1". Finally, if both bar highs are equal, it is, instead, assigned a "0". The same is true for the lows: if the low of the current bar is higher than that of the previous low, then the bar's lows variable is assigned a "+1". Similarly, the opposite is given a "-1", while equal lows causes it to be assigned a "0". All highs and lows are then summed together resulting to a total, which becomes the Rotational Factor.
Presentation
Furthermore, this Rotation Factor Indicator is presented as it is calculated, which is the presentation utilised by classic sources (hence the name classic).
Features
1. Customisable Tick Size/Granularity : The calculation tick size/ granularity is customisable which can be accessed through the indicator settings.
2. Customisable Labels : The colour and sizes used by the labels are customisable the better for accessibility.
3. Period Separator : A separator is rendered to represent period borders (start and end). If separators are already present on your chart, you can remove them from the indicator settings.
Works for both split Market Profile(TPO) charts and regular OHLC bars/candle charts
The Rotation Factor is usually used with a Split Market Profile (TPO). However, if no such tool is available, you will still be able to benefit from the Rotation Factor as the price ranges of Split Market Profiles and OHLC bars/candles are one and the same. In such cases, it is recommended that you set your chart to use a 30 minute timeframe and the indicator's period to "daily" to simulate a Split Market Profile.
Note :
The Rotation Factor is, to quote, "by no means not an all-conclusive indication of future market direction.". It only helps determine which way the market is trying to go by objectively measuring the market's directional attempts.
Volume-Trend Sentiment (VTS) [AlgoAlpha]Introducing the Volume-Trend Sentiment by AlgoAlpha, a unique tool designed for traders who seek a deeper understanding of market sentiment through volume analysis. This innovative indicator offers a comprehensive view of market dynamics, blending volume trends with price action to provide an insightful perspective on market sentiment. 🚀📊
Key Features:
1. 🌟 Dual Trend Analysis: This indicator combines the concepts of price movement and volume, offering a multi-dimensional view of market sentiment. By analyzing the relationship between the closing and opening prices relative to volume, it provides a nuanced understanding of market dynamics.
2. 🎨 Customizable Settings: Flexibility is at the core of this indicator. Users can adjust various parameters such as the length of the volume trend, standard deviation, and SMA length, ensuring a tailored experience to match individual trading strategies.
3. 🌈 Visual Appeal: With options to display noise, the main plot, and background colors, the indicator is not only informative but also visually engaging. Users can choose their preferred colors for up and down movements, making the analysis more intuitive.
4. ⚠️ Alerts for Key Movements: Stay ahead of market changes with built-in alert conditions. These alerts notify traders when the Volume-Trend Sentiment crosses above or below the midline, signaling potential shifts in market momentum.
How It Works:
The core of the indicator is the calculation of the Volume-Trend Sentiment (VTS). It is computed by subtracting a double-smoothed Exponential Moving Average (EMA) of the price-volume ratio from a single EMA of the same ratio. This method highlights the trend in volume relative to price changes.
volumeTrend = ta.ema((close - open) / volume, volumeTrendLength) - ta.ema(ta.ema((close - open) / volume, volumeTrendLength), volumeTrendLength)
To manage volatility and noise in the volume trend, the indicator employs a standard deviation calculation and a Simple Moving Average (SMA). This smoothing process helps in identifying the true underlying trend by filtering out extreme fluctuations.
standardDeviation = ta.stdev(volumeTrend, standardDeviationLength) * 1
smoothedVolumeTrend = ta.sma(volumeTrend / (standardDeviation + standardDeviation), smaLength)
A unique feature is the dynamic background color, which changes based on the sentiment level. This visual cue instantly communicates the market's bullish or bearish sentiment, enhancing the decision-making process.
getColor(volumeTrendValue) =>
sentimentLevel = math.abs(volumeTrendValue * 10)
baseTransparency = 60 // Base transparency level
colorTransparency = math.max(90 - sentimentLevel * 5, baseTransparency)
volumeTrendValue > 0 ? color.new(upColor, colorTransparency) : color.new(downColor, colorTransparency)
bgcolor(showBackgroundColor ? getColor(smoothedVolumeTrend) : na)
In summary, the Volume-Trend Sentiment by AlgoAlpha is a comprehensive tool that enhances market analysis through a unique blend of volume and price trends. Whether you're a seasoned trader or just starting out, this indicator offers valuable insights into market sentiment and helps in making informed trading decisions. 📈📉🔍🌐
Emibap's Uniswap V3 HEX/WETH 0.3% Liquidity PoolThis script will display a histogram of the Uniswap V3 HEX / WETH 3% liquidity pool.
Similar to what you can see in the liquidity section of the Uniswap pool page but conveniently rendered alongside your chart.
It's meant to be used on a HEX / WETH chart only. The price should be expressed in WETH for it to work.
One of the main motivations for using this in your chart is to get an idea of the current sentiment: If most of the volume is below the price it might be an indication of an upcoming move up, for instance.
I'll try to update the liquidity regularly.
Using the 4h, daily, or weekly time frames is highly recommended.
The options are straightforward:
Histogram bars color. Default is blue
Histogram background color. Default is black at 20% opacity
Upper price limit of the diagram: Visible upper bound price limit for the histogram, based on the current price. I.E: 200%: If the price is 1, the histogram will show 3 as the upper bound
Lower price limit of the diagram. Visible lower bound price limit for the histogram, based on the current price. I.E: 99%: If the price is 1, the histogram will show 0. 01 as the upper bound
Width of the widest bar: Width (in bars) for the widest bar of the histogram. The more the higher resolution you'll get
Blockunity Drawdown Visualizer (BDV)Monitor the drawdown (value of the drop between the highest and lowest points) of assets and act accordingly to reduce your risk.
Introducing BDV, the incredibly intuitive metric that visualizes asset drawdowns in the most visually appealing manner. With its color gradient display, BDV allows you to instantly grasp the state of retracement from the asset’s highest price level. But that’s not all – you have the option to display the oscillator’s colorization directly on your chart, enhancing your analysis even further.
The Idea
The goal is to provide the community with the best and most complete tool for visualizing the Drawdown of any asset.
How to Use
Very simple to use, the indicator takes the form of an oscillator, with colors ranging from red to green depending on the Drawdown level. A table summarizes several key data points.
Elements
On the oscillator, you'll find a line with a color gradient showing the asset's Drawdown. The flatter line represents the Max Drawdown (the lowest value reached).
In addition, the table summarizes several data:
The asset's All Time High (ATH).
Current Drawdown.
The Max Drawdown that has been reached.
Settings
First of all, you can activate a "Bar Color" in the settings (You must also uncheck "Borders" and "Wick" in your Chart Settings):
You can display Fibonacci levels on the oscillator. You'll see that levels can be relevant to drawdown. The color of the levels is also configurable.
In the calculation parameters, you can first choose between taking the High of the candles or the Close. By default this is Close, but if you change the parameter to High, the indication next to ATH in the table will change, and you'll see that the values in the table will be affected.
The second calculation parameter (Start Date) lets you modify the effective start date of the ATH, which will affect the drawdown level. Here's an example:
How it Works
First, we calculate the ATH:
var bdv_top = bdv_source
bdv_top := na(bdv_top ) ? bdv_source : math.max(bdv_source, bdv_top )
Then the drawdown is calculated as follows:
bdv = ((bdv_source / bdv_top) * 100) - 100
Then the max drawdown :
bdv_max = bdv
bdv_max := na(bdv_max ) ? bdv : math.min(bdv, bdv_max )
Fair Value Gap Absorption Indicator [LuxAlgo]The Fair Value Gap Absorption Indicator aims to detect fair value gap imbalances and tracks the mitigation status of the detected fair value gap by highlighting the mitigation level till a new fair value gap is detected.
The Fair Value Gap (FVG) is a widely utilized tool among price action traders to detect market inefficiencies or imbalances. These imbalances arise when buying or selling pressure is significant, resulting in a large upward or downward move, leaving behind an imbalance in the market.
🔶 USAGE
A fair value gap appears in a triple-candle pattern when there is a large candle whose previous candle’s high and subsequent candle’s low do not fully overlap the large candle. The space between these wicks is known as the fair value gap.
Price can come back to these imbalance areas and mitigate them, however, this is sometimes a process involving multiple bars, the displayed imbalances by the indicator allow tracking the current mitigation level of a displayed imbalance.
Fair value gaps can become a magnet for the price before continuing in the same direction. Traders commonly wait for the price to revert toward the fair value gap to clear out the imbalance before continuing to move toward the prevailing trend.
🔶 SETTINGS
🔹Fair Value Gaps
Fair Value Gap Width Filter: defines the filtering multiplier, please refer to the tooltip of the input option for further details.
Bullish, Imbalance and Mitigation: color customization option.
Bearish, Imbalance and Mitigation: color customization option.
Display Percentage of Mitigation: Display the percentage of the mitigation areas.
Historical Fair Value Gaps: toggles the visibility of the historical fair value gaps.
🔶 LIMITATIONS
Please note that filtering cannot be applied for the first 144 (atr fixed-length) candles since the atr value won't be present that is used for filtering.
🔶 RELATED SCRIPTS
Fair-Value-Gap
HTF-Fair-Value-Gap
Liquidity-Voids-FVG
IBIT Premium to CoinbaseThe BTC ETF premium indicator for TradingView is a specialized tool designed to measure and visualize the premium or discount of the iShares Bitcoin Trust (IBIT), an investment vehicle that holds Bitcoin, relative to the actual price of Bitcoin on the Coinbase exchange. This indicator can be particularly insightful for traders interested in the BTC securities market and those analyzing the demand for Bitcoin as reflected by institutional investment products.
#### Description:
The BTC ETF premium indicator in TradingView leverages an advanced Pine Script algorithm to calculate the premium (or discount) percentage of IBIT compared to the spot price of Bitcoin (BTC/USD) on Coinbase. The premium is a critical insight that reflects market sentiment and potentially arbitrage opportunities between the trust's share price and the underlying cryptocurrency asset.
Here's how the indicator works:
1. **Calculation Methodology:**
- **Implied Bitcoin Price of IBIT:** We determine the implied price of Bitcoin within IBIT by dividing the IBIT closing price by the known ratio of Bitcoin per share.
- **IBIT Premium to Coinbase:** The percentage premium is then calculated as:
$$\text{IBIT Premium} = \frac{(\text{Implied Bitcoin Price of IBIT } - \text{Actual Bitcoin Price on Coinbase})}{\text{Actual Bitcoin Price on Coinbase}} \times 100$$
- This calculation is performed using the closing prices on a per-minute basis to ensure timely and accurate analysis.
2. **Visualization:** The indicator plots the premium as a step line chart, making it easy to visualize changes over time. A dynamic label accompanies the plot, displaying the implied Bitcoin price, the actual percentage premium or discount, and whether the premium is trending up or down compared to the previous day's value.
3. **Usage Scenario:** Traders can use this indicator to monitor the live premium 24/7 and analyze how it behaves during different market conditions, including when the equity market, where IBIT is traded, is closed.
#### Additional Features:
- **Color-Coding:** The premium is color-coded in green when positive (premium) and in red when negative (discount), aiding quick visual assessment.
- **Zero-Line Reference:** A horizontal line is drawn at zero to easily identify when IBIT is trading at par with the spot price of Bitcoin.
- **Real-Time Label Updates:** The label updates in real time with the latest premium/discount information and includes an arrow to signify the trend direction.
#### Access and Usage:
The indicator can be favorited or added to your TradingView charts. You are also welcome to use the source code as a foundation for further customization to suit your trading strategies.
#### Notes:
Please consider that the IBIT has specific trading hours, and the indicator can show live changes even when its market is closed, which might lead to discrepancies from official static data. For best performance, use this indicator alongside the IBIT candlestick chart on TradingView.
GBTC Premium to CoinbaseThe BTC ETF premium indicator for TradingView is a specialized tool designed to measure and visualize the premium or discount of the Grayscale Bitcoin Trust (GBTC), an investment vehicle that holds Bitcoin, relative to the actual price of Bitcoin on the Coinbase exchange. This indicator can be particularly insightful for traders interested in the BTC securities market and those analyzing the demand for Bitcoin as reflected by institutional investment products.
#### Description:
The BTC ETF premium indicator in TradingView leverages an advanced Pine Script algorithm to calculate the premium (or discount) percentage of GBTC compared to the spot price of Bitcoin (BTC/USD) on Coinbase. The premium is a critical insight that reflects market sentiment and potentially arbitrage opportunities between the trust's share price and the underlying cryptocurrency asset.
Here's how the indicator works:
1. **Calculation Methodology:**
- **Implied Bitcoin Price of GBTC:** We determine the implied price of Bitcoin within GBTC by dividing the GBTC closing price by the known ratio of Bitcoin per share.
- **GBTC Premium to Coinbase:** The percentage premium is then calculated as:
$$\text{GBTC Premium} = \frac{(\text{Implied Bitcoin Price of GBTC} - \text{Actual Bitcoin Price on Coinbase})}{\text{Actual Bitcoin Price on Coinbase}} \times 100$$
- This calculation is performed using the closing prices on a per-minute basis to ensure timely and accurate analysis.
2. **Visualization:** The indicator plots the premium as a step line chart, making it easy to visualize changes over time. A dynamic label accompanies the plot, displaying the implied Bitcoin price, the actual percentage premium or discount, and whether the premium is trending up or down compared to the previous day's value.
3. **Usage Scenario:** Traders can use this indicator to monitor the live premium 24/7 and analyze how it behaves during different market conditions, including when the equity market, where GBTC is traded, is closed.
#### Additional Features:
- **Color-Coding:** The premium is color-coded in green when positive (premium) and in red when negative (discount), aiding quick visual assessment.
- **Zero-Line Reference:** A horizontal line is drawn at zero to easily identify when GBTC is trading at par with the spot price of Bitcoin.
- **Real-Time Label Updates:** The label updates in real time with the latest premium/discount information and includes an arrow to signify the trend direction.
#### Access and Usage:
The indicator can be favorited or added to your TradingView charts. You are also welcome to use the source code as a foundation for further customization to suit your trading strategies.
#### Notes:
Please consider that the GBTC has specific trading hours, and the indicator can show live changes even when its market is closed, which might lead to discrepancies from official static data. For best performance, use this indicator alongside the GBTC candlestick chart on TradingView.
Math Trading Concepts [SS]Presenting a mashup of the key elements I use for day-to-day trading: Volume, Z-Score, Autoregressive Forecasting, and a new addition, ANOVA analysis of variance.
I've aptly named it "Math Trading Concepts" in a nod to established trading concepts like "Smart Money" and "liquidity," but it's also fitting because these elements are fundamental to most quantitative/mathematical trading strategies.
What does it do?
The indicator visualizes Z-Score bands over a user-selected lookback period (defaulted to 14), akin to Bollinger Bands. Within these bands, it provides additional data, including trend identification. Uptrends are displayed in varying shades of green (brighter for stronger trends), while downtrends appear in red (with intensity reflecting strength).
Now, let's delve into each point individually:
Volume:
The indicator converts volume into a Z-Score over the specified lookback period. It distinguishes between buying and selling volume, calculating separate Z-Scores for each. A signal is triggered when the Z-Score exceeds 2 (for buying) or falls below -2 (for selling).
Z-Score:
The Z-Score clouds represent the outer parameters of the standard deviation over the lookback period (set at 2 and 3). Users can adjust the lookback time, and the indicator analyzes previous Z-Score reversal areas over the last 75 candles, signaling buy or sell based on historical reversals.
If you want to make it like BB, select the lookback length for the Z-Score at 25.
Autoregressive Forecasting:
This unique approach to autoregressive forecasting involves regressing a lagged variable while incorporating a time element. The time length is auto-determined based on the strongest trend. The indicator plots both autoregressed highs and lows.
ANOVA:
ANOVA, a discovery of mine, is introduced here. It reliably triggers significant readings before a pivot or breakout by measuring variance between means. When a statistically significant ANOVA occurs using the high, low, and close lagged values, it indicates an impending significant market move. While ANOVA alerts are not specific about the nature of the move, complementary tools like Volume, trend analysis, and Z-Bands provide additional insights.
Expect more educational content on ANOVA in the future, given its unique discovery. I was hoping to do one before releasing anything ANOVA based but alas, I haven't had the time!
The remainder of the indicator is self-explanatory. Feel free to ask any questions that arise or were not addressed in this description.
Special thanks to @Trendoscope for his arrays library which has made it possible for you to use the autoregression forecast while actively trading without it intruding on the chart :-).
Safe trades, everyone!
Candle Strength AnalysisView candles differently with this new indicator designed to simply visualise and analyse price movements on your chart!
The more vibrant the colour, the stronger the conviction of its respective candle.
This simple script calculates the closing price as a percentage within the candles high/low range. A colour/strength rating is then assigned to the candle based on where this close price sits within the range.
Strong coloured candles occur when the close is very close to a high or low.
User defined percentage and colour inputs allow for quick personalisation and flexibility.
An additional wick imbalance feature identifies when a candle has a larger wick than its body, which may be used to identify a ranging market or shift in trader sentiment.
For any questions, concerns, or requests, please reach out to me in the comments below.
- The Pine Guru
DominancesIndicator allows to observe market via different types of Dominations: BTC, ETH, Altcoins and Stablecoins. Moreover, if you'll open altcoin on the main chart it will display dominance for it as well (so you can turn off other dominances in the settings, so it see only dominance of the opened token)
Please, we aware that not all of the coins in the market allows to observe their dominations. So don't be afraid if error will be displayed, just open other token and everything will be all right again.
Liquidation Level ScreenerThe Liquidation Level Screener is an analytical tool designed for traders who seek a comprehensive view of potential liquidation zones in the market. This script, adaptable to almost any timeframe from 1 minute to 3 days, offers a unique perspective by mapping out key liquidation levels where significant market actions could occur.
Key Features:
Multi-Exchange Data Aggregation: Unlike many other indicators, the Liquidation Levels Indicator compiles data from multiple leading exchanges including Binance, Bitmex, Kraken, and Bitfinex. This approach ensures a more holistic and accurate representation of market sentiment, providing insights into potential liquidation points across various platforms.
Customizable Timeframes and Modes: The script is versatile, working effectively across various timeframes. It operates in two distinct modes:
Actual Levels Display: Visually represents potential liquidation levels.
Settings Mode: Showcases an open interest (OI) oscillator. When OI is exceptionally high, indicating a surge in opened positions at a specific candle, it signals traders to be vigilant about upcoming liquidation levels.
Three-Tier Liquidation System: The indicator categorizes liquidation levels into three distinct tiers based on open interest levels—1, 2, and 3—with Level 3 representing the highest concentration of open positions. This tiered approach allows traders to gauge the significance of each level and adjust their strategies accordingly.
Histogram Visualization: A novel feature of this script is the histogram on the chart's right side, representing the concentration of liquidation levels in specific market zones. This visual aid helps traders identify crucial areas that warrant close attention, enhancing decision-making.
Customizable Options:
Moving Averages: Choose from a wide range of moving average types, including VWMA, SMA, EMA, and more, to tailor the indicator to your analysis style.
Histogram Settings: Adjust the number of histograms, lookback bars, and their proximity to the latest candle, allowing for a personalized density and range of visualization.
Liquidation Level Sensitivity: Set thresholds for different liquidation levels, fine-tuning the indicator to detect varying degrees of market leverage.
Color Coding: Customize the color scheme for different leverage levels, enhancing visual clarity and ease of interpretation.
The Liquidation Level Screener offers a unique edge by highlighting potential zones where significant market movements can occur due to liquidations. By consolidating data from multiple exchanges, it provides a more rounded view of market behavior, which is essential in today’s interconnected trading environment. The tiered liquidation system and histogram feature equip traders with the ability to identify and focus on key market segments where high activity is expected. This tool is particularly valuable for traders who base their strategies on market liquidity and leverage dynamics.
Altcoin ManagerThe Altcoin Manager is a comprehensive script for identifying the current altcoin narrative by tracking and analyzing of a wide array of altcoins across various blockchain layers and categories, such as DeFi, GameFi, AI, and Meme coins. Ideal for traders looking to get a broad yet detailed view of the altcoin market, covering various sectors and chains.
The Key Features:
Versatile Asset Tracking:
Tracks 40 different cryptocurrencies (as of publishing) across different categories, allowing for a diversified and detailed analysis of the altcoin market.
Customizable Assets and Category Analysis:
Select 20 of your own coins across 4 different categories such as DeFi, GameFi, AI, and Meme coins as well as specifying their individual chains.
Dynamic Layer and Chain Analysis:
Includes options to plot and analyze specific blockchain layers and chains such as Ethereum Chain, Solana Chain, BNB Smart Chain, Arbitrum Chain, and Polygon Chain. The script associates various assets with specific blockchains, providing a clearer picture of how different segments of the altcoin market are performing.
Cumulative and Per-Candle Change:
Switch between viewing the total cumulative change since a set start date or the per-candle change, offering flexibility in analyzing price movements over different timeframes.
Denomination Adjustment:
Includes a functionality to denominate asset prices in other currencies or crypto such as BTC, allowing for a more tailored financial analysis according to your preference.
Moving Averages for Categories and Chains:
Calculates and plots moving averages for each category and chain, aiding in the identification of trends over the selected moving average length.
How do I use it?
This script is not used with any particular chart. Instead, assign it it's own tab and layout.
For a clearer analysis, use multiple different panels to track Categories and Chains separately, both Cumulative for a longer term analysis and Per-Candle to find ongoing breakouts and changes in trend.
You can either use the pre-selected altcoins to represent the market, or you can select your own.
The Layer 1 and Layer 2 are not customizable but consists of 15 popular Layer 1 incl Bitcoin, Ethereum, Solana etc. Layer 2 consists of 5 popular Layer 2.
FlexiSuperTrend - Strategy [presentTrading]█ Introduction and How it is Different
The "FlexiSuperTrend - Strategy" by PresentTrading is a cutting-edge trading strategy that redefines market analysis through the integration of the SuperTrend indicator and advanced variance tracking.
BTC 6H L/S
This strategy stands apart from conventional methods by its dynamic adaptability, capturing market trends and momentum shifts with increased sensitivity. It's designed for traders seeking a more responsive tool to navigate complex market movements.
Local
█ Strategy, How It Works: Detailed Explanation
The "FlexiSuperTrend - Strategy" employs a multifaceted approach, combining the adaptability of the SuperTrend indicator with variance tracking. The strategy's core lies in its unique formulation and application of these components:
🔶 SuperTrend Polyfactor Oscillator:
- Basic Concept: The oscillator is a series of SuperTrend calculations with varying ATR lengths and multipliers. This approach provides a broader and more nuanced perspective of market trends.
- Calculation:
- For each iteration, `i`, the SuperTrend is calculated using:
- `ATR Length = indicatorLength * (startingFactor + i * incrementFactor)`.
- `Multiplier = dynamically adjusted based on market conditions`.
- The SuperTrend output for each iteration is compared with the indicator source (like hlc3), and the deviation is recorded.
SuperTrend Calculation:
- `Upper Band (UB) = hl2 + (ATR Length * Multiplier)`
- `Lower Band (LB) = hl2 - (ATR Length * Multiplier)`
- Where `hl2` is the average of high and low prices.
Deviation Calculation:
- `Deviation = indicatorSource - SuperTrend Value`
- This value is calculated for each SuperTrend setting in the oscillator series.
🔶 Indicator Source (`hlc3`):
- **Usage:** The strategy uses the average of high, low, and close prices, providing a balanced representation of market activity.
🔶 Adaptive ATR Lengths and Factors:
- Dynamic Adjustment: The strategy adjusts the ATR length and multiplier based on the `startingFactor` and `incrementFactor`. This adaptability is key in responding to changing market volatilities.
- Equation: ATR Length at each iteration `i` is given by `len = indicatorLength * (startingFactor + i * incrementFactor)`.
incrementFactor - 1
incrementFactor - 2
🔶 Normalization Methods:
Purpose: To standardize the deviations for comparability.
- Methods:
- 'Max-Min': Scales the deviation based on the range of values.
- 'Absolute Sum': Uses the sum of absolute deviations for normalization.
Normalization 'Absolute Sum'
- For 'Max-Min': `Normalized Deviation = (Deviation - Min(Deviations)) / (Max(Deviations) - Min(Deviations))`
- For 'Absolute Sum': `Normalized Deviation = Deviation / Sum(Absolute(Deviations))`
🔶 Trading Logic:
The strategy integrates the SuperTrend indicator, renowned for its effectiveness in identifying trend direction and reversals. The SuperTrend's incorporation enhances the strategy's ability to filter out false signals and confirm genuine market trends. * The SuperTrend Toolkit is made by @QuantiLuxe
- Long Entry Conditions: A buy signal is generated when the current trend, as indicated by the SuperTrend Polyfactor Oscillator, turns positive.
- Short Entry Conditions: A sell signal is triggered when the current trend turns negative.
- Entry and Exit Strategy: The strategy opens or closes positions based on these signals, aligning with the selected trade direction (long, short, or both).
█ Trade Direction
The strategy is versatile, allowing traders to choose their preferred trading direction: long, short, or both. This flexibility enables traders to tailor their strategies to their market outlook and risk appetite.
█ Usage
The FlexiSuperTrend strategy is suitable for various market conditions and can be adapted to different asset classes and time frames. Traders should set the strategy parameters according to their risk tolerance and trading goals. It's particularly useful for capturing long-term movements, ideal for swing traders, yet adaptable for short-term trading strategies.
█ Default Settings
1. Trading Direction: Choose from "Long", "Short", or "Both" to define the trade type.
2. Indicator Source (HLC3): Utilizes the HLC3 as the primary price reference.
3. Indicator Length (Default: 10): Influences the moving average calculation and trend sensitivity.
4. Starting Factor (0.618): Initiates the ATR length, influenced by Fibonacci ratios.
5. Increment Factor (0.382): Adjusts the ATR length incrementally for dynamic trend tracking.
6. Normalization Method: Options include "None", "Max-Min", and "Absolute Sum" for scaling deviations.
7. SuperTrend Settings: Varied ATR lengths and multipliers tailor the indicator's responsiveness.
8. Additional Settings: Features mesh style plotting and customizable colors for visual distinction.
The default settings provide a balanced approach, but users are encouraged to adjust them based on their individual trading style and market analysis.