FVG Volume Profile [ChartPrime]⯁ OVERVIEW
FVG Volume Profile is a smart volume analysis tool that identifies Fair Value Gaps (FVGs) and overlays a volume profile inside each gap using data from lower timeframes. The indicator automatically selects the best time resolution or allows for manual control, giving traders deeper insight into the volume structure within each imbalance. POC levels and total volumes gives a full microstructure view inside every FVG.
⯁ KEY FEATURES
Fair Value Gap Detection (Bullish & Bearish)
Detects price gaps where inefficiency exists using a 3-bar structure.
-Bullish Gaps: Low > High with confirming middle bar.
-Bearish Gaps: High < Low with confirming middle bar.
Only significant gaps (filtered by standard deviation) are plotted to avoid noise.
Multi-Timeframe Volume Profiling
Pulls granular candle and volume data from a lower timeframe —
In Auto Mode, uses a resolution ~10x lower than the current chart.
In Manual Mode, lets the user select a custom timeframe.
This ensures accurate intra-gap volume distribution.
Dynamic Volume Binning
Each FVG is divided into vertical volume bins based on the Resolution input.
Each bin displays relative volume intensity as a horizontal box, scaled by percentage of the max bin volume.
Point of Control (PoC) Line & Label
The bin with the maximum volume inside each FVG is marked with:
A horizontal line (PoC) extending from the left to right side.
A label showing the absolute volume of that bin.
Color-coded to match bullish or bearish FVGs.
Total Volume Label Inside FVG
Each FVG displays the total volume sum from its profile:
For bullish FVGs , shown in the bottom-right corner.
For bearish FVGs , shown in the top-right corner.
Auto-Removal of Invalid Gaps
If price fully closes the gap (crosses its bounds), the FVG, profile, and PoC are deleted automatically.
This keeps the chart clean and focused only on active zones.
Toggleable Volume Profile Display
User can show or hide the volume profiles within FVGs using the "Display" toggle under the "FVG Volume Profile" group.
Only the PoC and FVG boxes remain visible if toggled off.
Volume Resolution Customization
Control the number of bins used for each FVG profile.
Higher resolution = more bins and finer volume analysis. (default 15)
Auto Timeframe Validation Warning
If the selected lower timeframe isn’t actually lower than the chart's, the script shows a visible warning label prompting adjustment.
Helps prevent calculation errors.
⯁ USAGE
Use this tool to identify active imbalance zones (FVGs) with embedded volume context.
Look for PoC positioning inside gaps — near top may indicate absorption or reversal zones.
Combine with price action at the PoC level for precision entries.
Hide volume profile for a cleaner view while retaining key POC and FVG boxes.
Use resolution controls to zoom into fine-grained profiles inside large gaps.
Consider Auto mode for seamless multi-timeframe analysis, or switch to Manual for full control.
⯁ CONCLUSION
FVG Volume Profile transforms raw imbalance detection into actionable insight by embedding lower-timeframe volume structure inside each Fair Value Gap. With PoC highlights, total volume labels, and customizable bin resolution, this indicator is essential for traders who want to understand not just where the gap is — but what volume did inside it .
Bandas e Canais
HTF Cross Breakout [CHE] HTF Cross Breakout — Detects higher timeframe close crossovers for breakout signals, anchors VWAP for trend validation, and flags continuations or traps with visual extensions for delta percent and stop levels.
Summary
This indicator spots moments when the current chart's close price crosses a higher timeframe close, marking potential breakouts only when the current bar shows directional strength. It anchors a volume-weighted average price line from the breakout point to track trend health, updating labels to show if the move continues or reverses into a trap. Extensions add a dotted line linking the breakout level to the current close with percent change display, plus a stop-loss marker at the VWAP end. Signals gain robustness from higher timeframe confirmation and anti-repainting options, reducing noise in live bars compared to simple crossover tools.
Motivation: Why this design?
Traders often face false breakouts from intrabar wiggles on lower timeframes, especially without higher timeframe alignment, leading to whipsaws in volatile sessions. This design uses higher timeframe close as a stable reference for crossover detection, combined with anchored volume weighting to gauge sustained momentum. It addresses these by enforcing bar confirmation and directional filters, providing clearer entry validation and risk points without overcomplicating the chart.
What’s different vs. standard approaches?
Reference baseline
Standard crossover indicators like moving average crosses operate solely on the chart timeframe, ignoring higher timeframe context and lacking volume anchoring.
Architecture differences
- Higher timeframe data pulls via security calls with optional repainting control for stability.
- Anchored VWAP resets at each signal, accumulating from the breakout bar only.
- Label dynamics update in real-time for continuation checks, with extensions for visual delta and stop computation.
- Event-driven line finalization prunes old elements after a set bar extension.
Practical effect
Charts show persistent lines and labels that extend live but finalize cleanly on new events, avoiding clutter. This matters for spotting trap reversals early via label color shifts, and extensions provide quick risk visuals without manual calculations, improving decision speed in trend trades.
How it works (technical)
The indicator first determines a higher timeframe based on user selection, pulling its close price securely. It checks for crossovers or crossunders of the current close against this higher close, but only triggers on confirmed bars with matching directional opens and closes. On a valid event, a horizontal line and label mark the higher close level, while a dashed VWAP line starts accumulating typical price times volume from that bar onward. During the active phase, the breakout line extends to the current bar, the label repositions and updates text based on whether the current close holds above or below the level for bulls or bears. A background tint warns if the close deviates adversely from the current VWAP. Extensions draw a vertical dotted line at the last bar between the breakout level and close, placing a midpoint label with percent difference; separately, a label at the VWAP end shows a computed stop price. Persistent variables track the active state and accumulators, resetting on new events after briefly extending old elements. Repaint risk from security calls is mitigated by confirmed bar gating or user opt-in.
Parameter Guide
Plateau Length (reserved for future, currently unused): Sets a length for potential plateau detection in extensions; default 3, minimum 1. Higher values would increase stability but are not active yet—leave at default to avoid tuning.
Line Width: Controls thickness of breakout, VWAP, and extension lines; default 2, range 1 to 5. Thicker lines improve visibility on busy charts but may obscure price action—use 1 for clean views, 3 or more for emphasis.
+Bars after next HTF event (finalize old, then delete): Extends old lines and labels by this many bars before deletion on new signals; default 20, minimum 0. Shorter extensions keep charts tidy but risk cutting visuals prematurely; longer aids review but builds clutter over time.
Evaluate label only on HTF close (prevents gray traps intrabar): When true, label updates wait for higher timeframe confirmation; default true. Enabling reduces intrabar flips for stabler signals, though it may delay feedback—disable for faster live trading at repaint cost.
Allow Repainting: Permits real-time security data without confirmation offset; default false. False ensures historical accuracy but lags live bars; true speeds updates but can repaint on HTF closes.
Timeframe Type: Chooses HTF method—Auto Timeframe (dynamic steps up), Multiplier (chart multiple), or Manual (fixed string); default Auto Timeframe. Auto adapts to chart scale for convenience; Multiplier suits custom scaling like 5 times current; Manual for precise like 1D on any chart.
Multiplier for Alternate Resolution: Scales chart timeframe when Multiplier type selected; default 5, minimum 1. Values near 1 mimic current resolution for subtle shifts; higher like 10 jumps to broader context, increasing signal rarity.
Manual Resolution: Direct timeframe string like 60 for 1H when Manual type; default 60. Match to trading horizon—shorter for swing, longer for positional—to balance frequency and reliability.
Show Extension 1: Toggles dotted line and delta percent label between breakout level and current close; default true. Disable to simplify for basic use, enable for precise momentum tracking.
Dotted Line Width: Thickness for Extension 1 line; default 2, range 1 to 5. Align with main Line Width for consistency.
Text Size: Size for delta percent label; options tiny, small, normal, large; default normal. Smaller reduces overlap on dense charts; larger aids glance reads.
Decimals for Δ%: Precision in percent change display; default 2, range 0 to 6. Fewer decimals speed reading; more suit low-volatility assets.
Positive Δ Color: Hue for upward percent changes; default lime. Choose contrasting for visibility.
Negative Δ Color: Hue for downward percent changes; default red. Pair with positive for quick polarity scan.
Dotted Line Color: Color for Extension 1 line; default gray. Neutral tones blend well; brighter for emphasis.
Background Transparency (0..100): Opacity for delta label background; default 90. Higher values fade for subtlety; lower solidifies for readability.
Show Extension 2: Toggles stop-loss label at VWAP end; default true. Turn off for entry focus only.
Stop Method: Percent from VWAP end or fixed ticks; options Percent, Ticks; default Percent. Percent scales with price levels; Ticks suits tick-based instruments.
Stop %: Distance as fraction of VWAP for Percent method; default 1.0, step 0.05, minimum 0.0. Tighter like 0.5 reduces risk but increases stops; wider like 2.0 allows breathing room.
Stop Ticks: Tick count offset for Ticks method; default 20, minimum 0. Adjust per asset volatility—fewer for tight control.
Price Decimals: Rounding for stop price text; default 4, range 0 to 10. Match syminfo.precision for clean display.
Text Size: Size for stop label; options tiny, small, normal, large; default normal. Scale to chart zoom.
Text Color: Foreground for stop text; default white. Ensure contrast with background.
Inherit VWAP Color (BG tint): Bases stop label background on VWAP hue; default true. True maintains theme; false allows custom black base.
BG Transparency (0..100): Opacity for stop label background; default 0. Zero for no tint; up to 100 for full fade.
Reading & Interpretation
Breakout lines appear green for bullish crosses or red for bearish, extending live until a new event finalizes them briefly then deletes. Labels start blank, updating to Bull Cont. or Bear Cont. in matching colors if holding the level, or gray Bull Trap/Bear Trap on reversal. VWAP dashes yellow for bulls, orange for bears, sloping with accumulated volume weight—deviations trigger faint red background warnings. Extension 1's dotted vertical shows at the last bar, with midpoint label green/red for positive/negative percent from breakout to close. Extension 2 places a left-aligned label at VWAP end with stop price and method note, tinted to VWAP for context.
Practical Workflows & Combinations
For trend following, enter long on green Bull Cont. labels above VWAP with higher highs confirmation, filtering via rising structure; short on red Bear Cont. below. Pair with volume surges or RSI above 50 for bulls to avoid traps. For exits, trail stops using the Extension 2 level, tightening on warnings or gray labels—aggressive on continuations, conservative post-trap. In multi-timeframe setups, use default Auto on 15m charts for 1H signals, scaling multiplier to 4 for daily context on hourly; test on forex/stocks where volume is reliable, avoiding low-liquidity assets.
Behavior, Constraints & Performance
Signals confirm on bar close with HTF gating when strict mode active, but live bars may update if repainting enabled—opt false for backtest fidelity, true for intraday speed. Security calls risk minor repaints on HTF closes, mitigated by confirmation offsets. Resources cap at 1000 bars back, 50 lines/labels total, with event prunes to stay under budgets—no loops, minimal arrays. Limits include VWAP lag in low-volume periods and dependency on accurate HTF data; gaps or holidays may skew anchors.
Sensible Defaults & Quick Tuning
Defaults suit 5m-1H charts on liquid assets: Auto HTF, no repaint, 1% stops. For choppy markets with excess signals, enable strict eval and bump multiplier to 10 for rarer triggers. If sluggish in trends, shorten extend bars to 10 and allow repainting for quicker visuals. On high-vol like crypto, widen stop % to 2.0 and use Ticks method; for stables like indices, tighten to 0.5% and keep Percent.
What this indicator is—and isn’t
This is a signal visualization layer for breakout confirmation and basic risk marking, best as a filter in discretionary setups. It isn’t a standalone system or predictive oracle—combine with price structure, news awareness, and sizing rules for real edges.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Institutional Compression Breakout (ICBO Algo) [@darshakssc]The ICBO Algo is a smart intraday trading tool that detects institutional compression zones followed by breakout confirmation. It combines candle range analysis, volume compression, EMA filtering, and ATR-based Risk/Reward zones to highlight high-probability trade setups with visual clarity.
This script is designed for educational and research purposes only, fully aligned with TradingView’s Pine Script policy and publishing guidelines.
🔍 Key Features
🌀 Compression Zone Detection
Identifies low-range, low-volume candles often formed before institutional breakouts.
📈📉 Breakout Signals
Triggered after confirmed price + EMA breakout post-compression.
📊 Dashboard Panel
Displays breakout phase, current R:R ratio, and zone status in real-time.
🟢🔴 Buy/Sell Labels with Emojis
Clean and non-intrusive labels for immediate action recognition.
🔔 Alerts Included
Receive real-time push, email, or webhook alerts for breakout signals.
⚙️ How It Works
Compression Phase:
When the candle range and volume are significantly lower than the moving average, the script flags it as a compression zone.
Breakout Confirmation:
A breakout signal is confirmed when the price breaks the previous high/low and is above/below the trend EMA.
Entry Logic:
📈 Buy: Price > previous high + above EMA after compression
📉 Sell: Price < previous low + below EMA after compression
⚠️ Disclaimer
This script is intended for educational and research purposes only. It does not constitute financial advice or recommendations of any kind. Always use proper risk management. Past performance does not guarantee future results.
Daily Levels + Pivot + VWAP + LRC + Bollinger + Session BiasAdded several indicators to help traders to create price action strategy. All lines of this indicator are fully non repaint and will never vanish even in the most volatile condition on any chart even on Renko. Try it...
Porsched Indicator🔧 Core Components:
1. Moving Averages with Clouds
EMA 25, 50, 75, and 150 with standard deviation bands
Visual clouds representing volatility around each EMA
Customizable colors for each average and its cloud
2. Dual Hull Bands
Two separate Hull bands with different periods (20 and 110)
Multiple variations: HMA, THMA, EHMA
Colored filling between Hull lines
Option to use higher timeframes for multi-timeframe analysis
3. Swing High/Low Detector
Identifies significant price reversal points
Configurable swing strength (default: 5 bars)
Solid lines for current swings and dotted for past ones
Alerts when swing levels are broken
4. Volume Analysis (PVSRA)
Vector Candles that change color based on volume:
Red/Green: Volume ≥ 200% of average or highest spread×volume
Blue/Violet: Volume ≥ 150% of average
Gray: Normal conditions
Vector Candle Zones (VCZ): Key areas based on volume candles
5. Daily & Weekly Levels
Previous day's high and low
Previous week's high and low
Stepline display with optional labels
6. UT Bot - Trailing Stop
Dynamic ATR-based stop loss
Bar coloring based on trend direction
Adjustable sensitivity via "Key Value"
7. Session Detector
Identifies session highs/lows (Sydney, Asia, Europe, etc.)
Visual boxes marking each trading session
⚙️ Customization Features:
Individual color schemes for all elements
Adjustable line thickness
Custom transparency settings
Flexible calculation periods
Multiple timeframe options
🎯 Trading Applications:
Trend Identification (EMAs + Hull)
Entry/Exit Points (Swings + Volume)
Risk Management (Trailing Stop)
Support/Resistance (VCZ + Highs/Lows)
Market Timing (Sessions + Volume)
💡 Key Benefits:
All-in-One Solution: Eliminates indicator clutter
Multi-Timeframe Analysis: Built-in higher timeframe data
Visual Clarity: Clean, organized display with color coding
Customizable Alerts: Swing break and trend change notifications
Professional Grade: Institutional-level volume analysis
This indicator is designed for traders who want a comprehensive market analysis tool without the complexity of managing multiple separate indicators, providing holistic market insight through different technical perspectives.
SMA 9/50/180 + EMA 20 + ORB + BUY/SELLSMA + EMA + ORB + Buy/Sell indicator step by step.
🧠 1️⃣ What the Indicator Does
This TradingView script combines four systems in one:
Component Purpose
SMA 9 / 50 / 180 Shows short-, medium-, and long-term trend direction
EMA 20 Gives quicker trend signals
Buy/Sell Swing Logic Generates arrow signals based on breakout/reversal
ORB (Opening Range Breakout) Marks high and low of the market’s first few minutes (e.g. 9:15–9:20)
Together, it helps identify:
The main market trend
Entry/exit signals
Early breakout zones for intraday trading
📊 2️⃣ Moving Averages (SMA & EMA)
Indicator Meaning
SMA 9 Tracks short-term price (fast signal)
SMA 50 Tracks medium trend
SMA 180 Long-term trend direction
EMA 20 Gives quicker reactions than SMA (useful for early entries)
How to use:
When SMA9 > SMA50 > SMA180, trend = strong uptrend
When SMA9 < SMA50 < SMA180, trend = strong downtrend
So you trade in the same direction as the moving averages.
💡 3️⃣ Buy / Sell Swing Logic
This part finds small swing breakouts:
It checks the highest high and lowest low of the last few candles (default = 3).
If price closes above the previous high → Buy Signal (Green Arrow)
If price closes below the previous low → Sell Signal (Red Arrow)
It also plots a Trailing Line (TSL) that flips color:
🟢 Green line → Uptrend (price above TSL)
🔴 Red line → Downtrend (price below TSL)
Optional:
You can color bars/background to match buy/sell zones.
⏰ 4️⃣ ORB – Opening Range Breakout
Opening Range Breakout (ORB) marks the market’s first few minutes’ high and low (default 9:15–9:20).
These two lines act as important breakout zones.
If price breaks above ORB high → bullish momentum
If price breaks below ORB low → bearish momentum
Helps you trade early intraday moves confidently.
🧩 5️⃣ How to Use Together
🔼 Buy Setup
SMA9 > SMA50 → uptrend
Price near ORB High or above it
Green “Buy” arrow appears
✅ Enter Buy position
🎯 Exit near resistance (previous swing high)
🔽 Sell Setup
SMA9 < SMA50 → downtrend
Price near ORB Low or below it
Red “Sell” arrow appears
✅ Enter Sell position
🎯 Exit near next support
⚙️ 6️⃣ Customization
You can adjust:
SMA & EMA periods
ORB session time (e.g. 9:15–9:30)
Swing candle count
Color options for background/bars
✅ 7️⃣ Why It’s Useful
Benefit Description
Multi-confirmation Combines trend + breakout + swing signals
Intraday friendly ORB + fast MAs = perfect for 5–15 min charts
Visual clarity Arrows, lines, and colors show direction clearly
Alerts ready You get notifications when Buy/Sell triggers
ATR + VIX Breakout StrategyChange the symbol to UVXY. Work great for option l long and S short. Take profits before it closes the trade. Pls remember you are using it at your own risk.
Bitcoin Power Law Corridor + Z-score
This script visualizes the long-term Bitcoin Power Law Corridor, a conceptual model originally discussed by Harold Christopher Burger, and enhances it with a logarithmic Z-Score framework.
The indicator plots Bitcoin’s long-term regression curve together with estimated resistance and support bands based on power-law relationships between price and time since inception.
The added Z-Score expresses the statistical distance between price and the central regression line, using logarithmic scaling:
Z ≈ 0 → price near its long-term fair-value trajectory.
Z ≈ +2 → price near the lower corridor boundary (historically undervalued region).
Z ≈ −2 → price near the upper corridor boundary (historically overheated region).
This indicator is designed for visual and educational purposes only.
It should not be considered financial advice, a predictive model, or a signal provider.
Users should always combine this tool with other forms of technical, fundamental, and sentiment analysis to confirm confluence before making any decision.
The Vishnu ZoneInitiate Trades in the Vishnu Zone. Once the Om Vishnu Symbol appears, the chart will be likely to show some movement in either direction. This is for those who are looking for movement and not consolidation.
TT ToniTrading Adjustable Trading Fee Band [%]Simple but perfectly functional indicator with Trading fee bands.
Crypto Trading is with fees and very small trades often don't make sense due to the fees we need to pay. With this band you can visualize your fees before entering a trade and take smarter decisions for tight daytrading and scalping.
With our Community Code ToniTrading you can get 10% livelong fee reduction and cashback on BingX. Or you use our Link:
bingx.com/partner/ToniTrading
You type in the fee for just one trade. The bands show the fees in % times 2, so what you will pay for opening and closing the trade in reality. The band therefore shows the real break even, with included payed fees.
It additionally helps taking trading decisions or not with very small trades (Scalping).
You can smooth the bands if you want and you can addtionally show the true datapoints if you prefer smoothend bands. I recommend no bigger smoothing than 2, if you don't want to show the datapoints. Additionally you can fill the band, and of course adjust transperency, colour and all the general TradingView stuff.
Have fun Trading, Happy Profits!
Greetings
ToniTrading
x.com/ToniTrading7
youtube.com/@ToniTradingCrypto
t.me/TradingTempel
TT ToniTrading Adjustable Trading Fee Band [%]Simple but perfectly functional indicator with Trading fee bands.
Crypto Trading is with fees and very small trades often don't make sense due to the fees we need to pay. With this band you can visualize your fees before entering a trade and take smarter decisions for tight daytrading and scalping.
With our Community Code ToniTrading you can get 10% livelong fee reduction and cashback on BingX. Or you use our Link:
www.bingx.com
You type in the fee for just one trade. The bands show the fees in % times 2, so what you will pay for opening and closing the trade in reality. The band therefore shows the real break even, with included payed fees.
It additionally helps taking trading decisions or not with very small trades (Scalping).
You can smooth the bands if you want and you can addtionally show the true datapoints if you prefer smoothend bands. I recommend no bigger smoothing than 2, if you don't want to show the datapoints. Additionally you can fill the band, and of course adjust transperency, colour and all the general TradingView stuff.
Fees:
BingX with 10% Code ToniTrading or Link above = 0,045 %
BingX: Normal = 0,050 %
Bitget, ByBit, BitUnix, Blofin, Phemex: Normal = 0,060 %
Bitget, ByBit, BitUnix, Blofin, Phemex: with 20% Code = 0,048 %
Have fun Trading, Happy Profits!
Greetings
ToniTrading
www.x.com
www.youtube.com
www.t.me
Bridge Bands ATR (Overlay) ShaneHurst-Adaptive Volatility Bands
A fractal-inspired evolution of Bollinger and Keltner bands that adapts dynamically to both volatility and trend persistence.
This indicator estimates the Hurst exponent (H) — a measure of market memory — and adjusts a standard volatility band to lean in the direction of the prevailing trend.
When H > 0.5, markets exhibit persistence (trending behavior); the bands shift in the trend’s direction.
When H < 0.5, markets are mean-reverting; the bands flatten and recent extremes become potential fade zones.
Band width scales with recent volatility (σ), expanding in turbulent conditions and contracting during calm periods.
Key Features:
Adaptive offset using the Hurst exponent
Volatility-sensitive width for dynamic market regimes
EMA baseline with directional bias
Clear visual separation between trending and choppy phases
Inspired by Benoit Mandelbrot’s The Misbehavior of Markets and H.E. Hurst’s original work on long-term memory in time series.
Use it to identify regime shifts, trend-following entries, and volatility-adjusted stop levels.
Credit for this script goes to a number of people including Steve B, MichaalAngle, doc and joecat808. 500 day DEMA (double EMA) can be used as a longer term momentum line.
Octopus OscillatorOctopus Oscillator - Advanced Multi-Indicator for TradingView
The Octopus Oscillator is a sophisticated technical analysis tool that combines the power of MACD and OBV-ADX indicators into one comprehensive oscillator. Designed for traders seeking clean, professional signals without visual clutter.
🎯 KEY FEATURES:
Dual Analysis System:
MACD Component: Classic Moving Average Convergence Divergence with thin, clean lines
OBV-ADX Component: Advanced volume-based directional movement analysis
Clean Visual Design:
Slim, elegant lines for optimal chart clarity
Prominent DI Difference histogram for momentum visualization
No distracting arrows or unnecessary plot markers
Professional color scheme with blue MACD and red Signal lines
Flexible Display Options:
Toggle MACD display on/off
Switch between ADX line view and DI Difference histogram
Adjustable background highlights for strong trend signals
Customizable parameters for all components
📊 INDICATOR COMPONENTS:
MACD Section:
Fast and slow EMA comparison for momentum analysis
Clean crossover signals without histogram clutter
Customizable periods and moving average types
OBV-ADX Section:
On-Balance Volume (OBV) based Directional Indicators
ADX smoothing for trend strength measurement
DI Difference histogram showing momentum direction
Background highlights for strong trend conditions
⚙️ CUSTOMIZATION:
Adjustable MACD fast/slow lengths and smoothing
Customizable DI Length and ADX smoothing periods
Multiple MA type options (SMA/EMA)
Toggle individual components on/off
Perfect for traders who want combined momentum and volume analysis in one clean, professional package. The Octopus Oscillator helps identify trend strength, momentum shifts, and potential trading opportunities with exceptional clarity.
Add to your TradingView chart today and enhance your technical analysis!
Triple SuperTrend + RSI + Fib BB + Vol Osc Strategy✅ Key Features Implemented:
Three SuperTrend Indicators with different opacities:
ST1: 10 period, 1.0 multiplier (solid)
ST2: 11 period, 2.0 multiplier (40% transparent)
ST3: 12 period, 3.0 multiplier (70% transparent)
Signal Logic (no repainting):
BUY: All 3 SuperTrends turn green + RSI(7) > 50
SELL: All 3 SuperTrends turn red + RSI(7) < 50
EXIT: Any SuperTrend changes color OR price touches Fib BB
Fibonacci Bollinger Bands (200 SMA ± 2.618 × StdDev):
Purple bands with subtle fill
Gray dashed middle line
Visual Elements:
Green "BUY" labels below bars
Red "SELL" labels above bars
Yellow circle "EXIT" labels at candle tops
Green/red background tint when all STs align
Info dashboard showing real-time status
Alert Conditions for BUY, SELL, and EXIT
Position Tracking ensures only one signal per condition change
📊 Usage:
Copy the entire code and paste it into TradingView's Pine Editor, then click "Add to Chart". The indicator will display all three SuperTrends, Fibonacci Bollinger Bands, and generate signals according to your exact specifications.
The dashboard in the top-right corner shows the current status of each SuperTrend, RSI value, and whether you're in a position!RetryLH
Bollinger Band ToolkitBollinger Band Toolkit
An advanced, adaptive Bollinger Band system for traders who want more context, precision, and edge.
This indicator expands on the classic Bollinger Bands by combining statistical and volatility-based methods with modern divergence and squeeze detection tools. It helps identify volatility regimes, potential breakouts, and early momentum shifts — all within one clean overlay.
🔹 Core Features
1. Adaptive Bollinger Bands (σ + ATR)
Classic 20-period bands enhanced with an ATR-based volatility adjustment, making them more responsive to true market movement rather than just price variance.
Reduces “overreacting” during chop and avoids bands collapsing too tightly during trends.
2. %B & RSI Divergence Detection
🟢 Green dots: Positive %B divergence — price makes a lower low, but %B doesn’t confirm (bullish).
🔴 Red dots: Negative %B divergence — price makes a higher high, but %B doesn’t confirm (bearish).
✚ Red/green crosses: RSI divergence confirmation — momentum fails to confirm the price’s new extreme.
These signals highlight potential reversal or slowdown zones that are often invisible to the naked eye.
3. Bollinger Band Squeeze (with Volume Filter)
Yellow squares (■) show periods when Bollinger Bands are at their narrowest relative to recent history.
Volume confirmation ensures the squeeze only triggers when both volatility and participation contract.
Often marks the “calm before the storm” — breakout potential zones.
4. Multi-Timeframe Breakout Markers
Optionally displays breakouts from higher or lower timeframes using different colors/symbols.
Lets you see when a higher timeframe band break aligns with your current chart — a strong trend continuation signal.
5. Dual- and Triple-Band Visualization (±1σ, ±2σ, ±3σ)
Optional inner (±1σ) and outer (±3σ) bands provide a layered volatility map:
Price holding between ±1σ → stable range / mean-reverting behavior
Price riding near ±2σ → trending phase, sustained momentum
Price touching or exceeding ±3σ → volatility expansion or exhaustion zone
This triple-band layout visually distinguishes normal movement from statistical extremes, helping you read when the market is balanced, expanding, or approaching its limits.
⚙️ Inputs & Customization
Choose band type (SMA/EMA/SMMA/WMA/VWMA)
Adjust deviation multiplier (σ) and ATR multiplier
Toggle individual features (divergence dots, squeeze markers, inner bands, etc.)
Multi-timeframe and colour controls for advanced users
🧠 How to Use
Watch for squeeze markers followed by a breakout bar beyond ±2σ → volatility expansion signal.
Combine divergence dots with RSI or price structure to anticipate slowdowns or reversals.
Confirm direction using multi-timeframe breakouts and volume expansion.
💬 Why It Works
This toolkit transforms qualitative chart reading (tight bands, hidden divergence) into quantitative, testable conditions — giving you objective insights that can be backtested, coded, or simply trusted in live setups.
Daily H/L/M + Open + VWAP + BB + LRC + Session Bias (Robust)This is great indicator to create price action based strategy in all kind of charts including renko. All the line are non repainting and wont vanish even in high volatily in renko or in any other chart. Try it to make your own strategy.
XAUUSD M15 Supply & Demand + Entry/SL/TP + Alerts//@version=5
indicator("XAUUSD M15 Supply & Demand + Entry/SL/TP + Alerts", overlay=true)
// ======================
// 🔹 Demand Zones
// ======================
demand1_top = 3682
demand1_bottom = 3678
box.new(left=bar_index-50, top=demand1_top, right=bar_index+50, bottom=demand1_bottom,
bgcolor=color.new(color.green, 85), border_color=color.green)
demand2_top = 3665
demand2_bottom = 3660
box.new(left=bar_index-50, top=demand2_top, right=bar_index+50, bottom=demand2_bottom,
bgcolor=color.new(color.green, 85), border_color=color.green)
// ======================
// 🔺 Supply Zones
// ======================
supply1_top = 3695
supply1_bottom = 3690
box.new(left=bar_index-50, top=supply1_top, right=bar_index+50, bottom=supply1_bottom,
bgcolor=color.new(color.red, 85), border_color=color.red)
supply2_top = 3712
supply2_bottom = 3708
box.new(left=bar_index-50, top=supply2_top, right=bar_index+50, bottom=supply2_bottom,
bgcolor=color.new(color.red, 85), border_color=color.red)
// ======================
// 📍 Levels
// ======================
entry_price = 3680
sl_price = 3661
tp1_price = 3692
tp2_price = 3710
// ======================
// 🏷️ Labels
// ======================
label.new(bar_index, entry_price, text="ENTRY BUY 3680 ±2",
style=label.style_label_up, color=color.green, textcolor=color.white)
label.new(bar_index, sl_price, text="STOP LOSS 3661",
style=label.style_label_down, color=color.red, textcolor=color.white)
label.new(bar_index, tp1_price, text="TP1 3692-3695",
style=label.style_label_down, color=color.blue, textcolor=color.white)
label.new(bar_index, tp2_price, text="TP2 3708-3712",
style=label.style_label_down, color=color.blue, textcolor=color.white)
// ======================
// 🔔 Alerts
// ======================
// Entry Zone
inEntry = (low <= demand1_top and high >= demand1_bottom)
alertcondition(inEntry, title="Entry Zone Hit", message="XAUUSD masuk ENTRY BUY zone (3680±2)")
// Stop Loss
hitSL = (low <= sl_price)
alertcondition(hitSL, title="Stop Loss Hit", message="XAUUSD STOP LOSS kena di 3661 ❌")
// Take Profit 1
hitTP1 = (high >= tp1_price and high <= supply1_top)
alertcondition(hitTP1, title="TP1 Hit", message="XAUUSD TP1 tercapai ✅ (3692-3695)")
// Take Profit 2
hitTP2 = (high >= tp2_price and high <= supply2_top)
alertcondition(hitTP2, title="TP2 Hit", message="XAUUSD TP2 tercapai 🎯 (3708-3712)")
DARVAS BOX V5 Darvas Box indicator from Pine Script v3 to v5 with these improvements:
Triangle breakout signals (green up, red down)
Toggle option to show/hide signals
Breakout detection logic that tracks when price exits the box
Alert conditions for both upside and downside breakouts
Color Options:
Customize all visual elements to match your preferences:
Adjustable colors for top and bottom box lines
Custom colors for bullish and bearish breakout triangles
Flexible styling to fit any chart theme"
TKM 1 - EMA + RSI + MACD Combokaliamoorthy thangaiyan 3 in 1, THIS INDICATOR WILL HELP TO GET 90% TO TRADE
내 스크립트//@version=5
indicator('RSI+BB+이격도', overlay=false)
// 매개변수 초기화
src = input(title='Source', defval=close) // 계산에 대한 가격 유형 설정
for_rsi = input(title='RSI_period', defval=14) // RSI 기간
for_ma = input(title='Basis_BB', defval=20) // BB 내 MA 기간
for_mult = input.float(title='Stdev', defval=2, minval=1, maxval=5) // BB의 표준 편차 수
for_sigma = input.float(title='Dispersion', defval=0.1, minval=0.01, maxval=1) // MA 주변 이격도
// 스크립트의 작업 조건
current_rsi = ta.rsi(src, for_rsi) // RSI 표시기의 현재 위치
basis = ta.ema(current_rsi, for_ma)
dev = for_mult * ta.stdev(current_rsi, for_ma)
upper = basis + dev
lower = basis - dev
disp_up = basis + (upper - lower) * for_sigma // RSI가 통과해야 하는 이동 영역의 최소 허용 임계값(상단)
disp_down = basis - (upper - lower) * for_sigma // RSI가 극복해야 하는 이동 영역의 최소 허용 임계값(하단)
color_rsi = current_rsi >= disp_up ? color.rgb(0, 255, 132) : current_rsi <= disp_down ? color.rgb(255, 0, 0) : #ffea00 // BB 내 위치에 따른 RSI의 현재 색상
short_l1 = input(5, title='Short - L1')
short_l2 = input(20, title='Short - L2')
short_l3 = input(15, title='Short - L3')
long_l1 = input(20, title='Long - L1')
long_l2 = input(15, title='Long - L2')
shortTermXtrender = ta.rsi(ta.ema(close, short_l1) - ta.ema(close, short_l2), short_l3) - 50
longTermXtrender = ta.rsi(ta.ema(close, long_l1), long_l2) - 50
shortXtrenderCol = shortTermXtrender > 0 ? shortTermXtrender > shortTermXtrender ? color.lime : #228B22 : shortTermXtrender > shortTermXtrender ? color.red : #8B0000
t3(src, len) =>
xe1_1 = ta.ema(src, len)
xe2_1 = ta.ema(xe1_1, len)
xe3_1 = ta.ema(xe2_1, len)
xe4_1 = ta.ema(xe3_1, len)
xe5_1 = ta.ema(xe4_1, len)
xe6_1 = ta.ema(xe5_1, len)
b_1 = 0.7
c1_1 = -b_1 * b_1 * b_1
c2_1 = 3 * b_1 * b_1 + 3 * b_1 * b_1 * b_1
c3_1 = -6 * b_1 * b_1 - 3 * b_1 - 3 * b_1 * b_1 * b_1
c4_1 = 1 + 3 * b_1 + b_1 * b_1 * b_1 + 3 * b_1 * b_1
nT3Average_1 = c1_1 * xe6_1 + c2_1 * xe5_1 + c3_1 * xe4_1 + c4_1 * xe3_1
nT3Average_1
maShortTermXtrender = t3(shortTermXtrender, 5)
colShortTermXtrender = maShortTermXtrender > maShortTermXtrender ? color.lime : color.red
plotshape(maShortTermXtrender > maShortTermXtrender and maShortTermXtrender < maShortTermXtrender ? maShortTermXtrender : na, location=location.bottom, style=shape.circle, color=color.new(color.lime, 10), size=size.tiny)
plotshape(maShortTermXtrender < maShortTermXtrender and maShortTermXtrender > maShortTermXtrender ? maShortTermXtrender : na, location=location.top, style=shape.circle, color=color.new(color.red, 10), size=size.tiny)
longXtrenderCol = longTermXtrender > 0 ? longTermXtrender > longTermXtrender ? color.lime : #228B22 : longTermXtrender > longTermXtrender ? color.red : #8B0000
macollongXtrenderCol = longTermXtrender > longTermXtrender ? color.lime : color.red
// 단기 추세 이동 평균을 기반으로 한 롱 및 숏 신호에 대한 경고 조건
alertcondition(maShortTermXtrender > maShortTermXtrender and maShortTermXtrender < maShortTermXtrender , title='매수추세감지', message='잠재적 매수 포지션 이격도 보고 진입.')
alertcondition(maShortTermXtrender < maShortTermXtrender and maShortTermXtrender > maShortTermXtrender , title='매도추세감지', message='잠재적 매도 포지션 이격도 보고 진입.')
left = input.int(5, "left")
right = input.int(5, "right")
// 1. 지표
osc = ta.rsi(close, 14)
plot(osc, linewidth = 2)
// 2. 피봇 찾기 (상승div-피봇로우, 하락div-피봇하이)
pivotlow = ta.pivotlow(osc, left, right)
pivothigh = ta.pivothigh(osc, left, right)
is_pivotlow = not na(pivotlow)
is_pivothigh = not na(pivothigh)
// 3. 다이버전스 찾기
// 상승 다이버전스
prev_pivotlow = ta.valuewhen(is_pivotlow, pivotlow, 1)
osc_higher_low = is_pivotlow ? pivotlow > prev_pivotlow : false
prev_low = ta.valuewhen(is_pivotlow, low , 1)
price_lower_low = is_pivotlow ? low < prev_low : false
is_regular_bullish_divergence = osc_higher_low and price_lower_low
plotshape(is_regular_bullish_divergence ? is_pivotlow : na, offset = -right, title="상승 다이버전스", text = "Bull", style = shape.labelup, color = color.green, textcolor = color.white, location = location.bottom)
plot(is_pivotlow ? pivotlow : na, color = is_regular_bullish_divergence ? color.green : na, offset = -right, linewidth = 2)
// 히든 상승다이버전스
osc_lower_low = is_pivotlow ? pivotlow < prev_pivotlow : false
price_higher_low = is_pivotlow ? low > prev_low : false
is_hidden_bullish_divergence = osc_lower_low and price_higher_low
plotshape(is_hidden_bullish_divergence ? is_pivotlow : na, offset = -right, title="히든 상승 다이버전스", text = "H Bull", style = shape.labelup, color = color.green, textcolor = color.white, location = location.bottom)
plot(is_pivotlow ? pivotlow : na, color = is_hidden_bullish_divergence ? color.green : na, offset = -right, linewidth = 2)
// 하락다이버전스
prev_pivothigh = ta.valuewhen(is_pivothigh, pivothigh, 1)
osc_lower_high = is_pivothigh ? pivothigh < prev_pivothigh : false
prev_high = ta.valuewhen(is_pivothigh, high , 1)
price_higher_high = is_pivothigh ? high > prev_high : false
is_regular_bearish_divergence = osc_lower_high and price_higher_high
plotshape(is_regular_bearish_divergence ? is_pivothigh : na, offset = -right, title="하락 다이버전스", text = "Bear", style = shape.labeldown, color = color.red, textcolor = color.white, location = location.top)
plot(is_pivothigh ? pivothigh : na, color = is_regular_bearish_divergence ? color.red : na, offset = -right, linewidth = 2)
// 히든 하락 다이버전스
osc_higher_high = is_pivothigh ? pivothigh > prev_pivothigh : false
price_lower_high = is_pivothigh ? high < prev_high : false
is_hidden_bearish_divergence = osc_higher_high and price_lower_high
plotshape(is_hidden_bearish_divergence ? is_pivothigh : na, offset = -right, title="히든 하락 다이버전스", text = "H Bear", style = shape.labeldown, color = color.red, textcolor = color.white, location = location.top)
plot(is_pivothigh ? pivothigh : na, color = is_hidden_bearish_divergence ? color.red : na, offset = -right, linewidth = 2)
// RSI 영역에 대한 추가 줄 및 채우기
h1 = hline(70, color=#d4d4d4, linestyle=hline.style_dotted, linewidth=1)
h2 = hline(50, color=#d4d4d4, linestyle=hline.style_dotted, linewidth=1)
h3 = hline(30, color=#d4d4d4, linestyle=hline.style_dotted, linewidth=1)
rsiPlot = plot(ta.rsi(close,14), "RSI", color=na, editable = false, display = display.none)
midLinePlot = plot(50, color = na, editable = false, display = display.none)
fill(rsiPlot, midLinePlot, 100, 70, top_color = color.new(#ff0000, 0), bottom_color = color.new(#ff0000, 100), title = "Overbought Gradient Fill")
fill(rsiPlot, midLinePlot, 30, 0, top_color = color.new(#48ff00, 100), bottom_color = color.new(#66ff00, 0), title = "Oversold Gradient Fill")
// 사용자 입력값
lengthBB1 = input.int(20, title='BB1', minval=1)
lengthBB2 = input.int(4, title='BB2', minval=1)
multBB1 = input.float(2, title='BB1', minval=0.1)
multBB2 = input.float(4, title='BB2', minval=0.1)
lengthMA = input.int(20, title='MA Length', minval=1)
// 볼린저 밴드 계산
basisBB1 = ta.sma(close, lengthBB1)
upperBB1 = basisBB1 + multBB1 * ta.stdev(close, lengthBB1)
lowerBB1 = basisBB1 - multBB1 * ta.stdev(close, lengthBB1)
basisBB2 = ta.sma(open, lengthBB2)
upperBB2 = basisBB2 + multBB2 * ta.stdev(open, lengthBB2)
lowerBB2 = basisBB2 - multBB2 * ta.stdev(open, lengthBB2)
// 이동평균선 추가
maClose = ta.sma(close, lengthMA)
// 표시할 조건 정의
showAboveTriangle = high >= upperBB1 and high >= upperBB2
showBelowTriangle = low <= lowerBB1 and low <= lowerBB2
showAboveTriangle1 = high >= upperBB2
showBelowTriangle1 = low <= lowerBB2
// 상단에 역삼각형 표시 (빨간색)
plotshape(series=showAboveTriangle, title='더블비 매도', color=color.rgb(255, 0, 0), style=shape.triangledown, text='DS', textcolor= color.white,size=size.small, location=location.top)
// 하단에 삼각형 표시 (초록색)
plotshape(series=showBelowTriangle, title='더블비 매수', color=color.rgb(4, 253, 12), style=shape.triangleup, text='DB', textcolor= color.white,size=size.small, location=location.bottom)
// 알림 및 트리거 조건
rsi_Green = ta.crossover(current_rsi, disp_up)
rsi_Red = ta.crossunder(current_rsi, disp_down)
alertcondition(condition=rsi_Green, title='이격도 밴드 매수', message='이격도 밴드 매수')
alertcondition(condition=rsi_Red, title='이격도 밴드 매도', message='이격도 밴드 매도')
rsi_Red1 = ta.crossover(current_rsi, lower)
rs9_Green1 = ta.crossunder(current_rsi, upper)
// 매수 매도 표시기
plotshape(rsi_Red1,color=color.green, style=shape.cross, location=location.bottom, size=size.small, title='(매수) signal')
plotshape(rs9_Green1,color= color.red, style=shape.cross, location=location.top, size=size.small, title='(매도) signal')
// 삼각형 표시된 위치에 알람 설정
alertcondition(showAboveTriangle, title='더블비 매도감지', message='더블비 매도감지')
alertcondition(showBelowTriangle, title='더블비 매수감지', message='더블비 매수감지')
// 결과 및 색상 지정
plot(basis, color=color.new(#080808, 0))
plot(upper, color=color.new(#00fff0, 0), linewidth=2)
plot(lower, color=color.new(#00fff0, 0), linewidth=2)
s1 = plot(disp_up, color=color.new(color.white, 0))
s2 = plot(disp_down, color=color.new(color.white, 0))
fill(s1, s2, color=color.new(color.white, 80))
plot(current_rsi, color=color_rsi, linewidth=2)
First week of the yearA very simple indicator that marks a channel on the candlestick for the first week of the year.
The channel can serve as an entry/exit point with a medium and long term focus.
Note: This indicator should be observed exclusively on the weekly timeframe.
Asia Risk MonitorAsia Risk Monitor for all those monitoring the financial situation in the US, looking for a clue of a move to the down or upside.