Liquidity Concepts [BigBeluga]The Liquidity Concepts indicator is designed to represent the liquidity on the chart using pivot points as potential stop-losses / liquidity grabs.
The indicator is facilitated by a market structure detector and pivot points to identify resting liquidity / stop-loss levels.
A liquidity grab or a stop-loss hunt is when retail traders place their stop-loss orders at recent highs / most recent highs or lows. This is a spot where big players attempt to push the market to trigger all the stop-loss orders and gain a better entry in their favor.
🔶 CALCULATION
The indicator uses the Higher Lower script made by @LonesomeTheBlue to determine these pivot points. When a pivot point is formed, it is displayed on the chart with the corresponding symbol (HH - HL - LH - LL). When one of these points is broken, a line is drawn between the pivot point and the candle that broke it.
A liquidity grab is only recognized after it has occurred, and it is represented with a box showing all the candles that were involved in the sweep / stop-loss hunt.
A pivot point is established only after the selected lookback period and cannot be printed beforehand in any manner. This ensures that it captures the highest point within the lookback period following the candle formation.
An HL (Higher Low) point is established when it is lower than an HH (Higher High) point, whereas an LH (Lower High) point is established when it is higher than an LL (Lower Low) point.
Boxes are formed in two different types: Major and Minor.
- Major boxes occur when LH or HL points are breached, with their high or low point crossing above or below in the specific lookback period.
- Minor boxes occur when HH or LL points are breached, with their high or low point crossing above or below in the specific lookback period.
Minor points are less efficient since they represent key highs and lows, and before taking out those liquidity levels, the HL and LH points should be cleared.
Representation of Pivot Point Formation:
Liquidity wicks are a minor representation of a stop-loss hunt during the retracement of a pivot point. This means that a pivot point is broken only by the wick and not by the entire body.
Bigger wick = more liquidity
Lower wick = less liquidity
Liquidity wicks can be used as trade confirmation or targets for your entry to enhance accuracy.
Users have the option to display candle coloring based on the currently detected trend.
🔶 VERIFICATION
Users have the option to specify the verification length for when the liquidity should occur. This means that if the length is set to 7, the indicator will search for the liquidity formation within the last 7 candles; otherwise, it will be considered invalid.
🔶 CONCEPTS
The whole idea is to help find possible zone of stop loss hunting helping having a better entry in our trading, we can utilize a lot more tools, and this shoud be used as confluence only
🔶 OPTIONS
Users have complete control over the settings, allowing them to:
- Disable pivot points.
- Disable the display of boxes.
- Disable liquidity wicks.
- Customize colors to their preferences.
- Adjust lookback settings for historical data analysis.
- Modify candle coloring settings.
- Adjust the text size of labels for better readability and customization.
🔶 RECAP
Box => Represents liquidity formation / stop-loss hunt
- Minor Box HH / LL point
- Major Box LH / HL point
Liquidity Wicks => Formed when a pivot point is broken only by the wick
BOS / CHoCH => Calculated using the pivot points from the @LonesomeTheBlue script
🔶 RELATED SCRIPTS
Price Action Concepts =>
波動率
ATR Adaptive RSI OscillatorThe " ATR Adaptive RSI Oscillator " is a versatile technical analysis tool designed to help traders make informed decisions in dynamic market conditions. It combines the Relative Strength Index (RSI) with the Average True Range (ATR) to provide adaptive and responsive insights into price trends.
Key Features :
Adaptive RSI Periods : The indicator introduces the concept of adaptive RSI periods based on the ATR (Average True Range) of the market. When enabled, it dynamically adjusts the RSI calculation period, offering longer periods during high volatility and shorter periods during low volatility. This adaptability enhances the accuracy of RSI signals across varying market conditions.
Volume-Based Smoothing : The indicator includes a smoothing feature that computes a time-decayed weighted moving average of RSI values over the last two bars, using volume-based weights. This approach offers a time-sensitive smoothing effect, reducing noise for a clearer view of trend strength compared to the standard RSI.
Divergence Detection : Traders can enable divergence detection to identify potential reversal points in the market. The indicator highlights regular bullish and bearish divergences, providing valuable insights into market sentiment shifts.
Customizable Parameters : Traders have the flexibility to customize various parameters, including RSI length, adaptive mode, ATR length, and divergence settings, to tailor the indicator to their trading strategy.
Overbought and Oversold Levels : The indicator includes overbought (OB) and oversold (OS) boundary lines that can be adjusted to suit individual preferences. These levels help traders identify potential reversal zones.
The "ATR Adaptive RSI Oscillator" is a powerful tool for traders seeking to adapt their trading strategies to changing market dynamics. Whether you're a trend follower or a contrarian trader, this indicator provides valuable insights to support your decision-making process.
Candle Tick SizeHello everyone!
I dont think it exists, I couldnt find it any way I searched, maybe it is part of a bigger indicator. This is a really basic code, all it does, it shows the tick/pip size of the candles forming. You can adjust on how many candles should it show. Also because the code counts the point size of the candles from high to low, you can adjust that how many ticks are in one point, like for ES and NQ 4 ticks to a point, which is the basic setting. It helps me with entrys when I calculate the contract size so my risk/reward stays pretty much the same depending on the candle size for my entrys.
The Swinging Momentum IndicatorThe Swinging Momentum indicator is a custom trading indicator that looks at price momentum to identify potential buy and sell signals. It uses the rate of change in closing price over the last few bars to determine if momentum is increasing or decreasing. It also looks at the relationship of the close price to recent highs and lows, volume, and short term moving averages to confirm the strength of the momentum signal.
The indicator has two main components - identifying initial buy and sell signals, and then rating the strength of those signals. For buys, it looks for an increase in closing price momentum along with a close above recent highs and highest volume. For sells, it looks for a decrease in momentum and close below recent lows and highest volume. This identifies the initial signal without too many false signals.
It then looks at multiple factors to grade the strength of the signal, on a scale of 0 to 3. For buys it looks at how the close compares to the open, high and low of the last 4 bars, if the current low is above the recent low, and if there are more gaining days than losing days recently. For sells it looks at the close versus the open/high/low, if the current high is below the recent high, and if there are more losing than gaining days.
Each condition met adds 1 point to the strength rating. A rating above 2 is considered a strong momentum signal. This filters out weaker signals and reduces whipsaws.
The end result is plotted on the chart. Buy signals are triangles pointing up below the bars, sells are triangles pointing down above the bars. The colors help visualize the strength - strong signals are green for buys and red for sells, while weaker signals are yellow.
Trading with the Swinging Momentum indicator is straightforward. Strong buy signals identify upside momentum, so traders would look to enter long positions on a retest of the buy signal bar high. Strong sell signals identify downside momentum, so short positions can be entered on a retest of the bar low. Stops are placed beyond recent swing points in the opposite direction of the trade.
Since momentum can quickly change, risk management is key. Traders should look for other confirming indicators to strengthen the probability of a momentum trade working out. Good additional indicators to use with momentum include volume, trends, support/resistance and volatility measures.
The advantage of the Swinging Momentum indicator is that isolating the strongest momentum moves helps traders focus on higher probability trade setups. Monitoring both the initial signal and the strength rating gives an added level of confidence compared to standard momentum indicators. This custom indicator combines multiple momentum strategies into one, allowing traders to quickly identify and evaluate momentum opportunities on the chart.
Used appropriately with sound risk management, the Swinging Momentum indicator can be a valuable addition to a trading system. It visualizes both the direction and strength of momentum, key factors when trading trends and breakouts. While no indicator is perfect, understanding and utilizing momentum is a key concept for traders to master. This indicator provides a graphical representation to improve the way momentum is incorporated into trading decisions.
ATR Trend Reversal Zone indicatorThis indicator helps avoid taking reversal trades too close to the 21 EMA, which may fail since the market often continues its trend after retracing from the 21 EMA level. It does not generate a direct signal for reversal trades but rather indicates points where you can consider potential reversal trades based on your trading methodology
This script defines an indicator that calculates the 21 Exponential Moving Average (EMA) and the Average True Range (ATR) for a given period. It then computes the distance between the most recent closing price and the 21 EMA in terms of ATR units. If this distance is equal to or greater than 3 ATRs, a small green circle is plotted below the corresponding bar on the chart, indicating a potential reversal condition.
Multi-Asset Performance [Spaghetti] - By LeviathanThis indicator visualizes the cumulative percentage changes or returns of 30 symbols over a given period and offers a unique set of tools and data analytics for deeper insight into the performance of different assets.
Multi Asset Performance indicator (also called “Spaghetti”) makes it easy to monitor the changes in Price, Open Interest, and On Balance Volume across multiple assets simultaneously, distinguish assets that are overperforming or underperforming, observe the relative strength of different assets or currencies, use it as a tool for identifying mean reversion opportunities and even for constructing pairs trading strategies, detect "risk-on" or "risk-off" periods, evaluate statistical relationships between assets through metrics like correlation and beta, construct hedging strategies, trade rotations and much more.
Start by selecting a time period (e.g., 1 DAY) to set the interval for when data is reset. This will provide insight into how price, open interest, and on-balance volume change over your chosen period. In the settings, asset selection is fully customizable, allowing you to create three groups of up to 30 tickers each. These tickers can be displayed in a variety of styles and colors. Additional script settings offer a range of options, including smoothing values with a Simple Moving Average (SMA), highlighting the top or bottom performers, plotting the group mean, applying heatmap/gradient coloring, generating a table with calculations like beta, correlation, and RSI, creating a profile to show asset distribution around the mean, and much more.
One of the most important script tools is the screener table, which can display:
🔸 Percentage Change (Represents the return or the percentage increase or decrease in Price/OI/OBV over the current selected period)
🔸 Beta (Represents the sensitivity or responsiveness of asset's returns to the returns of a benchmark/mean. A beta of 1 means the asset moves in tandem with the market. A beta greater than 1 indicates the asset is more volatile than the market, while a beta less than 1 indicates the asset is less volatile. For example, a beta of 1.5 means the asset typically moves 150% as much as the benchmark. If the benchmark goes up 1%, the asset is expected to go up 1.5%, and vice versa.)
🔸 Correlation (Describes the strength and direction of a linear relationship between the asset and the mean. Correlation coefficients range from -1 to +1. A correlation of +1 means that two variables are perfectly positively correlated; as one goes up, the other will go up in exact proportion. A correlation of -1 means they are perfectly negatively correlated; as one goes up, the other will go down in exact proportion. A correlation of 0 means that there is no linear relationship between the variables. For example, a correlation of 0.5 between Asset A and Asset B would suggest that when Asset A moves, Asset B tends to move in the same direction, but not perfectly in tandem.)
🔸 RSI (Measures the speed and change of price movements and is used to identify overbought or oversold conditions of each asset. The RSI ranges from 0 to 100 and is typically used with a time period of 14. Generally, an RSI above 70 indicates that an asset may be overbought, while RSI below 30 signals that an asset may be oversold.)
⚙️ Settings Overview:
◽️ Period
Periodic inputs (e.g. daily, monthly, etc.) determine when the values are reset to zero and begin accumulating again until the period is over. This visualizes the net change in the data over each period. The input "Visible Range" is auto-adjustable as it starts the accumulation at the leftmost bar on your chart, displaying the net change in your chart's visible range. There's also the "Timestamp" option, which allows you to select a specific point in time from where the values are accumulated. The timestamp anchor can be dragged to a desired bar via Tradingview's interactive option. Timestamp is particularly useful when looking for outperformers/underperformers after a market-wide move. The input positioned next to the period selection determines the timeframe on which the data is based. It's best to leave it at default (Chart Timeframe) unless you want to check the higher timeframe structure of the data.
◽️ Data
The first input in this section determines the data that will be displayed. You can choose between Price, OI, and OBV. The second input lets you select which one out of the three asset groups should be displayed. The symbols in the asset group can be modified in the bottom section of the indicator settings.
◽️ Appearance
You can choose to plot the data in the form of lines, circles, areas, and columns. The colors can be selected by choosing one of the six pre-prepared color palettes.
◽️ Labeling
This input allows you to show/hide the labels and select their appearance and size. You can choose between Label (colored pointed label), Label and Line (colored pointed label with a line that connects it to the plot), or Text Label (colored text).
◽️ Smoothing
If selected, this option will smooth the values using a Simple Moving Average (SMA) with a custom length. This is used to reduce noise and improve the visibility of plotted data.
◽️ Highlight
If selected, this option will highlight the top and bottom N (custom number) plots, while shading the others. This makes the symbols with extreme values stand out from the rest.
◽️ Group Mean
This input allows you to select the data that will be considered as the group mean. You can choose between Group Average (the average value of all assets in the group) or First Ticker (the value of the ticker that is positioned first on the group's list). The mean is then used in calculations such as correlation (as the second variable) and beta (as a benchmark). You can also choose to plot the mean by clicking on the checkbox.
◽️ Profile
If selected, the script will generate a vertical volume profile-like display with 10 zones/nodes, visualizing the distribution of assets below and above the mean. This makes it easy to see how many or what percentage of assets are outperforming or underperforming the mean.
◽️ Gradient
If selected, this option will color the plots with a gradient based on the proximity of the value to the upper extreme, zero, and lower extreme.
◽️ Table
This section includes several settings for the table's appearance and the data displayed in it. The "Reference Length" input determines the number of bars back that are used for calculating correlation and beta, while "RSI Length" determines the length used for calculating the Relative Strength Index. You can choose the data that should be displayed in the table by using the checkboxes.
◽️ Asset Groups
This section allows you to modify the symbols that have been selected to be a part of the 3 asset groups. If you want to change a symbol, you can simply click on the field and type the ticker of another one. You can also show/hide a specific asset by using the checkbox next to the field.
Normal Distribution Asymmetry & Volatility ZonesNormal Distribution Asymmetry & Volatility Zones Indicator provides insights into the skewness of a price distribution and identifies potential volatility zones in the market. The indicator calculates the skewness coefficient, indicating the asymmetry of the price distribution, and combines it with a measure of volatility to define buy and sell zones.
The key features of this indicator include :
Skewness Calculation : It calculates the skewness coefficient, a statistical measure that reveals whether the price distribution is skewed to the left (negative skewness) or right (positive skewness).
Volatility Zones : Based on the skewness and a user-defined volatility threshold, the indicator identifies buy and sell zones where potential price movements may occur. Buy zones are marked when skewness is negative and prices are below a volatility threshold. Sell zones are marked when skewness is positive and prices are above the threshold.
Signal Source Selection : Traders can select the source of price data for analysis, allowing flexibility in their trading strategy.
Customizable Parameters : Users can adjust the length of the distribution, the volatility threshold, and other parameters to tailor the indicator to their specific trading preferences and market conditions.
Visual Signals : Buy and sell zones are visually displayed on the chart, making it easy to identify potential trade opportunities.
Background Color : The indicator changes the background color of the chart to highlight significant zones, providing a clear visual cue for traders.
By combining skewness analysis and volatility thresholds, this indicator offers traders a unique perspective on potential market movements, helping them make informed trading decisions. Please note that trading involves risks, and this indicator should be used in conjunction with other analysis and risk management techniques.
Pro Bollinger Bands CalculatorThe "Pro Bollinger Bands Calculator" indicator joins our suite of custom trading tools, which includes the "Pro Supertrend Calculator", the "Pro RSI Calculator" and the "Pro Momentum Calculator."
Expanding on this series, the "Pro Bollinger Bands Calculator" is tailored to offer traders deeper insights into market dynamics by harnessing the power of the Bollinger Bands indicator.
Its core mission remains unchanged: to scrutinize historical price data and provide informed predictions about future price movements, with a specific focus on detecting potential bullish (green) or bearish (red) candlestick patterns.
1. Bollinger Bands Calculation:
The indicator kicks off by computing the Bollinger Bands, a well-known volatility indicator. It calculates two pivotal Bollinger Bands parameters:
- Bollinger Bands Length: This parameter sets the lookback period for Bollinger Bands calculations.
- Bollinger Bands Deviation: It determines the deviation multiplier for the upper and lower bands, typically set at 2.0.
2. Visualizing Bollinger Bands:
The Bollinger Bands derived from the calculations are skillfully plotted on the price chart:
- Red Line: Represents the upper Bollinger Band during bearish trends, suggesting potential price declines.
- Teal Line: Represents the lower Bollinger Band in bullish market conditions, signaling the possibility of price increases.
3.Analyzing Consecutive Candlesticks:
The indicator's core functionality revolves around tracking consecutive candlestick patterns based on their relationship with the Bollinger Bands lines. To be considered for analysis, a candlestick must consistently close either above (green candles) or below (red candles) the Bollinger Bands lines for multiple consecutive periods.
4. Labeling and Enumeration:
To convey the count of consecutive candles displaying consistent trend behavior, the indicator meticulously assigns labels to the price chart. The position of these labels varies depending on the direction of the trend, appearing either below (for bullish patterns) or above (for bearish patterns) the candlesticks. The label colors match the candle colors: green labels for bullish candles and red labels for bearish ones.
5. Tabular Data Presentation:
The indicator complements its graphical analysis with a customizable table that prominently displays comprehensive statistical insights. Key data points within the table encompass:
- Consecutive Candles: The count of consecutive candles displaying consistent trend characteristics.
- Candles Above Upper BB: The number of candles closing above the upper Bollinger Band during the consecutive period.
- Candles Below Lower BB: The number of candles closing below the lower Bollinger Band during the consecutive period.
- Upcoming Green Candle: An estimated probability of the next candlestick being bullish, derived from historical data.
- Upcoming Red Candle: An estimated probability of the next candlestick being bearish, also based on historical data.
6. Custom Configuration:
To cater to diverse trading strategies and preferences, the indicator offers extensive customization options. Traders can fine-tune parameters such as Bollinger Bands length, upper and lower band deviations, label and table placement, and table size to align with their unique trading approaches.
Adaptive MA-Bollinger HistogramVisualize two of your favorite moving averages in a fun new way.
This script calculates the distance (or difference) between the price and two moving averages of your choosing and then creates two histograms.
The two histograms are plotted inversely, so if the price is over both moving averages, one will be positive above the centerline while the other still positive will be below the centerline.
(In a future update you will have the option to have them both positive at the same time)
Next, what it does is apply Bollinger Bands (optional) to each of the histograms.
This creates a very interesting effect that can highlight areas of interest you may miss with other indicators.
You have plenty of options for coloring, the type of moving average, Bollinger Band length, and toggling features on and off.
Give it a few minutes of your time to study, and see what information you can learn from watching this indicator by comparing it with the chart.
Here is a full user guide:
Adaptive MA-Bollinger Histogram Indicator User Guide
Welcome to the user guide for the **Adaptive MA-Bollinger Histogram** indicator. This custom indicator is designed to help traders analyze trends and potential reversals in a financial instrument's price movements. The indicator combines two Moving Averages (MA) and Bollinger Bands to provide valuable insights into market conditions.
### Indicator Overview
The Adaptive MA-Bollinger Histogram indicator comprises the following components:
1. **Moving Averages (MA1 and MA2):** The indicator uses two moving averages, namely MA1 and MA2, to track different time periods. MA1 has a user-defined length (default: 50) and MA2 has a longer user-defined length (default: 100). These moving averages can be calculated using different methods such as Simple Moving Average (SMA), Exponential Moving Average (EMA), Weighted Moving Average (WMA), Volume Weighted Moving Average (VWMA), or Smoothed Moving Average (RMA).
2. **Histograms:** The indicator displays histograms based on the differences between the price source and the respective moving averages. Positive values of the histogram for MA1 are plotted in one color (default: green), while negative values are plotted in another color (default: red). Similarly, positive values of the histogram for MA2 are plotted in one color (default: blue), while negative values are plotted in another color (default: yellow). It's important to note that the histogram for MA1 is plotted positively, while the histogram for MA2 is plotted inversely.
3. **Bollinger Bands:** The indicator also features Bollinger Bands calculated based on the differences between the price source and the respective moving averages (dist1 and dist2). Bollinger Bands consist of three lines: the middle band, upper band, and lower band. These bands help visualize the potential volatility and overbought/oversold levels of the instrument's price.
### Understanding the Indicator
- **Histograms:** The histograms highlight the divergence between the price and the two moving averages. When the histogram for MA1 is positive, it indicates that the price is above the MA1. Conversely, when the histogram for MA1 is negative, it suggests that the price is below the MA1. Similarly, the histogram for MA2 is plotted inversely.
- **Bollinger Bands:** The Bollinger Bands consist of three lines. The middle band represents the moving average (MA1 or MA2), while the upper and lower bands are calculated based on the standard deviation of the differences between the price source and the moving average. The bands expand during periods of higher volatility and contract during periods of lower volatility.
### Possible Trading Ideas
1. **Trend Confirmation:** When the histograms for both MA1 and MA2 are consistently positive, it may indicate a strong bullish trend. Conversely, when both histograms are consistently negative, it may suggest a strong bearish trend.
2. **Divergence:** Divergence between price and the histograms could signal potential reversals. For example, if the price is making new highs while the histogram is declining, it might indicate a bearish divergence and a possible upcoming trend reversal.
3. **Bollinger Bands Squeeze:** A narrowing of the Bollinger Bands indicates lower volatility and often precedes a significant price movement. Traders might consider a potential breakout trade when the bands start to expand again.
4. **Overbought/Oversold Levels:** Prices touching or exceeding the upper Bollinger Band could suggest overbought conditions, while prices touching or falling below the lower Bollinger Band could indicate oversold conditions. Traders might look for reversals or corrections in such scenarios.
### Customization
- You can adjust the parameters such as MA lengths, Bollinger Bands length, width, and colors to suit your preferences and trading strategy.
### Conclusion
The **Adaptive MA-Bollinger Histogram** indicator provides a comprehensive view of price trends, divergences, and potential reversal points. Traders can use the information from this indicator to make informed decisions in their trading strategies. However, like any technical tool, it's recommended to combine this indicator with other forms of analysis and risk management techniques for optimal results.
Price Variation and Projection IndicatorThis indicator calculates and visualizes various aspects of price variation and projection based on certain parameters such as rate of change, time interval, constant value, and more. It helps traders understand potential price movements and provides insights into potential support and resistance levels.
The indicator displays the following information:
Resistance and support levels based on the highest and lowest prices over a specified period.
∆P (Price Variation) calculated between two high oscillations.
∆t (Time Variation) calculated between two high oscillations.
Price variation rate.
Price projections based on rate of change and the most occurred variation.
Additionally, parallel lines are drawn to illustrate projected price ranges, and the most frequent ∆P value is shown for reference.
in short the indicator does it projects possible support and resistance for you to add a mark for example you see that it gave a projection you mark it on the chart with horizontal line or horizontal ray you can configure it by Period or by ∆t calculation limit au increase the period it will increase the projection of all targets interesting periods to use 20 50 80 120 200 since the ∆t calculation limit au decrease increases the projection in the Price projection that is showing the information in blue color when increasing it decreases the projection target ∆t calculation interesting limit to use 3 4 6 7 8 9
it works for all timeframes can be used for Swing trade or day trade
use I like to use it with a closed market that helps me to trace possible support and resistance can be used with open market as well
Choose your preferred language to display the information
Please note that this indicator is designed for educational and informational purposes. Always conduct your own analysis and consider risk management strategies before making trading decisions.
Bollinger Bands Heatmap (BBH)The Bollinger Bands Heatmap (BBH) Indicator provides a unique visualization of Bollinger Bands by displaying the full distribution of prices as a heatmap overlaying your price chart. Unlike traditional Bollinger Bands, which plot the mean and standard deviation as lines, BBH illustrates the entire statistical distribution of prices based on a normal distribution model.
This heatmap indicator offers traders a visually appealing way to understand the probabilities associated with different price levels. The lower the weight of a certain level, the more transparent it appears on the heatmap, making it easier to identify key areas of interest at a glance.
Key Features
Dynamic Heatmap: Changes in real-time as new price data comes in.
Fully Customizable: Adjust the scale, offset, alpha, and other parameters to suit your trading style.
Visually Engaging: Uses gradients of colors to distinguish between high and low probabilities.
Settings
Scale
Tooltip: Scale the size of the heatmap.
Purpose: The 'Scale' setting allows you to adjust the dimensions of each heatmap box. A higher value will result in larger boxes and a more generalized view, while a lower value will make the boxes smaller, offering a more detailed look at price distributions.
Values: You can set this from a minimum of 0.125, stepping up by increments of 0.125.
Scale ATR Length
Tooltip: The ATR used to scale the heatmap boxes.
Purpose: This setting is designed to adapt the heatmap to the instrument's volatility. It determines the length of the Average True Range (ATR) used to size the heatmap boxes.
Values: Minimum allowable value is 5. You can increase this to capture more bars in the ATR calculation for greater smoothing.
Offset
Tooltip: Offset mean by ATR.
Purpose: The 'Offset' setting allows you to shift the mean value by a specified ATR. This could be useful for strategies that aim to capitalize on extreme price movements.
Values: The value can be any floating-point number. Positive values shift the mean upward, while negative values shift it downward.
Multiplier
Tooltip: Bollinger Bands Multiplier.
Purpose: The 'Multiplier' setting determines how wide the Bollinger Bands are around the mean. A higher value will result in a wider heatmap, capturing more extreme price movements. A lower value will tighten the heatmap around the mean price.
Values: The minimum is 0, and you can increase this in steps of 0.2.
Length
Tooltip: Length of Simple Moving Average (SMA).
Purpose: This setting specifies the period for the Simple Moving Average that serves as the basis for the Bollinger Bands. A higher value will produce a smoother average, while a lower value will make it more responsive to price changes.
Values: Can be set to any integer value.
Heat Map Alpha
Tooltip: Opacity level of the heatmap.
Purpose: This controls the transparency of the heatmap. A lower value will make the heatmap more transparent, allowing you to see the price action more clearly. A higher value will make the heatmap more opaque, emphasizing the bands.
Values: Ranges from 0 (completely transparent) to 100 (completely opaque).
Color Settings
High Color & Low Color: These settings allow you to customize the gradient colors of the heatmap.
Purpose: Use contrasting colors for better visibility or colors that you prefer. The 'High Color' is used for areas with high density (high probability), while the 'Low Color' is for low-density areas (low probability).
Usage Scenarios for Settings
For Volatile Markets: Increase 'Scale ATR Length' for better smoothing and set a higher 'Multiplier' to capture wider price movements.
For Trend Following: You might want to set a larger 'Length' for the SMA and adjust 'Scale' and 'Offset' to focus on more probable price zones.
These are just recommendations; feel free to experiment with these settings to suit your specific trading requirements.
How To Interpret
The heatmap gives a visual representation of the range within which prices are likely to move. Areas with high density (brighter color) indicate a higher probability of the price being in that range, whereas areas with low density (more transparent) indicate a lower probability.
Bright Areas: Considered high-probability zones where the price is more likely to be.
Transparent Areas: Considered low-probability zones where the price is less likely to be.
Tips For Use
Trend Confirmation: Use the heatmap along with other trend indicators to confirm the strength and direction of a trend.
Volatility: Use the density and spread of the heatmap as an indication of market volatility.
Entry and Exit: High-density areas could be potential support and resistance levels, aiding in entry and exit decisions.
Caution
The Bollinger Bands Heatmap assumes a normal distribution of prices. While this is a standard assumption in statistics, it is crucial to understand that real-world price movements may not always adhere to a normal distribution.
Conclusion
The Bollinger Bands Heatmap Indicator offers traders a fresh perspective on Bollinger Bands by transforming them into a visual, real-time heatmap. With its customizable settings and visually engaging display, BBH can be a useful tool for traders looking to understand price probabilities in a dynamic way.
Feel free to explore its features and adjust the settings to suit your trading strategy. Happy trading!
Local VolatilityThe traditional calculation of volatility involves computing the standard deviation of returns,
which is based on the mean return. However, when the asset price exhibits a trending behavior,
the mean return could be significantly different from zero, and changing the length of the time
window used for the calculation could result in artificially high volatility values. This is because
more returns would be further away from the mean, leading to a larger sum of squared deviations.
To address this issue, our Local Volatility measure computes the standard deviation of the
differences between consecutive asset prices, rather than their returns. This provides a measure of
how much the price changes from one tick to the next, irrespective of the overall trend.
~ arxiv.org
RelativeVolatilityIndicator with Trend FilterGuide to the Relative Volatility Indicator with Trend Filter (RVI_TF)
Introduction
The Relative Volatility Indicator with Trend Filter (RVI_TF) aims to provide traders with a comprehensive tool to analyze market volatility and trend direction. This unique indicator combines volatility ratio calculations with a trend filter to help you make more informed trading decisions.
Key Components
Scaled Volatility Ratio: This measures the current market volatility relative to historical volatility and scales the values for better visualization.
Fast and Slow Moving Averages for Volatility: These provide a smoothed representation of the scaled volatility ratio, making it easier to spot trends in market volatility.
Trend Filter: An additional line representing a long-term Simple Moving Average (SMA) to help you identify the prevailing market trend.
User Inputs
Short and Long ATR Period: These allow you to define the length for calculating the Average True Range (ATR), used in the volatility ratio.
Short and Long StdDev Period: Periods for short-term and long-term standard deviation calculations.
Min and Max Volatility Ratio for Scaling: Scale the volatility ratio between these min and max values.
Fast and Slow SMA Period for Volatility Ratio: Periods for the fast and slow Simple Moving Averages of the scaled volatility ratio.
Trend Filter Period: Period for the long-term SMA, used in the trend filter.
Show Trend Filter: Toggle to show/hide the trend filter line.
Trend Filter Opacity: Adjust the opacity of the trend filter line.
Visual Components
Histogram: The scaled volatility ratio is displayed as a histogram. It changes color based on the ratio value.
Fast and Slow Moving Averages: These are plotted over the histogram for additional context.
Trend Filter Line: Shown when the corresponding toggle is enabled, this line gives an indication of the general market trend.
How to Use
Volatility Analysis: Look for divergences between the fast and slow MAs of the scaled volatility ratio. It can signal potential reversals or continuation of trends.
Trend Confirmation: Use the Trend Filter line to confirm the direction of the current trend.
Conclusion
The RVI_TF is a multi-faceted indicator designed for traders who seek to integrate both volatility and trend analysis into their trading strategies. By providing a clearer understanding of market conditions, this indicator can be a valuable asset in a trader's toolkit.
Bollinger Bands Liquidity Cloud [ChartPrime]This indicator overlays a heatmap on the price chart, providing a detailed representation of Bollinger bands' profile. It offers insights into the price's behavior relative to these bands. There are two visualization styles to choose from: the Volume Profile and the Z-Score method.
Features
Volume Profile: This method illustrates how the price interacts with the Bollinger bands based on the traded volume.
Z-Score: In this mode, the indicator samples the real distribution of Z-Scores within a specified window and rescales this distribution to the desired sample size. It then maps the distribution as a heatmap by calculating the corresponding price for each Z-Score sample and representing its weight via color and transparency.
Parameters
Length: The period for the simple moving average that forms the base for the Bollinger bands.
Multiplier: The number of standard deviations from the moving average to plot the upper and lower Bollinger bands.
Main:
Style: Choose between "Volume" and "Z-Score" visual styles.
Sample Size: The size of the bin. Affects the granularity of the heatmap.
Window Size: The lookback window for calculating the heatmap. When set to Z-Score, a value of `0` implies using all available data. It's advisable to either use `0` or the highest practical value when using the Z-Score method.
Lookback: The amount of historical data you want the heatmap to represent on the chart.
Smoothing: Implements sinc smoothing to the distribution. It smoothens out the heatmap to provide a clearer visual representation.
Heat Map Alpha: Controls the transparency of the heatmap. A higher value makes it more opaque, while a lower value makes it more transparent.
Weight Score Overlay: A toggle that, when enabled, displays a letter score (`S`, `A`, `B`, `C`, `D`) inside the heatmap boxes, based on the weight of each data point. The scoring system categorizes each weight into one of these letters using the provided percentile ranks and the median.
Color
Color: Color for high values.
Standard Deviation Color: Color to represent the standard deviation on the Bollinger bands.
Text Color: Determines the color of the letter score inside the heatmap boxes. Adjusting this parameter ensures that the score is visible against the heatmap color.
Usage
Once this indicator is applied to your chart, the heatmap will be overlaid on the price chart, providing a visual representation of the price's behavior in relation to the Bollinger bands. The intensity of the heatmap is directly tied to the price action's intensity, defined by your chosen parameters.
When employing the Volume Profile style, a brighter and more intense area on the heatmap indicates a higher trading volume within that specific price range. On the other hand, if you opt for the Z-Score method, the intensity of the heatmap reflects the Z-Score distribution. Here, a stronger intensity is synonymous with a more frequent occurrence of a specific Z-Score.
For those seeking an added layer of granularity, there's the "Weight Score Overlay" feature. When activated, each box in your heatmap will sport a letter score, ranging from `S` to `D`. This score categorizes the weight of each data point, offering a concise breakdown:
- `S`: Data points with a weight of 1.
- `A`: Weights below 1 but greater than or equal to the 75th percentile rank.
- `B`: Weights under the 75th percentile but at or above the median.
- `C`: Weights beneath the median but surpassing the 25th percentile rank.
- `D`: All that fall below the 25th percentile rank.
This scoring feature augments the heatmap's visual data, facilitating a quicker interpretation of the weight distribution across the dataset.
Further Explanations
Volume Profile
A volume profile is a tool used by traders to visualize the amount of trading volume occurring at specific price levels. This kind of profile provides a deep insight into the market's structure and helps traders identify key areas of support and resistance, based on where the most trading activity took place. The concept behind the volume profile is that the amount of volume at each price level can indicate the potential importance of that price.
In this indicator:
- The volume profile mode creates a visual representation by sampling trading volumes across price levels.
- The representation displays the balance between bullish and bearish volumes at each level, which is further differentiated using a color gradient from `low_color` to `high_color`.
- The volume profile becomes more refined with sinc smoothing, helping to produce a smoother distribution of volumes.
Z-Score and Distribution Resampling
Z-Score, in the context of trading, represents the number of standard deviations a data point (e.g., closing price) is from the mean (average). It’s a measure of how unusual or typical a particular data point is in relation to all the data. In simpler terms, a high Z-Score indicates that the data point is far away from the mean, while a low Z-Score suggests it's close to the mean.
The unique feature of this indicator is that it samples the real distribution of z-scores within a window and then resamples this distribution to fit the desired sample size. This process is termed as "resampling in the context of distribution sampling" . Resampling provides a way to reconstruct and potentially simplify the original distribution of z-scores, making it easier for traders to interpret.
In this indicator:
- Each Z-Score corresponds to a price value on the chart.
- The resampled distribution is then used to display the heatmap, with each Z-Score related price level getting a heatmap box. The weight (or importance) of each box is represented as a combination of color and transparency.
How to Interpret the Z-Score Distribution Visualization:
When interpreting the Z-Score distribution through color and alpha in the visualization, it's vital to understand that you're seeing a representation of how unusual or typical certain data points are without directly viewing the numerical Z-Score values. Here's how you can interpret it:
Intensity of Color: This often corresponds to the distance a particular data point is from the mean.
Lighter shades (closer to `low_color`) typically indicate data points that are more extreme, suggesting overbought or oversold conditions. These could signify potential reversals or significant deviations from the norm.
Darker shades (closer to `high_color`) represent data points closer to the mean, suggesting that the price is relatively typical compared to the historical data within the given window.
Alpha (Transparency): The degree of transparency can indicate the significance or confidence of the observed deviation. More opaque boxes might suggest a stronger or more reliable deviation from the mean, implying that the observed behavior is less likely to be a random occurrence.
More transparent boxes could denote less certainty or a weaker deviation, meaning that the observed price behavior might not be as noteworthy.
- Combining Color and Alpha: By observing both the intensity of color and the level of transparency, you get a richer understanding. For example:
- A light, opaque box could suggest a strong, significant deviation from the mean, potentially signaling an overbought or oversold scenario.
- A dark, transparent box might indicate a weak, insignificant deviation, suggesting the price is behaving typically and is close to its average.
Bias of Volume Share inside Std Deviation ChannelThe "Bias of Volume Share inside STD Deviation Channel" indicator is a powerful tool for traders aiming to assess market sentiment within a standard deviation (STD) price channel. This indicator calculates the bullish or bearish bias by analysing the share of volume within the standard deviation channel and provides valuable insights for decision-making.
Usage:
This indicator is a valuable tool for traders seeking to gain in-depth insights into market sentiment within a specified price channel. By focusing on price movements that fall within the standard distribution range and filtering out noise and market manipulations, it provides a clear view of prevailing bullish or bearish biases. Traders can leverage this information to make well-informed trading decisions that align with current market conditions, enhancing their trading strategies and potential for success.
Please ensure you review and adhere to the terms of the Mozilla Public License 2.0, as outlined in the indicator's source code.
Grid by Volatility (Expo)█ Overview
The Grid by Volatility is designed to provide a dynamic grid overlay on your price chart. This grid is calculated based on the volatility and adjusts in real-time as market conditions change. The indicator uses Standard Deviation to determine volatility and is useful for traders looking to understand price volatility patterns, determine potential support and resistance levels, or validate other trading signals.
█ How It Works
The indicator initiates its computations by assessing the market volatility through an established statistical model: the Standard Deviation. Following the volatility determination, the algorithm calculates a central equilibrium line—commonly referred to as the "mid-line"—on the chart to serve as a baseline for additional computations. Subsequently, upper and lower grid lines are algorithmically generated and plotted equidistantly from the central mid-line, with the distance being dictated by the previously calculated volatility metrics.
█ How to Use
Trend Analysis: The grid can be used to analyze the underlying trend of the asset. For example, if the price is above the Average Line and moves toward the Upper Range, it indicates a strong bullish trend.
Support and Resistance: The grid lines can act as dynamic support and resistance levels. Price tends to bounce off these levels or breakthrough, providing potential trade opportunities.
Volatility Gauge: The distance between the grid lines serves as a measure of market volatility. Wider lines indicate higher volatility, while narrower lines suggest low volatility.
█ Settings
Volatility Length: Number of bars to calculate the Standard Deviation (Default: 200)
Squeeze Adjustment: Multiplier for the Standard Deviation (Default: 6)
Grid Confirmation Length: Number of bars to calculate the weighted moving average for smoothing the grid lines (Default: 2)
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Traders Trend DashboardThe Traders Trend Dashboard (TTD) is a comprehensive trend analysis tool designed to assist traders in making informed trading decisions across various markets and timeframes. Unlike conventional trend-following scripts, TTD goes beyond simple trend detection by incorporating a unique combination of moving averages and a visual dashboard, providing traders with a clear and actionable overview of market trends. Here's how TTD stands out from the crowd:
Originality and Uniqueness:
TTD doesn't rely on just one moving average crossover to detect trends. Instead, it employs a dynamic approach by comparing two moving averages of distinct periods across multiple timeframes. This innovative methodology enhances trend detection accuracy and reduces false signals commonly associated with single moving average systems.
Market Applicability:
TTD is versatile and adaptable to various financial markets, including forex, stocks, cryptocurrencies, and commodities. Its flexibility ensures that traders can utilize it across different asset classes and capitalize on market opportunities.
Optimal Timeframe Utilization:
Unlike many trend indicators that work best on specific timeframes, TTD caters to traders with diverse trading preferences. It offers support for intraday trading (1m, 3m, 5m), short-term trading (15m, 30m, 1h), and swing trading (4h, D, W, M), making it suitable for a wide range of trading styles.
Underlying Conditions and Interpretation:
TTD is particularly effective during trending markets, where its multi-timeframe approach helps identify consistent trends across various time horizons. In ranging markets, TTD can indicate potential reversals or areas of uncertainty when moving averages converge or cross frequently.
How to Use TTD:
1. Timeframe Selection: Choose the relevant timeframes based on your trading style and preferences. Enable or disable timeframes in the settings to focus on the most relevant ones for your strategy.
2. Dashboard Interpretation: The TTD dashboard displays green (🟢) and red (🔴) symbols to indicate the relationship between two moving averages. A green symbol suggests that the shorter moving average is above the longer one, indicating a potential bullish trend. A red symbol suggests the opposite, indicating a potential bearish trend.
3. Confirmation and Strategy: Consider TTD signals as confirmation for your trading strategy. For instance, in an uptrend, look for long opportunities when the dashboard displays consistent green symbols. Conversely, in a downtrend, focus on short opportunities when red symbols dominate.
4. Risk Management: As with any indicator, use TTD in conjunction with proper risk management techniques. Avoid trading solely based on indicator signals; instead, integrate them into a comprehensive trading plan.
Conclusion:
The Traders Trend Dashboard (TTD) offers traders a powerful edge in trend analysis, combining innovation, versatility, and clarity. By understanding its unique methodology and integrating its signals with your trading strategy, you can make more informed trading decisions across various markets and timeframes. Elevate your trading with TTD and unlock a new level of trend analysis precision.
Smoothing ATR bandThere are two bands calculated with the ATR and I added "Smoothing" into the script.
Smoothing ATR with multiplier can display two bands above and below the price.
We can ONLY find some ATR bands in Community Scripts with "Basic" setting which is used to set Stop Loss.
And yet , Smoothing ATR with multiplier is capable of making traders manifestly recognize OverBought & OverSold.
FurtherMore, I added a condition with "plotshape", which is "Stop Hunt"
Stop Hunt is an absolutely usual strategy to clean the leverage and it always makes high volatility moves.
When high> above band and close< above band , long signal, it means it had been abundantly bought but the larger traders weren't satisfied; therefore, they quickly sold out to lower the price. The sell condition is on the contrary.
The signals mainly make traders manifestly recognize OverBought & OverSold.
Intraday Volatility BarsThis script produce a volatility histrogram by bar with the current volatility overlayed.
The histogram shows cumulative average volatility over n days.
And the dots are todays cumulative volatility.
In other words, it calculates the True Range of each bar and adds it to todays value.
This script is build for intraday timeframes between one and 1440 minutes only.
I use this to show me when volatility is above/below/equal to the average volatility.
When the dots are above the histogram then it is a more volatile day, and vice versa.
Recognizing a more volatile day as early as possible can be an advantage for daytrader.
Days that start with higher volatility seems to continue to increase relative to the past few days. Or when midday volatility rises it seems to continue as well.
Happy Trading!
Coppock Curve w/ Early Turns [QuantVue]The Coppock Curve is a momentum oscillator developed by Edwin Coppock in 1962. The curve is calculated using a combination of the rate of change (ROC) for two distinct periods, which are then subjected to a weighted moving average (WMA).
History of the Coppock Curve:
The Coppock Curve was originally designed for use on a monthly time frame to identify buying opportunities in stock market indices, primarily after significant declines or bear markets.
Historically, the monthly time frame has been the most popular for the Coppock Curve, especially for long-term trend analysis and spotting the beginnings of potential bull markets after bearish periods.
The signal wasn't initially designed for finding sell signals, however it can be used to look for tops as well.
When the indicator is above zero it indicates a hold. When the indicator drops below zero it indicates a sell, and when the indicator moves above zero it signals a buy.
While this indicator was originally designed to be used on monthly charts of the indices, many traders now use this on individual equities and etfs on all different time frames.
About this Indicator:
The Coppock Curve is plotted with colors changing based on its position relative to the zero line. When above zero, it's green, and when below, it's red. (default settings)
An absolute zero line is also plotted in black to serve as a reference.
In addition to the classic Coppock Curve, this indicator looks to identify "early turns" or potential reversals of the Coppock Curve rather than waiting for the indicator to cross above or below the zero line.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Divergance Based on Vortex IndicatorThe Vortex-Based Divergence Indicator represents a groundbreaking approach to analyzing market dynamics within the realm of technical analysis. Drawing inspiration from the concept of vortices and their cyclical patterns, this indicator strives to illuminate potential divergence points within financial markets, providing traders with valuable insights for informed decision-making.
At its foundation, the Vortex-Based Divergence Indicator builds upon the principles of the Vortex Indicator, a well-established tool for gauging momentum and identifying potential trend reversals. However, this innovative indicator goes a step further by focusing on the divergences that can occur between the Vortex Indicator and the actual price movements.
Divergences, which arise when the direction of an indicator's movement contradicts the direction of price action, hold paramount significance within the Vortex-Based Divergence Indicator. By integrating this indicator with other renowned oscillators, such as the Relative Strength Index (RSI) or the Moving Average Convergence Divergence (MACD), traders can augment their analytical capabilities significantly.
These complementary oscillators can corroborate or validate the signals generated by the Vortex-Based Divergence Indicator. For instance, when the Vortex-Based Divergence Indicator hints at a potential trend reversal, cross-referencing this insight with the RSI's overbought or oversold levels can enhance the accuracy of the prediction. Likewise, employing the MACD to confirm momentum shifts in conjunction with the Vortex Indicator's signals can provide a more comprehensive view of market dynamics.
It's crucial to emphasize the importance of synergy when combining these indicators. Rather than relying solely on the Vortex-Based Divergence Indicator, incorporating other oscillators acts as a checks-and-balances system, reducing false signals and enhancing the overall reliability of the trading strategy. However, prudent traders also recognize that no indicator or combination thereof is foolproof. Additional factors, such as fundamental analysis and market news, should also be considered to achieve well-rounded trading decisions.
In essence, the Vortex-Based Divergence Indicator's integration with established oscillators like RSI and MACD offers traders a powerful toolkit to navigate complex market landscapes. By leveraging the strengths of each indicator and cross-referencing their insights, traders can elevate their trading strategies to new heights of accuracy and effectiveness.
Multiple Percentile Ranks (up to 5 sources at a time)This indicator is a visual percentile rank indicator that can display 1 to 5 sources at one time.
The options:
“Sources”
Choose the number of sources you would like to display. The minimum is 1, the maximum is 5.
“Label percent position”
The label for the current percentage of where the source candle ranks.
“Label position”
This displays the source/s you’ve selected, and the chosen bottom rank % and top rank %.
“Label text size”
Displays the text size of all labels.
“Display current % labels”
Switches the labels on/off only for the current percentage rank of each source.
Source options:
ATR: Average True Range
CCI: Commodity Channel Index
COG: Centre of Gravity
Close: closing price
Close Percent: close percentage from previous close
Dollar Value: volume * (high * low * close / 3)
EOM: Ease of Movement: how much volume it takes to move the price in a certain direction
OBV: On-Balance Volume
RANGE: percentage range of the close price
RSI: Relative Strength Index
RVI: Relative Vigor Index
Time Close: if you select the 1 second timeframe it will provide the gap of time between each 1 second close
Volume: each bar’s volume
Volume (MA): volume moving average
Source # where # is the number of the source. Selects the source you’d like.
Ma Length is the number of previous candles to consider when calculating the moving average of the source. Note, the “MA Length” only applies to sources that have the “(MA)” at the end of their name.
Bottom % is the bottom percentage rank of the source you’ve selected. This is a filter to display the candle line graph in red once the percentage rank is equal to the percentage you’ve chosen or below.
Top % is the top percentage rank of the source you’ve selected. This is a filter to display the candle line graph in green once the percentage rank is equal to the percentage you’ve chosen or higher.
A simple example of how to use the indicator:
Select the dropdown menu for source 1 and select volume.
As the candles populate, it will look at previous candles and assign a percentage rank of where the candles are in relation to previous candles.
*Note, the way Tradingview works is it will populate the first candle the chart was active, and continue on. So, let’s say the 3rd candle was the highest volume day. This candle will show up as 100%. If the next day, the 4th candle has an even higher volume, it will show up as 100% also, the previous candles won’t “repaint” to other values and are instead set based on when they were confirmed. So, this indicator works best when there are a lot of previous candles to compare itself to.
To use the bottom % rank filter enter a percentage such as 5%. As it comes across a candle that is 5% or less compared to previous volume candles, then the line graph will shade in red.
The same can be said for the top % rank. So, if you want to see the line graph change to green when it comes across the top 99th percentile rank of volume bars, then set the top % rank to 1% and it will give you extremely high-volume bars in green instead of blue.
Volatility Price RangeThe Volatility Price Range is an overlay which estimates a price range for the next seven days and next day, based on historical volatility (already available in TradingView). The upper and lower bands are calculated as follows:
The Volatility for one week is calculated using the formula: WV = HV * √t where:
WV: one-week volatility
HV: annual volatility
√: square root
t: the time factor expressed in years
From this formula we can deduce the weekly volatility WV = HV * √(1 / 52) = HV / 7.2 where 52: weeks in a year.
The daily volatility DV = HV * √(1 / 365) = HV / 19.1 where 365: days in a year.
To calculate the lower and upper value of the bands, the weekly/daily volatility value obtained will be subtracted/added from/to the current price.