Lowess Channel + (RSI) [ChartPrime]The Lowess Channel + (RSI) indicator applies the LOWESS (Locally Weighted Scatterplot Smoothing) algorithm to filter price fluctuations and construct a dynamic channel. LOWESS is a non-parametric regression method that smooths noisy data by fitting weighted linear regressions at localized segments. This technique is widely used in statistical analysis to reveal trends while preserving data structure.
In this indicator, the LOWESS algorithm is used to create a central trend line and deviation-based bands. The midline changes color based on trend direction, and diamonds are plotted when a trend shift occurs. Additionally, an RSI gauge is positioned at the end of the channel to display the current RSI level in relation to the price bands.
lowess_smooth(src, length, bandwidth) =>
sum_weights = 0.0
sum_weighted_y = 0.0
sum_weighted_xy = 0.0
sum_weighted_x2 = 0.0
sum_weighted_x = 0.0
for i = 0 to length - 1
x = float(i)
weight = math.exp(-0.5 * (x / bandwidth) * (x / bandwidth))
y = nz(src , 0)
sum_weights := sum_weights + weight
sum_weighted_x := sum_weighted_x + weight * x
sum_weighted_y := sum_weighted_y + weight * y
sum_weighted_xy := sum_weighted_xy + weight * x * y
sum_weighted_x2 := sum_weighted_x2 + weight * x * x
mean_x = sum_weighted_x / sum_weights
mean_y = sum_weighted_y / sum_weights
beta = (sum_weighted_xy - mean_x * mean_y * sum_weights) / (sum_weighted_x2 - mean_x * mean_x * sum_weights)
alpha = mean_y - beta * mean_x
alpha + beta * float(length / 2) // Centered smoothing
⯁ KEY FEATURES
LOWESS Price Filtering – Smooths price fluctuations to reveal the underlying trend with minimal lag.
Dynamic Trend Coloring – The midline changes color based on trend direction (e.g., bullish or bearish).
Trend Shift Diamonds – Marks points where the midline color changes, indicating a possible trend shift.
Deviation-Based Bands – Expands above and below the midline using ATR-based multipliers for volatility tracking.
RSI Gauge Display – A vertical gauge at the right side of the chart shows the current RSI level relative to the price channel.
Fully Customizable – Users can adjust LOWESS length, band width, colors, and enable or disable the RSI gauge and adjust RSIlength.
⯁ HOW TO USE
Use the LOWESS midline as a trend filter —bullish when green, bearish when purple.
Watch for trend shift diamonds as potential entry or exit signals.
Utilize the price bands to gauge overbought and oversold zones based on volatility.
Monitor the RSI gauge to confirm trend strength—high RSI near upper bands suggests overbought conditions, while low RSI near lower bands indicates oversold conditions.
⯁ CONCLUSION
The Lowess Channel + (RSI) indicator offers a powerful way to analyze market trends by applying a statistically robust smoothing algorithm. Unlike traditional moving averages, LOWESS filtering provides a flexible, responsive trendline that adapts to price movements. The integrated RSI gauge enhances decision-making by displaying momentum conditions alongside trend dynamics. Whether used for trend-following or mean reversion strategies, this indicator provides traders with a well-rounded perspective on market behavior.
インジケーターとストラテジー
Uptrick: Acceleration ShiftsIntroduction
Uptrick: Acceleration Shifts is designed to measure and visualize price momentum shifts by focusing on acceleration —the rate of change in velocity over time. It uses various moving average techniques as a trend filter, providing traders with a clearer perspective on market direction and potential trade entries or exits.
Purpose
The main goal of this indicator is to spot strong momentum changes (accelerations) and confirm them with a chosen trend filter. It attempts to distinguish genuine market moves from noise, helping traders make more informed decisions. The script can also trigger multiple entries (smart pyramiding) within the same trend, if desired.
Overview
By measuring how quickly price velocity changes (acceleration) and comparing it against a smoothed average of itself, this script generates buy or sell signals once the acceleration surpasses a given threshold. A trend filter is added for further validation. Users can choose from multiple smoothing methods and color schemes, and they can optionally enable a small table that displays real-time acceleration values.
Originality and Uniqueness
This script offers an acceleration-based approach, backed by several different moving average choices. The blend of acceleration thresholds, a trend filter, and an optional extra-entry (pyramiding) feature provides a flexible toolkit for various trading styles. The inclusion of multiple color themes and a slope-based coloring of the trend line adds clarity and user customization.
Inputs & Features
1. Acceleration Length (length)
This input determines the number of bars used when calculating velocity. Specifically, the script computes velocity by taking the difference in closing prices over length bars, and then calculates acceleration based on how that velocity changes over an additional length. The default is 14.
2. Trend Filter Length (smoothing)
This sets the lookback period for the chosen trend filter method. The default of 50 results in a moderately smooth trend line. A higher smoothing value will create a slower-moving trend filter.
3. Acceleration Threshold (threshold)
This multiplier determines when acceleration is considered strong enough to trigger a main buy or sell signal. A default value of 2.5 means the current acceleration must exceed 2.5 times the average acceleration before signaling.
4. Smart Pyramiding Strength (pyramidingThreshold)
This lower threshold is used for additional (pyramiding) entries once the main trend has already been identified. For instance, if set to 0.5, the script looks for acceleration crossing ±0.5 times its average acceleration to add extra positions.
5. Max Pyramiding Entries (maxPyramidingEntries)
This sets a limit on how many extra positions can be opened (beyond the first main signal) in a single directional trend. The default of 3 ensures traders do not become overexposed.
6. Show Acceleration Table (showTable)
When enabled, a small table displaying the current acceleration and its average is added to the top-right corner of the chart. This table helps monitor real-time momentum changes.
7. Smart Pyramiding (enablePyramiding)
This toggle decides whether additional entries (buy or sell) will be generated once a main signal is active. If enabled, these extra signals act as filtered entries, only firing when acceleration re-crosses a smaller threshold (pyramidingThreshold). These signals have a '+' next to their signal on the label.
8. Select Color Scheme (selectedColorScheme)
Allows choosing between various pre-coded color themes, such as Default, Emerald, Sapphire, Golden Blaze, Mystic, Monochrome, Pastel, Vibrant, Earth, or Neon. Each theme applies a distinct pair of colors for bullish and bearish conditions.
9. Trend Filter (TrendFilter)
Lets the user pick one of several moving average approaches to determine the prevailing trend. The options include:
Short Term (TEMA)
EWMA
Medium Term (HMA)
Classic (SMA)
Quick Reaction (DEMA)
Each method behaves differently, balancing reactivity and smoothness.
10. Slope Lookback (slopeOffset)
Used to measure the slope of the trend filter over a set number of bars (default is 10). This slope then influences the coloring of the trend filter line, indicating bullish or bearish tilt.
Note: The script refers to this as the "Massive Slope Index," but it effectively serves as a Trend Slope Calculation, measuring how the chosen trend filter changes over a specified period.
11. Alerts for Buy/Sell and Pyramiding Signals
The script includes built-in alert conditions that can be enabled or configured. These alerts trigger whenever the script detects a main Buy or Sell signal, as well as extra (pyramiding) signals if Smart Pyramiding is active. This feature allows traders to receive immediate notifications or automate a trading response.
Calculation Methodology
1. Velocity and Acceleration
Velocity is derived by subtracting the closing price from its value length bars ago. Acceleration is the difference in velocity over an additional length period. This highlights how quickly momentum is shifting.
2. Average Acceleration
The script smooths raw acceleration with a simple moving average (SMA) using the smoothing input. Comparing current acceleration against this average provides a threshold-based signal mechanism.
3. Trend Filter
Users can pick one of five moving average types to form a trend baseline. These range from quick-reacting methods (DEMA, TEMA) to smoother options (SMA, HMA, EWMA). The script checks whether the price is above or below this filter to confirm trend direction.
4. Buy/Sell Logic
A buy occurs when acceleration surpasses avgAcceleration * threshold and price closes above the trend filter. A sell occurs under the opposite conditions. An additional overbought/oversold check (based on a longer SMA) refines these signals further.
When price is considered oversold (i.e., close is below a longer-term SMA), a bullish acceleration signal has a higher likelihood of success because it indicates that the market is attempting to reverse from a lower price region. Conversely, when price is considered overbought (close is above this longer-term SMA), a bearish acceleration signal is more likely to be valid. This helps reduce false signals by waiting until the market is extended enough that a reversal or continuation has a stronger chance of following through.
5. Smart Pyramiding
Once a main buy or sell signal is triggered, additional (filtered) entries can be taken if acceleration crosses a smaller multiplier (pyramidingThreshold). This helps traders scale into strong moves. The script enforces a cap (maxPyramidingEntries) to limit risk.
6. Visual Elements
Candles can be recolored based on the active signal. Labels appear on the chart whenever a main or pyramiding entry signal is triggered. An optional table can show real-time acceleration values.
Color Schemes
The script includes a variety of predefined color themes. For bullish conditions, it might use turquoise or green, and for bearish conditions, magenta or red—depending on which color scheme the user selects. Each scheme aims to provide clear visual differentiation between bullish and bearish market states.
Why Each Indicator Was Part of This Component
Acceleration is employed to detect swift changes in momentum, capturing shifts that may not yet appear in more traditional measures. To further adapt to different trading styles and market conditions, several moving average methods are incorporated:
• TEMA (Triple Exponential Moving Average) is chosen for its ability to reduce lag more effectively than a standard EMA while still reacting swiftly to price changes. Its construction layers exponential smoothing in a way that can highlight sudden momentum shifts without sacrificing too much smoothness.
• DEMA (Double Exponential Moving Average) provides a faster response than a single EMA by using two layers of exponential smoothing. It is slightly less smoothed than TEMA but can alert traders to momentum changes earlier, though with a higher risk of noise in choppier markets.
• HMA (Hull Moving Average) is known for its balance of smoothness and reduced lag. Its weighted calculations help track trend direction clearly, making it useful for traders who want a smoother line that still reacts fairly quickly.
• SMA (Simple Moving Average) is the classic baseline for smoothing price data. It offers a clear, stable perspective on long-term trends, though it reacts more slowly than other methods. Its simplicity can be beneficial in lower-volatility or more stable market environments.
• EWMA (Exponentially Weighted Moving Average) provides a middle ground by emphasizing recent price data while still retaining some degree of smoothing. It typically responds faster than an SMA but is less aggressive than DEMA or TEMA.
Alongside these moving average techniques, the script employs a slope calculation (referred to as the “Massive Slope Index”) to visually indicate whether the chosen filter is sloping upward or downward. This adds an extra layer of clarity to directional analysis. The indicator also uses overbought/oversold checks, based on a longer-term SMA, to help filter out signals in overstretched markets—reducing the likelihood of false entries in conditions where the price is already extensively extended.
Additional Features
Alerts can be set up for both main signals and additional pyramiding signals, which is helpful for automated or semi-automated trading. The optional acceleration table offers quick reference values, making momentum monitoring more intuitive. Including explicit alert conditions for Buy/Sell and Pyramiding ensures traders can respond promptly to market movements or integrate these triggers into automated strategies.
Summary
This script serves as a comprehensive momentum-based trading framework, leveraging acceleration metrics and multiple moving average filters to identify potential shifts in market direction. By combining overbought/oversold checks with threshold-based triggers, it aims to reduce the noise that commonly plagues purely reactive indicators. The flexibility of Smart Pyramiding, customizable color schemes, and built-in alerts allows users to tailor their experience and respond swiftly to valid signals, potentially enhancing trading decisions across various market conditions.
Disclaimer
All trading involves significant risk, and users should apply their own judgment, risk management, and broader analysis before making investment decisions.
Williams Fractals Ultimate (Donchian Adjusted)Williams Fractals Ultimate (Donchian Adjusted)
Understanding Williams Fractals
Williams Fractals are a simple yet powerful tool used to identify potential turning points in the market. They highlight local highs (up fractals) and local lows (down fractals) based on a set period.
An up fractal appears when a price peak is higher than the surrounding prices.
A down fractal appears when a price low is lower than the surrounding prices.
Fractals help traders spot support and resistance levels, potential trend reversals, and price breakout zones.
Why Adjust Fractals with the Donchian Channel?
The standard Williams Fractals method identifies local highs and lows without considering broader market context. This script enhances fractal accuracy by integrating the Donchian Channel, which tracks the highest highs and lowest lows over a set period.
- The Donchian Baseline is calculated as the average of the highest high and lowest low over a selected period.
- Fractals are filtered based on this baseline:
Up Fractals are only shown if they are above the Donchian baseline.
Down Fractals are only shown if they are below the Donchian baseline.
This filtering method removes weak signals and ensures that only relevant fractals aligned with market structure are displayed.
Key Features of the Script
Customizable Fractal & Donchian Periods – Allows traders to fine-tune fractal sensitivity.
Donchian-Based Filtering – Reduces noise and highlights meaningful fractals.
Fractal ZigZag Line (Optional) – Helps visualize price swings more clearly.
Why Is This So Effective?
Stronger trend signals – Filtering with the Donchian baseline eliminates unreliable fractals.
Clearer price action – The optional ZigZag line visually connects significant highs and lows.
Easy trend identification – Helps traders confirm breakout zones and key price levels.
This script is a technical analysis tool and does not guarantee profitable trades. Always combine it with other indicators and risk management strategies before making trading decisions.
FOMO Indicator - % of Stocks Above 5-Day AvgThe FOMO Indicator plots the breadth indicators NCFD and S5FD below the price chart, representing the percentage of stocks in the Nasdaq Composite (NCFD) or S&P 500 (S5FD) trading above their respective 5-day moving averages.
This indicator identifies short-term market sentiment and investor positioning. When over 85% of stocks exceed their 5-day averages, it signals widespread buying pressure and potential FOMO (Fear Of Missing Out) among investors. Conversely, levels below 15% may indicate oversold conditions. By analyzing these breadth metrics over a short time window, the FOMO Indicator helps traders gauge shifts in investor sentiment and positioning.
TASC 2025.04 The Ultimate Oscillator█ OVERVIEW
This script implements an alternative, refined version of the Ultimate Oscillator (UO) designed to reduce lag and enhance responsiveness in momentum indicators, as introduced by John F. Ehlers in his article "Less Lag In Momentum Indicators, The Ultimate Oscillator" from the April 2025 edition of TASC's Traders' Tips .
█ CONCEPTS
In his article, Ehlers states that indicators are essentially filters that remove unwanted noise (i.e., unnecessary information) from market data. Simply put, they process a series of data to place focus on specific information, providing a different perspective on price dynamics. Various filter types attenuate different periodic signals within the data. For instance, a lowpass filter allows only low-frequency signals, a highpass filter allows only high-frequency signals, and a bandpass filter allows signals within a specific frequency range .
Ehlers explains that the key to removing indicator lag is to combine filters of different types in such a way that the result preserves necessary, useful signals while minimizing delay (lag). His proposed UltimateOscillator aims to maintain responsiveness to a specific frequency range by measuring the difference between two highpass filters' outputs. The oscillator uses the following formula:
UO = (HP1 - HP2) / RMS
Where:
HP1 is the first highpass filter.
HP2 is another highpass filter that allows only shorter wavelengths than the critical period of HP1.
RMS is the root mean square of the highpass filter difference, used as a scaling factor to standardize the output.
The resulting oscillator is similar to a bandpass filter , because it emphasizes wavelengths between the critical periods of the two highpass filters. Ehlers' UO responds quickly to value changes in a series, providing a responsive view of momentum with little to no lag.
█ USAGE
Ehlers' UltimateOscillator sets the critical periods of its highpass filters using two parameters: BandEdge and Bandwidth :
The BandEdge sets the critical period of the second highpass filter, which determines the shortest wavelengths in the response.
The Bandwidth is a multiple of the BandEdge used for the critical period of the first highpass filter, which determines the longest wavelengths in the response. Ehlers suggests that a Bandwidth value of 2 works well for most applications. However, traders can use any value above or equal to 1.4.
Users can customize these parameters with the "Bandwidth" and "BandEdge" inputs in the "Settings/Inputs" tab.
The script plots the UO calculated for the specified "Source" series in a separate pane, with a color based on the chart's foreground color. Positive UO values indicate upward momentum or trends, and negative UO values indicate the opposite.
Additionally, this indicator provides the option to display a "cloud" from 10 additional UO series with different settings for an aggregate view of momentum. The "Cloud" input offers four display choices: "Bandwidth", "BandEdge", "Bandwidth + BandEdge", or "None".
The "Bandwidth" option calculates oscillators with different Bandwidth values based on the main oscillator's setting. Likewise, the "BandEdge" option calculates oscillators with varying BandEdge values. The "Bandwidth + BandEdge" option calculates the extra oscillators with different values for both parameters.
When a user selects any of these options, the script plots the maximum and minimum oscillator values and fills their space with a color gradient. The fill color corresponds to the net sum of each UO's sign , indicating whether most of the UOs reflect positive or negative momentum. Green hues mean most oscillators are above zero, signifying stronger upward momentum. Red hues mean most are below zero, indicating stronger downward momentum.
Croak Indicator 🐸🐸 Croak Indicator - Fun & Unique Market Visualizer! 🐸
🚀 Overview:
The Croak Indicator is a fun, meme-inspired market visualizer that brings froggy energy to your charts! 🐸📈 This indicator tracks market swings by detecting bullish and bearish trends using smooth Bezier curves, helping traders visualize momentum and reversals in an entertaining way.
🔹 When the frog appears (🐸), it's time to watch for a bullish move!
🔹 When the fox appears (🦊), the frog is hiding – potential bearish movement!
🔹 Arcs display smooth price momentum shifts for better trend tracking.
📊 How It Works:
✔ Frog Jumps (Green Arc 🟢) → Indicates a potential bullish move when price finds support.
✔ Frog Dives (Red Arc 🔴) → Indicates a potential bearish move when price hits resistance.
✔ Uses RSI, MACD, and market structure to enhance signal accuracy.
✔ Background shading shows trend strength (green = bullish, red = bearish).
✔ Frog Jump Score provides additional trend confidence metrics.
🔥 Features:
✅ Fun & Engaging TradingView Indicator – Great for meme traders!
✅ Buy/Sell Signals with Frog (🐸) & Fox (🦊) Icons
✅ Smooth Bezier Curve Logic for Better Visualization
✅ Customizable Colors & Background Zones
✅ Built-In Alerts for Entry/Exit Signals
⚠️ Disclaimer:
🚨 This indicator is for entertainment purposes only and is NOT financial advice!
💡 Trading involves risk – always do your own research before making financial decisions.
📌 The creator of this indicator (@andreou00_) is NOT responsible for any losses.
📢 Follow the creator on Twitter/X: @andreou00_
Enjoy the Croak Indicator and let your trades jump to the moon! 🚀🐸
5min FVG & Trade SignalDetects:
1) 5min FVGs based on a 3 candle pattern
2) Market structure for 5min/15min/1H based on swing lows and highs
3) Defines current dealing range start and end based on 15min dealing range
4) Provides buy/sell signals based on market structure
Leveler - Support & Resistance DetectionLeveler – Support & Resistance Detection is a dynamic script that identifies key pivot points on your chart by analyzing high-volume pivot highs and lows. It then plots multiple support and resistance levels on the chart (with optional gradient styling for enhanced visuals) and highlights areas where the price is close to these levels, helping traders quickly spot potential reversal or breakout points.
Utility Functions
• calcBarsAgo(condition, occurrence): Calculates how many bars have elapsed since a given condition was true.
• ensureBars(cond, occ): Guarantees that there is at least one bar since the condition occurred.
• valueOnEvent(condition, expression, occurrence): Retrieves the value of an expression at the time of the specified event occurrence.
• joinNum(prefix, num): Concatenates a prefix string with a numeric value for labeling purposes.
• roundVal(x): Rounds a number to a set number of decimal places based on the symbol’s tick size.
• f_lerpColor(c1, _c2, _t): A custom interpolation (lerp) function that calculates intermediate colors—a key part of the gradient styling feature.
Time Filtering
• The indicator includes a time filter (using a cutoff timestamp) to ensure that only data within a specified time range is considered.
Input Settings
• Display Options:
– Toggle on/off to show the S/R levels and price tags.
– Control the number (1 to 5) of support/resistance levels displayed.
• Volume Settings:
– Inputs for adjusting the volume lookback period and multiplier, which are used in the validation of pivot levels.
• Style Settings:
– Options for the type of line style (Solid, Dashed, or Dotted), line width, and line extension (left, right, both, none).
– Color inputs are provided for both support and resistance lines and text.
• Gradient Styling Inputs:
– A new toggle (“Use Gradient for S/R Lines”) enables gradient drawing.
– The user can specify the number of gradient steps as well as separate start and end colors for supports and resistances.
Pivot Calculation
• Volume Filter:
– The indicator computes an average volume (using a specified lookback) and compares the pivot bar’s volume to ensure only high-volume pivots are considered valid.
• Pivot Determination:
– Uses built-in functions (ta.pivothigh and ta.pivotlow) to determine if a pivot high or low exists based on the defined lookback window and volume multiplier.
– Captures primary, secondary, and tertiary pivot values for both highs (resistance) and lows (support).
• Offset Calculations:
– Determines the proper alignment (offsets) for drawing the pivot lines based on when each pivot occurred, including alternative values to resolve ambiguities.
Series Assembly
• A dedicated function gathers a series of support and resistance values along with their corresponding offsets.
• This results in arrays of up to five support and resistance levels that the indicator will draw, conforming to the “Number of S/R Levels to Display” input.
Drawing Utilities
• drawLineAndLabel:
– This central function draws a support or resistance line and its associated label.
– If gradient styling is enabled, the function subdivides the line into several segments (based on the chosen gradient steps). For each segment, it calculates an interpolated color using the f_lerpColor function so that the overall line appears as a smoothly transitioning gradient.
– Otherwise, it simply draws a single line with the selected style and color.
• formatLabel:
– Constructs the label text by combining a prefix (such as “← SUP:” or “← RES:”) with the rounded pivot value.
Drawing the Pivot Levels
• Based on the user’s settings, the indicator draws the desired number of support and resistance lines.
• Multiple “if” conditions check the “displayLevels” input to ensure that only the desired number of levels are rendered.
• Each level is drawn using the drawLineAndLabel function, thereby incorporating both standard and gradient styles.
Additional Feature – Highlighting Near Levels
• The indicator optionally plots small shapes (triangles) to flag when the current price is very near any of the drawn support or resistance levels.
• This “near level” highlighting uses a tolerance percentage (configurable by the user) to determine if the current price is close enough to warrant a visual cue.
Volume Profile [ActiveQuants]The Volume Profile indicator visualizes the distribution of trading volume across price levels over a user-defined historical period. It identifies key liquidity zones, including the Point of Control (POC) (price level with the highest volume) and the Value Area (price range containing a specified percentage of total volume). This tool is ideal for traders analyzing support/resistance levels, market sentiment , and potential price reversals .
█ CORE METHODOLOGY
Vertical Price Rows: Divides the price range of the selected lookback period into equal-height rows.
Volume Aggregation: Accumulates bullish/bearish or total volume within each price row.
POC: The row with the highest total volume.
Value Area: Expands from the POC until cumulative volume meets the user-defined threshold (e.g., 70%).
Dynamic Visualization: Rows are plotted as horizontal boxes with widths proportional to their volume.
█ KEY FEATURES
- Customizable Lookback & Resolution
Adjust the historical period ( Lookback ) and granularity ( Number of Rows ) for precise analysis.
- Configurable Profile Width & Horizontal Offset
Control the relative horizontal length of the profile rows, and set the distance from the current bar to the POC row’s anchor.
Important: Do not set the horizontal offset too high. Indicators cannot be plotted more than 500 bars into the future.
- Value Area & POC Highlighting
Set the percentage of total volume required to form the Value Area , ensuring that key volume levels are clearly identified.
Value Area rows are colored distinctly, while the POC is marked with a bold line.
- Flexible Display Options
Show bullish/bearish volume splits or total volume.
Place the profile on the right or left of the chart.
- Gradient Coloring
Rows fade in color intensity based on their relative volume strength .
- Real-Time Adjustments
Modify horizontal offset, profile width, and appearance without reloading.
█ USAGE EXAMPLES
Example 1: Basic Volume Profile with Value Area
Settings:
Lookback: 500 bars
Number of Rows: 100
Value Area: 70%
Display Type: Up/Down
Placement: Right
Image Context:
The profile appears on the right side of the chart. The POC (orange line) marks the highest volume row. Value Area rows (green/red) extend above/below the POC, containing 70% of total volume.
Example 2: Total Volume with Gradient Colors
Settings:
Lookback: 800 bars
Number of Rows: 100
Profile Width: 60
Horizontal Offset: 20
Display Type: Total
Gradient Colors: Enabled
Image Context:
Rows display total volume in a single color with gradient transparency. Darker rows indicate higher volume concentration.
Example 3: Left-Aligned Profile with Narrow Value Area
Settings:
Lookback: 600 bars
Number of Rows: 100
Profile Width: 45
Horizontal Offset: 500
Value Area: 50%
Profile Placement: Left
Image Context:
The profile shifts to the left, with a tighter Value Area (50%).
█ USER INPUTS
Calculation Settings
Lookback: Historical bars analyzed (default: 500).
Number of Rows: Vertical resolution of the profile (default: 100).
Profile Width: Horizontal length of rows (default: 50).
Horizontal Offset: Distance from the current bar to the POC (default: 50).
Value Area (%): Cumulative volume threshold for the Value Area (default: 70%).
Volume Display: Toggle between Up/Down (bullish/bearish) or Total volume.
Profile Placement: Align profile to the Right or Left of the chart.
Appearance
Rows Border: Customize border width/color.
Gradient Colors: Enable fading color effects.
Value Area Colors: Set distinct colors for bullish and bearish Value Area rows.
POC Line: Adjust color, width, and visibility.
█ CONCLUSION
The Volume Profile indicator provides a dynamic, customizable view of market liquidity. By highlighting the POC and Value Area, traders can identify high-probability reversal zones, gauge market sentiment, and align entries/exits with key volume levels.
█ IMPORTANT NOTES
⚠ Lookback Period: Shorter lookbacks prioritize recent activity but may omit critical levels.
⚠ Horizontal Offset Limitation: Avoid excessively high offsets (e.g., close to ±300). TradingView restricts plotting indicators more than 500 bars into the future, which may truncate or hide the profile.
⚠ Risk Management: While the indicator highlights areas of concentrated volume, always use it in combination with other technical analysis tools and proper risk management techniques.
█ RISK DISCLAIMER
Trading involves substantial risk. The Volume Profile highlights historical liquidity but does not predict future price movements. Always use stop-loss orders and confirm signals with additional analysis. Past performance is not indicative of future results.
📊 Happy trading! 🚀
Initial BalanceInitial Balance Pro – Precision Trading with Market Open Dynamics
The Initial Balance Pro indicator is designed to provide traders with a clear, structured view of the market's opening price action, helping to identify key levels for intraday trading. It automatically calculates and plots the initial balance (IB) high and low, allowing traders to gauge early market sentiment and potential breakout zones.
Features:
✅ Customizable Initial Balance Period – Set your preferred IB range, whether the first 30, 60, or any custom minutes after market open.
✅ Breakout & Rejection Zones – Visually highlight key areas where price action may find support, resistance, or breakout opportunities.
✅ Midpoint & Extension Levels – Identify the IB midpoint and customizable extension levels to anticipate possible price targets.
✅ Session Flexibility – Works across various trading sessions, including pre-market and post-market hours.
✅ Alerts & Notifications – Get notified when price breaches IB levels, helping you stay ahead of key moves.
Why Use Initial Balance?
The initial balance is a fundamental concept in market profile analysis. Institutional traders often set their positions within this range, making it a crucial reference point for potential trend continuation or reversal. When price breaks above or below the IB, it can signal high-probability trade opportunities, especially when combined with volume and order flow analysis.
Perfect For:
📈 Futures & Forex Traders – Utilize the IB for breakout and mean-reversion strategies.
📊 Equity & Options Traders – Identify key levels for intraday momentum plays.
🔍 Price Action Traders – Improve trade execution with a structured market approach.
Optimize your intraday trading strategy with Initial Balance Pro , giving you a refined edge in market structure and price action analysis. 🚀
Price and Volume Breakout - Jemmy TradeThe "Price and Volume Breakout" indicator is designed to identify potential breakout opportunities by analyzing both price and volume trends. It uses a combination of historical price highs, volume peaks, and a customizable Simple Moving Average (SMA) to signal bullish breakouts. When the price exceeds the highest price of the defined breakout period and is supported by high volume, the indicator triggers visual alerts on the chart. These include dotted lines, labels, and boxes highlighting accumulation zones, along with dynamically calculated stop loss and take profit levels.
Key Features:
• Breakout Detection: Compares the current closing price to the highest price and volume over specified periods to signal a breakout.
• Customizable Stop Loss Options: Offers three methods for setting stop loss levels:
o Below SMA: Positions stop loss a user-defined percentage below the SMA.
o Lowest Low: Uses the lowest low over a specific look-back period.
o Range Average: Calculates an average based on the previous price range.
• Dynamic Take Profit Calculation: Automatically computes take profit levels based on the defined risk-to-reward ratio.
• Visual Chart Elements: Draws breakout lines, stop loss and take profit indicators, labels (e.g., "🚀 Breakout Buy", "🔴 Stop Loss", "🟢 Take Profit"), and boxes marking accumulation zones for easy visualization.
• Alert Conditions: Includes alert functionality to notify traders when breakout conditions are met, enabling timely trading decisions.
How to Use:
1. Customization: Adjust settings such as the breakout periods for price and volume, the length of the SMA, stop loss options, and the risk-to-reward ratio to fit your trading strategy.
2. Signal Identification: When the price exceeds the highest value from the previous period, accompanied by high volume and confirmation from the SMA, the indicator displays a "Breakout Buy" signal.
3. Risk Management: The indicator calculates appropriate stop loss and take profit levels automatically based on your selected parameters, ensuring a balanced risk/reward setup.
4. Alerts: Utilize the built-in alert conditions to receive notifications whenever the breakout criteria are satisfied, helping you act promptly.
PLEASE USE IT AS PER YOUR OWN RISK MANAGEMENT STRATEGIES.
Keywords:
#Breakout #Trading #VolumeAnalysis #TechnicalAnalysis #PriceAction #RiskManagement #TrendFollowing #TradingSignals #PriceBreakout #SmartTrading #JemmyTrade
Smart Money Concepts mm50 [ttm]This script is based on LuxAlgo's Smart Money Concepts indicator, which helps traders analyze market structure by detecting Break of Structure (BOS), Change of Character (CHoCH), Order Blocks (OB), and Fair Value Gaps (FVG). It visually represents key price action zones and trends for better decision-making in trading.
Modification: Added 50-Period Moving Average (MM50)
A 50-period Simple Moving Average (SMA) has been incorporated into the script to provide additional trend analysis.
PVSRA with alerts by YogamarcThis version of pvsra has background shading as the alert (for abnormal volume spikes) as an option
Velowave Volume OscillatorInputs and Settings
• Basic Settings:
– Define parameters like the volume moving average period (vmaPeriod)
– Choose the smoothing method for the volume MA (e.g. SMA, EMA, RMA, etc.)
– Toggle whether to display the volume MA
• Color Settings:
– Set the neutral color (base for upward/downward changes)
– Define rising and falling volume colors for bullish and bearish bars
– Adjust color sensitivity
• Advanced Settings:
– Set the Volume Oscillator Scale Factor (to amplify differences)
– Specify the Histogram Smoothing Period and choose the smoothing method (EMA, RMA, or SMA)
– Add additional inputs for the fast and slow Volume MA Oscillator lines
Core Calculations
• Raw Oscillator Computation:
– For each bar, if the close is above the open, take the volume as positive; if below, take it as negative (or zero if equal)
• Smoothing the Oscillator:
– Smooth the raw oscillator value using the selected smoothing method over the defined period
• Volume Average and Relative Volume:
– Calculate the average volume using a simple moving average (SMA) over the specified period
– Compute the relative volume by comparing the raw oscillator to the average volume (ensuring that when volume equals its average, the result is zero)
– Scale the relative volume using the supplied scale factor
• Fast and Slow Oscillator Lines:
– Compute a fast line using an EMA on the scaled relative volume
– Compute a slow line similarly, providing an additional layer of volume trend smoothing
Visual Representation
• Gradient Histogram:
– Generate a gradient color for the oscillator histogram by linearly interpolating between the neutral color and either the rising or falling color
– The gradient intensity depends on the oscillator’s magnitude relative to a user-defined maximum
• Plotting Elements:
– Display the oscillator as a column histogram with the gradient color
– Overlay a line plot of the oscillator for additional clarity
– Plot the fast and slow Volume MA Oscillator lines for comparison
– Draw a horizontal zero line as a reference level
• Signal Markers:
– Place up (triangle-up) and down (triangle-down) markers on bullish or bearish crossovers of the oscillator through zero
Fibonacci - DolphinTradeBot
OVERVIEW
The 'Fibonacci - DolphinTradeBot' indicator is a Pine Script-based tool for TradingView that dynamically identifies key Fibonacci retracement levels using ZigZag price movements. It aims to replicate the Fibonacci Retracement tool available in TradingView’s drawing tools. The indicator calculates Fibonacci levels based on directional price changes, marking critical retracement zones such as 0, 0.236, 0.382, 0.5, 0.618, 0.786, and 1.0 on the chart. These levels are visualized with lines and labels, providing traders with precise areas of potential price reversals or trend continuation.
HOW IT WORKS ?
The indicator follows a zigzag formation. After a large swing movement, when new swings are formed without breaking the upper and lower levels, it places Fibonacci levels at the beginning and end points of the major swing movement."
▪️(Bullish) Structure :High → HigherLow → LowerHigh
▪️(Bearish) Structure :Low → LowerHigh → HigherLow
▪️When Fibonacci retracement levels are determined, a "📌" mark appears on the chart.
▪️If the price closes outside of these levels, a "❌" mark will appear.
USAGE
This indicator is designed to plot Fibonacci levels within an accumulation zone following significant price movements, helping you identify potential support and resistance. You can adjust the pivot periods to customize the zigzag settings to your preference. While classic Fibonacci levels are used by default, you also have the option to input custom levels and assign your preferred colors.
Set the Fibonacci direction option to "upward" to detect only bullish structures, "downward" to detect only bearish structures, and "both" to see both at the same time.
"To view past levels, simply enable the ' Show Previous Levels ' option, and to display the zigzag lines, activate the ' Show Zigzag ' setting."
ALERTS
The indicator, by default, triggers an alarm when both a level is formed and when a level is broken. However, if you'd like, you can select the desired level from the " Select Level " section in the indicator settings and set the alarm based on one of the conditions below.
▪️ cross-up → If the price breaks the Fibonacci level to the upside.
▪️ cross-down → If the price breaks the Fibonacci level to the downside.
▪️ cross-any → If the price breaks the Fibonacci level in any direction.
Multi Stoch JXThis script combines the 9-minute, 27-minute, and 81-minute Stochastic RSI (Relative Strength Index) indicators to offer a multi-timeframe approach to market analysis. The 9-minute Stochastic RSI focuses on short-term price movements, while the 27-minute and 81-minute Stochastic RSI help capture medium to long-term trends. By analyzing the Stochastic RSI across these three different timeframes, the script provides a more comprehensive view of market conditions, helping traders identify overbought or oversold levels and potential trend reversals for more informed trading decisions.
Sweep and CementedSweep and cemented candle with plot shape.
Sweep và Cemented Candle hỗ trợ các nhà giao dịch trong việc nhận diện xu hướng giá và điểm vào/ra lệnh hiệu quả.
"Sweep" giúp trader nhận ra tín hiệu quét thanh khoản tại xác định các vùng giá quan trọng, báo hiệu tín hiệu đảo chiều.
**Cemented Candle**, ngược lại, tập trung vào việc xác nhận các nến mạnh (nến "xi măng") tại các mức giá quan trọng, giúp củng cố độ tin cậy của tín hiệu giao dịch.
Kết hợp 2 tín hiệu này, báo hiệu khả năng đảo chiều xu hướng tại vùng giá quan trọng.
Indicator có thể sử dụng trong các chiến lược giao dịch từ 1m tới daily.
Chúc các bạn sử dụng hiệu quả
Trendlines with Breaks [Sambarek]The trendlines with breaks indicator return pivot point based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method.
Trendline breakouts occur in real-time and are not subject to backpainting. Trendlines can however be subject to repainting unless turned off from the user settings.
The indicator includes integrated alerts for trendline breakouts.
🔶 USAGE
snapshot
Any valid trendlines methodology can be used with the indicator, users can identify breakouts in order to infer future price movements.
The calculation method of the slope greatly affects the trendline's behaviors. By default, an average true range is used, returning a more constant slope amongst trendlines. Other methods might return trendlines with significantly different slopes.
Stdev makes use of the standard deviation for the slope calculation, while Linreg makes use of the slope of a linear regression.
snapshot
The above chart shows the indicator using "Stdev" as a slope calculation method. The chart below makes use of the "Linreg" method.
snapshot
By default trendlines are subject to backpainting, and as such are offset by length bars in the past. Disabling backpainting will not offset the trendlines.
snapshot
🔶 SETTINGS
Length: Pivot points period
Slope: Slope steepness, values greater than 1 return a steeper slope. Using a slope of 0 would be equivalent to obtaining levels.
Slope Calculation Method: Determines how the slope is calculated.
Backpaint: Determine whether trendlines are backpainted, that is offset to past.
Oct 5, 2022
Release Notes
Minor changes.
Jul 19, 2023
Release Notes
We have adjusted the "b" signals to be fully real-time. There is an option within the settings to disable backpainting for the trendlines, in which this does not affect the signal labels as they are 100% non-repaint or backpainting.
To update to the latest version, please refresh TradingView & then remove/re-add the Trendlines with Breaks indicator to your chart.
Volume Predictor [PhenLabs]📊 Volume Predictor
Version: PineScript™ v6
📌 Description
The Volume Predictor is an advanced technical indicator that leverages machine learning and statistical modeling techniques to forecast future trading volume. This innovative tool analyzes historical volume patterns to predict volume levels for upcoming bars, providing traders with valuable insights into potential market activity. By combining multiple prediction algorithms with pattern recognition techniques, the indicator delivers forward-looking volume projections that can enhance trading strategies and market analysis.
🚀 Points of Innovation:
Machine learning pattern recognition using Lorentzian distance metrics
Multi-algorithm prediction framework with algorithm selection
Ensemble learning approach combining multiple prediction methods
Real-time accuracy metrics with visual performance dashboard
Dynamic volume normalization for consistent scale representation
Forward-looking visualization with configurable prediction horizon
🔧 Core Components
Pattern Recognition Engine : Identifies similar historical volume patterns using Lorentzian distance metrics
Multi-Algorithm Framework : Offers five distinct prediction methods with configurable parameters
Volume Normalization : Converts raw volume to percentage scale for consistent analysis
Accuracy Tracking : Continuously evaluates prediction performance against actual outcomes
Advanced Visualization : Displays actual vs. predicted volume with configurable future bar projections
Interactive Dashboard : Shows real-time performance metrics and prediction accuracy
🔥 Key Features
The indicator provides comprehensive volume analysis through:
Multiple Prediction Methods : Choose from Lorentzian, KNN Pattern, Ensemble, EMA, or Linear Regression algorithms
Pattern Matching : Identifies similar historical volume patterns to project future volume
Adaptive Predictions : Generates volume forecasts for multiple bars into the future
Performance Tracking : Calculates and displays real-time prediction accuracy metrics
Normalized Scale : Presents volume as a percentage of historical maximums for consistent analysis
Customizable Visualization : Configure how predictions and actual volumes are displayed
Interactive Dashboard : View algorithm performance metrics in a customizable information panel
🎨 Visualization
Actual Volume Columns : Color-coded green/red bars showing current normalized volume
Prediction Columns : Semi-transparent blue columns representing predicted volume levels
Future Bar Projections : Forward-looking volume predictions with configurable transparency
Prediction Dots : Optional white dots highlighting future prediction points
Reference Lines : Visual guides showing the normalized volume scale
Performance Dashboard : Customizable panel displaying prediction method and accuracy metrics
📖 Usage Guidelines
History Lookback Period
Default: 20
Range: 5-100
This setting determines how many historical bars are analyzed for pattern matching. A longer period provides more historical data for pattern recognition but may reduce responsiveness to recent changes. A shorter period emphasizes recent market behavior but might miss longer-term patterns.
🧠 Prediction Method
Algorithm
Default: Lorentzian
Options: Lorentzian, KNN Pattern, Ensemble, EMA, Linear Regression
Selects the algorithm used for volume prediction:
Lorentzian: Uses Lorentzian distance metrics for pattern recognition, offering excellent noise resistance
KNN Pattern: Traditional K-Nearest Neighbors approach for historical pattern matching
Ensemble: Combines multiple methods with weighted averaging for robust predictions
EMA: Simple exponential moving average projection for trend-following predictions
Linear Regression: Projects future values based on linear trend analysis
Pattern Length
Default: 5
Range: 3-10
Defines the number of bars in each pattern for machine learning methods. Shorter patterns increase sensitivity to recent changes, while longer patterns may identify more complex structures but require more historical data.
Neighbors Count
Default: 3
Range: 1-5
Sets the K value (number of nearest neighbors) used in KNN and Lorentzian methods. Higher values produce smoother predictions by averaging more historical patterns, while lower values may capture more specific patterns but could be more susceptible to noise.
Prediction Horizon
Default: 5
Range: 1-10
Determines how many future bars to predict. Longer horizons provide more forward-looking information but typically decrease accuracy as the prediction window extends.
📊 Display Settings
Display Mode
Default: Overlay
Options: Overlay, Prediction Only
Controls how volume information is displayed:
Overlay: Shows both actual volume and predictions on the same chart
Prediction Only: Displays only the predictions without actual volume
Show Prediction Dots
Default: false
When enabled, adds white dots to future predictions for improved visibility and clarity.
Future Bar Transparency (%)
Default: 70
Range: 0-90
Controls the transparency of future prediction bars. Higher values make future bars more transparent, while lower values make them more visible.
📱 Dashboard Settings
Show Dashboard
Default: true
Toggles display of the prediction accuracy dashboard. When enabled, shows real-time accuracy metrics.
Dashboard Location
Default: Bottom Right
Options: Top Left, Top Right, Bottom Left, Bottom Right
Determines where the dashboard appears on the chart.
Dashboard Text Size
Default: Normal
Options: Small, Normal, Large
Controls the size of text in the dashboard for various display sizes.
Dashboard Style
Default: Solid
Options: Solid, Transparent
Sets the visual style of the dashboard background.
Understanding Accuracy Metrics
The dashboard provides key performance metrics to evaluate prediction quality:
Average Error
Shows the average difference between predicted and actual values
Positive values indicate the prediction tends to be higher than actual volume
Negative values indicate the prediction tends to be lower than actual volume
Values closer to zero indicate better prediction accuracy
Accuracy Percentage
A measure of how close predictions are to actual outcomes
Higher percentages (>70%) indicate excellent prediction quality
Moderate percentages (50-70%) indicate acceptable predictions
Lower percentages (<50%) suggest weaker prediction reliability
The accuracy metrics are color-coded for quick assessment:
Green: Strong prediction performance
Orange: Moderate prediction performance
Red: Weaker prediction performance
✅ Best Use Cases
Anticipate upcoming volume spikes or drops
Identify potential volume divergences from price action
Plan entries and exits around expected volume changes
Filter trading signals based on predicted volume support
Optimize position sizing by forecasting market participation
Prepare for potential volatility changes signaled by volume predictions
Enhance technical pattern analysis with volume projection context
⚠️ Limitations
Volume predictions become less accurate over longer time horizons
Performance varies based on market conditions and asset characteristics
Works best on liquid assets with consistent volume patterns
Requires sufficient historical data for pattern recognition
Sudden market events can disrupt prediction accuracy
Volume spikes may be muted in predictions due to normalization
💡 What Makes This Unique
Machine Learning Approach : Applies Lorentzian distance metrics for robust pattern matching
Algorithm Selection : Offers multiple prediction methods to suit different market conditions
Real-time Accuracy Tracking : Provides continuous feedback on prediction performance
Forward Projection : Visualizes multiple future bars with configurable display options
Normalized Scale : Presents volume as a percentage of maximum volume for consistent analysis
Interactive Dashboard : Displays key metrics with customizable appearance and placement
🔬 How It Works
The Volume Predictor processes market data through five main steps:
1. Volume Normalization:
Converts raw volume to percentage of maximum volume in lookback period
Creates consistent scale representation across different timeframes and assets
Stores historical normalized volumes for pattern analysis
2. Pattern Detection:
Identifies similar volume patterns in historical data
Uses Lorentzian distance metrics for robust similarity measurement
Determines strength of pattern match for prediction weighting
3. Algorithm Processing:
Applies selected prediction algorithm to historical patterns
For KNN/Lorentzian: Finds K nearest neighbors and calculates weighted prediction
For Ensemble: Combines multiple methods with optimized weighting
For EMA/Linear Regression: Projects trends based on statistical models
4. Accuracy Calculation:
Compares previous predictions to actual outcomes
Calculates average error and prediction accuracy
Updates performance metrics in real-time
5. Visualization:
Displays normalized actual volume with color-coding
Shows current and future volume predictions
Presents performance metrics through interactive dashboard
💡 Note:
The Volume Predictor performs optimally on liquid assets with established volume patterns. It’s most effective when used in conjunction with price action analysis and other technical indicators. The multi-algorithm approach allows adaptation to different market conditions by switching prediction methods. Pay special attention to the accuracy metrics when evaluating prediction reliability, as sudden market changes can temporarily reduce prediction quality. The normalized percentage scale makes the indicator consistent across different assets and timeframes, providing a standardized approach to volume analysis.
Mag7 and SP493 Index with WeightsScript to display the Mag7 performance, the S&P 500 and the S&P performance without the Mag7.
Short term analysis only because of weight rebalance.
If you want to look at a precise period, change the weight to get a shaper precision.
You can also display a precise OHLC candle chart of the MAG7 only.
Twitter (french audience) : @Doflamingod667
RSI Disparity SignalRSI Disparity Signal Indicator
Overview:
This TradingView indicator detects when the RSI is significantly lower than its RSI-based moving average (RSI MA). Whenever the RSI is 20 points or more below the RSI MA, a signal (red dot) appears above the corresponding candlestick.
How It Works:
Calculates RSI using the default 14-period setting.
Calculates the RSI-based Moving Average (RSI MA) using a 14-period simple moving average (SMA).
Measures the disparity between the RSI and its MA.
Generates a signal when the RSI is 20 points or more below the RSI MA.
Plots a red circle above the candlestick whenever this condition is met.
Customization:
You can modify the RSI length and MA period to fit your trading strategy.
Change the plotshape() style to use different symbols like triangles or arrows.
Adjust the disparity threshold (currently set at 20) to make the signal more or less sensitive.
Use Case:
This indicator can help identify potentially oversold conditions where RSI is significantly below its average, signaling possible price reversals.
Harmonic, wave and Fibonacci [Hunter Algo]Harmonic by Dhruv Patel.
Wave patterns with Fibnonacii level