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.
Indicators and strategies
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.
ATR BandsThe ATR (Average True Range) Bands Indicator is a technical indicator that plots ATR-based bands around the price of a security.
The purpose of this indicator is to assist users in visualizing ATR-based levels, stop losses, take profits, and trailing stop losses on the chart to speed up trade decisions and backtesting sessions.
Market Structure (Compact Dashboard) with Trade PlansScript to identify multi timeframe market structure and Position, Short Term and Scalp Startegy based on ICT Swing Process.
Logic based on proces decsribed by ICT in his swing trading concepts in the 2016 series. Position trading based on M-W-D, Short Term based on W-D-4H and scalp based on D-4H-1H
Bullish and bearish based on the break of a swing high or low with a close.
The script prodices the table on the top right and botom centre and NOT other levels on this chart
SD XO level marking Custom Horizontal Linesthis is XO strategy idel for Nifty take mid point from PDH & PDL and keet distance of line at 63 points
K's Reversal Indicator I with Order BlocksPlot this indicator and use ONLY 1 Hour timeframe. When signal appears, wait for the candle to close and mark the high and low of the candle. Take bullish entry if the next candle closes above the high of the candle in which signal had generated and for bearish entry if the next candle closes below the low of the candle.
The signal would be less as compared to other indicators but the results are great. Please backtest before using.
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
AlgoRanger Fibonacci Synthesis📘 AlgoRanger Fibonacci Synthesis
Author:
🔍 What It Does:
The AlgoRanger Fibonacci Synthesis is a powerful technical analysis tool that automatically draws dynamic Fibonacci retracement levels between algorithmically detected swing highs and lows. It combines price action structure, retracement theory, and trend confirmation in one seamless indicator.
This tool is ideal for traders looking to enter on pullbacks, confirm trend reversals, or identify key price reaction zones without having to manually draw Fibonacci levels.
🛠️ How It Works:
Auto Swing Detection: The indicator uses recent price pivots to define a high-low range and draws Fibonacci levels within it (0% to 100%).
Key Fib Levels: The classic 23.6%, 38.2%, 50%, 61.8%, and 78.6% retracement levels are plotted to show areas of potential support/resistance.
Color-Coded Zones: Each level is clearly color-coded to help you visually assess risk/reward and decision zones.
Trend Mapping: Works in conjunction with AlgoRanger Smart Signal and Trend Dashboard for market structure confirmation.
Dynamic Support Line: A red stepped baseline highlights trailing support or trend-following strength zones.
📈 How to Use It:
Entry Zones: Look to enter long trades during pullbacks to the 38.2%–61.8% retracement in an uptrend. Enter shorts in the same range during a downtrend.
Confirmation: Use trend context (e.g. green/red structure lines or other AlgoRanger tools) to confirm the dominant direction.
Stops and Targets:
Place stops near 78.6%–100% levels (end of retracement).
Use 0% or new swing highs/lows as initial profit targets.
Reversal Watching: If price hits 78.6%–100%, monitor for rejection candles or divergences for potential reversal entries.
✅ Best For:
Day trading (15m–1h charts)
Swing trading
Trend-following and countertrend strategies
⚙️ Settings You Can Customize (If Included):
Lookback length for pivot calculation
Visibility of individual Fib levels
Alert options when price crosses Fib zones (optional)
Style and color preferences
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! 🔥
AlgoRanger Trend Matrix📘 AlgoRanger Trend Matrix
Author: AlgoRanger
🔍 What It Does:
AlgoRanger Trend Matrix is a multi-timeframe trend confirmation tool that combines higher and lower timeframe analysis into a clean, color-coded dashboard. It helps traders quickly identify trend alignment across different timeframes, improving decision-making for entries, exits, and overall market bias.
It is designed to act as a visual filter to keep you trading in the direction of the dominant trend.
🛠️ How It Works:
Multi-Timeframe Trend Scanning: Calculates trend direction on several user-defined timeframes (e.g., 1h, 4h, 1D, 1W).
Trend Criteria: Uses indicators like Moving Averages, Price Action, or custom logic to determine if the market is Bullish, Bearish, or Neutral.
Color-Coded Matrix:
🟢 Green = Uptrend
🔴 Red = Downtrend
⚪ Gray/Neutral = Sideways or indecisive
Visual Panel: Displays real-time trend direction for each timeframe in a compact matrix format.
📈 How to Use It:
Trend Confirmation: Only take trades in the direction where multiple timeframes show the same color (e.g., mostly green for buys).
Filter Noise: Avoid trades when the matrix is mixed (green + red + gray), signaling indecision.
Entry Timing:
Wait for lower timeframes (like 5m/15m) to align with higher ones (e.g. 1H, 4H).
This confirms momentum is syncing across levels.
Exits:
Consider taking partial profits or exiting when the matrix begins showing trend conflict (e.g., green turning red).
Scalping to Swing:
Scalpers use short-term trends (5m/15m).
Swing traders focus on 1H to Daily.
✅ Best For:
Day trading
Swing trading
Trend-following systems
Traders needing quick visual confirmation of trend alignment
⚙️ Customizable Settings (if available):
Timeframes to include (fully user-defined)
Trend criteria logic (MA, RSI slope, etc.)
Panel position and size
Alert integration when trends flip
🧠 Pro Tip:
Pair this with your entry strategy (e.g., Fibonacci Synthesis or price action) to filter out low-probability trades and stay on the right side of momentum.
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.
Nirav - Opening Range with Breakouts & TargetsOpening Range with Breakouts & Targets that also includes capability to toggle between range including wick high/lows or just candle body high/lows.
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.
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.
RSI/MFI with Volatility Bands with Alerts [BetaBlock]Based on LazyBear - RSI/MFI with Bollinger Bands indicator, but with Oversold and Overbought alerts
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.