Rolling ATR Bands | Flux Charts💎 GENERAL OVERVIEW
Introducing the Rolling ATR Bands indicator! This indicator overlays adaptive bands around the price, using the Average True Range (ATR) to define dynamic support and resistance levels. The Rolling ATR Bands are color-coded to visually indicate potential trend strength, shifting between bearish, neutral, and bullish colors. This tool can help traders interpret price volatility, as well as identify probable trend changes, continuations, or reversals. For more information about the process, check the "HOW DOES IT WORK ?" section.
Features of the new Rolling ATR Bands:
ATR Bands With Customizable ATR Length & Multiplier
Smooth Trend Strength With Adjustable Smoothing Options
Color-coded bands Representing Bearish, Neutral, or Bullish Trends
Alerts for Retests & Breaks
Customizable Visuals
📌 HOW DOES IT WORK?
The Rolling ATR Bands indicator calculates the ATR based on the specified length and multiplier to form upper and lower bands around the price. These bands adapt with market volatility, widening during high volatility and contracting during lower volatility periods.
In addition, the indicator calculates a "trend strength" score by combining an interpolated RSI, Supertrend, and EMA crossover. This score is smoothed with a customizable length, and a color gradient is applied to visually denote the strength of bearish, neutral, or bullish conditions.
Here's how to interpret the bands:
Upper Band: Acts as dynamic resistance; when price approaches or touches it, this often suggests potential overbought conditions.
Lower Band: Acts as dynamic support; touching or nearing this band might indicate potential oversold conditions.
Color Shifts: Color changes indicate shifts in trend direction. For example, a green color suggests a bullish trend, while red hints at bearish tendencies.
🚩 UNIQUENESS
What sets the Rolling ATR Bands apart is the combined use of interpolated RSI, Supertrend, and EMA cross values, creating a weighted trend strength score. This integration allows for nuanced, color-coded visual cues that respond quickly to trend changes without excessive noise, offering traders an intuitive view of both trend direction and potential momentum. You can also set up alerts for retest & alerts for upper and lower bands to get informed of potential movements.
⚙️ SETTINGS
1. General Configuration
ATR Length : Controls the ATR calculation length for the bands.
Smoothing: Adjusts the trend strength smoothing to control sensitivity to trend changes.
ATR Multiplier : Sets the width of the bands by multiplying the ATR value.
Trend Smoothing : Higher settings will result in longer periods of time required for trend to change direction from bullish to bearish and vice versa.
Volatilty
Relative Measured Volatility (RMV) – Spot Tight Entry ZonesTitle: Relative Measured Volatility (RMV) – Spot Tight Entry Zones
Introduction
The Relative Measured Volatility (RMV) indicator is designed to highlight tight price consolidation zones , making it an ideal tool for traders seeking optimal entry points before potential breakouts. By focusing on tightness rather than general volatility, RMV offers traders a practical way to detect consolidation phases that often precede significant market moves.
How RMV Works
The RMV calculates short-term tightness by averaging three ATR (Average True Range) values over different lookback periods and then normalizing them within a specified lookback window. The result is a percentage-based scale from 0 to 100, indicating how tight the current price range is compared to recent history.
Here’s the breakdown:
Three ATR values are computed using user-defined short lookback periods to represent short-term price movements. An average of the ATRs provides a smoothed measure of current tightness. The RMV normalizes this average against the highest and lowest values over the defined lookback period, scaling it from 0 to 100.
This approach helps traders identify consolidation zones that are more likely to lead to breakouts.
Key Features of RMV
Multi-Period ATR Calculation : Uses three ATR values to effectively capture market tightness over the short term. Normalization : Converts the tightness measure to a 0-100 scale for easy interpretation. Dynamic Histogram and Background Colors : The RMV indicator uses a color-coded system for clarity.
How to Use the RMV Indicator
Identify Tight Consolidation Zones:
a - RMV values between 0-10 indicate very tight price ranges, making this the most optimal zone for potential entries before breakouts.
b - RMV values between 11-20 suggest moderate tightness, still favorable for entries.
Monitor Potential Breakout Areas:
As RMV moves from 21-30 , tightness reduces, signaling expanding volatility that may require wider stops or more flexible entry strategies.
Adjust Trading Strategies:
Use RMV values to identify tight zones for entering trades, especially in trending markets or at key support/resistance levels.
Customize the Indicator:
a - Adjust the short-term ATR lookback periods to control sensitivity.
b - Modify the lookback period to match your trading horizon, whether short-term or long-term.
Color-Coding Guide for RMV
ibb.co
How to Add RMV to Your Chart
Open your chart on TradingView.
Go to the “Indicators” section.
Search for "Relative Measured Volatility (RMV)" in the Community Scripts section.
Click on the indicator to add it to your chart.
Customize the input parameters to fit your trading strategy.
Input Parameters
Lookback Period : Defines the period over which tightness is measured and normalized.
Short-term ATR Lookbacks (1, 2, 3) : Control sensitivity to short-term tightness.
Histogram Threshold : Sets the threshold for differentiating between bright (tight) and dim (less tight) histogram colors.
Conclusion
The Relative Measured Volatility (RMV) is a versatile tool designed to help traders identify tight entry zones by focusing on market consolidation. By highlighting narrow price ranges, the RMV guides traders toward potential breakout setups while providing clear visual cues for better decision-making. Add RMV to your trading toolkit today and enhance your ability to identify optimal entry points!
Relative VolatilityRelative Volatility is a technical indicator designed to assess changes in market volatility by comparing fast and slow Average True Range (ATR) values. It operates by subtracting a slower ATR (e.g., 50-period ATR) from a faster ATR (e.g., 20-period ATR) and visualizing the result as a histogram. This enables traders to determine whether volatility is increasing or decreasing over time.
This indicator can help traders recognize volatility trends, which can inform decisions related to trade entries, exits, and risk management.
Interpreting Volatility Changes
Increasing Volatility: When the histogram is above zero, it indicates that the fast ATR is greater than the slow ATR, signifying an increase in short-term volatility compared to the long-term average. This may suggest heightened market activity and potential trading opportunities.
Decreasing Volatility: When the histogram is below zero, it shows that the fast ATR is less than the slow ATR, indicating a decrease in short-term volatility relative to the long-term average. This may suggest consolidating markets or reduced trading activity.
Relative Volatility assists traders in monitoring and analyzing changes in market volatility, providing insights that can enhance trading strategies and decision-making processes.
Alternative Shark Harmonic Pattern [TradingFinder] ALT Shark🔵 Introduction
The Alternative Shark harmonic pattern, similar to the original Shark harmonic pattern introduced by Scott Carney, is a powerful tool in technical analysis used to identify potential reversal zones (PRZ) in financial markets.
These harmonic patterns help traders spot key turning points in market trends by relying on specific Fibonacci ratios. The Alternative Shark pattern is particularly unique due to its distinct Fibonacci retracements within the PRZ, which differentiate it from the standard Shark pattern and provide traders with more precise entry and exit signals.
By focusing on harmonic patterns and utilizing tools like the Harmonic Pattern Indicator, traders can easily identify both the Shark and Alternative Shark patterns, making it easier to find PRZs and capture potential trend reversals. This enhanced detection of potential reversal zones allows for better trade optimization and improved risk management.
Incorporating the Alternative Shark pattern into your technical analysis strategy enables you to enhance your trading performance by identifying market reversals with greater accuracy, improving the timing of your trades, and reducing risks associated with sudden market shifts.
🟣 Understanding the Types of Alternative Shark Pattern
The Alternative Shark harmonic pattern, much like the original Shark pattern, forms at the end of price trends and is divided into two types: Bullish and Bearish Alternative Shark patterns.
Bullish Alternative Shark Pattern :
This pattern typically forms at the end of a downtrend, signaling a potential reversal into an uptrend. Traders can use this pattern to identify buy entry points. The image below illustrates the core components of the Bullish Alternative Shark Pattern.
Bearish Alternative Shark Pattern :
Conversely, the Bearish Alternative Shark Pattern appears at the end of an uptrend and signals a potential reversal to a downtrend. This variation allows traders to adjust their strategies for selling. The image below outlines the characteristics of the Bearish Alternative Shark Pattern.
🟣 Differences Between Shark and Alternative Shark Patterns
Although both patterns share similar structures and serve as tools for identifying price reversals, there is one key difference between them :
AB to XA Ratio : In the Shark pattern, the AB leg retraces between 1 and 2 of the XA leg, whereas in the Alternative Shark pattern, this retracement is reduced to 0.382 to 0.618 of the XA leg. This difference in the retracement ratio leads to slightly different trade signals and can affect the timing of entry and exit points.
Other ratios and reversal signals remain consistent between the two patterns, but this difference in the AB to XA ratio provides traders with more nuanced opportunities to optimize their trades.
🔵 How to Use
🟣 Trading with the Bullish Alternative Shark Pattern
The Bullish Alternative Shark Pattern functions similarly to the traditional Bullish Shark, acting as a reversal pattern that helps traders recognize the end of a downtrend and the beginning of an uptrend.
The main distinction lies in the reduced AB retracement, which can offer more refined entry signals. Once the pattern completes, traders can look to enter buy trades and place a stop-loss below the lowest point of the pattern for effective risk management.
🟣 Trading with the Bearish Alternative Shark Pattern
The Bearish Alternative Shark Pattern operates much like the Bearish Shark pattern but with the adjusted AB to XA ratio. This difference provides traders with unique entry points for sell trades. Once the pattern is fully identified, traders can enter short positions, placing a stop-loss above the highest point of the pattern to safeguard against market fluctuations.
🔵 Setting
🟣 Logical Setting
ZigZag Pivot Period : You can adjust the period so that the harmonic patterns are adjusted according to the pivot period you want. This factor is the most important parameter in pattern recognition.
Show Valid Forma t: If this parameter is on "On" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "Off" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
Show Formation Last Pivot Confirm : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the latest pattern seeing and a sharp reduction in reward to risk.
Period of Formation Last Pivot : Using this parameter you can determine that the last pivot is based on Pivot period.
🟣 Genaral Setting
Show : Enter "On" to display the template and "Off" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Alert Setting
Alert : On / Off
Message Frequency : This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone : The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵 Conclusion
The Alternative Shark harmonic pattern, despite its structural similarity to the traditional Shark pattern, introduces a key difference in the AB to XA ratio, making it a valuable addition to the trader’s toolkit. This subtle variation enables traders to pinpoint reversal points with greater accuracy and fine-tune their trading strategies.
As with any technical pattern, it is crucial to use the Alternative Shark pattern in combination with other technical indicators and strong risk management practices. Incorporating this pattern into a broader trading strategy can help traders enhance their ability to detect and capitalize on market reversals more effectively.
ATR Range Pivot LinesDescription:
This Pine Script calculates and plots pivot lines based on ATR (Average True Range) value and closing price. It uses the previous trading day's ATR value to set static pivot levels for the current trading day. These pivot lines help traders identify potential support and resistance levels based on historical volatility. The script includes two main pivot lines—ATR High and ATR Low —and two midpoint lines between them for additional context. Labels are added to show the exact pivot values, with options to customize label positions.
Intended Use:
The script is designed to help traders forecast potential price ranges for the current trading day based on the previous day’s volatility. By adding and subtracting the previous day's ATR from the prior close, the script identifies key levels where price action may encounter support or resistance. It is useful for setting realistic price targets or entry/exit points. Since the ATR-based pivot lines are static for the entire day, they provide a reliable range for intraday trading strategies.
Disclosure:
This script was generated using AI. It is recommended to review and test the script thoroughly before applying it in live trading scenarios.
Asymmetric volatilityThe "Asymmetric Volatility" indicator is designed to visualize the differences in volatility between upward and downward price movements of a selected instrument. It operates on the principle of analyzing price movements over a specified time period, with particular focus on the symmetrical evaluation of both price rises and falls.
User Parameters:
- Length: This parameter specifies the number of bars (candles) used to calculate the average volatility. The larger the value, the longer the time period, and the smoother the volatility data will be.
- Source: This represents the input data for the indicator calculations. By default, the close value of each bar is used, but the user can choose another data source (such as open, high, low, or any custom value).
Operational Algorithm:
1. Movement Calculation:
- UpMoves: Computed as the positive difference between the current bar value and the previous bar value, if it is greater than zero.
- DownMoves: Computed as the positive difference between the previous bar value and the current bar value, if it is greater than zero.
2. Volatility Calculation:
- UpVolatility: This is the arithmetic mean of the UpMoves values over the specified period.
- DownVolatility: This is the arithmetic mean of the DownMoves values over the specified period.
3. Graphical Representation:
- The indicator displays two plots: upward and downward volatility, represented by green and red lines, respectively.
- The background color changes based on which volatility is dominant: a green background indicates that upward volatility prevails, while a red background indicates downward volatility.
The indicator allows traders to quickly assess in which direction the market is more volatile at the moment, which can be useful for making trading decisions and evaluating the current market situation.
ATR Bands with ATR Cross + InfoTableOverview
This Pine Script™ indicator is designed to enhance traders' ability to analyze market volatility, trend direction, and position sizing directly on their TradingView charts. By plotting Average True Range (ATR) bands anchored at the OHLC4 price, displaying crossover labels, and providing a comprehensive information table, this tool offers a multifaceted approach to technical analysis.
Key Features:
ATR Bands Anchored at OHLC4: Visual representation of short-term and long-term volatility bands centered around the average price.
OHLC4 Dotted Line: A dotted line representing the average of Open, High, Low, and Close prices.
ATR Cross Labels: Visual cues indicating when short-term volatility exceeds long-term volatility and vice versa.
Information Table: Displays real-time data on market volatility, calculated position size based on risk parameters, and trend direction relative to the 20-period Smoothed Moving Average (SMMA).
Purpose
The primary purpose of this indicator is to:
Assess Market Volatility: By comparing short-term and long-term ATR values, traders can gauge the current volatility environment.
Determine Optimal Position Sizing: A calculated position size based on user-defined risk parameters helps in effective risk management.
Identify Trend Direction: Comparing the current price to the 20-period SMMA assists in determining the prevailing market trend.
Enhance Decision-Making: Visual cues and real-time data enable traders to make informed trading decisions with greater confidence.
How It Works
1. ATR Bands Anchored at OHLC4
Average True Range (ATR) Calculations
Short-Term ATR (SA): Calculated over a 9-period using ta.atr(9).
Long-Term ATR (LA): Calculated over a 21-period using ta.atr(21).
Plotting the Bands
OHLC4 Dotted Line: Plotted using small circles to simulate a dotted line due to Pine Script limitations.
ATR(9) Bands: Plotted in blue with semi-transparent shading.
ATR(21) Bands: Plotted in orange with semi-transparent shading.
Overlap: Bands can overlap, providing visual insights into changes in volatility.
2. ATR Cross Labels
Crossover Detection:
SA > LA: Indicates increasing short-term volatility.
Detected using ta.crossover(SA, LA).
A green upward label "SA>LA" is plotted below the bar.
SA < LA: Indicates decreasing short-term volatility.
Detected using ta.crossunder(SA, LA).
A red downward label "SA LA, then the market is considered volatile.
Display: Shows "Yes" or "No" based on the comparison.
b. Position Size Calculation
Risk Total Amount: User-defined input representing the total capital at risk.
Risk per 1 Stock: User-defined input representing the risk associated with one unit of the asset.
Purpose: Helps traders determine the appropriate position size based on their risk tolerance and current market volatility.
c. Is Price > 20 SMMA?
SMMA Calculation:
Calculated using a 20-period Smoothed Moving Average with ta.rma(close, 20).
Logic: If the current close price is above the SMMA, the trend is considered upward.
Display: Shows "Yes" or "No" based on the comparison.
How to Use
Step 1: Add the Indicator to Your Chart
Copy the Script: Copy the entire Pine Script code into the TradingView Pine Editor.
Save and Apply: Save the script and click "Add to Chart."
Step 2: Configure Inputs
Risk Parameters: Adjust the "Risk Total Amount" and "Risk per 1 Stock" in the indicator settings to match your personal risk management strategy.
Step 3: Interpret the Visuals
ATR Bands
Width of Bands: Wider bands indicate higher volatility; narrower bands indicate lower volatility.
Band Overlap: Pay attention to areas where the blue and orange bands diverge or converge.
OHLC4 Dotted Line
Serves as a central reference point for the ATR bands.
Helps visualize the average price around which volatility is measured.
ATR Cross Labels
"SA>LA" Label:
Indicates short-term volatility is increasing relative to long-term volatility.
May signal potential breakout or trend acceleration.
"SA 20 SMMA?
Use this to confirm trend direction before entering or exiting trades.
Practical Example
Imagine you are analyzing a stock and notice the following:
ATR(9) Crosses Above ATR(21):
A green "SA>LA" label appears.
The info table shows "Yes" for "Is ATR-based price volatile."
Position Size:
Based on your risk parameters, the position size is calculated.
Price Above 20 SMMA:
The info table shows "Yes" for "Is price > 20 SMMA."
Interpretation:
The market is experiencing increasing short-term volatility.
The trend is upward, as the price is above the 20 SMMA.
You may consider entering a long position, using the calculated position size to manage risk.
Customization
Colors and Transparency:
Adjust the colors of the bands and labels to suit your preferences.
Risk Parameters:
Modify the default values for risk amounts in the inputs.
Moving Average Period:
Change the SMMA period if desired.
Limitations and Considerations
Lagging Indicators: ATR and SMMA are lagging indicators and may not predict future price movements.
Market Conditions: The effectiveness of this indicator may vary across different assets and market conditions.
Risk of Overfitting: Relying solely on this indicator without considering other factors may lead to suboptimal trading decisions.
Conclusion
This indicator combines essential elements of technical analysis to provide a comprehensive tool for traders. By visualizing ATR bands anchored at the OHLC4, indicating volatility crossovers, and providing real-time data on position sizing and trend direction, it aids in making informed trading decisions.
Whether you're a novice trader looking to understand market volatility or an experienced trader seeking to refine your strategy, this indicator offers valuable insights directly on your TradingView charts.
Code Summary
The script is written in Pine Script™ version 5 and includes:
Calculations for OHLC4, ATRs, Bands, SMMA:
Uses built-in functions like ta.atr() and ta.rma() for calculations.
Plotting Functions:
plotshape() for the OHLC4 dotted line.
plot() and fill() for the ATR bands.
Crossover Detection:
ta.crossover() and ta.crossunder() for detecting ATR crosses.
Labeling Crossovers:
label.new() to place informative labels on the chart.
Information Table Creation:
table.new() to create the table.
table.cell() to populate it with data.
Acknowledgments
ATR and SMMA Concepts: Built upon standard technical analysis concepts widely used in trading.
Pine Script™: Leveraged the capabilities of Pine Script™ version 5 for advanced charting and analysis.
Note: Always test any indicator thoroughly and consider combining it with other forms of analysis before making trading decisions. Trading involves risk, and past performance is not indicative of future results.
Happy Trading!
ATR Price Targets (Daily, Weekly, Monthly)This indicator calculates and displays dynamic price targets based on the Average True Range (ATR) for daily, weekly, and monthly timeframes. It’s designed to help traders set volatility-based price targets for more precise stop-losses, take-profit levels, and trade management.
Features:
Daily, Weekly, and Monthly ATR Targets: Automatically calculates and plots upper and lower price targets based on ATR values for each timeframe.
Risk Management Tool: Ideal for setting stop-loss and take-profit levels based on market volatility.
Customizable Settings: You can adjust the ATR length and multiplier to match your preferred trading style and risk tolerance.
Visual Alerts: Background colors change when price reaches or exceeds the calculated targets, providing easy visual cues for decision-making.
How to Use:
Use the upper and lower price targets to set realistic exit points for your trades.
Adjust the ATR multiplier for more or less conservative targets based on market volatility.
Apply this across multiple timeframes to combine long-term and short-term volatility trends.
This indicator is perfect for traders looking to incorporate volatility analysis into their trading strategy using ATR.
[BRAIN] Absolute Volatility of Price
Hello traders!
Today I want to share with you a series of scripts and strategies that I developed a few years ago. This is one of my first works, born from the curiosity of seeing a candlestick representation in a different way, without considering the price movement along the y-axis.
Imagine observing the price movement in dollars and percentages, always starting from the same reference point: the 0 axis. This approach can offer new insights and ideas on how and how much prices move.
To explain it better, the open of each candle does not start from the previous close negotiations but always starts from the 0 axis . In this way, it is possible to clearly compare the bodies of the candles with each other.
Script Visualization Methods and Input
- Study Normal: Simply reports the prices, including the negative ones of the red candles, on the same scale in absolute terms (ABS), as shown in the first indicator above.
- Study Normal Neg: In this version, the red candles vary negatively below zero, instead of in absolute terms above zero, as shown in the second indicator above.
- Study Perc: Similar to "Study Normal" but uses percentage values instead of dollars, useful for very low timeframes and low variations with many decimals, such as 1 minute on EUR/USD.
- Study Perc Neg: Similar to "Study Normal Neg" but uses percentage values.
Additionally, I have added the possibility to display or not, through two buttons, an average of the candle bodies adjustable in length via input and the range of each candle, always correlated in dollars or percentages, as per the main study setting.
I hope this work can be useful to many of you. I invite you to like if you appreciate my scripts and want to see more like these. Do not hesitate to comment or contact me for any doubts or questions.
PS: If you notice that in the script the sum of the percentage values between the shadow and the body of the candle does not correspond to the range, it is only a rounding issue. Change the precision setting to a lower value and you will see that the rounding disappears.
PS: In the script, to better visualize the percentage growth and decline of the instrument on very high timeframes, I decided to represent it as follows:
- If close ≥ open: (high - low) / low * 100
- If close < open: (high - low) / high * 100
The same method is also applied for calculating the percentage variations of the shadows relative to themselves.
I hope you like this version! If you need any further modifications or adjustments, let me know. Good luck with your project!
(In the photos below I show 3 versions of the indicator open on 3 different tickers as an example: from top to bottom in the 3 indicators are set these Study: Study Normal, Study Perc and Study Perc Neg)
Volatility Trend Bands [UAlgo]The Volatility Trend Bands is a trend-following indicator that combines the concepts of volatility and trend detection. Built using the Average True Range (ATR) to measure volatility, this indicator dynamically adjusts upper and lower bands around price movements. The bands act as dynamic support and resistance levels, making it easier to identify trend shifts and potential entry and exit points.
With the ATR multiplier, this indicator effectively captures volatility-based shifts in the market. The use of midline values allows for accurate trend detection, which is displayed through color-coded signals on the chart. Additionally, this tool provides clear buy and sell signals, accompanied by intuitive graphical markers for ease of use.
The Volatility Trend Bands is ideal for traders seeking an adaptive trend-following method that responds to changing market conditions while maintaining robust volatility control.
🔶 Key Features
Dynamic Support and Resistance: The indicator utilizes volatility to create dynamic bands. The upper band acts as resistance, and the lower band acts as support for the price. Wider bands indicate higher volatility, while narrower bands indicate lower volatility.
Customizable Inputs
You can tailor the indicator to your strategy by adjusting the:
Price Source: Select the price data (e.g., closing price) used for calculations.
ATR Length: Define the lookback period for the Average True Range (ATR) volatility measure.
ATR Multiplier: This factor controls the width of the volatility bands relative to the ATR value.
Color Options: Choose colors for the bands and signal arrows for better visualization.
Visual Signals: Arrows ("▲" for buy, "▼" for sell) appear on the chart when the trend changes, providing clear entry point indications.
Alerts: Integrated alerts for both buy and sell conditions, allowing you to receive notifications for potential trade opportunities.
🔶 Interpreting Indicator
Upper and Lower Bands: The upper and lower bands are dynamic, adjusting based on market volatility using the ATR. These bands serve as adaptive support and resistance levels. When price breaks above the upper band, it indicates a potential bullish breakout, signaling a strong uptrend. Conversely, a break below the lower band signals a bearish breakout, indicating a downtrend.
Buy/Sell Signals: The indicator provides clear buy and sell signals at breakout points. A buy signal ("▲") is generated when the price breaks above the upper band, suggesting the start of a bullish trend. A sell signal ("▼") is triggered when the price breaks below the lower band, indicating the beginning of a bearish trend. These signals help traders identify potential entry and exit points at key breakout levels.
Color-Coded Bars: The bars on the chart change color based on the trend direction. Teal bars represent bullish momentum, while purple bars signify bearish momentum. This color coding provides a quick visual cue about the market's current direction.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Bollinger Bands ForLoopBollinger Bands ForLoop
OVERVIEW
BB ForLoop is an improved version of Bollinger Bands it is designed to calculate an array of values 1 or -1 depending if soruce for calculations is above or below basis.
It takes avereage of values over a range of lengths, providing trend signals smothed based on various moving averages in order to get rid of noise.
It offers flexibility with different signal modes and visual customizations.
TYPE OF SIGNALS
-FAST (MA > MA or MA > 0.99)
-SLOW (MA > 0)
-THRESHOLD CROSSING (when cross above/below treshold set independently for both directions)
-FAST THRESHOLD (when there's change in signal by set margin e.g (0.4 -> 0.2) means bearsih when FT is set to 0.1, when MA is > 0.99 it will signal bullish, when MA < -0.99 it will signal bearish)
Generaly Lime color of line indicates Bullish, Fuchsia indicates Bearish.
This colors are not set in stone so you can change them in settings.
-Bullish Trend, line color is lime
-Bearish Trend, line color is fuchsia
Credit
Idea for this script was from one of indicators created by www.tradingview.com
Warning
Be careful when using this indicator especialy combining DEMA with FT (Fast Treshold).
This indicator can be really noisy depending on the settings, signal mode so it should be used preferably as a part of an strategy not as a stand alone indicator
Remember the lower the timeframe you use the more noise there is.
No single indicator should be used alone when making investment decisions.
Ranges and Breakouts [AlgoAlpha]💥 Ranges and Breakouts by AlgoAlpha is a dynamic indicator designed for traders seeking to identify market ranges and capitalize on breakout opportunities. This tool automatically detects ranges based on price action over a specified period, visualizing these ranges with shaded boxes and midlines, making it easy to spot potential breakout scenarios. The indicator includes advanced features such as customizable pivot detection, internal range allowance, and automatic trend color changes for quick market analysis.
Key Features
💹 Dynamic Range Detection : Automatically identifies market ranges using customizable look-back and confirmation periods.
🎯 Breakout Alerts : Get alerted to bullish and bearish breakouts for potential trading opportunities.
📊 Visual Aids : Displays pivot highs/lows within ranges and plots midlines with adjustable styles for easier market trend interpretation.
🔔 Alerts : Signals potential take-profit points based on volatility and moving average crossovers.
🎨 Customizable Appearance : Choose between solid, dashed, or dotted lines for midlines and adjust the colors for bullish and bearish zones.
How to Use
⭐ Add the Indicator : Add the indicator to favorites by pressing the star icon. Adjust the settings like the look-back period, confirmation length, and pivot detection to match your trading strategy.
👀 Monitor the Chart : Watch for new ranges to form, highlighted by shaded boxes on the chart. Midlines and range bounds will appear to help you gauge potential breakout points.
⚡ React to Breakouts : Pay attention to color changes and alert signals for bullish or bearish breakouts. Use these signals to enter or exit trades.
🔔 Set Alerts : Customize alert conditions for new range formations, breakout signals, and take-profit levels to stay on top of market movements without constant monitoring.
How It Works
The indicator detects price ranges by analyzing the highest and lowest prices over a specified period. It confirms a range if these levels remain unchanged for a set number of bars, at which point it visually marks the range with shaded boxes. Pivots are identified within these ranges, and a midline is plotted to help interpret potential breakouts. When price breaks out of these defined ranges, the indicator changes the chart's background color to signal a bullish or bearish trend. Alerts can be set for range formation, breakouts, and take-profit opportunities, helping traders stay proactive in volatile markets.
Relative Range at Time/ Relative volatility / High−Low This script is designed to help you compare the size of the current price candle (the difference between the highest and lowest prices in a given time period) to the average size of the last several candles. It does this by calculating the average range of a certain number of previous candles (you can set how many with the "Length" input) and then dividing the current candle's range by this average. The result is plotted on the chart as a bar: if the current candle's range is larger than the average, the bar is green; if it's smaller, the bar is red. A horizontal line is also drawn at the value of 1, so you can easily see whether the current candle's range is above or below the average. If there’s an issue with the data, the script will show an error message to let you know.
Hullinger Percentile Oscillator [AlgoAlpha]🚀 Introducing the Hullinger Percentile Oscillator by AlgoAlpha! 🚀
This versatile Pine Script™ indicator is designed to help you identify swing trends and potential reversals with precision. Whether you're looking to catch market swings or spot divergences, the Hullinger Percentile Oscillator offers a comprehensive suite of features to enhance your trading strategy.
Key Features
🎯 Customizable Hullinger Settings: Adjust the main length, source, and standard deviation multipliers to fine-tune the indicator to your preferred trading style.
🔄 Dynamic Oscillator Modes: Switch between "Swing" mode for trend identification and "Contrarian" mode for reversal spotting, adapting the indicator to your market view.
📉 Divergence Detection: The indicator includes parameters to control the sensitivity and confirmation of divergence signals, helping to filter out noise and highlight significant market moves.
🌈 Color-Coded Visuals: Easily distinguish between bullish and bearish signals with customizable color settings for a clear visual representation on your chart.
🔔 Alert Integration: Stay ahead of the market with built-in alerts for key conditions, including strong and weak reversals, as well as bullish and bearish swings.
Quick Guide to Using the Hullinger Percentile Oscillator
Maximize your trading edge with the Hullinger Percentile Oscillator by following these steps! 📈✨
🛠 Add the Indicator: Add the indicator to favorites by pressing the star icon ⭐. Customize settings like Main Length, Oscillator Mode, and Appearance to fit your trading needs.
📊 Market Analysis: Use "Swing" mode to track trends and "Contrarian" mode to spot reversals. Watch for divergence signals to catch potential trend changes.
🔔 Alerts: Set up alerts to be notified of significant market movements without constantly monitoring your chart.
How It Works
The Hullinger Percentile Oscillator calculates its signals by applying a modified standard deviation approach to the Hull Moving Average (HMA) of a selected price source. It creates both inner and outer bands based on different multipliers. The oscillator then measures the position of the price relative to these bands, smoothing the result for swing trend detection. Depending on the chosen mode, the oscillator either highlights swing trends or potential reversals. Divergences are detected by comparing recent pivot highs and lows in both price and the oscillator, allowing you to spot bullish or bearish divergence setups. Alerts are triggered based on key crossovers or when specific conditions are met, ensuring that you are always informed of crucial market developments.
Hullinger Bands [AlgoAlpha]🎯 Introducing the Hullinger Bands Indicator ! 🎯
Maximize your trading precision with the Hullinger Bands , an advanced tool that combines the strengths of Hull Moving Averages and Bollinger Bands for a robust trading strategy. This indicator is designed to give traders clear and actionable signals, helping you identify trend changes and optimize entry and exit points with confidence.
✨ Key Features :
📊 Dual-Length Settings : Customize your main and TP signal lengths to fit your trading style.
🎯 Enhanced Band Accuracy : The indicator uses a modified standard deviation calculation for more reliable volatility measures.
🟢🔴 Color-Coded Signals : Easily spot bullish and bearish conditions with customizable color settings.
💡 Dynamic Alerts : Get notified for trend changes and TP signals with built-in alert conditions.
🚀 Quick Guide to Using Hullinger Bands
1. ⭐ Add the Indicator : Add the indicator to favorites by pressing the star icon. Adjust the settings to align with your trading preferences, such as length and multiplier values.
2. 🔍 Analyze Readings : Observe the color-coded bands for real-time insights into market conditions. When price is closer to the upper bands it suggests an overbought market and vice versa if price is closer to the lower bands. Price being above or below the basis can be a trend indicator.
3. 🔔 Set Alerts : Activate alerts for bullish/bearish trends and TP signals, ensuring you never miss a crucial market movement.
🔍 How It Works
The Hullinger Bands indicator calculates a central line (basis) using a simple moving average, while the upper and lower bands are derived from a modified standard deviation of price movements. Unlike the traditional Bollinger Bands, the standard deviation in the Hullinger bands uses the Hull Moving Average instead of the Simple Moving Average to calculate the average variance for standard deviation calculations, this give the modified standard deviation output "memory" and the bands can be observed expanding even after the price has started consolidating, this can identify when the trend has exhausted better as the distance between the price and the bands is more apparent. The color of the bands changes dynamically, based on the proximity of the closing price to the bands, providing instant visual cues for market sentiment. The indicator also plots TP signals when price crosses these bands, allowing traders to make informed decisions. Additionally, alerts are configured to notify you of crucial market shifts, ensuring you stay ahead of the curve.
Custom ATR Trailing StopThis Script creates a custom ATR (Average True Range) trailing stop. It allows traders to set up automated stop-loss levels based on the ATR, which adjusts dynamically to market volatility. The script is designed to support both long and short trades, offering flexibility and precision in trade management.
When loading the indicator to your chart, simply click to set the trade begining time, confirm various settings and you are set.
Check tooltips for more details in the input settigns menu.
User Inputs
Trade Setup: Allows users to set the trade direction (Long or Short), the signal source for entries, and the specific bar time for the trade setup.
ATR Settings: Configurable ATR lookback period, ATR smoothing period, initial ATR multiplier for setting the stop-loss, breakeven ATR multiplier, and a manual breakeven level.
ATR Calculations
Computes the ATR and its moving average.
Determines initial and breakeven stop levels based on the ATR.
Signal Validation
Validates long or short trade signals based on the specified bar time and trade direction.
Triggers alerts when a valid trade signal is detected.
Trailing Stop Logic
For long trades, adjusts the stop-loss level dynamically based on the ATR.
For short trades, performs similar adjustments in the opposite direction.
Updates the trailing stop level to ensure it follows the price, moving closer as the price moves favorably.
Resets the trade state when the stop-loss is hit, triggering an alert.
Plotting
Plots the trailing stop levels on the chart.
Uses green for stop levels indicating profit and red for stop levels indicating a loss.
Internal Bar Strength IBS [Anan]This indicator calculates and displays the Internal Bar Strength (IBS) along with its moving average. The IBS is a measure that represents where the closing price is relative to the high-low range of a given period.
█ Main Formula
The core of this indicator is the Internal Bar Strength (IBS) calculation. The basic IBS formula is:
ibs = (close - low) / (high - low)
I enhanced the original formula by incorporating a user-defined length parameter. This modification allows for greater flexibility in analysis and interpretation. The extended version enables users to adjust the indicator's length according to their specific needs or market conditions. Notably, setting the length parameter to 1 reproduces the behavior of the original formula, maintaining backward compatibility while offering expanded functionality:
ibs = (close - ta.lowest(low, ibs_length)) / (ta.highest(high, ibs_length) - ta.lowest(low, ibs_length))
Where:
- `close` is the closing price of the current bar
- `lowest low` is the lowest low price over the specified IBS length
- `highest high` is the highest high price over the specified IBS length
█ Key Features
- Calculates IBS using a user-defined length
- Applies a moving average to the IBS values
- Offers multiple moving average types
- Includes optional Bollinger Bands or Donchian Channel overlays
- Visualizes bull and bear areas
█ Inputs
- IBS Length: The period used for IBS calculation
- MA Type: The type of moving average applied to IBS (options: SMA, EMA, SMMA, WMA, VWMA, Bollinger Bands, Donchian)
- MA Length: The period used for the moving average calculation
- BB StdDev: Standard deviation multiplier for Bollinger Bands
█ How to Use and Interpret
1. IBS Line Interpretation:
- IBS values range from 0 to 1
- Values close to 1 indicate the close was near the high, suggesting a bullish sentiment
- Values close to 0 indicate the close was near the low, suggesting a bearish sentiment
- Values around 0.5 suggest the close was near the middle of the range
2. Overbought/Oversold Conditions:
- IBS values above 0.8 (teal zone) may indicate overbought conditions
- IBS values below 0.2 (red zone) may indicate oversold conditions
- These zones can be used to identify potential reversal points
3. Trend Identification:
- Consistent IBS values above 0.5 may indicate an uptrend
- Consistent IBS values below 0.5 may indicate a downtrend
4. Using Moving Averages:
- The yellow MA line can help smooth out IBS fluctuations
- Crossovers between the IBS and its MA can signal potential trend changes
5. Bollinger Bands/Donchian Channel:
- When enabled, these can provide additional context for overbought/oversold conditions
- IBS touching or exceeding the upper band may indicate overbought conditions
- IBS touching or falling below the lower band may indicate oversold conditions
Remember that no single indicator should be used in isolation. Always combine IBS analysis with other technical indicators, price action analysis, and broader market context for more reliable trading decisions.
Pivot WebThe Pivot Web is a prototype with its base derived from TradingView's standard pivot point indicator plus inspiration from LuxAlgo's trendline work alongside my own observations/experiences.
The theory is that there's legitimacy, from a technical standpoint, pivot point calculations are an adequate gauge of momentum and sentiment because the same math was used under pressure by floor traders themselves. That calculation is centered on the average of high, low, and closing prices. This indicator creates trendlines connecting the last pivot, support, and resistance levels to the current ones. A dynamic visual cue could make it easier to assess if the price will continue or reverse the current trajectory. This method also shows us an excellent visual for volatility.
Key Takeaways:
This indicator draws new dynamic trendlines.
These new trendlines connect the past and present pivot point levels based on the timeframe you select.
Shorter timeframes = More trendlines
Price adherence to the path of these lines may offer insight for trading.
Lastly, note the first set of data in each new timeframe displays the current original pivot point levels along with the trendlines attached to their ending point. Most of the time this indicator leaves room by briefly highlighting the original static levels with all levels also being optional displays. Also note that a more stable asset may not require the outermost support and resistance levels. Like most time series analysis tools, the Pivot Web requires current data to function properly.
"Nature is pleased with simplicity, and nature is no dummy."
[SGM GARCH Volatility]I'm excited to share with you a Pine Script™ that I developed to analyze GARCH (Generalized Autoregressive Conditional Heteroskedasticity) volatility. This script allows you to calculate and plot GARCH volatility on TradingView. Let's see together how it works!
Introduction
Volatility is a key concept in finance that measures the variation in prices of a financial asset. The GARCH model is a statistical method that predicts future volatility based on past volatilities and prediction residuals (errors).
Indicator settings
We define several parameters for our indicator:
length = input.int(20, title="Length")
p = input.int(1, title="Lag order (p)")
q = input.int(1, title="Degree of moving average (q)")
cluster_value = input(0.2,title="cluster value")
length: The period used for the calculations, default 20.
p: The order of the delay for the GARCH model.
q: The degree of the moving average for the GARCH model.
cluster_value: A threshold value used to color the graph.
Calculation of logarithmic returns
We calculate logarithmic returns to capture price changes:
logReturns = math.log(close) - math.log(close )
Initializing arrays
We initialize arrays to store residuals and volatilities:
var float residuals = array.new_float(length, 0)
var float volatilities = array.new_float(length, 0)
We add the new logarithmic returns to the tables and keep their size constant:
array.unshift(residuals, logReturns)
if (array.size(residuals) > length)
array.pop(residuals)
We then calculate the mean and variance of the residuals:
meanResidual = array.avg(residuals)
varianceResidual = array.stdev(residuals, meanResidual)
volatility = math.sqrt(varianceResidual)
We update the volatility table with the new value:
array.unshift(volatilities, volatility)
if (array.size(volatilities) > length)
array.pop(volatilities)
GARCH volatility is calculated from accumulated data:
var float garchVolatility = na
if (array.size(volatilities) >= length and array.size(residuals) >= length)
alpha = 0.1 // Alpha coefficient
beta = 0.85 // Beta coefficient
omega = 0.01 // Omega constant
sumVolatility = 0.0
for i = 0 to p-1
sumVolatility := sumVolatility + beta * math.pow(array.get(volatilities, i), 2)
sumResiduals = 0.0
for j = 0 to q-1
sumResiduals := sumResiduals + alpha * math.pow(array.get(residuals, j), 2)
garchVolatility := math.sqrt(omega + sumVolatility + sumResiduals)
Plot GARCH volatility
We finally plot the GARCH volatility on the chart and add horizontal lines for easier visual analysis:
plt = plot(garchVolatility, title="GARCH Volatility", color=color.rgb(33, 149, 243, 100))
h1 = hline(0.1)
h2 = plot(cluster_value)
h3 = hline(0.3)
colorGarch = garchVolatility > cluster_value ? color.red: color.green
fill(plt, h2, color = colorGarch)
colorGarch: Determines the fill color based on the comparison between garchVolatility and cluster_value.
Using the script in your trading
Incorporating this Pine Script™ into your trading strategy can provide you with a better understanding of market volatility and help you make more informed decisions. Here are some ways to use this script:
Identification of periods of high volatility:
When the GARCH volatility is greater than the cluster value (cluster_value), it indicates a period of high volatility. Traders can use this information to avoid taking large positions or to adjust their risk management strategies.
Anticipation of price movements:
An increase in volatility can often precede significant price movements. By monitoring GARCH volatility spikes, traders can prepare for potential market reversals or accelerations.
Optimization of entry and exit points:
By using GARCH volatility, traders can better identify favorable times to enter or exit a position. For example, entering a position when volatility begins to decrease after a peak can be an effective strategy.
Adjustment of stops and objectives:
Since volatility is an indicator of the magnitude of price fluctuations, traders can adjust their stop-loss and take-profit orders accordingly. Periods of high volatility may require wider stops to avoid being exited from a position prematurely.
That's it for the detailed explanation of this Pine Script™ script. Don’t hesitate to use it, adapt it to your needs and share your feedback! Happy analysis and trading everyone!
Volatility and Volume by Hour EXT(Extended republication, use this instead of the old one)
The goal of this indicator is to show a “characteristic” of the instrument, regarding the price change and trading volume. You can see how the instrument “behaved” throughout the day in the lookback period. I've found this useful for timing in day trading.
The indicator creates a table on the chart to display various statistics for each hour of the day.
Important: ONLY SHOWS THE TABLE IF THE CHART’S TIMEFRAME IS 1H!
Explanation of the columns:
1. Volatility Percentage (Volat): This column shows the volatility of the price as a percentage. For example, a value of "15%" means the price movement was 15% of the total daily price movement within the hour.
2. Hourly Point Change (PointCh): This column shows the change in price points for each hour in the lookback period. For example, a value of "5" means the price has increased by 5 points in the hour, while "-3" means it has decreased by 3 points.
3. Hourly Point Change Percentage (PrCh% (LeverageX)): This column shows the percentage change in price points for each hour, adjusted with leverage multiplier. Displayed green (+) or red (-) accordingly. For example, a value of "10%" with a leverage of 2X means the price has effectively changed by 5% due to the leverage.
4. Trading Volume Percentage (TrVol): This column shows the percentage of the daily total volume that was traded in a specific hour. For example, a value of "10%" would mean that 10% of the day's total trading volume occurred in that hour.
5. Added New! - Relevancy Check: The indicator checks the last 24 candle. If the direction of the price movement was the same in the last 24 hour as the statistical direction in that hour, the background of the relevant hour in the second column goes green.
For example: if today at 9 o'clock the price went lower, so as at 9 o'clock in the loopback period, the instrument "behaves" according to statistics . So the statistics is probably more relevant for today. The more green background row the more relevancy.
Settings:
1. Lookback period: The lookback period is the number of previous bars from which data is taken to perform calculations. In this script, it's used in a loop that iterates over a certain number of past bars to calculate the statistics. TIP: Select a period the contains a trend in one direction, because an upward and a downward trend compensate the price movement in opposite directions.
2. Timezone: This is a string input that represents the user's timezone. The default value is "UTC+2". Adjust it to your timezone in order to view the hours properly.
3. Leverage: The default value is 10(!). This input is used to adjust the hourly point change percentage. For FOREX traders (for example) the statistics can show the leveraged percentage of price change. Set that according the leverage you trade the instrument with.
Use at your own risk, provided “as is” basis!
Hope you find it useful! Cheers!
NZTVolumeDESCRIPTION IN ENGLISH
🔶 INTRODUCTION
NZTVolume is an advanced indicator for TradingView , inspired by the mentor Almaz . It is intended to facilitate the analytical work of traders who actively use data on real trading volumes in their analysis. The indicator also has many features that simplify operation and provide great opportunities for analysis , including the key function - identification of effective and ineffective movements, which are described below.
🔶 CONTENT
This tool provides detailed visualization of real volume . Other features such as candlestick color change depending on volume, histogram display percentage change in volume , and display candles that have gained liquidity, but the most unique function is the determination of effective and ineffective movements, alerts for them are built into the indicator, and traders will have a unique opportunity by setting alerts to wait for the first effective movement (its meaning and description below) , all this is implemented through advanced computational algorithms applied in the code.
Key features include Real Volume Histogram, Dynamic Candle Color Change, Average Volume Table, Volume Percent Change, Liquidity taken Candle, Volume Moving Averages, Effective and ineffective movements with their lines, 3 types of customizable Volume Alerts.
🔶 LOGIC
🔹 Dynamic Candle Color Change (Изменять цвет свечей)
Candles change to a contrasting color if their volume exceeds that of the previous candle , differentiated into bullish and bearish , including settings for transparency and colors . Can be configured, enabled of or disabled.
🔹 Real Volume Histogram (Показывать гистограмму объемов)
Automatically retrieves data on volumes and shows it on a chart. Can be configured, enabled of or disabled.
🔹 Liquidity Taken Candle (Показывать свечу собравшую ликвидность)
A candle that has taken/captured liquidity , which is determined in the code by the high and low prices of the candle and the volume it has , is displayed on the histogram . Can be configured, enabled or disabled.
🔹 Percent Change Volume (Показывать гистограмму процентного изменения объема)
Calculates and displays volume percent changes on a histogram. Can be configured, enabled or disabled.
🔹 Effective and Ineffective movement/column (Показывать эффективные и неэффективные движения)
By calculating the average volatility of the last bars, as well as calculating the average volume of the last bars, comparing and contrasting them, we obtain the principle of effective and ineffective movement/column. The code includes alerts that allow you to notify the user when the first effective movement/candle appears, which can significantly improve trading and maintain concentration. Basically it's a specific column on histogram, but is called movement so that's it's easier to understand its logic.
🔹 Line of efficiency and inefficiency (Показывать линии эффективности и неэффективности)
These lines connect all effective and ineffective movements' highs on the histogram, allowing traders to practice, as well as build their trading strategy for the trading day.
🔹 Average Volume Table (Показывать таблицу со средним объемом)
Displays the average volume per bar for selected time intervals with the ability to customize the period . Can be configured, enabled or disabled.
🔹 Volume Moving Averages (Показывать среднюю скользящую объема)
Three lines corresponding to users' set time intervals show the change in volume with color and thickness settings. Can be configured, enabled or disabled.
🔹 Alerts (Во сколько раз объем свечи должен превышать предыдущую для алерта)
Alerts can be triggered by 3 conditions
1. if on the selected timeframe the volume of the current candle exceeds the volume of the previous candle by a user-specified number of times , an alert will be triggered.
2. if a liquidity candle appears on the selected timeframe , an alert is triggered.
3. if an effective column/movement appears on the selected timeframe, an alert is triggered.
It can be configured, enabled or disabled.
🔶 TECHNICAL SPECIFICATION AND UNIQUENESS
At the core of NZTVolume is a series of advanced algorithms that analyze volume data in real-time.
Some of them are:
Calculate average volumes by given time period (in hours).
Candles, that took liquidity - considers high volume and wicks' size.
Percent volume change histogram - calculate percent change of volume for every bar and shows it on graph.
Effective and ineffective movement - calculates by algorithm that considers average volume and average volatility, assuming that big market players will contribute the volume.
🔶 DEMONSTRATION OF HOW THE INDICATOR WORKS ON DIFFERENT ASSETS
NZTLevel + NZTVolume Together
🔶 SETTINGS
🔹 Candles (Свечи)
Enable/disable color changes of candles based on volume . Customize colors of contrasting and standard candles, adjust transparency.
🔹 Histogram Settings (Настройки Гистограммы)
Show volume histogram , show liquidity taken candle, show volume percent change histogram, show effective, ineffective movements, show efficiency/inefficiency line.
🔹 Display settings on the Histogram (Настройки отображения на Гистограмме)
Customizable colors for bullish, bearish, liquidity taken columns as well as for effective and ineffective movement/columns and for lines that connect them.
🔹 Table (Таблица)
Toggle the display of the average volume table, customize the background, and set time ranges (3 parameters, multi-timeframe support). Tables shows "average volume over 24/48/72 hours" in translation
🔹 Lines (Линии)
Option to display/hide average volume lines , select colors and thickness for each of the three lines.
🔹 Alerts (Алерты)
As was said before, there are 3 types of alerts , that can be turned off , there is a parameter can be chosen - How many times volume of the current candle should exceeds the volume of the previous candle to trigger alert
🔶 RECOMMENDATIONS FOR USE
It is recommended to set and save the indicator settings that best match your trading preferences to ensure efficiency and ease of use.
NZTVolume stands out among other indicators for its universal functions, versatility, simplicity of installation and setup, high performance, and extensive customization capabilities, making it an indispensable tool for traders of all levels.
The indicator was developed by Temirlan Tolegenov for NZT Trader Community, April 2024, Prague, Czech Republic
ОПИСАНИЕ НА РУССКОМ ЯЗЫКЕ
🔶 ВСТУПЛЕНИЕ
NZTVolume — это продвинутый индикатор для TradingView , вдохновленный ментором Алмазом . Он предназначен для облегчения аналитической работы трейдеров, которые активно используют данные о реальных объёмах торгов в своем анализе. Индикатор также имеет множество функций, которые упрощают работу и предоставляют большие возможности для анализа , включая ключевую функцию - выявление эффективных и неэффективных движений, которые описаны ниже.
🔶 СОДЕРЖАНИЕ
Индикатор обеспечивает детальную визуализацию реального объема . Другие функции, такие как изменение цвета свечей в зависимости от объема, отображение гистограммы процентное изменение объема и отображение свечи, собравшей ликвидность, но самой уникальной функцией является определение эффективных и неэффективных движений, оповещения по ним встроены в индикатор, и у трейдеров появится уникальная возможность установить оповещения на ожидание первого эффективного движения (его смысл и описание ниже). ) , всё это реализовано посредством продвинутых вычислительных алгоритмов, примененных в коде.
Ключевые функции включают в себя гистограмму реального объема, динамическое изменение цвета свечи, таблицу среднего объема, процентное изменение объема, свечу, взявшую ликвидности, скользящие средние объема, эффективные и неэффективные движения с их линиями, 3 типа настраиваемых параметров. Оповещения об объеме.
🔶 ЛОГИКА
🔹 Динамическое изменение цвета свечей (Изменить цвет свечей)
Свечи меняют цвет на контрастный , если их объем превышает объем предыдущей свечи , дифференцируются на бычьи и медвежьи , включая настройки прозрачности и цвета . Можно настроить, включить или отключить.
🔹 Гистограмма реального объёма (Показывать гистограмму объёмов)
Автоматически извлекает данные по объемам и отображает их на графике. Можно настроить, включить или отключить.
🔹 Свеча, собравшая ликвидность (Показывать свечу собравшую ликвидность)
Свеча, собравшая ликвидность , которая определена в коде максимальной и минимальной ценой свечи и объемом, который она имеет , отображается на гистограмма . Можно настроить, включить или отключить.
🔹 Процентное изменение объема (Показывать гистограмму процентного изменения объема)
Вычисляет и отображает процентные изменения объема на гистограмме. Можно настроить, включить или отключить.
🔹 Эффективные и неэффективные движения(Показать Эффективныеи неэффективные движения)
Рассчитав среднюю волатильность последних баров, а также вычислив средний объем последних баров, сравнивая и противопоставляя их, мы получаем принцип эффективного и неэффективного движения/столбца. В код включены оповещения, которые позволяют оповещать пользователя при появлении первого эффективного движения/свечи, что позволяет существенно улучшить торговлю и сохранить концентрацию. По сути, это отдельный столбец на гистограмме, но он называется движением, потому что так, его логику будет легче понять.
🔹 Линия эффективности и неэффективности (Показывать линии эффективности и неэффективности)
Эти линии соединяют хаи всех эффективных и неэффективных движений на гистограмме, позволяя трейдерам практиковаться, а также строить свою торговую стратегию на торговый день.
🔹 Таблица среднего объема (Показать таблицу со значением определения)
Отображает средний объем на бар для выбранных временных интервалов с возможностью настройки периода . Можно настроить, включить или отключить.
🔹 Скользящие средние объёма (Показать среднюю скользящую объём)
Три линии, соответствующие установленным пользователем временным интервалам , показывают изменение объема с настройками цвета и толщины. Можно настроить, включить или отключить.
🔹 Оповещения (Во сколько раз объем свечи должен превышать предыдущую для оповещения)
Оповещения могут быть вызваны тремя условиями
1. Если на выбранном таймфрейме объем текущей свечи превысит объем предыдущей свечи в заданное пользователем количество раз , сработает оповещение
2. Если на выбранном таймфрейме появляется свеча ликвидности , срабатывает оповещение
3. Если на выбранном таймфрейме появляется эффективный столбец/движение , срабатывает оповещение.
Это можно настроить, включить или отключить.
🔶 ТЕХНИЧЕСКИЕ ХАРАКТЕРИСТИКИ И УНИКАЛЬНОСТЬ
В основе NZTVolume лежит серия продвинутых алгоритмов, которые анализируют данные об объемах в режиме реального времени.
Некоторые из них:
Рассчёт средние объёмы за заданный период времени (в часах).
Свечи, снявшие ликвидность - учитывает большой объем и размер шпилей.
Процентное изменение объема на гистограмме — рассчитывает процентное изменение объема для каждого бара и отображает его на графике.
Эффективное и неэффективное движение - рассчитывается по алгоритму, учитывающему средний объем и среднюю волатильность, предполагая, что объем крупных игроков будет сигнализировать о намерении рынка и силе движения.
🔶 НАСТРОЙКИ
🔹 Свечи
Включить/отключить изменение цвета свечей в зависимости от объема . Настройте цвета контрастных и стандартных свечей, настройте прозрачность.
🔹 Настройки гистограммы
Показать гистограмму объема , показать свечу взятой ликвидности, показать гистограмму процентного изменения объема, показать эффективные и неэффективные движения, показать линию эффективности/неэффективности.
🔹 Настройки отображения на гистограмме
Настраиваемые цвета для бычьих, медвежьих, свечей, собравших ликвидность столбцов, а также для эффективных и неэффективных движений/столбцов и линий, которые их соединяют.
🔹 Таблица
Переключайте отображение таблицы среднего объема, настраивайте фон и устанавливайте временные диапазоны (3 параметра, мультитаймфрейм).
🔹 Линии
Возможность отобразить/скрыть линии среднего объема , выбрать цвет и толщину для каждой из трех линий.
🔹 Алерты
Как было сказано ранее, есть 3 типа оповещений , которые можно отключить , можно выбрать параметр — во сколько раз объем текущей свечи должен превышать объем предыдущей свечи, чтобы сработало оповещение.
🔶 РЕКОМЕНДАЦИИ К ИСПОЛЬЗОВАНИЮ
Рекомендуется установить и сохранить настройки индикатора, которые лучше всего соответствуют вашим торговым предпочтениям, чтобы обеспечить эффективность и простоту использования.
NZTVolume выделяется среди других индикаторов своими универсальными функциями, универсальностью, простотой установки и настройки, высокой производительностью и широкими возможностями настройки, что делает его незаменимым инструментом для трейдеров всех уровней.
Индикатор разработан Темирланом Толегеновым для международного сообщества NZT Trader , Апрель 2024, Прага, Чешская Республика.
The indicator is published in accordance and respect to all House Rules of the TradingView platform.
Индикатор опубликован в соответствии и уважением ко всем внутренним правилами платформы TradingView.
Volatility Filter v2VF v2 is a new iteration of my tool designed for traders who wish to gain a deeper understanding of market dynamics, specifically to distinguish periods of high volatility, which often correspond to strong market trends. By identifying these periods, traders can make more informed decisions, potentially leading to better trading outcomes.
Understanding Market Volatility:
At the heart of this script lies the concept of market volatility, a statistical measure reflecting the degree of variation in trading prices. Volatility is pivotal for traders; it provides insights into the market's emotional state, indicating periods of uncertainty or confidence. High volatility often correlates with strong trends, making it a critical indicator for trend-followers. By identifying when volatility crosses a certain threshold, traders can discern whether the market is likely to be in a trending phase or a more subdued, range-bound state.
How the Script Works:
The core functionality of the script revolves around a signal line that oscillates around a zero threshold. When the signal line is above zero, it indicates increased market volatility, suggesting the presence of a trend. The farther the oscillator deviates from zero, the stronger the implied trend. This mechanism enables traders to visually gauge market conditions and adjust their strategies accordingly.
Controlling the Indicator:
To cater to diverse trading styles and preferences, the script is equipped with several customizable settings:
Filter Threshold: This 'zero line' acts as the baseline for distinguishing between different volatility regimes. Crossing this threshold is a primary signal for changes in market volatility.
Moving Average Type: With over 30 types of moving averages to choose from, traders can select the one that best fits their analysis style. Each type offers a different perspective on price data, allowing for a tailored approach to trend identification.
Colorize Indicator: This feature enhances the visual representation of the indicator, making it easier to interpret. When enabled, the oscillator's color intensity varies with its proximity to the extremes, providing a quick visual cue about trend strength.
Advanced Settings – Length and Multiplier:
The script introduces an innovative approach to time frame analysis through its length and multiplier settings:
Length: This parameter sets the base period for all metrics within the script, similar to traditional indicators.
Multiplier: This unique feature differentiates the script by incorporating three distinct timeframes into the analysis: a lower timeframe, the main (current) timeframe, and a higher timeframe. The multiplier adjusts these timeframes relative to the main one. For instance, with a daily main timeframe and a multiplier of 2, the lower timeframe would be 12 hours, and the higher timeframe would be 2 days. This tri-timeframe approach aims to provide a more comprehensive volatility assessment.
Volatility Filter Indicators Section:
The script utilizes nine different, undisclosed metrics within its volatility filter. Traders have the flexibility to enable or disable these metrics based on their preferences, allowing for a customizable trading experience. Additionally, the script offers alert functionality for when the indicator crosses the threshold, either upwards or downwards, facilitating timely decision-making.
P.S
With better understanding of markets over time, I designed a new iteration of my volatility filter indicator. The second version provides faster, more precise way to analyze markets, but I also wanted to keep my first version untouched in case if some people find it better for their purposes. As I mentioned above, this version is calculated in a very different way from a previous one, so if you never tried it you can do it here
Trend AngleThe "Trend Angle" indicator serves as a tool for traders to decipher market trends through a methodical lens. It quantifies the inclination of price movements within a specified timeframe, making it easy to understand current trend dynamics.
Conceptual Foundation:
Angle Measurement: The essence of the "Trend Angle" indicator is its ability to compute the angle between the price trajectory over a defined period and the horizontal axis. This is achieved through the calculation of the arctangent of the percentage price change, offering a straightforward measure of market directionality.
Smoothing Mechanisms: The indicator incorporates options for "Moving Average" and "Linear Regression" as smoothing mechanisms. This adaptability allows for refined trend analysis, catering to diverse market conditions and individual preferences.
Functional Versatility:
Source Adaptability: The indicator affords the flexibility to select the desired price source, enabling users to tailor the angle calculation to their analytical framework and other indicators.
Detrending Capability: With the detrending feature, the indicator allows for the subtraction of the smoothing line from the calculated angle, highlighting deviations from the main trend. This is particularly useful for identifying potential trend reversals or significant market shifts.
Customizable Period: The 'Length' parameter empowers traders to define the observation window for both the trend angle calculation and its smoothing, accommodating various trading horizons.
Visual Intuition: The optional colorization enhances interpretability, with the indicator's color shifting based on its relation to the smoothing line, thereby providing an immediate visual cue regarding the trend's direction.
Interpretative Results:
Market Flatness: An angle proximate to 0 suggests a flat market condition, indicating a lack of significant directional movement. This insight can be pivotal for traders in assessing market stagnation.
Trending Market: Conversely, a relatively high angle denotes a trending market, signifying strong directional momentum. This distinction is crucial for traders aiming to capitalize on trend-driven opportunities.
Analytical Nuance vs. Simplicity:
While the "Trend Angle" indicator is underpinned by mathematical principles, its utility lies in its simplicity and interpretative clarity. However, it is imperative to acknowledge that this tool should be employed as part of a comprehensive trading strategy , complemented by other analytical instruments for a holistic market analysis.
In essence, the "Trend Angle" indicator exemplifies the harmonization of simplicity and analytical rigor. Its design respects the complexity of market behaviors while offering straightforward, actionable insights, making it a valuable component in the arsenal of both seasoned and novice traders alike.