Balanced Price Range | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Balanced Price Range (BPR) indicator! A Balanced Price Range is a trading concept used by price action traders. It is detected by finding overlapping area between two contrary Fair Value Gaps (FVGs). These areas can be used as entry points during market pullbacks. For more information about the process, please check the "HOW DOES IT WORK ?" section.
Balanced Price Range Features :
Balanced Price Range Detection : Identifies areas where bullish and bearish FVGs overlap, suggesting a zone of price equilibrium.
Customizable FVG & BPR Detection : You can fine-tune FVG detection and sensitivity for BPR detection to your liking.
Retest Labels : Bullish & Bearish retest labels will be rendered for BPRs.
Alerts : You can set alerts for Bullish & Bearish BPR detection and their retests.
🚩 UNIQUENESS
This indicator doesn't just detect standard FVGs but specifically looks for areas where bullish and bearish IFVGs (Invalidated Fair Value Gaps) overlap, defining a Balanced Price Range. It also actively manages and updates identified BPR zones, removing them when they are invalidated or remain untouched for a specified period. It highlights and alerts users to retests of established BPR zones, signaling potential trading opportunities. Users can tailor the appearance of the BPR zones and retest markers, as well as configure specific alerts for new BPR formations and retests.
📌 HOW DOES IT WORK ?
A Fair Value Gap generally occur when there is an imbalance in the market. They can be detected by specific formations within the chart. The indicator first detects bullish & bearish FVG zones according to their formations on chart. Then, they are dynamically tracked and flagged as invalidated if the price crosses them, turning them into IFVGs. When a FVG & IFVG of the same type overlaps, the indicator combines them into a single BPR of corresponding type. The detected BPR is updated as new data comes in, and renders retests labels as they occur. A bullish BPR can be used to find long trade entry opportunities, while a bearish BPR can be used to find short trade entry opportunities. Retests can also indicate potential movements in the corresponding direction of the BPR. Users can set-up alerts for BPR detection & BPR retests and will get notified as they occur.
⚙️ SETTINGS
Show Historic Zones: If enabled, invalidated or expired BPR zones will remain visible on the chart.
Balanced Price Range:
FVG Detection Method: Determines the criteria for the bar types forming the initial FVG.
Same: All three bars forming the FVG must be of the same type (all bullish or all bearish).
Mixed: The bar types must vary (a mix of bullish and bearish bars).
All: Bar types can vary or be the same.
FVG Invalidation Method: Determines which part of the candle (wick or close) invalidates the initial FVG.
BPR Invalidation Method: Determines which part of the candle (wick or close) invalidates the Balanced Price Range.
Sensitivity: Adjusts the sensitivity of FVG detection. Higher values may identify fewer, larger BPRs, while lower values may detect more, smaller BPRs.
Labels: Toggles the display of text labels on the identified zones.
Retests: Enables or disables the detection and visualization of BPR retests.
Indicators and strategies
Consecutive Green Candles + 20% Move ScreenerConsecutive Green Candles Momentum Tracker
This indicator identifies powerful bullish momentum streaks in stocks, highlighting opportunities where consistent buying pressure has driven significant price increases.
The script tracks sequences of consecutive green (bullish) candles that collectively move a stock's price by more than 20%. It marks both the beginning of such streaks with a green label and their conclusion with a red arrow when price momentum finally reverses.
Perfect for traders looking to:
- Identify stocks experiencing strong directional momentum
- Spot potential reversal points after extended rallies
- Screen for securities with recent bullish strength
- Understand the magnitude of recent price runs
Simply adjust the minimum number of candles and percentage threshold to match your preferred momentum criteria.
Parabolic RSI Strategy [ChartPrime × PineIndicators]This strategy combines the strengths of the Relative Strength Index (RSI) with a Parabolic SAR logic applied directly to RSI values.
Full credit to ChartPrime for the original concept and indicator, licensed under the MPL 2.0.
It provides clear momentum-based trade signals using an innovative method that tracks RSI trend reversals via a customized Parabolic SAR, enhancing traditional oscillator strategies with dynamic trend confirmation.
How It Works
The system overlays a Parabolic SAR on the RSI, detecting trend shifts in RSI itself rather than on price, offering early reversal insight with visual and algorithmic clarity.
Core Components
1. RSI-Based Trend Detection
Calculates RSI using a customizable length (default: 14).
Uses upper and lower thresholds (default: 70/30) for overbought/oversold zones.
2. Parabolic SAR Applied to RSI
A custom Parabolic SAR function tracks momentum within the RSI, not price.
This allows the system to capture RSI trend reversals more responsively.
Configurable SAR parameters: Start, Increment, and Maximum acceleration.
3. Signal Generation
Long Entry: Triggered when the SAR flips below the RSI line.
Short Entry: Triggered when the SAR flips above the RSI line.
Optional RSI filter ensures that:
Long entries only occur above a minimum RSI (e.g. 50).
Short entries only occur below a maximum RSI.
Built-in logic prevents new positions from being opened against trend without prior exit.
Trade Modes & Controls
Choose from:
Long Only
Short Only
Long & Short
Optional setting to reverse positions on opposite signal (instead of waiting for a flat close).
Visual Features
1. RSI Plotting with Thresholds
RSI is displayed in a dedicated pane with overbought/oversold fill zones.
Custom horizontal lines mark threshold boundaries.
2. Parabolic SAR Overlay on RSI
SAR dots color-coded for trend direction.
Visible only when enabled by user input.
3. Entry & Exit Markers
Diamonds: Mark entry points (above for shorts, below for longs).
Crosses: Mark exit points.
Strategy Strengths
Provides early momentum reversal entries without relying on price candles.
Combines oscillator and trend logic without repainting.
Works well in both trending and mean-reverting markets.
Easy to configure with fine-tuned filter options.
Recommended Use Cases
Intraday or swing traders who want to catch RSI-based reversals early.
Traders seeking smoother signals than price-based Parabolic SAR entries.
Users of RSI looking to reduce false positives via trend tracking.
Customization Options
RSI Length and Thresholds.
SAR Start, Increment, and Maximum values.
Trade Direction Mode (Long, Short, Both).
Optional RSI filter and reverse-on-signal settings.
SAR dot color customization.
Conclusion
The Parabolic RSI Strategy is an innovative, non-repainting momentum strategy that enhances RSI-based systems with trend-confirming logic using Parabolic SAR. By applying SAR logic to RSI values, this strategy offers early, visualized, and filtered entries and exits that adapt to market dynamics.
Credit to ChartPrime for the original methodology, published under MPL-2.0.
PolyBand Convergence System (PBCS)PolyBand Convergence System (PBCS)
The PolyBand Convergence System (PBCS) is an advanced technical analysis indicator that combines multiple polynomial regressions with statistical bands to identify trend strength and potential reversal zones.
Key Features
Multi-Degree Polynomial Analysis: Combines 1st, 2nd, 3rd, and 4th degree polynomial regressions into a composite regression line
Adaptive Statistical Bands: Uses percentile-based bands enhanced with standard deviation multipliers
Asymmetric Volatility Measurement: Separately calculates upside and downside volatility for more accurate band placement
Smart Trend Detection: Identifies bullish, bearish, or neutral market conditions based on price position relative to bands
How It Works
PBCS creates a composite regression line from multiple polynomial fits to better capture the underlying price structure. This line is then surrounded by adaptive bands that represent statistical thresholds for price movement. When price breaks above the upper band, a bullish trend is signaled; when it breaks below the lower band, a bearish trend is indicated.
Customization Options
Regression Settings: Adjust source data, lookback period, and smoothing parameters
Percentile Controls: Fine-tune the statistical thresholds for upper and lower bands
Volatility Sensitivity: Modify standard deviation multipliers to control band width
Visual Preferences: Choose from multiple color schemes to match your trading platform
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute investment advice. Trading involves risk and may result in financial loss. Always perform your own research and consult with a qualified financial advisor before making any trading decisions.
Kernel Regression Bands SuiteMulti-Kernel Regression Bands
A versatile indicator that applies kernel regression smoothing to price data, then dynamically calculates upper and lower bands using a wide variety of deviation methods. This tool is designed to help traders identify trend direction, volatility, and potential reversal zones with customizable visual styles.
Key Features
Multiple Kernel Types: Choose from 17+ kernel regression styles (Gaussian, Laplace, Epanechnikov, etc.) for smoothing.
Flexible Band Calculation: Select from 12+ deviation types including Standard Deviation, Mean/Median Absolute Deviation, Exponential, True Range, Hull, Parabolic SAR, Quantile, and more.
Adaptive Bands: Bands are calculated around the kernel regression line, with a user-defined multiplier.
Signal Logic: Trend state is determined by crossovers/crossunders of price and bands, coloring the regression line and band fills accordingly.
Custom Color Modes: Six unique color palettes for visual clarity and personal preference.
Highly Customizable Inputs: Adjust kernel type, lookback, deviation method, band source, and more.
How to Use
Trend Identification: The regression line changes color based on the detected trend (up/down)
Volatility Zones: Bands expand/contract with volatility, helping spot breakouts or mean-reversion opportunities.
Visual Styling: Use color modes to match your chart theme or highlight specific market states.
Credits:
Kernel regression logic adapted from:
ChartPrime | Multi-Kernel-Regression-ChartPrime (Link in the script)
Disclaimer
This script is for educational and informational purposes only. Not financial advice. Use at your own risk.
Position Size Calculator (Fixed % or ATR-based Stop Support)Position Size Calculator (Fixed % or ATR-based Stop Support)
Purpose and Background
This indicator allows traders to calculate appropriate position sizes directly on the chart, based on a key rule:
“What percentage of your capital are you willing to risk per trade?”
While many traders focus on entries and indicators, position sizing and risk allocation are often overlooked.
This tool visualizes and simplifies the “1% risk rule” promoted by IBD (Investor’s Business Daily) and William J. O’Neil, helping both beginners and experienced traders maintain disciplined capital management.
Key Features
Automatically calculates and displays:
・ Position Size
The number of units (shares, contracts, coins) you can hold based on your stop-loss range and risk allowance.
・ Stop Price
The price level at which your stop-loss would be triggered.
・ Risk Amount
The maximum loss per trade based on your portfolio size and risk percentage.
Two stop-loss modes available:
・ Fixed % Mode
O’Neil suggests using up to 8% stop-loss in uptrends and keeping it tighter (around 4%) in corrections. This mode allows flexible manual settings.
・ ATR-Based Mode
Uses the asset’s average volatility to dynamically calculate stop-loss width using the Average True Range (ATR).
ATR Usage and Recommended Settings
ATR helps you avoid noise-based stop-outs and align your risk with market volatility.
There are two parameters you can adjust:
・ ATR Length
Defines how many bars are used to calculate the average range.
・Shorter values (5–10) respond faster for day trades
・Longer values (14–21) offer smoother ranges for swing/position trades(Default is 14)
・ATR Multiplier
Sets how wide the stop-loss is by multiplying the ATR value:
・Day trading: 1.0–1.5×
・Swing trading: 1.5–2.5×
・Position trading: 2.0–3.0×
Practical Examples: Risk % × Stop-Loss % → Max Positions
This tool helps estimate how many positions you can hold in a portfolio based on your risk per trade and stop width.
Examples:
・Risk 0.5%, Stop 8% → Max 16 positions
・Risk 0.5%, Stop 4% → Max 8 positions
・Risk 1.0%, Stop 8% → Max 8 positions
・Risk 1.0%, Stop 4% → Max 4 positions
・Risk 2.0%, Stop 8% → Max 4 positions
・Risk 2.0%, Stop 4% → Max 2 positions
These assume worst-case scenarios where all positions are stopped out simultaneously within your overall portfolio risk limit.
Display & Customization Options
・ Currency Display: USD or JPY
No currency conversion is applied. Select based on your trading region (e.g., USD for U.S. stocks, JPY for Japanese stocks).
Support for additional currencies can be added upon request.
・ Show/Hide Decimal Places
Toggle decimals for better visibility. Ideal for fractional assets like crypto and CFDs.
・ Position of Output
Choose from top-right, middle-right, or bottom-right on the chart.
・ Text Display Size: Large / Normal / Small
Choose the table size that best suits your viewing preferences.
・ Explanation of Displayed Labels
・ Position Size : Units to buy/sell based on risk
・ Stop Price : Price where stop-loss is triggered
・ Risk Amount : Max loss allowed for the trade
How to Use
1、Set your Portfolio Size
2、Choose your Currency (USD or JPY)
3、Input Risk per Trade (%) (e.g., 1%)
4、Select Stop Loss Method
・ Fixed % : Enter a manual stop-loss percent (e.g., 8%)
・ ATR : Then also enter:
・ ATR Length : Number of bars used to calculate ATR (e.g., 14)
・ ATR Multiplier : Factor applied to ATR to determine stop-loss (e.g., 2.0)
5、Adjust decimals, label position, or text size as needed
6、The result is displayed in a table directly on your chart
Notes
・ Uses the current close price (close) as the basis
Real-time bid/ask data isn't available in Pine Script, so the close price is used for consistent results.
・ No buy/sell signals are generated
This tool is for position sizing and risk calculation only, not trade entries.
Recommended For
・Traders who want precise, rule-based position sizing
・Users following IBD or O’Neil’s 1% risk principle
・Those incorporating ATR for stop-loss strategies
・Multi-asset traders (stocks, crypto, CFDs, etc.)
・ Anyone who wants to calculate position size and risk without using a calculator or external tool—fully inside TradingView
Ind JDV 2.2 PRO🛡️ Ind JDV 2.0 PRO – Chandelier Exit + FVG + EMA (Precise Entry)
Description:
Ind JDV 2.0 PRO is an advanced indicator that combines three powerful confirmations to find the best trading opportunities:
Chandelier Exit: Filters trade direction based on volatility breakouts controlled by ATR.
Fair Value Gap (FVG): Detects price inefficiency zones at their very first appearance.
EMA (Exponential Moving Average): Acts as a trend filter to ensure trading with the dominant market flow.
🔍 Key Features:
Marks only one precise signal on the candle where the FVG starts.
Confirms the trend using a 150-period EMA (fully adjustable).
Optionally draws Take Profit and Stop Loss target lines for clear visual guidance.
Background color changes (green or red) to reflect the active market trend.
Built-in automatic alerts for buy or sell opportunities.
Optimized code for maximum speed across all timeframes.
✅ Perfect for trading indices, forex, cryptocurrencies, and stocks.
✅ Compatible with all timeframes (5m, 15m, 1H, 4H, Daily).
✅ Fully customizable to fit scalping, intraday, or swing trading styles.
⚙️ Default Parameters:
ATR Period: 10
ATR Multiplier: 3.0
EMA Period: 150
FVG Lookback: 3 candles
Take Profit: 100 points
Stop Loss: 50 points
(All values are adjustable in settings.)
📈 How it works:
The indicator analyzes price structure.
Detects a valid Fair Value Gap (FVG) formation.
Confirms the breakout with a Chandelier Exit signal.
Verifies price alignment with the EMA trend.
Triggers a single entry signal (BUY or SELL) exactly on the first candle that meets all conditions.
🚀 Optimize your trading by focusing on high-probability zones, supported by solid confirmations and clean visual signals.
Add Ind JDV 2.0 PRO to your trading arsenal and take your strategy to the next level! 🔥
Position Size Calculatorusing the settings you can edit your portfolio balance and desired risk, helps you calculate everything required about position sizing and helps you NOT lose more than intended + 10% deviation on top of that.
iFVG (BPR)
This indicator detects Fair Value Gaps (FVGs) and Inversion Zones (iFVGs) based concept from the ICT methodology.
An iFVG forms when a bullish and a bearish FVG overlap, creating a double imbalance zone. These are high-reaction points often targeted by smart money.
🔷 What It Detects
Bullish FVG: When the high of Candle 1 is lower than the low of Candle 3
Bearish FVG: When the low of Candle 1 is higher than the high of Candle 3
iFVG (or BPR): When a bullish and bearish FVG overlap, forming a double imbalance zone
🔷Mitigation Logic
An FVG or BPR becomes an iFVG when price closes against its original bias Once this happens, the zone is reclassified as a potential support or resistance (iFVG)
If price later mitigates the iFVG, all visual elements are automatically removed to keep the chart clean
🔷Visual Output
Standard FVGs: Customizable lines between Candle 1 and Candle 3
iFVGs (mitigated BPRs): Adjustable and highlighted rectangles to show the full zone
Mitigation Type: FVG or iFVG zones disappear when 50% of the zone is reached
🔷Custom Settings
Show Last Zones: Set how many recent zones to display on the chart (max 100)
Mitigation Type: Based on the percentage of zone coverage
Color & Style: Customize the appearance of FVG and iFVG zones
🔷 Use Case
This indicator is designed for real-time institutional analysis, helping traders identify:
Recent imbalances (FVGs)
Confluence zones (iFVGs = BPRs)
High-reaction points in the market
Ideal when combined with market structure, liquidity levels, and Kill Zones
Best used in combination with market structure, liquidity zones, and Kill Zone timing .
Money Flow Index + VWAP Trend FilterThis indicator combines the volume-weighted momentum analysis of the Money Flow Index (MFI) with the trend-filtering capabilities of the Volume Weighted Average Price (VWAP) to generate reliable buy and sell signals. By requiring MFI overbought/oversold conditions to align with the trend direction relative to VWAP, this indicator reduces false signals, making it ideal for trading on timeframes like 5-minute to 4-hour charts.
How It Works
The indicator uses two technical components to produce signals:
Money Flow Index (MFI) for Momentum Extremes:
The MFI, calculated over a default 14-period length, measures buying and selling pressure using price and volume data. A buy signal is triggered when MFI crosses above the oversold level (default: 20), indicating potential buying pressure, while a sell signal occurs when MFI crosses below the overbought level (default: 80), suggesting selling pressure.
Volume Weighted Average Price (VWAP) for Trend Direction:
The VWAP calculates the average price of an asset, weighted by volume, resetting at the start of each trading session (e.g., daily for stocks). It acts as a dynamic support/resistance level. A bullish trend is confirmed when the price is above the VWAP, and a bearish trend when the price is below the VWAP. This ensures MFI signals are filtered to align with the broader trend direction, plotted as a purple line on the chart.
Signal Generation
Signals are generated using the previous bar’s values to prevent repainting:
Buy Signal: The MFI crosses above the oversold level, and the price is above the VWAP (bullish trend). Displayed as a green upward triangle below the bar.
Sell Signal: The MFI crosses below the overbought level, and the price is below the VWAP (bearish trend). Displayed as a red downward triangle above the bar.
Savitzky Flow Bands [ChartPrime]An advanced trend-following tool that applies the Savitzky-Golay smoothing algorithm to price and dynamically adapts trend bands to visualize directional bias and trend strength.
savitzky_golay_filter_w_15_vectors(source) =>
float sum = 0.0
float polynomial = 0.0
float coefficients = array.new(16)
// Predefined 15 coefficients
for i = -4 to 4
coefficients.set(i + 4, i) // from -4 to 5
if i == 4
for j = 5 to -4
for g = 8 to 15
coefficients.set(g, j) // from 5 to -4
// Calculate normalization factor as the sum of absolute values of coefficients
float norm_factor = coefficients.sum()
// Loop through coefficients and calculate the weighted sum
for i = 0 to coefficients.size()-1
sum := sum + coefficients.get(i) * source
// Calculate the smoothed value
for i = 1 to length-1
polynomial := math.sum(sum / norm_factor, i) / i
polynomial
⯁ KEY FEATURES & HOW TO USE
Savitzky-Golay Filtered Line (Basis):
Smooths out price noise using the Savitzky-Golay method, offering a more refined trend path than traditional moving averages. This centerline acts as the trend anchor and visually changes color depending on its slope to reflect the active trend direction.
Dynamic Trend Bands (Upper/Lower):
Constructed from the filtered line with a dynamic offset based on recent price volatility (ATR). These bands shift based on price pressure and are locked once price closes beyond them.
Helpful for identifying breakout moments or exhaustion areas where reversals are likely.
Trend Direction Detection:
A directional signal is confirmed when price breaks and closes above the upper band (uptrend) or below the lower band (downtrend).
Provides a clear and systematic way to identify when a trend begins.
Trend Duration Counter (Visual Decay Line):
A fading overlay line shows how long a trend has been active since the last reversal. The longer the trend persists, the more transparent this extension becomes.
This visual fading effect helps traders anticipate potential trend exhaustion and prepare for reversals or take-profit zones.
Reversal Signals (Diamond Markers):
Diamond shapes are plotted at each market shift, allowing users to visually pinpoint when the trend has flipped.
These markers act as decision zones for entry, exit, or stop-loss adjustments based on directional flow changes.
Color-Based Bar and Candle Painting:
Candles are painted green in uptrends and orange in downtrends, providing an intuitive glance at trend state without needing to interpret numbers.
Helps users stay aligned with the trend visually and avoid counter-trend entries.
⯁ CONCLUSION
The Savitzky Flow Bands indicator offers a modernized, visually rich way to track trend shifts using a scientific smoothing method. With dynamic trend envelopes, color-coded cues, and visual markers, it equips traders with a structured framework to follow the market's flow and make data-driven decisions. Ideal for swing traders, momentum strategists, or any trader looking to trade in sync with the prevailing trend.
Open-Close / High-Low RibbonThis indicator visualizes smoothed Open, Close, High, and Low price levels as continuous lines, helping users observe underlying price structure with reduced noise. The Open and Close values are shaded to highlight bullish (green) or bearish (red) zones based on their relationship. Smoothing is applied using a simple moving average (SMA) over a user-defined length to make trends easier to interpret. This tool can be useful for identifying directional bias, trend shifts, or areas of support and resistance on any timeframe.
Gartley 222 Strategy (Final Full Version)Gartley 222 Strategy (Bullish Pattern) — Repaint-Free, Backtestable
This strategy is based on the classic Gartley 222 harmonic pattern, originally introduced by H.M. Gartley in Profits in the Stock Market (1935). It identifies potential bullish reversal zones by detecting a five-point retracement structure (X-A-B-C-D) using pivot points and Fibonacci confluence.
🧠 Strategy Logic:
Detects valid pivot-based X, A, B, C points
Validates Gartley ratios:
AB = 61.8%–78.6% of XA
CD = 78.6%–88.6% of AB
Enters long at point D only after pivot confirmation (non-repainting)
Exits at 127% Fibonacci extension of XA or on stop loss
🔍 Features:
✅ Repaint-free and fully backtestable
✅ Visual X–A–B–C–D pattern lines on chart
✅ Customizable pivot length, risk, and reward ratios
✅ Alerts for real-time Gartley Buy pattern completion
Ideal for swing traders using 4H or Daily timeframes on trending instruments like NIFTY, BANKNIFTY, or major stocks.
Spread/Range Oscillator + Signal + HistogramThe Spread/Range Oscillator is a technical analysis tool designed to assess market momentum by evaluating the relationship between price movement and volatility.
Calculation
Spread: The difference between the closing and opening prices of a candle (close - open).
Range: The difference between the high and low prices of a candle (high - low).
Oscillator: The spread divided by the range (spread / range). This ratio provides a normalized measure of price movement within each candle.
Smoothed Oscillator: An Exponential Moving Average (EMA) applied to the oscillator over a user-defined period (Smoothing Length) to reduce noise.
Signal Line: An EMA of the Smoothed Oscillator over another user-defined period (Signal Line Length) to identify potential trend changes.
Histogram: The difference between the Smoothed Oscillator and the Signal Line (Smoothed Oscillator - Signal Line). Positive values suggest bullish momentum, while negative values indicate bearish momentum.
Inputs
Smoothing Length (EMA): Determines the period for smoothing the oscillator.
Signal Line Length (EMA): Sets the period for the EMA applied to the Smoothed Oscillator to generate the Signal Line.
Visual Representation
Smoothed Oscillator: Plotted as a line representing the smoothed momentum of price movements.
Signal Line: Displayed as a line serving as a reference to identify potential crossovers and trend changes.
Histogram: Rendered as bars, with positive values indicating bullish momentum and negative values indicating bearish momentum.
Zero Line: A horizontal line at zero to distinguish between bullish and bearish territories.
Applications
Momentum Analysis: Identify periods of strong buying or selling pressure based on the oscillator's position relative to the zero line.
Trend Confirmation: Use crossovers between the Smoothed Oscillator and Signal Line to confirm potential trend reversals or continuations.
Divergence Detection: Spot divergences between price action and the oscillator to anticipate possible market turning points.
This indicator is open-source and intended for educational purposes. It is recommended to use it in conjunction with other forms of analysis and risk management practices before making trading decisions.
Multi-Layer Volume Profile [BigBeluga]A powerful multi-resolution volume analysis tool that stacks multiple profiles of historical trading activity to reveal true market structure.
This indicator breaks down total and delta volume distribution across time at four adjustable depths — enabling traders to spot major POCs, volume shelves, and zones of price acceptance or rejection with unmatched clarity.
🔵 KEY FEATURES
Multi-Layer Volume Profiles:
Up to 4 separate volume profiles are stacked on the chart:
- Profile 1: Full period
- Profile 2: Half-length
- Profile 3: Quarter-length
- Profile 4: One-eighth-length
This layering helps traders assess confluence across different time horizons.
Custom Bin Resolution:
Each profile uses a customizable number of bins to control visual precision.
More bins = higher granularity, fewer bins = smoother profile.
Precise POC Highlighting:
The price level with the maximum traded volume in each profile is highlighted with a thick blue POC line.
This key level shows the most accepted price for each period.
Total and Delta Volume Labels:
- Total Volume: Displays cumulative volume over the profile period at the top of the profile box.
- Delta Volume: The difference between bullish and bearish volume is labeled at the base, showing directional pressure.
Positive delta = buyer dominance, negative delta = seller dominance.
Range Levels:
Each profile includes horizontal reference lines showing its high, low, bounds.
These edges often align with price reaction zones and become future resistance/support.
🔵 HOW IT WORKS
For each active profile, the indicator:
- Collects price range (highs/lows) across the selected `length`
- Divides this range into equal bins
- Assigns volume into bins based on candle close location
- Aggregates volume per bin to form the profile (polylines)
Separately tracks:
- Total volume (sum of all candles in range)
- Delta volume (sum of candle volumes: positive for bullish, negative for bearish closes)
Highlights the bin with maximum volume (POC)
and marks it with a thick blue line.
Adds auxiliary lines for high/low of each profile box
and total/delta volume tags with tooltips.
🔵 USAGE
Spot Acceptance Zones:
Thick, flat areas on the profile show where price stayed longest — ideal for building positions.
Identify Rejection Zones:
Thin volume areas signal price rejection and are often used for stop placement or entries.
Delta Confirmation:
Use strong positive/negative delta readings as directional bias confirmation for breakout trades.
Confluence Detection:
Watch for overlapping POCs between layers to identify extremely strong support/resistance zones.
🔵 CONCLUSION
Multi-Layer Volume Profile equips traders with a deeply layered market structure view.
Whether you're scalping intraday levels or analyzing macro support zones, the ability to stack volume perspectives, visualize directional delta, and anchor POCs provides an edge in anticipating market moves.
Use this tool to validate entries, confirm structure, and make more informed, volume-aware trading decisions.
RSI Divergence Candlestick SwiftEdge// RSI Divergence Candlestick SwiftEdge
//
// Overview:
// RSI Divergence Candlestick SwiftEdge is a unique oscillator that transforms the traditional Relative Strength Index (RSI) into a candlestick format, combined with advanced divergence detection. This indicator is designed to help traders identify momentum shifts and potential reversals by visualizing RSI as candlesticks and highlighting both regular and hidden divergences between price and RSI. Unlike standard RSI indicators, this tool provides a more intuitive, price-like representation of RSI movements, making it easier to spot trends and reversals in momentum.
//
// Why This Combination?
// The combination of RSI candlesticks and divergence detection serves a dual purpose:
// 1. RSI Candlesticks: By presenting RSI as candlesticks, traders can apply familiar price action techniques (such as identifying trends, reversals, or consolidation patterns) directly to RSI. This format makes it easier to see momentum shifts in a way that resembles price movements.
// 2. Divergence Detection: Regular and hidden divergences between price and RSI often signal potential reversals or trend continuations. This indicator automatically identifies these divergences and draws lines to connect the pivot points, helping traders spot high-probability setups without manual analysis.
//
// How It Works:
// - RSI Candlesticks: The indicator calculates the RSI using a user-defined length (default 14). Each candlestick is constructed as follows:
// * Open: The RSI value from the previous bar.
// * Close: The current RSI value.
// * High/Low: Estimated by looking at the highest and lowest RSI values over a short lookback period (default 3 bars), simulating wicks to mimic price candlestick behavior.
// The candlesticks are colored green for upward momentum (close > open) and red for downward momentum (close < open), with gray wicks for clarity.
// - Divergence Detection: The indicator identifies pivot highs and lows in both price and RSI using a pivot lookback period (default 5 bars). It then checks for four types of divergences:
// * Regular Bullish Divergence: Price makes a lower low, but RSI makes a higher low, indicating potential reversal to the upside.
// * Regular Bearish Divergence: Price makes a higher high, but RSI makes a lower high, indicating potential reversal to the downside.
// * Hidden Bullish Divergence: Price makes a higher low, but RSI makes a lower low, suggesting trend continuation to the upside.
// * Hidden Bearish Divergence: Price makes a lower high, but RSI makes a higher high, suggesting trend continuation to the downside.
// Divergence lines are drawn between the RSI pivot points in the oscillator window and optionally on the price chart. Regular divergences use solid lines, while hidden divergences use dashed lines, with green for bullish and red for bearish signals.
// - Overbought/Oversold Restriction: By default, divergences are restricted to overbought (RSI > 70) or oversold (RSI < 30) zones to filter out less reliable signals. This can be disabled in the settings.
//
// How to Use:
// 1. Add the indicator to your chart to see RSI displayed as candlesticks in the oscillator window.
// 2. Look for RSI candlestick patterns:
// * Green candlesticks indicate increasing momentum; red candlesticks indicate decreasing momentum.
// * Use the wicks to identify overextensions in momentum, similar to price candlesticks.
// 3. Identify divergences:
// * Regular bullish/bearish divergences (solid lines) may signal reversals.
// * Hidden bullish/bearish divergences (dashed lines) may signal trend continuations.
// * Divergence lines are drawn in the RSI window and optionally on the price chart (toggle in settings).
// 4. Adjust settings:
// * RSI Length (default 14): Controls the sensitivity of the RSI calculation.
// * Wick Lookback (default 3): Determines how far back to look for RSI highs/lows to create wicks.
// * Pivot Lookback (default 5): Controls the sensitivity of pivot point detection for divergence.
// * Restrict Divergence (default true): Limits divergences to overbought/oversold zones.
// * Show Divergence on Chart (default true): Toggles whether divergence lines appear on the price chart.
//
// Use Case:
// This indicator is ideal for swing traders and reversal hunters looking to combine momentum analysis with price action techniques. The RSI candlestick format allows traders to apply chart patterns directly to RSI, while the divergence detection highlights high-probability setups. For example, a regular bullish divergence in an oversold zone, combined with a bullish RSI candlestick pattern, can signal a strong buying opportunity.
//
// Limitations:
// - The wicks on RSI candlesticks are an estimation based on recent RSI values, as Pine Script cannot access intra-bar RSI data.
// - Divergence detection relies on pivot points, which may lag slightly due to the lookback period. Adjust the pivot lookback setting to balance sensitivity and reliability.
// - This is an indicator, not a strategy, so it does not provide backtesting results or trade signals. Use it as part of a broader trading system.
timer/tr/atr [keypoems]Session and Instant Volatility Ticker
What it actually does:
- Session ATR – Reports the historical (e.g. “0200-0600”) average true range of the past x sessions, reports the +1Stdev value.
- Real-time ATR feed – streams the current ATR value every tick.
- Ticker line – Sess. ATR +1Stdev | Current ATR | Previous TR | 🕒 Time-left-in-bar |
Think of it as a volatility check: a single glance tells you if the average candle size is compatible with your usual stop or not.
Open Source.
TCP | Money Management indicator | Crypto Version📌 TCP | Money Management Indicator | Crypto Version
A robust, multi-target risk and capital management indicator tailored for crypto traders. Whether you're trading spot, perpetual futures, or leverage tokens, this tool empowers you with precise control over risk, reward, and position sizing—directly on your chart. Eliminate guesswork and trade with confidence.
🔰 Introduction: Master Your Capital, Master Your Trades
Poor money management is the number one reason traders lose their accounts, even with solid strategies. The TCP Money Management Indicator, built by Trade City Pro (TCP), solves this problem by providing a structured, rule-based approach to capital allocation.
Want to dive deeper into the concept of money management? Check out our comprehensive tutorial on TradingView, " TradeCityPro Academy: Money Management ", to understand the principles that power this indicator and transform your trading mindset.
This indicator equips you to:
• Calculate optimal position sizes based on your capital, risk percentage, and leverage
• Set up to 5 customizable take-profit targets with partial close percentages
• Access real-time metrics like Risk-to-Reward (R/R), USD profit, and margin usage
• Trade with discipline, avoiding emotional or inconsistent decisions
💸 Money Management Formula
The indicator uses a professional capital allocation model:
Position Size = (Capital × Risk %) ÷ (Stop Loss % × Leverage)
From this, it calculates:
• Total risk amount in USD
• Optimal position size for your trade
• Margin required for each take-profit target
• Adjusted R/R for each target, accounting for partial position closures
🛠 How to Use
Enter Trade Parameters: Input your capital, risk %, leverage, entry price, and stop-loss price.
Set Take-Profit Targets: Enable 1 to 5 take-profit levels and specify the percentage of the position to close at each.
Real-Time Calculations: The indicator automatically computes:
• R/R ratio for each target
• Profit in USD for each partial close
• Margin used per target (in % and USD)
Visualize Your Trade:
• Price levels for entry, stop-loss, and take-profits are plotted on the chart.
• A dynamic info panel on the left side displays all key metrics.
🔄 Dynamic Adjustments: As each take-profit target is hit and a portion of the position is closed, the indicator recalculates the remaining position size, expected profit, R/R, and margin for subsequent targets. This ensures accuracy and reflects real-world trade behavior.
📊 Table Overview
The left-side panel provides a clear snapshot:
• Trade Setup: Capital, entry price, stop-loss, risk amount, and position size
• Per Target: Percentage closed, R/R, profit in USD, and margin used
• Summary: Total expected profit across all targets
⚙️ Settings Panel
• Total Capital ($): Your account size for the trade
• Risk per Trade (%): The percentage of capital you’re willing to risk
• Leverage: The leverage applied to the trade
• Entry/Stop-Loss Prices: Define your trade’s risk zone
• Take-Profit Targets (1–5): Set price levels and percentage to close at each
🔍 Use Case Example
Imagine you have $1,000 capital, risking 1%, using 10x leverage:
• Entry: $100 | Stop-Loss: $95
• TP1: $110 (close 50%) | TP2: $115 (close 50%)
The indicator calculates the exact position size, profit at each target, and margin allocation in real time, with all metrics displayed on the chart.
✅ Why Traders Love It
• Precision: No more manual calculations or guesswork
• Versatility: Works on all crypto pairs (BTC, ETH, altcoins, etc.)
• Flexibility: Perfect for scalping, swing trading, or futures strategies
• Universal: Compatible with all timeframes
• Transparency: Fully manual, with clear and reliable outputs
🧩 Built by Trade City Pro (TCP)
Developed by TCP, a trusted name in trading tools, used by over 150,000 traders worldwide. This indicator is coded in Pine Script v5, ensuring compatibility with TradingView’s platform.
🧾 Final Notes
• No Auto-Trading: This is a manual tool for disciplined traders
• No Repainting: All calculations are accurate and non-repainting
• Tested: Rigorously validated across major crypto pairs
• Publish-Ready: Built for seamless use on TradingView
🔗 Resources
• Money Management Tutorial: Learn the fundamentals of capital management with our detailed guide: TradeCityPro Academy: Money Management
• TradingView Profile: Explore more tools by TCP on TradingView
Spreader – Real-Time Spread Detector for ScalpingSpreader is a professional tool built for scalpers and intraday traders, designed to visually display live bid-ask spread on your chart. By showing you the true market friction in real time, it helps you avoid poor entries and reduce immediate trade losses.
5m Gold Strategy - Session Break + Previous Day High/LowHere is your complete Pine Script v5 code for TradingView that:
Implements your 5-minute Gold breakout strategy.
Uses previous day high/low levels.
Confirms entry based on 15-minute SMA trend (SMA 9 > SMA 21).
Marks session time.
Filters news time (pause trading 15 minutes before/after major red news from ForexFactory).
Order Block with BoSHere’s a professional and concise description you can use for publishing your **TradingView script** titled **"Order Block with BoS"**:
---
### 📌 **Description for TradingView Publication:**
**"Order Block with Break of Structure (BoS)"** is a powerful price action-based indicator designed to identify potential reversal zones and momentum shifts using **Order Block** detection combined with **Break of Structure (BoS)** confirmation.
### 🔍 **Key Features:**
* **Order Block Detection**: Highlights bullish and bearish order blocks using precise candle structure logic.
* **Break of Structure (BoS)**: Confirms structural breaks above swing highs or below swing lows to validate potential trend continuation or reversal.
* **Dynamic ATR Filter**: Uses a 14-period ATR with dynamic thresholds to confirm significant moves, filtering out weak breakouts.
* **Visual Aids**:
* Color-coded **boxes** to mark detected Order Blocks.
* **Arrows** at BoS confirmation points when ATR confirms strong momentum.
* Optional **dashed BoS lines** to show where price broke structure.
### ⚙️ **Customizable Inputs**:
* `Swing Length`: Defines the sensitivity of swing high/low detection.
* `Show Break of Structure`: Toggle on/off BoS confirmation lines.
* `Candle Lookback`: Number of historical candles to consider.
This indicator is ideal for traders who incorporate **smart money concepts**, **market structure analysis**, or **institutional order flow** strategies.
---
Would you like me to help write the **strategy** version of this or translate the description into another language for international audiences?
Volume MAs Supertrend | Lyro RS📊 Volume MAs Supertrend | Lyro RS is an advanced trading tool that combines volume-adjusted moving averages with a dynamic Supertrend system. This indicator provides a robust framework for identifying market trends and entry/exit points.
✨ Key Features :
📈 Volume-Weighted Moving Averages (VWMA): Integrates price and volume data to provide a more accurate moving average, allowing for better trend analysis.
🔧 Multiple MA Types: Choose from SMA, EMA, WMA, VWMA, DEMA, TEMA, RMA, HMA, ALMA to suit your preferred trading strategy.
📊 Dual-Multiplier Supertrend System: Uses ATR to dynamically calculate upper and lower bands for long and short trends, with distinct multipliers for each.
🎨 Customizable Color Schemes: Choose from Classic, Mystic, Accented, and Royal color palettes or customize your own colors for bullish and bearish trends.
🔍 Visual Enhancements: Color-coded Supertrend lines, candlesticks, and bars for quick trend identification.
⏰ Alert System: Alerts for long and short signals based on trend changes.
🔧 How It Works :
The Supertrend line is calculated using ATR over a user-defined period, with separate multipliers for long and short positions.
📈 A bullish trend is signaled when the price crosses above the upper band, and a bearish trend is signaled when the price crosses below the lower band.
🎨 The Supertrend line changes color to reflect trend direction, with candlesticks and bars matching the trend's color for visual clarity.
⚙️ Customization Options :
🛠️ Moving Average Settings: Select your preferred moving average type (SMA, EMA, VWMA, etc.) and adjust the length for smoother or more responsive trend signals.
📐 Supertrend Parameters: Define the ATR period and adjust multipliers to fine-tune sensitivity for long and short signals.
🎨 Color Configuration: Choose from predefined color palettes or create your own custom scheme for trend signals.
📈 Use Cases :
✅ Confirm market trends before entering trades.
🚪 Identify potential entry/exit points as trend directions shift.
👀 Visually analyze market conditions with color-coded candlesticks and bars.
⚠️ Disclaimer :
This indicator should not be used as a standalone tool for making trading decisions. Always combine with other forms of analysis and risk management practices.
DS Gurukul RoundupRoundup (Support & Resistance Indicator) For Bank Nifty
By DS Gurukul
To be used only for Bank Nifty.
Indicator Overview
The Round Figure Indicator identifies key psychological support and resistance levels based on round numbers. These levels often act as strong turning points in price action due to trader psychology and institutional order placement.
How It Works
Key Levels:
Mid Band (Black Solid Line): Major round number
Upper Band (Green Solid Line): Mid Band (resistance)
Lower Band (Red Solid Line): Mid Band (support)
Sub-Bands (Dotted Lines): ±100 levels for tighter zones
Alerts: Triggers when price touches any band, signaling potential reversals or breakouts.
Trading Strategy
✅ Bounce Trades:
Buy near Lower Band or Mid Sub-Lower with bullish confirmation (e.g., hammer candle).
Sell near Upper Band or Mid Sub-Upper with bearish rejection (e.g., shooting star).
✅ Breakout Trades:
Enter long on a close above Upper Band with volume.
Enter short on a close below Lower Band with momentum.
⚠️ Risk Management:
Place stops just beyond the opposite sub-band.
Avoid trading if price is stuck between mid/sub-bands (choppy market).
Why It Works
Round numbers attract limit orders (support/resistance).
Institutions use these levels for stop placements and profit targets.
Works across all timeframes (scalping to swing trading).
🔔 Tip: Combine with RSI/MACD for higher-probability trades!