Volume IQOverview
Volume IQ is meant to be the ‘intelligent volume distribution analyzer’ that takes much of the work of interpreting volume profiles off of your shoulders. It attempts to ‘do the technical analysis’ of volume data for you, with its capstone feature being "Trading Action Zones": ranges on the chart whose placement are determined by high and low volume nodes and sentiment analysis, and their adapting range affected by current volatility. These zones are meant to offer practical levels for potential entries, exits, targets, and stops while trading. These zones are the cherry on top of other useful and original features like visuals for grouping areas of similar buy/sell bias.
Originality and Usefulness
Volume IQ stands out for its originality by offering a data-driven approach to interpreting volume profiles and presenting its analysis on the chart. Unlike traditional volume profiles, Volume IQ automates much of the volume analysis process, helping traders identify potential opportunities and key trading areas with minimal effort. Its unique "Trading Action Zones" leverage high and low volume nodes, sentiment analysis, and current volatility to highlight practical levels for entries, exits, targets, and stops. Additionally, the tool provides grouped bias visuals, gradient coloring, and flexible customization options, allowing traders to gain a clearer understanding of market sentiment and structure. By simplifying complex volume data into actionable insights, Volume IQ provides a valuable and efficient resource for charting on TradingView.
The ‘Capstone’ Feature:
Trading ‘Action Zones’: Potential areas to take trading action based on built-in interpretations of high-volume nodes, low-volume nodes, and overarching chart sentiment (whose calculation is described below), and their interplay. Categorized by tiers - with Tier 2 zones intended as potential entry areas, and Tier 1 zones for exits or adds. These zones can also present logical areas to consider targets and stops, for example placing a stop loss in a Tier 1 sell zone below price where there is a series of low-volume nodes and potentially not much support. These zones help you quickly identify potential areas on the chart to ‘take action’.
Key Features:
Level and Block Biases: By estimating buying and selling volume, as well as leveraging intrabar data, the Volume IQ profile provides detailed buy/sell sentiment at individual price levels. It then groups together consecutive price levels with the same bias into what we call ‘Block Biases’ making it easy to determine larger price areas with distinct buying or selling pressure.
Chart Sentiment Analysis: A ‘continuously optimizing algorithm’ configured to find high average runups after a sentiment switch powers what we call ‘bias guidelines’ which border the Volume IQ profile and influence the determination of Action Zones. This algorithm is based on comparing many combinations of volume-weighted trends, largely based on smoothed volume weighted moving averages, on each bar, to ensure that the approach with the highest average runup amongst the combinations is used.
Zones of Control: A gradient-coloring approach to the profile highlighst areas of influence at a glance, making it easier to focus on key price levels.
Broad Compatibility: Works across all chart timeframes and market types - so long as volume data and OHLC candle data is available.
Highly Customizable: Configure features to align with your trading preferences and workflow. Show them all, or pick and choose the ones you want.
Settings
Use a Color Theme: Toggle between our predefined color themes or customize your own.
Style: Select your preferred color theme (e.g., "TI Fusion").
Colors (When Not Using a Theme): Customize primary, secondary, and background colors for your own non-theme styling.
Gradient Coloring: Enable or disable gradient shading of the profile for visual enhancement of zones with high control and low control.
Action Zones: Turn trading action zones on or off to highlight key trading levels.
Time Staggering: Enabling this option will simply ‘stagger’ the display of action zones horizontally. Zones closer to price will be placed leftwards, and as they become more distant from price, they will be ‘staggered out’ rightwards, to give an intuitive feel for the time it may take for price to reach these zones.
Tier Labels: Enable or disable the ‘tier labels’ (1 square for Tier 1, 2 squares for Tier 2) for action zones.
Bias Blocks: Toggle the display of grouped buy/sell bias blocks.
Extend: Choose how the bias blocks are displayed: “Left” to stretch them from the end to the beginning of the histogram, “Right” to extend from the end outwards, and “Across” to extend from the beginning to outwards past the end, enveloping the bias and volume count labels.
Opacity: Adjust the transparency level of bias blocks (0–100).
Level Bias Labels: Turn on/off labels for individual price level biases.
Bias Guidelines: Enable the visual guidelines for bias levels which border the profile.
Volume Counts: Toggle volume count labels for each of the profile’s price levels.
Split Buy/Sell Volume: Enable separate display of buy and sell volume for each level (buy volume on the left, sell volume on the right).
Font Size: Adjust the font size for these labels.
Histogram Display: Choose the display option for the histogram bars of the profile themselves: "Full View" will display the profile, and “None” will hide it.
BG Shading Logic: Adjust the background shading logic for the display: “Neutral” will use the ‘Neutral Color’ from your color theme to put some emphasis around high and low volume nodes, while “None” will remove any background shading.
Detail: This option allows you to set the granularity of the volume data used: “Bar Data” will simply use the bar data from the chart timeframe, while “Intrabar Data” will attempt to use bar data from a lower timeframe. Please note that using intrabar data may not be available with your TradingView subscription on some timeframes, and also that using intrabar data may increase calculation time.
Data Request: Choose the lookback for the volume distribution: "Long-term" will look back 500 bars, and “Short-Term” will halve this.
# of Levels: Specify the number of levels/rows to display for visualizing the distribution.
Volatilità
Ultra Smart TrailIntroduction
The Ultra Smart Trail indicator is a comprehensive tool for traders seeking to identify and follow market trends efficiently. Combining dynamic trend detection with adaptive price bands, this indicator simplifies the process of understanding market direction and strength. It provides clear visual cues and customizable settings, catering to both novice and experienced traders.
Detailed Description
The Ultra Smart Trail indicator works by calculating a Trend Flow Line (TFL) using a hybrid moving average technique. This TFL dynamically adjusts to market conditions, smoothing out price fluctuations while remaining responsive to significant market shifts.
.........
Trend Flow Line (TFL)
A color-coded line indicating bullish, bearish, or neutral trends based on price movement relative to the TFL.
The TFL uses a combination of weighted moving averages (WMA) and double-weighted moving averages (DWMA) for accuracy.
.....
Dynamic Price Bands
The indicator plots upper and lower bands around the TFL, based on customizable multipliers of standard deviation. These bands adapt dynamically to volatility, helping traders spot overbought or oversold conditions.
The script calculates standard deviation-based bands with customizable multipliers, enabling precise adjustment to trading styles or instruments.
.....
Uptrend/Downtrend Highlights
The background and price bands visually differentiate trending and ranging markets, making it easier to identify high-probability trade setups.
.....
Reversal Alerts
By analyzing the relationship between price and bands, the script highlights potential reversals or continuation zones with distinct levels and fills.
.........
This indicator is a powerful addition to any trader’s toolkit, simplifying market analysis and enhancing decision-making.
Volatility vs ATRVolatility vs ATR Indicator Description for TradingView
Volatility vs ATR is a powerful custom indicator designed to help traders analyze and compare market volatility with the Average True Range (ATR). This indicator provides valuable insights into the dynamic behavior of asset prices, enabling traders to make informed decisions about market trends, potential reversals, and risk management.
What Does It Measure?
Volatility: Represents the degree of price variation over a given period. Calculated using standard deviation or other measures, it highlights periods of heightened or reduced market activity.
Average True Range (ATR): Measures the average range of price movement over a specific period, providing a sense of the asset's price fluctuations and market activity.
How It Works
The indicator plots both Volatility and ATR on the same chart, making it easy to visualize how these metrics interact.
Rising Volatility often signals increased market uncertainty or the beginning of strong trends.
ATR Spikes typically accompany high volatility, helping identify potential breakout or breakdown scenarios.
By tracking the interplay between these metrics, traders can anticipate shifts in momentum, recognize consolidation phases, and plan trades more effectively.
Key Features
Dual-Line Display: Clearly plots both Volatility (red) and ATR (blue) for easy comparison.
Customizable Periods: Allows you to adjust the lookback period for both metrics to match your trading style.
Versatile Application: Works across all asset classes, including stocks, forex, crypto, and commodities.
Why Use Volatility vs ATR?
Trend Analysis: Identify trending vs. ranging markets by observing the relationship between Volatility and ATR.
Breakout Confirmation: Use Volatility and ATR spikes as confirmation signals for potential breakouts.
Risk Management: Plan stop-loss levels and position sizing based on ATR values.
How to Use It
Add the indicator to your chart.
Look for periods where Volatility diverges from ATR to spot potential market shifts.
Use the indicator in conjunction with price action and other technical tools for a comprehensive analysis.
This indicator is ideal for traders looking to enhance their strategies by understanding market dynamics through the lens of volatility and average price movement.
Let me know if you’d like further refinement!
Breakaway Fair Value Gaps [LuxAlgo]The Breakaway Fair Value Gap (FVG) is a typical FVG located at a point where the price is breaking new Highs or Lows.
🔶 USAGE
In the screenshot above, the price range is visualized by Donchian Channels.
In theory, the Breakaway FVGs should generally be a good indication of market participation, showing favor in the FVG's breaking direction. This is a combination of buyers or sellers pushing markets quickly while already at the highest high or lowest low in recent history.
While this described reasoning seems conventional, looking into it inversely seems to reveal a more effective use of these formations.
When the price is pushed to the extremities of the current range, the price is already potentially off balance and over-extended. Then an FVG is created, extending the price further out of balance.
With this in consideration, After identifying a Breakaway FVG, we could logically look for a reversion to re-balance the gap.
However, it would be illogical to believe that the FVG will immediately mitigate after formation. Because of this, the dashboard display for this indicator shows the analysis for the mitigation likelihood and timeliness.
In the example above, the information in the dashboard would read as follows (Bearish example):
Out of 949 Bearish Breakaway FVGs, 80.19% are shown to be mitigated within 60 bars, with the average mitigation time being 13 bars.
The other 19.81% are not mitigated within 60 bars. This could mean the FVG was mitigated after 60 bars, or it was never mitigated.
The unmitigated FVGs within the analysis window will extend their mitigation level to the current bar. We can see the number of bars since the formation is represented to the right of the live mitigation level.
Utilizing the current distance readout helps to better judge the likelihood of a level being mitigated.
Additionally, when considering these mitigation levels as targets, an additional indicator or analysis can be used to identify specific entries, which would further aid in a system's reliability.
🔶 SETTINGS
Trend Length: Sets the (DC) Trend length to use for Identifying Breakaway FVGs.
Show Mitigation Levels: Optionally hide mitigation levels if you would prefer only to see the Breakaway FVGs.
Maximum Duration: Sets the analysis duration for FVGs, Past this length in bars, the FVG is counted as "Un-Mitigated".
Show Dashboard: Optionally hide the dashboard.
Use Median Duration: Display the Median of the Bar Length data set rather than the Average.
Session High/Low Average & Range [1CG]The Session High/Low Average & Range indicator independently measures the average price movement from the opening price in each direction. It also displays the maximum high and low distance, called Range. Separating the averages and range into highs and lows helps analyze the volatility of the market as well as the direction.
USE EXAMPLES
Session Open
Session Close
Customization
Minimal - 1x and 2x Averages are replaced with custom lines, in order to show distance to3x.
Calculations
Average High: (high price of session - session opening price) / (session period)
Average Low: (session opening price - low price of session) / (session period)
Range High: The highest price of the last (session period)
Range Low: The lowest price of the last (session period)
INPUTS
Session
Here you can choose the hours for your session and time zone. The default is London session in New York time. Next, the session period determines how many sessions to sample from for the average and range lines, the default is 20. Lastly, you can choose the number of sessions to appear on the chart not including the current session if you are in one, 5 by default.
Lines
All of the lines allow you to change the color, width, and style. They also have a label option to choose to display the price. The bottom of the section allows you to change the location and size of the label text.
**Open Line** -Displays the opening price for the length of the session.
**Average Lines** - Displays the 1x, 2x, and 3x the average distance from open in each direction. Additionally, you can toggle a background color to highlight the area.
**Custom Lines** - Displays a customizable multiple of either the average or range. By default the first custom line displays the Range at a 1x multiplier and the second line displays an Average at a 1.5x multiplier
Display Distance
Here you can choose to display the distance from the lines to the open. This data is marked with a “Δ”. For the three Average lines this will display in the area between the line and the open in the position and size of your choice. The custom lines will have the distance information displayed on the line itself. This helps keep the data organized.
Icaro [VekiSeba]
Icaro Indicator: Monitoring Price Extensions
Overview
The Icarus Indicator is a tool designed to help traders identify critical points in the price movements of financial assets. Inspired by the Greek myth of Icarus , this indicator alerts on potential exhaustions in bullish movements or significant price extensions. It is ideal for traders looking to optimize profitability and make strategic decisions on when to exit a position, thereby minimizing the risk of dramatic price reversals.
How the Indicator Works: The Icarus Indicator combines various volatility and trend metrics to provide signals:
ATR (Average True Range): Measures the asset’s volatility, providing insight into the intensity of price movements. This component is crucial for understanding the strength behind the asset’s fluctuations.
Gain from Average Trend: This metric calculates how much the current price has deviated from an average trend line. It helps identify how extended or overvalued the price might be in relation to its overall trend.
ATR Acceleration: Assesses how the pace of volatility change compares to its recent average, indicating rapid changes in volatility that might suggest an increase in momentum or an early warning of overextension.
Visual Signals:
Wing Momentum (Purple Cross): Indicates a significant increase in volatility acceleration, suggesting that the price may be entering a phase of unusual momentum. There is also the potential that this signal could lead to a correction.
Solar Roof (Red Circle): Activates when the price reaches an exhaustion level as defined by the user’s threshold, indicating a possible turning point or correction.
NASDAQ:SMCI
Configuration and Use: Users can customize the "Flight Threshold" to adjust the sensitivity of the indicator to their specific trading strategies. Modifying this threshold allows the indicator to be less or more reactive to the asset’s fluctuations.
Originality and Utility of the Indicator: Icarus stands out from other indicators with its unique focus on measuring volatility, offering a dynamic perspective on the asset's conditions. A notable feature of Icarus is its ability to reduce the number of false signals through its specialized formula, which prioritizes accuracy over the frequency of alerts. Although this may mean that the indicator does not react to all price extensions and might occasionally overlook some, it is intentionally designed to provide a higher percentage of correct signals when it does issue an alert. This "lower frequency, higher accuracy" approach is particularly valuable for traders who prefer the quality of signals over quantity, thus minimizing reactions to incorrect market movements and optimizing trading decisions based on highly reliable indicators. However, it is important to note that no indicator, including Icarus, can guarantee 100% effectiveness. Indeed, we cannot quantify the exact success rate of Icarus, as its performance can vary widely depending on the volatility of each asset and the market context at any given time.
True Range Trend StrengthThis script is designed to analyze trend strength using True Range calculations alongside Donchian Channels and smoothed moving averages. It provides a dynamic way to interpret market momentum, trend reversals, and anticipate potential entry points for trades.
Key Functionalities:
Trend Strength Oscillator:
Calculates trend strength based on the difference between long and short momentum derived from ATR (Average True Range) adjusted stop levels.
Smooths the trend strength using a simple moving average for better readability.
Donchian Channels on Trend Strength Oscillator:
Plots upper and lower Donchian Channels on the smoothed trend strength oscillator.
Traders can use these levels to anticipate breakout points and determine the strength of a trend.
Zero-Cross Shading:
Highlights bullish and bearish zones with shaded backgrounds:
Green for bullish zones where smoothed trend strength is above zero.
Red for bearish zones where smoothed trend strength is below zero.
Moving Averages for Oscillator:
Overlays fast and slow moving averages on the oscillator to provide crossover signals:
Fast MA Cross Above Slow MA: Indicates bullish momentum.
Fast MA Cross Below Slow MA: Indicates bearish momentum.
Alerts:
Alerts are available for MA crossovers, allowing traders to receive timely notifications about potential trend reversals or continuation signals.
Anticipating Entries with Donchian Channels:
The integration of Donchian Channels offers an edge in anticipating excellent trade entries.
Traders can use the oscillator's position relative to the channels to gauge oversold/overbought conditions or potential breakouts.
Use Case:
This script is particularly useful for traders looking to:
Identify the strength and direction of market trends.
Time entries and exits based on dynamic Donchian Channel levels and trend strength analysis.
Incorporate moving averages and visual cues for better decision-making.
UVR Crypto TrendINDICATOR OVERVIEW: UVR CRYPTO TREND
The UVR Crypto Trend indicator is a custom-built tool designed specifically for cryptocurrency markets, utilizing advanced volatility, momentum, and trend-following techniques. It aims to identify trend reversals and provide buy and sell signals by analyzing multiple factors, such as price volatility(UVR), RSI (Relative Strength Index), CMF (Chaikin Money Flow), and EMA (Exponential Moving Average). The indicator is optimized for CRYPTO MARKETS only.
KEY FEATURES AND HOW IT WORKS
Volatility Analysis with UVR
The UVR (Ultimate Volatility Rate) is a proprietary calculation that measures market volatility by comparing significant price extremes and smoothing the data over time.
Purpose: UVR aims to reduce noise in low-volatility environments and highlight significant movements during higher-volatility periods. While it strives to improve filtering in low-volatility conditions, it does not guarantee perfect performance, making it a balanced and adaptable tool for dynamic markets like cryptocurrency.
HOW UVR (ULTIMATE VOLATILITY RATE) IS CALCULATED
UVR is calculated using a method that ensures precise measurement of market volatility by comparing price extremes across consecutive candles:
Volatility Components:
Two values are calculated to represent potential price fluctuations:
The absolute difference between the current candle's high and the previous candle's low:
Volatility Component 1=∣High−Low ∣
The absolute difference between the previous candle's high and the current candle's low:
Volatility Component 2=∣High −Low∣
Volatility Ratio:
The larger of the two components is selected as the Volatility Ratio, ensuring UVR captures the most significant movement:
Volatility Ratio=max(Volatility Component 1,Volatility Component 2)
Smoothing with SMMA:
To stabilize the volatility calculation, the Volatility Ratio is smoothed using a Smoothed Moving Average (SMMA) over a user-defined period (e.g., 14 candles):
UVR=(UVR(Previous)×(Period−1)+Volatility Ratio)/Period
This calculation ensures UVR adapts dynamically to market conditions, focusing on significant price movements while filtering out noise.
RSI FOR MOMENTUM DETECTION
RSI (Relative Strength Index) identifies overbought and oversold conditions.
Trend Confirmation at the 50 Level
RSI values crossing above 50 signal the potential start of an upward trend.
RSI values crossing below 50 indicate the potential start of a downward trend.
Key Reversals at Extreme Levels
RSI detects trend reversals at overbought (>70) and oversold (<30) levels.
For example:
Overbought Trend Reversal: RSI >70 followed by bearish price action signals a potential downtrend.
Oversold Trend Reversal: RSI <30 with bullish confirmation signals a potential uptrend.
Rare Extreme RSI Readings
Extreme levels, such as RSI <12 (oversold) or RSI >88 (overbought), are used to identify rare yet powerful reversals.
---HOW IT DIFFERS FROM OTHER INDICATORS---
Using UVR High and Low Values
The Ultimate Volatility Rate (UVR) focuses on analyzing the high and low price ranges of the market to measure volatility.
Unlike traditional trend indicators that rely primarily on momentum or moving average crossovers, UVR leverages price extremes to better identify trend reversals.
This approach ensures fewer false signals during low-volatility phases and more accurate trend detection during high-volatility conditions.
UVR as the Core Component
The indicator is fundamentally built around UVR as the primary filter, while supporting tools like RSI (momentum detection), CMF (volume confirmation), and EMA (trend validation) complement its functionality.
By integrating these additional components, the indicator provides a multidimensional analysis rather than relying solely on a single approach.
Dynamic Adaptation to Volatility
UVR dynamically adjusts to market conditions, striving to improve filtering in low-volatility phases. While not flawless, this approach minimizes false signals and adapts more effectively to varying levels of market activity.
Trend Clouds for Visual Guidance
UVR-based dynamic clouds visually mark high and low price areas, highlighting potential consolidation or retracement zones.
These clouds serve as guides for setting stop-loss or take-profit levels, offering clear risk management strategies.
BUY AND SELL SIGNAL LOGIC
BUY CONDITIONS
Momentum-Based Buy-Entry
RSI >50, CMF >0, and the close price is above EMA50.
The price difference between open and close exceeds a threshold based on UVR.
Oversold Reversal
RSI <30 and CMF >0 with a strong bullish candle (close > open and UVR-based sensitivity filter).
Breakout Confirmation
The price breaks above a previously identified resistance, with conditions for RSI and CMF supporting the breakout.
Reversal from Oversold RSI Extreme
RSI <12 on the previous candle with a strong rebound on the current candle with UVR confirmation filter.
SELL CONDITIONS
Momentum-Based Sell-Entry
RSI <50, CMF <0, and the close price is below EMA50.
The price difference between open and close exceeds the UVR threshold.
Overbought Reversal
RSI >70 with bearish price action (open > close and UVR-based sensitivity filter).
Breakdown Confirmation
The price breaks below a previously identified support, with RSI and CMF supporting the breakdown.
Reversal from Overbought RSI Extreme
RSI >88 on the previous candle with a bearish confirmation on the current candle with UVR confirmation filter.
BUY AND SELL SIGNALS VISUALIZATION
The UVR Crypto Trend Indicator visually represents buy and sell conditions using dynamic plots, making it easier for traders to interpret and act on the signals. Below is an explanation of the visual representation:
Buy Signals and Visualization
Signal Trigger:
A buy signal is generated when one of the defined Buy Conditions is met (e.g., RSI >50, CMF >0, price above EMA50).
Visual Representation:
A blue upward arrow appears at the candle where the buy condition is triggered.
A blue cloud forms above the price candles, representing the strength of the bullish trend. The cloud dynamically adapts to market volatility, using the UVR calculation to mark support zones or consolidation levels.
Purpose of the Blue Cloud:
It acts as a visual guide for price movements and stay horizontal when the trend is not moving up
Sell Signals and Visualization
Signal Trigger:
A sell signal is generated when one of the defined Sell Conditions is met (e.g., RSI <50, CMF <0, price below EMA50).
Visual Representation:
A red downward arrow appears at the candle where the sell condition is triggered.
A red cloud forms below the price candles, representing the strength of the bearish trend. Like the blue cloud, it uses the UVR calculation to dynamically mark resistance zones or potential retracement levels.
Purpose of the Red Cloud:
It acts as a visual guide for price movements and stay horizontal when the trend is not moving down.
CONCLUSION
The UVR Crypto Trend indicator provides a powerful tool for trend reversal detection by combining volatility analysis, momentum confirmation, and trend-following techniques. Its unique use of the Ultimate Volatility Rate (UVR) as a core element, supported by proven indicators like RSI, CMF, and EMA, ensures reliable and actionable signals tailored for the crypto market's dynamic nature. By leveraging UVR’s high and low price range analysis, it achieves a level of precision that traditional indicators lack, making it a high-performing system for cryptocurrency traders.
Sigma ScoreFunction and Purpose
The Sigma Score indicator is a tool for analyzing volatility and identifying unusual price movements of a financial instrument over a specified timeframe. It calculates the "Sigma Score," which measures how far the current price change deviates from its historical average in terms of standard deviations. This helps identify potential extremes and unusual market conditions.
Features
Timeframe Control
Users can select the desired timeframe for analysis (e.g., minutes, hours, days). This makes the indicator adaptable to various trading styles:
Supported timeframes: Minutes (M1, M5, M10, M15), Hours (H1, H4, H12), Days (D), Weeks (W), Months (M).
Sigma Score Calculation
The indicator computes the logarithmic return between consecutive price values.
It calculates a simple moving average (SMA) and the standard deviation (StDev) of these returns.
The Sigma Score is derived as the difference between the current return and the average, divided by the standard deviation.
Visual Representation
Sigma Score Plot: The Sigma Score is displayed as a line.
Horizontal Threshold Lines:
A middle line (0) for reference.
Upper and lower threshold lines (default: 2.0 and -2.0) for highlighting extremes.
Background Highlighting:
Green for values above the upper threshold (positive deviations).
Red for values below the lower threshold (negative deviations).
Custom Settings
Timeframe
Select the timeframe for analysis using a dropdown menu (default: D for daily).
Thresholds
Upper Threshold: Default = 2.0 (positive extreme area).
Lower Threshold: Default = -2.0 (negative extreme area).
Both values can be adjusted to modify the indicator's sensitivity.
Use Cases
Identifying Extremes: Values above or below the thresholds can signal unusual market conditions, such as overbought or oversold areas.
Analyzing Market Anomalies: The Sigma Score quantifies how unusual a price movement is based on historical data.
Visual Aid: Threshold lines and background highlighting simplify the interpretation of boundary conditions.
Notes and Limitations
Timeframe Dependency: Results may vary depending on the selected timeframe. Shorter timeframes highlight short-term movements, while longer timeframes capture broader trends.
Volatility Sensitivity: The indicator is sensitive to changes in market volatility. Sudden price swings may produce extreme Sigma values.
Summary
The Sigma Score indicator is a powerful tool for traders and analysts to quickly identify unusual market conditions and make informed decisions. Its flexibility in adjusting timeframes and thresholds makes it a versatile addition to any trading strategy.
Aeon FluxAeon Flux visualizes rolling cumulative realized volatility, as a signal-generating leading indicator.
'Realized volatility' is shorthand for the metric's true output: entropy . The uniformity (or lack of uniformity) of price and volume distributions over a rolling cumulative period, normalized across the asset's full history.
Entropy = x⋅log2(x)−(1−x)⋅log2(1−x)
AEON FLUX VISUALIZES TIME CYCLES
Aeon Flux distills any asset's cyclical pendulum-like behavior, from bull to bear and vice versa, in a visualization that surfaces and isolates the pendulum shift.
As such, Aeon Flux may be the first metric to automate visualization of time cycles.
Time cycles are a soft science and esoteric concept in markets: an opinion, hard to prove or disprove.
They're ultimately just cycles of accumulation & distribution, that tend to recur at rough consistent intervals.
(Aeon Flux does not measure accumulation & distribution directly, those forces are merely implied.)
ENTROPY AS A LEADING INDICATOR
The transitions between state (from bullish to bearish & vice versa) are often good swing entries & exits, across a wide range of high cap risk markets.
ENTROPY AS A DISTRIBUTION MONITOR
Aeon Flux has a track record of detecting higher timeframe macro distribution on the BTC Index.
The signal: two cycles in a row of lower highs, where the cycle high (the highest oscillator print achieved that cycle) is lower than the previous cycle's high.
Invalidation: if the second cycle in a row of lower highs touches the green AND red target areas on its way up, that demonstrates robust volatility, and the distribution signal is invalidated.
ALERTS & NOTIFICATIONS
Alerts are enabled for swing long & short signals. Automating alerts to monitor distribution are a potential enhancement for future iterations of the script.
Bitcoin Value Capture HeatmapBTC Value Capture Heatmap answers a question originally posed by Willy Woo:
"How much pressure on Bitcoin's market cap does one dollar of purchasing power exert?"
The higher the print, the more market cap grows per dollar invested -- adjusted for global M2 growth.
Bitcoin Value Capture Heatmap = ( market cap / global M2 ) / realized cap
A NOVEL INGREDIENT REVEALS A UNIQUE USE CASE
Adjusting bitcoin's market cap for global M2 growth sharpens a legacy metric with a normalizing factor that 'stabilizes' its view across cycles.
The metric peaked at identical levels (4.2), three bitcoin bull markets in a row. On the same day bitcoin price volatility peaked for the cycle, every time.
One might naturally expect this to coincide with cycle tops. But it doesn't.
It precede's cycle's tops: in a consistent, very specific way, that predisposing a unique use case.
BITCOIN'S VOLATILTY TOP
The metric's true use case only comes into clear focus when paired with an unrelated insight:
Whether in distribution (in Spring 2021) or a parabolic blow off top (2017 & 2013), each of the last 3 bitcoin cycle tops shows tight consistent adherence to the Wykoff Distribution Schematic.
"But Wykoff schematics apply to distribution tops, not to blow off tops."
A closer look at the last 15-20 years of parabolic blow off tops, across all asset classes , viewed through a Wykoff lens, reveals recurring tight adherence to Wykoff's Distribution Schematic.
Including (and especially) BTC's parabolic top in Dec 2017; BTC's parabolic top in 2013; and ETH's blow off top in Jan 2018.
In our age of automation, this makes sense. Wykoff's schematics mirror the timeless archetypal goal of his 'Composite Operator': max pain for all other market participants.
A process that lends itself to automation, optimized a bit more each passing year.
Peak cycle volatility maps directly to the Wykoff Distribution Schematic's 'Buying Climax'.
An event that preceded parabolic cycle tops, by about 2 weeks.
Future BTC parabolas (should they recur) would come at exponentially higher market caps, so they may take longer to unfold -- I don't take the 2 week pattern too seriously.
But Parabolic Distribution as an emergent archetypal market structure is likely encoded.
PUTTING IT ALL TOGETHER
Bitcoin Value Capture Heatmap signals peak cycle volatility, on a daily close of 4.2 on the metric's Y axis. It has never reached that level twice in the same cycle.
Awareness that:
(a) peak volatility for the cycle has likely been reached, and
(b) peak volatility has a history of tightly preceding bitcoin cycle tops, can
(c) empowers traders with a data-driven 'guide post' to their likely exactly location in an increasingly archetypal topping process.
SPECIFIC USES IN AN EXIT STRATEGY
When the Heatmap's signal level is reached, one might (for instance):
* Hedge, since bitcoin is likely closing in on its cycle top, OR
* Start to DCA out, over a pre-planned time period OR
* Rotate up the risk curve, since BTC probably doesn't have much upside left, OR
* Wait for acceptance one leg higher, which (consistent with Wykoff logic) is the likeliest place to expect an actual cycle top.
Though the ratio (in the past) touched 4.2 each cycle, a closer look shows subtly lower peaks per cycle, like most other on-chain cycle oscillators.
Extrapolating out, one might expect bitcoin's next top on volatility to print on any touch of 4.0 or higher.
Or one might give it more room to run, consistent with record institutiional flows this cycle.
Alerts are enabled for both options.
The metric works on any timeframe, but should only be used on the 1D chart.
Statistical Volatility Injections [neo.|]Introduction:
The Statistical Volatility indicator is a versatile tool designed to help traders gauge market volatility over time. By analyzing historical data through a customizable lookback period, it highlights zones of high and low volatility using intuitive colored gradients. This indicator enables traders to make informed decisions by identifying patterns in price movement or volume fluctuations, helping to optimize entries, exits, and overall trading strategy.
Description:
Volatility plays a critical role in financial markets, influencing price movements and trader behavior. This indicator calculates historical volatility using two approaches:
Ranges: Evaluates the price movement by measuring the high-to-low range of candles relative to their closing price.
Volume: Considers trading activity by analyzing the volume associated with each candle.
By mapping out periods of high and low volatility, the indicator provides traders with actionable insights into time where potential breakouts, reversals, or consolidations are more likely to happen. High volatility zones may indicate strong market movements, while low volatility zones often precede significant price action, giving traders a valuable edge.
Key Features:
Compare time based volatility between assets:
Adaptive display will calculate intraday volatility when under the 1h timeframe, and weekly volatility if on the 1h timeframe or above:
OANDA:GBPJPY On the 5min timeframe:
OANDA:GBPJPY On the 1h timeframe:
Display modes allow the volatility to be viewed as ranges and as bars:
How It Works:
Data Collection: The script analyzes historical candles using the user-defined lookback period and calculation type.
Data Processing: Each candle’s volatility is calculated and stored, enabling comparisons across the selected timeframe.
Visual Representation: Using a gradient color scheme, the indicator overlays the results on your chart, highlighting areas of interest based on historical volatility levels.
How to Use:
Setup:
Add the indicator to your chart.
Adjust the lookback period, gradient colors, and choose your preferred calculation mode (Ranges or Volume).
Interpretation:
Look for red zones to identify high-volatility periods—potential breakout or reversal areas.
Use yellow zones to anticipate consolidation or low-activity phases.
Customization:
Enable "Display ranges" to see box height variations reflecting volatility intensity.
Use the "Use Table" feature to summarize volatility data for quick reference.
Advanced Settings:
Adjust style options such as color gradients and overlapping controls for a cleaner chart view.
UVR ChannelsUVR CHANNELS: A VOLATILITY-BASED TREND ANALYSIS TOOL
PURPOSE
UVR Channels are designed to dynamically measure market volatility and identify key price levels for potential trend reversals. The channels are calculated using a unique volatility formula(UVR) combined with an EMA as the central reference point. This approach provides traders with a tool for evaluating trends, reversals, and market conditions such as breakouts or consolidations.
CALCULATION MECHANISM
1. Ultimate Volatility Rate (UVR) Calculation:
The UVR is a custom measure of volatility that highlights significant price movements by comparing the extremes of current and previous candles.
Volatility Components:
Two values are calculated to represent potential price fluctuations:
The absolute difference between the current candle's high and the previous candle's low:
Volatility Component 1=∣high−low ∣
The absolute difference between the previous candle's high and the current candle's low:
Volatility Component 2=∣high −low∣
Volatility Ratio:
The larger of the two components is selected as the Volatility Ratio, ensuring the UVR captures the most significant movement:
Volatility Ratio=max(Volatility Component 1,Volatility Component 2)
Smoothing with SMMA:
To stabilize the volatility calculation, the Volatility Ratio is smoothed using a Smoothed Moving Average (SMMA) over a user-defined period (e.g., 14 candles):
UVR= (UVR(Previous) × (Period−1))+Volatility Ratio)/Period
2. Band Construction:
The UVR is integrated into the band calculations by using the Exponential Moving Average (EMA) as the central line:
Central Line (EMA):
The EMA is calculated based on closing prices over a user-defined period (e.g., 20 candles).
Upper Band:
The upper band represents a dynamic resistance level, calculated as:
Upper Band=EMA+(UVR × Multiplier)
Lower Band:
The lower band serves as a dynamic support level, calculated as:
Lower Band=EMA−(UVR × Multiplier)
3. Role of the Multiplier:
The Multiplier adjusts the width of the bands based on trader preferences:
Higher Multiplier: Wider bands to capture larger price swings.
Lower Multiplier: Narrower bands for tighter market analysis.
FEATURES AND USAGE
Dynamic Volatility Analysis:
The UVR Channels expand and contract based on real-time market volatility, offering a dynamic framework for identifying potential price trends.
Expanding Bands: High market volatility.
Contracting Bands: Low volatility or consolidation.
Trend Identification:
Price consistently near the upper band indicates a strong bullish trend.
Price near the lower band signals a bearish trend.
Trend Reversal Signals:
Price reaching the upper band may signal overbought conditions, while price touching the lower band may signal oversold conditions.
Breakout Potential:
Narrow bands often precede significant price breakouts, making UVR Channels a useful tool for spotting early breakout conditions.
DIFFERENCES FROM BOLLINGER BANDS
Unlike Bollinger Bands, which rely on standard deviation to measure volatility, the UVR Channels use a custom volatility formula based on price extremes (highs and lows). This approach adapts to market behaviour in a unique way, providing traders with an alternative and accurate view of volatility and trends.
INPUT PARAMETERS
Volatility Period:
Determines the number of periods used to smooth the volatility ratio. A higher value results in smoother bands but may lag behind sudden market changes.
EMA Period:
Controls the calculation of the central reference line.
Multiplier:
Adjusts the width of the bands. Increasing the multiplier widens the bands, capturing larger price movements, while decreasing it narrows the bands for tighter analysis.
VISUALIZATION
Purple Line: The EMA (central line).
Red Line: Upper band (dynamic resistance).
Green Line: Lower band (dynamic support).
Shaded Area: Fills the space between the upper and lower bands, visually highlighting the channel.
Batman - IndicatorThe Batman - Indicator is an advanced trend-following tool that combines multiple methodologies to provide traders with actionable insights for efficient decision-making. This comprehensive indicator leverages both classic and innovative approaches to detect market trends, identify relative strength, and signal entry/exit opportunities. Key features include:
Core Features:
1. Trend Analysis with ADX :
- Measures trend strength and signals shifts in momentum using the Average Directional Index (ADX).
- Configurable parameters allow traders to fine-tune the threshold for their preferred trading style.
2. Relative Strength (RS) Evaluation :
- Analyzes the relative strength of the asset compared to broader market indices (e.g., CRYPTOCAP:TOTAL, NSE:NIFTY, NASDAQ:NDX).
- Provides intuitive visual cues with strength and weakness coloring for quick decision-making.
3. Volume-Based Price Action Insights :
- Highlights bars with significant volume activity relative to a configurable moving average.
- Identifies potential turning points and momentum using color-coded volume bars.
4. 52-Week High/Low Detection :
- Tracks and flags new 52-week highs or lows to highlight key levels of interest.
- Adds context for long-term market trends and potential breakout/breakdown points.
5. Donchian Channel Breakouts :
- Detects changes in Donchian channel levels, signaling potential breakout or reversal scenarios.
6. Multi-Layered Scoring System :
- Combines ADX and RSI to score market conditions on a scale from bearish (Z) to bullish (A).
- Includes intermediate levels (X, Y, C) to capture nuanced shifts in sentiment.
7. Exit Strategies :
- Features customizable exit indicators, offering a choice between SuperTrend and VStop .
- Provides dynamic, visually distinct trendlines for clear trend-following exits.
Unique Value:
- Unlike traditional single-purpose indicators, the Batman - Indicator integrates multiple tools into a single cohesive framework.
- Each component is independently configurable, allowing traders to adapt the indicator to their unique strategy and risk tolerance.
- Background color and plot shapes improve visual clarity, ensuring ease of use during fast-paced trading sessions.
Use Cases:
- Scalping and intraday trading with dynamic trend and volume signals.
- Swing and positional trading with long-term high/low levels and trend exits.
- Relative strength analysis for pair trading or benchmarking performance against broader markets.
How It Works:
- Trend Identification : Utilizes ADX and RSI to provide directional bias and signal overbought/oversold conditions.
- Volume Analysis : Highlights potential areas of interest based on abnormal volume activity.
- Breakout Signals : Detects new 52-week highs/lows and Donchian channel breakouts for actionable alerts.
- Exit Planning : Offers clear, customizable exit levels via SuperTrend or VStop, reducing emotional decision-making.
Configuration:
- The indicator includes customizable inputs for all calculations (length, thresholds, multipliers) to suit diverse market conditions and trading styles.
- Default settings provide a balanced approach suitable for most markets but can be tailored as needed.
---
Instructions for Use:
1. Add the indicator to your chart and configure the inputs according to your trading timeframe and asset type.
2. Pay attention to the ADX-RSI Scoring System for overall market sentiment.
3. Use volume-based price action and 52-week breakout signals to identify potential entries.
4. Exit trades based on the chosen exit indicator (SuperTrend or VStop) to manage risk and lock in profits.
Alerts:
- Set up alerts for scoring system changes, 52-week high/low breakouts, and exit signals for seamless trading automation.
Kairos StrategyKairos meaning: The right or critical moment
Overview
Kairos Strategy combines multiple technical indicators and filters to create a robust framework for identifying, confirming, and managing trade entries in both trending and ranging markets. The strategy's core revolves around Hull Moving Average (HMA) variants for primary trend detection, supported by VWMA, SMMA, and ZLSMA for precision in signal confirmation. The integration of Parabolic SAR, ATR-based Stop Loss, and RSI filters ensures accurate entry points and risk control. This multi-layered approach provides flexibility and reliability across timeframes and market conditions.
Methodology
The Kairos Strategy employs a systematic approach to analyze market dynamics:
Primary Trend Identification
The Hull Moving Average (HMA) and its variants (THMA and EHMA) detect major trends.
Users can adjust sources like VWMA, SMMA, and ZLSMA for improved accuracy and trend clarity.
Multi-Indicator Integration
Parabolic SAR signals align with price direction to identify actionable trade zones.
RSI Filters ensure trades occur during optimal momentum conditions, avoiding overbought/oversold areas.
Dynamic Risk Management
ATR-based Stop Loss adapts to volatility, ensuring proper risk/reward ratios.
A customizable trailing stop follows price movements, locking profits while minimizing risk.
Signal Filtering
To enhance reliability, entries are validated by avoiding conditions where price interacts directly with the moving averages.
Customization and Flexibility
The Kairos Strategy empowers traders to adapt to different trading styles and market environments through an array of customizable settings. Each component of the strategy is fine-tuned for flexibility and precision, ensuring it meets the diverse needs of its users.
Configurable Indicators and Sources
Select from multiple moving average options, including LSMA, VWMA, SMMA, VAMA, and ZLSMA, for trend identification and crossover signals.
Adjust the length, smoothing type, and multiplier settings for each indicator to suit various market conditions and timeframes.
Incorporate higher timeframes for broader trend validation without sacrificing detail on lower timeframes.
Risk-Reward Optimization
Define distinct risk-reward ratios for both long and short trades, allowing for tailored approaches to each market scenario.
Enable ATR-based stop-loss calculations for adaptive risk management that responds to market volatility.
Utilize bar-based stop-loss levels for simpler, price-action-driven risk placement.
Strategy Logic
The Kairos Strategy's multi-layered logic is designed to maximize trading opportunities while minimizing false signals:
Entry Conditions
Crossover Signals: The strategy identifies buy or sell signals when a selected moving average crosses over the Hull MA in the direction of the trend.
Momentum Validation: RSI filters ensure that entries are aligned with favorable momentum conditions, reducing exposure to false signals during choppy markets.
Trend Alignment: Parabolic SAR confirms that entries align with the current price trend, adding an additional layer of validation.
Price Interaction Check: The strategy avoids signals when price touches key levels, such as the moving averages or crossover sources, ensuring cleaner entries.
Exit Conditions
Stop-Loss Placement: Choose between ATR-based or bar-based stop-loss calculations, ensuring exits are optimized for risk control.
Take-Profit Targets: Automatically calculated based on customizable risk-reward ratios, providing a consistent framework for locking in gains.
Trailing Stops: Optional trailing stops dynamically adjust with price movement, preserving profits as trends evolve.
Key Benefits
Versatility Across Markets: Effective in both trending and ranging conditions, with settings adaptable to any trading style.
Enhanced Signal Accuracy: Multi-indicator validation and dynamic filtering reduce noise and improve entry timing.
Robust Risk Management: Advanced stop-loss and risk-reward configurations safeguard capital while optimizing trade potential.
User-Friendly Interface: Intuitive settings and customizable visuals make the strategy accessible to both novice and experienced traders.
Use Cases
Trend Trading: Utilize the Hull MA and its variants to capture long-term trends with precision and confidence.
Scalping: Leverage shorter timeframes and the strategy's adaptive indicators for quick, high-frequency trades.
Swing Trading: Combine multi-timeframe analysis and dynamic stop-loss settings to capture medium-term market moves.
Backtest Results
Symbol: BTCUSDT.P Bitcoin / TetherUS PREPERTUAL CONTRACT Binance
Timeframe: 1h
Operating window: Date range of backtests is 2022.01.08 - 2024.11.26. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.07% and accounts for possible slippage over 5 ticks.
Initial capital: 1000 USDT
Percent of capital used in every trade: 100 USDT on 30x leverage = 3000 USDT
Maximum Single Profit: 463.95 USDT
Maximum Single Position Loss: 219.34 USDT
Net Profit: +7,302.60 USDT (730.26%)
Total Trades: 156 (52.56% Win rate)
Profit Factor: 2.443
Maximum Drawdown: 640.29 USDT (-29.65%)
Average Profit per Trade: 46.81 USDT (+1.56%)
I recommend this strategy for leverage trading, that's why the trading properties are set this way!
Disclaimer
This tool is designed for educational and informational purposes, reflecting Kairos dedication to empowering traders with knowledge. Keep in mind that past performance is not indicative of future results. Always test strategies in a simulated environment before applying them in live markets.
[Venturose] MACD x BB x STDEV x RVIDescription:
The MACD x BB x STDEV x RVI combines MACD, Bollinger Bands, Standard Deviation, and Relative Volatility Index into a single tool. This indicator is designed to provide insights into market trends, momentum, and volatility. It generates buy and sell signals, by analyzing the interactions between these components. These buy and sell signals are not literal, and should be used in combination with the current trend.
How It Works:
MACD: Tracks momentum and trend direction using customizable fast and slow EMA periods.
Bollinger Bands: Adds volatility bands to MACD to identify overextension zones.
Standard Deviation: Dynamically adjusts the Bollinger Band width based on MACD volatility.
RVI (Relative Volatility Index): Confirms momentum extremes with upper and lower threshold markers.
Custom Logic: Includes a trigger system ("inside" or "flipped") to adapt signals to various market conditions and an optional filter to reduce noise.
Key Features:
Combines MACD and Bollinger Bands with volatility and momentum confirmations from RVI.
Dynamic color-coded plots for identifying bullish, bearish, and neutral trends.
Customizable parameters for tailoring the indicator to different strategies.
Optional signal filtering to refine buy and sell triggers.
Alerts for buy and sell signals based on signal logic.
Why It’s Unique:
This indicator combines momentum (MACD), volatility (Bollinger Bands and Standard Deviation), and confirmation signals (RVI thresholds) into a unified system. It introduces custom "inside" and "flipped" triggers for adaptable signal generation and includes signal filtering to reduce noise. The addition of RVI-based hints helps identify early overbought or oversold conditions, providing an extra layer of insight for decision-making. The dynamic integration of these components ensures a comprehensive yet straightforward analysis tool for various market conditions.
Z-ScoresTLDR
Z-Scores ask "How many standard deviations is the current price, away from the moving average?"
Or put another way, it tells you how an asset is performing relative to its own moving average, centered about the zero-point.
INTRODUCTION
Z-Scores are a fundamental statistical concept which take any dataset (in this case price), and present the data in terms of standard deviation. In the case of price, we're using *moving* standard deviations, much like we use a moving average.
A useful aspect of z-scores is that data oscillates around a zero point. The chart then presents the "number_of_standard_deviations" that price is, away from the moving average. So for example, if we're looking at the 100-day z-score, and the price = 0, that means that the current price is right at the 100-day moving average. If price = 1, that means that the price is 1 standard deviation above the 100-day moving average.
HOW DO I USE THIS?
This particular script offers a ribbon of z-scores (much like how you might have a ribbon of moving averages). You can enter up to 5 z-scores in the options. Enter "0" to remove a ribbon from the chart.
If you're a math nerd, you can also select "Use Log Transform," which effectively uses the geometric mean for z-score calculation. For charts that are rangebound, you dont really need this option, but for charts that are highly exponential, you might want to select this.
I've noticed that z-scores tend to behave similar to RSI. I prefer z-scores because they're a non-arbitrary, fundamental statistical concept, whereas the RSI calculation is somewhat arbitrary. I offer the z-score as a ribbon, because it removes the arbitrary nature of selecting one particular moving average
PRACTICAL APPLICATION
Z-Score prices are akin to a momentum and/or trend indicator. They're useful for identifying a trending market, or trend reversals, before the actual price begins to reverse in earnest. The RSI concept of "divergence" can be applied. It can also be used to see how far out of trend a particularly violent movement up/down is, historically.
Another particularly useful aspect of z-scores, is comparing the performance of two different assets with very different price points. For example, maybe one chart is measured in cents, and another chart is measured in billions. Z-Scores normalize prices to a zero point, and normalize differing volatility by presenting it in terms of standard deviations. I use this for comparing things like in-asset-class performance, and also comparing various asset classes to others.
Remember, the z-score tells you how an asset is performing relative to its own moving average, centered about the zero-point.
CLOSING
I'm adding this to the public repository because there isnt a good z-score implementation here on TradingView, and especially not one that offers an adjustable ribbon like this. For the sharp eye, there is useful signal in z-scores, whether applied to a single asset, or to compare the performance of two assets against each other.
IU Price Density(Market Noise)This Price density Indicator will help you understand what and how market noise is calculated and treated.
Market noise = when the market is moving up and down without any clear direction
The Price Density Indicator is a technical analysis tool used to measure the concentration or "density" of price movements within a specific range. It helps traders differentiate between noisy, choppy markets and trending ones.
I’ve developed a custom Pine Script indicator, "IU Price Density," designed to help traders distinguish between noisy, indecisive markets and clear trading opportunities. It can be applied across multiple markets.
How this work:
Formula = (Σ (High𝑖 - Low𝑖)) / (Max(High) - Min(Low))
Where,
High𝑖 = the high price at the 𝑖 data point.
Low𝑖 = the low price at the 𝑖 data point.
Max(High) = highest price over the data set.
Max(Low) = Lowest price over the data set.
How to use it :
This indicator ranges from 0 to 10
Green(0-3) = Trending Market
Orange(3-6) = Market is normal
Red(6-10) = Noise market
💡 Key Features:
Dynamic Visuals: The indicator uses color-coded signals—green for trending markets and red for noisy, volatile conditions—making it easy to identify optimal trading periods at a glance.
Background Shading: With background colors highlighting significant market conditions, traders can quickly assess when to engage or avoid certain trades.
Customizable Parameters: The length and smoothing factors allow for flexibility in adapting the indicator to various assets and timeframes.
Whether you're a swing trader or an intraday strategist, this tool provides valuable insights to improve your market analysis. I’m excited to bring this indicator to the community!
ATR% Multiple from Key Moving AverageThis script gives signal when the ATR% multiple from any chosen moving average is beyond the configurable threshold value. This indicator quantifies how extended the stock is from a given key moving average.
A lot of traders use ATR% multiple from 10DMA, 21EMA, 50SMA or 200SMA to determine how extended a stock is and accordingly sell partials or exit. By default the indicator takes 50SMA and when the ATR% multiple is greater than 7 then it gives the signal to take partials. You can back test this indicator with previous trades and determine the ideal threshold for the signal. For small and midcaps a threshold of 7 to 10 ATR% multiples from 50SMA is where partials can be taken while large caps can revert to mean even earlier at 3 to 5 ATR% multiples from 50SMA.
You can modify this script and use it anyway you please as long as you make it opensource on TradingView.
Z The Good Stuff +I created this script to have a couple datapoints that I want to look at when going through charts to find trade ideas. Qullamaggie is one of my biggest inspirations and I built in a couple of his concepts with a touch to help me with sizing properly, all explained below:
Box 1: ADR %, Average Daily Range, gives and indication of how volatile the stock is. It uses the 20 day average % move of the current stock on the chart.
Box 2: LOD Distance, low of day distance is a quality of life element I created. It calculates the low for the current candle and color codes it red or green depending on if it's higher or lower than the daily ADR. The logic is that if a stock has an average speed, buying on a setup it is preferred if the stop distance (assuming a low of day stop) should be less than the ADR to improve the odds of more upside.
Box 3: Todays DV, this shows a rough estimate of how much money was traded on the particular day.
Box 4: ADV 20 days, similar to above this shows the 20 day $ traded average. The point to look at it is to have a better idea what position size is possible to not get stuck in something too illiquid.
Box 5: Market cap, just shows the market cap of the stock to know what size the company is.
Box 6: Number of shares, this is an additional quality of life aspect. If using low of day stops, this part calculates based on the users' inputted portfolio size and portfolio risk preference and then calculates how many stocks to buy to stay within the risk parameters. It is obviously not a sole decision making parameter nor does it guarantee any execution, but if a stock is showing an entry you want to take you can use the number of shares to help you know how many to buy. The preset is a portfolio of 10000 and a risk of 0.25%. This means that the number of shares to buy will be at the current price with lod stop that would result in a 0.25% portfolio loss. OF COURSE the actual loss depends on the execution and if the user places a stop loss order.
Hope you find it useful and feel free to give feedback! Cheers!
Position Sizing Calculator (Real-Time)█ SUMMARY
The following indicator is a Position Sizing Calculator based on Average True Range (ATR), originally developed by market technician J. Welles Wilder Jr., intended for real-time trading.
This script utilizes the user's account size, acceptable risk percentage, and a stop-loss distance based on ATR to dynamically calculate the appropriate position size for each trade in real time.
█ BACKGROUND
Developed for use on the 5-minute timeframe, this script provides traders with continuously updated, dynamic position sizes. It enables traders to instantly determine the exact number of shares and dollar amount to use for entering a trade within their acceptable risk tolerance whenever a trade opportunity arises.
This real-time position sizing tool helps traders make well-informed decisions when planning trade entries and calculating maximum stop-loss levels, ultimately enhancing risk management.
█ USER INPUTS
Trading Account Size: Total dollar value of the user's trading account.
Acceptable Risk (%): Maximum percentage of the trading account that the user is willing to risk per trade.
ATR Multiplier for Stop-Loss: Multiplier used to determine the distance of the stop-loss from the current price, based on the ATR value.
ATR Length: The length of the lookback period used to calculate the ATR value.
ImbalancesThis Pine Script is a trading indicator designed to identify imbalances in the market, specifically on candlestick charts. An imbalance refers to situations where there is a significant difference between buyers and sellers, which can create gaps or areas of inefficiency in the price. These imbalances often act as zones where price may return to "fill" or correct these inefficiencies.
1. Identifying Imbalances
The script analyzes candlestick patterns to detect imbalances based on the relationship between the highs, lows, and closes of consecutive candles. Specifically, it looks for:
Top Imbalances (Bearish): Areas where selling pressure has dominated, causing inefficiencies in the price. These are represented by patterns like multiple consecutive bearish candles or bearish gaps.
Bottom Imbalances (Bullish): Areas where buying pressure has dominated, leading to bullish gaps or inefficiencies.
When an imbalance is detected, the script highlights the area using visual boxes on the chart.
2. Visual Representation
The indicator uses colored boxes to show imbalances directly on the chart:
Top (Bearish) Imbalances: Highlighted using shades of red.
Bottom (Bullish) Imbalances: Highlighted using shades of green.
The boxes are further categorized into three states based on their level of mitigation:
Unmitigated: The imbalance has not been "filled" by price yet.
Partially Mitigated: Price has entered the imbalance zone but not completely filled it.
Fully Mitigated: Price has completely filled the imbalance zone.
3. Mitigation Logic
The concept of mitigation refers to the price revisiting an imbalance zone to correct the inefficiency:
If price fully or partially revisits an imbalance zone, the box's color changes to indicate the mitigation level (e.g., from unmitigated to partially/fully mitigated).
Fully mitigated boxes may be removed or recolored, depending on user preferences.
4. User Customization
The script provides several inputs to customize its behavior:
Enable or disable top and bottom imbalance detection.
Color settings: Users can define different colors for unmitigated, partially mitigated, and fully mitigated imbalances.
Mitigation display options: Users can choose whether to show fully mitigated imbalances on the chart or remove them.
5. Key Calculations
Imbalance Size: The size of the imbalance is calculated as the price difference between a candle's high and low across the relevant pattern.
Pattern Detection: The script checks for specific candlestick patterns (e.g., three consecutive bearish candles) to identify potential imbalances.
6. Practical Use Case
This indicator is useful for traders who:
Rely on supply and demand zones for their trading strategies.
Look for areas where price is likely to return (retesting unmitigated imbalances can signal potential trade setups).
Want to visually track market inefficiencies over time.
In Summary
The "Imbalances" indicator highlights and tracks price inefficiencies on candlestick charts. It marks zones where buying or selling pressure was dominant, and it dynamically updates these zones based on price action to indicate their mitigation status. This tool is particularly helpful for traders who use price action and market structure in their strategies.
Ultimate Volatility RateUltimate Volatility Rate
This indicator measures the volatility of price movements.
Support and Resistance Identification:
High volatility periods indicate larger price movements, which can be useful in assessing the potential for support and resistance levels to be broken.
Stop Loss (SL) and Take Profit (TP) Calculations:
The average volatility can be used to calculate dynamic Stop Loss (SL) and Take Profit (TP) levels:
SL: Placing it at a certain volatility multiplier below/above the entry price.
TP: Setting it at a certain volatility multiplier below/above the entry price.
For example:
SL: Entry price +/- (UVR × 1.5)
TP: Entry price +/- (UVR × 2)
Market Condition Analysis:
When the indicator value is high, it suggests that the market is volatile (active).
When the value is low, it indicates the market is in consolidation (sideways movement).
This information helps traders decide whether to take trend-following or consolidation-based positions.
Trend Reversal Monitoring:
A sudden increase in volatility often signals the start of a strong trend.
Conversely, a decrease in volatility can signal the slowing down or end of a trend.