거미줄 자동매매 250227Okay, let's break down this TradingView Pine Script code, '거미줄 자동매매 250227' (Spiderweb Auto-Trading 250227).
This script implements a grid trading strategy for long positions in the USDT market. The core idea is to place a series of buy limit orders at progressively lower prices below an initial entry point, aiming to lower the average entry price as the price drops. It then aims to exit the entire position when the price rises a certain percentage above the average entry price.
Here's a detailed breakdown:
1. Strategy Setup (`strategy` function):
`'거미줄 자동매매 250227'`: The name of the strategy.
`overlay = true`: Draws plots and labels directly on the main price chart.
`pyramiding = 15`: Allows up to 15 entries in the same direction (long). This is essential for grid trading, as it needs to open multiple buy orders.
`initial_capital = 600`: Sets the starting capital for backtesting to 600 USDT.
`currency = currency.USDT`: Specifies the account currency as USDT.
`margin_long/short = 0`: Doesn't define specific margin requirements (might imply spot trading logic or rely on exchange defaults if used live).
`calc_on_order_fills = false`: Strategy calculations happen on each bar's close, not just when orders fill.
2. Inputs (`input`):
Core Settings:
`lev`: Leverage (default 10x). Used to calculate position sizes.
`per1`: Percentage of total capital to allocate to the initial grid (default 80%).
`per2`: Percentage of the *remaining* capital (100 - `per1`) to use for the "semifinal" entry (default 50%). The rest goes to the "final" entry.
`len`: Lookback period (default 4 bars) to determine the initial `maxPrice`.
`range1`: The total percentage range downwards from `maxPrice` where the grid orders will be placed (default -10%, meaning 10% down).
`tp`: Take profit percentage above the average entry price (default 0.45%).
`semifinal`: Percentage drop from `maxPrice` to trigger the "semifinal" larger entry (default 12%).
`final`: Percentage drop from `maxPrice` to trigger the "final" larger entry (default 15%).
Trading Mechanics:
`trail`: Boolean (true/false) to enable an ATR-based trailing stop only if just the first grid order ("Buy 1") has filled (default true).
`atrPeriod`, `atrMult`: Settings for the ATR calculation if `trail` is true.
Rounding & Display:
`roundprice`, `round`: Decimal places for rounding price and quantity calculations.
`texts`, `label_style`: User interface preferences for text size and label appearance on the chart.
Time Filter:
`startTime`, `endTime`: Defines the date range for the backtest.
3. Calculations & Grid Setup:
`maxPrice`: The highest price point for the grid setup. Calculated as the lowest low of the previous `len` bars only if no trades are open . If trades are open, it uses the entry price of the very first order placed in the current sequence (`strategy.opentrades.entry_price(0)`).
`minPrice`: The lowest price point for the grid, calculated based on `maxPrice` and `range1`.
`totalCapital`: The amount of capital (considering leverage and `per1`) allocated for the main grid orders.
`coinRatios`: An array ` `. This defines the *relative* size ratio for each of the 11 grid orders. Later orders (at lower prices) will be progressively larger.
`totalRatio`: The sum of all ratios (66).
`positionSizes`: An array calculated based on `totalCapital` and `coinRatios`. It determines the actual quantity (size) for each of the 11 grid orders.
4. Order Placement Logic (`strategy.entry`):
Initial Grid Orders:
Runs only if within the specified time range and no position is currently open (`strategy.opentrades == 0`).
A loop places 11 limit buy orders (`Buy 1` to `Buy 11`).
Prices are calculated linearly between `maxPrice` and `minPrice`.
Order sizes are taken from the `positionSizes` array.
Semifinal & Final Entries:
Two additional, larger limit buy orders are placed simultaneously with the grid orders:
`semifinal entry`: At `maxPrice * (1 - semifinal / 100)`. Size is based on `per2`% of the capital *not* used by the main grid (`1 - per1`).
`final entry`: At `maxPrice * (1 - final / 100)`. Size is based on the remaining capital (`1 - per2`% of the unused portion).
5. Visualization (`line.new`, `label.new`, `plot`, `plotshape`, `plotchar`):
Grid Lines & Labels:
When a position is open (`strategy.opentrades > 0`), horizontal lines and labels are drawn for each of the 11 grid order prices and the "final" entry price.
Lines extend from the bar where the *first* entry occurred.
Labels show the price and planned size for each level.
Dynamic Coloring: If the price drops below a grid level, the corresponding line turns green, and the label color changes, visually indicating that the level has been reached or filled.
Plotted Lines:
`maxPrice` (initial high point for the grid).
`strategy.position_avg_price` (current average entry price of the open position, shown in red).
Target Profit Price (`strategy.position_avg_price * (1 + tp / 100)`, shown in green).
Markers:
A flag marks the `startTime`.
A rocket icon (`🚀`) appears below the bar where the `final entry` triggers.
A stop icon (`🛑`) appears below the bar where the `semifinal entry` triggers.
6. Exit Logic (`strategy.exit`, `strategy.entry` with `qty=0`):
Main Take Profit (`Full Exit`):
Uses `strategy.entry('Full Exit', strategy.short, qty = 0, limit = target2)`. This places a limit order to close the entire position (`qty=0`) at the calculated take profit level (`target2 = avgPrice * (1 + tp / 100)`). Note: Using `strategy.entry` with `strategy.short` and `qty=0` is a way to close a long position, though `strategy.exit` is often clearer. This exit seems intended to apply whenever any part of the grid position is open.
First Order Trailing Stop (`1st order Full Exit`):
Conditional : Only active if `trail` input is true AND the *last* order filled was "Buy 1" (meaning only the very first grid level was entered).
Uses `strategy.exit` with `trail_points` and `trail_offset` based on ATR values to implement a trailing stop loss/profit mechanism for this specific scenario.
This trailing stop order is cancelled (`strategy.cancel`) if any subsequent grid orders ("Buy 2", etc.) are filled.
Final/Semifinal Take Profit (`final Full Exit`):
Conditional : Only active if more than 11 entries have occurred (meaning either the "semifinal" or "final" entry must have triggered).
Uses `strategy.exit` to place a limit order to close the entire position at the take profit level (`target3 = avgPrice * (1 + tp / 100)`).
7. Information Display (Tables & UI Label):
`statsTable` (Top Right):
A comprehensive table displaying grouped information:
Market Info (Entry Point, Current Price)
Position Info (Avg Price, Target Price, Unrealized PNL $, Unrealized PNL %, Position Size, Position Value)
Strategy Performance (Realized PNL $, Realized PNL %, Initial/Total Balance, MDD, APY, Daily Profit %)
Trade Statistics (Trade Count, Wins/Losses, Win Rate, Cumulative Profit)
`buyAvgTable` (Bottom Left):
* Shows the *theoretical* entry price and average position price if trades were filled sequentially up to each `buy` level (buy1 to buy10). It uses hardcoded percentage drops (`buyper`, `avgper`) based on the initial `maxPrice` and `coinRatios`, not the dynamically changing actual average price.
`uiLabel` (Floating Label on Last Bar):
Updates only on the most recent bar (`barstate.islast`).
Provides real-time context when a position is open: Size, Avg Price, Current Price, Open PNL ($ and %), estimated % drop needed for the *next* theoretical buy (based on `ui_gridStep` input), % rise needed to hit TP, and estimated USDT profit at TP.
Shows "No Position" and basic balance/trade info otherwise.
In Summary:
This is a sophisticated long-only grid trading strategy. It aims to:
1. Define an entry range based on recent lows (`maxPrice`).
2. Place 11 scaled-in limit buy orders within a percentage range below `maxPrice`.
3. Place two additional, larger buy orders at deeper percentage drops (`semifinal`, `final`).
4. Calculate the average entry price as orders fill.
5. Exit the entire position for a small take profit (`tp`) above the average entry price.
6. Offer a conditional ATR trailing stop if only the first order fills.
7. Provide extensive visual feedback through lines, labels, icons, and detailed information tables/UI elements.
Keep in mind that grid strategies can perform well in ranging or slowly trending markets but can incur significant drawdowns if the price trends strongly against the position without sufficient retracements to hit the take profit. The leverage (`lev`) input significantly amplifies both potential profits and losses.
Pivot-Punkte und Levels
Break of Structure & Change of CharacterThis Break of Structure & Change of Character indicator is a fully customizable Pine Script v6 tool designed to help you spot key market structure shifts on any timeframe (optimized by default for 5‑minute charts). Here’s what it does and how to tailor it:
What It Detects
Swing Pivots
Finds local swing highs and lows over a configurable lookback (Pivot Lookback).
Break of Structure (BOS)
Marks when price closes beyond the last swing high (bullish BOS) or below the last swing low (bearish BOS), using an ATR‑based buffer to filter out minor moves.
Change of Character (CHoCH)
After a BOS, watches for price to reverse back through that level (e.g. a drop below the higher‑low after a bullish BOS), signaling a potential shift in momentum.
Key Inputs & Features
Pivot Lookback (pivotLen): How many bars to look back for pivots (default 8 for a 5‑min chart).
Fast Mode: When enabled, halves both the pivot lookback and ATR threshold for quicker—but noisier—signals.
ATR Threshold (atrLen & atrMult): Uses ATR(atrLen) × atrMult to require a minimum follow‑through beyond the pivot for a valid BOS/CHoCH.
Show Labels / Show Pivot Labels: Toggle on/off all structure labels or just pivot “x” markers.
Appearance Customization
Colors: Choose separate colors for pivot highs/lows, BOS labels, CHoCH labels, and structure lines.
Line Style: Select “Solid”, “Dotted”, or “Dashed” for your swing‑level lines.
Label Size & Style: Pick “Tiny”, “Small”, or “Normal” text size and choose label orientation (Up/Down/Left/Right) independently for pivots, BOS, and CHoCH.
Pivot Label Text: Change the pivot marker from the default “x” to any character you prefer.
How to Use
Add to Chart: Apply it on a 5‑minute chart (you’ll get a one‑time notice if you’re on another timeframe).
Tweak Inputs: Adjust pivot lookback, ATR multiplier, and toggle Fast Mode to suit your style.
Interpret Signals:
Green “BOS↑” or red “BOS↓” labels mark structure breaks.
Orange “CHoCH↓” or “CHoCH↑” labels flag the reversal through that level.
Dotted (or styled) lines trace the last swing high/low for visual reference.
GR highs&lows PRO V3GR highs&lows PRO V3 is a professional intraday session tool that automatically plots the high and low wick levels for the Tokyo, London, and New York trading sessions. Each session is tracked in real time with customizable colors and line styles. The script marks the session highs and lows with horizontal lines and labels, helping traders identify key support/resistance levels from each major market session.
✅ Supports overnight sessions (e.g. Tokyo 20:00–04:00 UTC)
✅ Clean visual layout with optional background shading
✅ Keeps recent session levels on the chart (configurable)
Perfect for scalpers, session breakout traders, and anyone tracking intraday liquidity zones.
this is the update for version 2
CryptoPulse CipherCryptoPulse Cipher is a sophisticated trading indicator designed for cryptocurrency markets, combining multiple technical analysis tools to provide actionable buy/sell signals, trend reversal warnings, support/resistance zones, and divergence detection. It integrates an EMA Ribbon, WaveTrend Oscillator, Money Flow Index (MFI), VWAP, and custom divergence logic to offer traders a comprehensive view of market dynamics. This closed-source script is optimized for scalping and swing trading on volatile crypto assets, with a focus on clarity and usability.
What It Does:
The script overlays the price chart with:
EMA Ribbon: Visualizes market trend direction using eight Fibonacci-based Exponential Moving Averages (EMAs).
WaveTrend Oscillator: Identifies overbought/oversold conditions and generates buy/sell signals based on momentum crossovers.
Money Flow Index (MFI): Measures buying/selling pressure to filter signals and detect overbought/oversold zones.
VWAP: Provides a volume-weighted price anchor for intraday trend confirmation.
Trend Reversal Warnings: Flags potential reversals with blue triangles based on momentum shifts.
Support/Resistance Zones: Draws dynamic pivot-based zones to highlight key price levels.
Divergence Detection: Identifies bullish and bearish divergences between price and MFI for early reversal signals.
How It Works:
The script combines these components into a cohesive system with the following logic:
EMA Ribbon (Fibonacci EMAs): Uses EMAs with periods 8, 13, 21, 34, 55, 89, 144, and 233 (Fibonacci numbers) to assess trend direction. The ribbon turns green in bullish markets (shortest EMA > longest EMA) and red in bearish markets, providing a visual trend filter.
WaveTrend Oscillator: Calculates momentum using a modified Elder’s Impulse system, where the price average (HLC3) is smoothed with EMAs to compute a Channel Index (CI). Buy signals (green dots) occur when WaveTrend crosses up in oversold territory (below -53), and sell signals (red dots) occur when it crosses down in overbought territory (above +53). The oscillator is scaled to the price chart for visual alignment.
MFI: Complements WaveTrend by filtering signals. Buy signals require MFI < 80 (not overbought), and sell signals require MFI > 20 (not oversold). MFI is also scaled to the chart for clarity.
VWAP: Acts as a dynamic support/resistance level, calculated as the volume-weighted average price since the session start. It’s plotted prominently to guide trade entries/exits.
Trend Reversal Warnings: Detects momentum slowdowns by comparing the current price change to a 14-period SMA of price changes. A blue triangle appears when momentum weakens, signaling a potential reversal.
Support/Resistance Zones: Identifies pivot highs/lows (5 bars left, 5 bars right) and projects dashed lines forward 20 bars to mark key levels. These zones adapt dynamically to recent price action.
Divergence Detection: Compares price pivot highs/lows with MFI pivot highs/lows (3 bars left, 3 bars right). Bullish divergence occurs when price makes a lower low but MFI makes a higher low, signaling potential upside. Bearish divergence occurs when price makes a higher high but MFI makes a lower high, signaling potential downside. Divergences are marked with lines and labels.
Why This Combination?
The script’s originality lies in its integration of momentum (WaveTrend), volume (MFI and VWAP), trend (EMA Ribbon), and divergence analysis into a unified system tailored for cryptocurrencies. Unlike standalone indicators, CryptoPulse Cipher:
Filters WaveTrend signals with MFI to reduce false positives in choppy markets.
Uses Fibonacci-based EMAs for trend context, aligning with crypto market cycles.
Scales WaveTrend and MFI to the price chart, making them visually intuitive without cluttering a separate panel.
Detects divergences with precise pivot logic, enhancing reversal prediction.
Projects dynamic support/resistance zones, which are critical in volatile markets.
This mashup is purposeful: each component addresses a specific aspect of market analysis (trend, momentum, volume, reversals), and their synergy provides a robust framework for decision-making.
OnePunch Algo Scalper V6OnePunch Algo Scalper V6 is a precision-built visual scalping tool designed to help traders identify high-probability reversal and momentum-based trade setups throughout the trading day.
This script highlights potential entry zones, intraday sentiment shifts, and real-time trade preparation cues through dynamic chart markers and an on-chart signal table — all without cluttering your chart.
It incorporates multi-timeframe market behavior, session-based filtering, and volume-informed momentum tracking to assist in making more informed buy or sell decisions.
⚡ Ideal for scalpers and intraday traders who need visual clarity and real-time confirmations without revealing underlying signal logic.
Core Features:
Precision-Tuned RSI Analysis: This algorithm lies the refined use of the Relative Strength Index (RSI), a popular momentum oscillator. The indicator capitalizes on specific RSI levels to identify potential buy and sell signals, offering a sophisticated approach to market entry and exit points.
Strategic Moving Average Integration: The tool harnesses the power of multiple Simple Moving Averages (SMAs), providing a multi-layered perspective on market trends. These averages serve as key indicators for decision-making, adding depth to the analysis.
Chaikin Money Flow (CMF) Utilization: Incorporating the Chaikin Money Flow, the indicator offers insights into market volume flow, enhancing the decision-making process with a volume-weighted approach to price movements.
Optimized Buy and Sell Triggers: The algorithm is fine-tuned to generate buy signals based on a confluence of favorable RSI and specific CMF conditions. Similarly, sell signals are derived from a strategic mix of RSI readings and trend analysis.
Enhanced Signal Clarity: The indicator plots clear, easily interpretable shapes on the chart, offering immediate visual cues for market entry and exit points. This feature aids traders in making swift, informed decisions.
Custom Alert System: Stay ahead of the market with personalized alerts. The indicator is equipped with a robust alert system, notifying traders of key market movements and potential trading opportunities.
User-Friendly Interface: Designed with the trader in mind, the "Scalper One Punch Algo" boasts a sleek, intuitive interface, ensuring a seamless integration into your trading routine.
Whether you're a seasoned trader or just starting, the "Scalper One Punch Algo" is tailored to elevate your trading strategy. Embrace the power of advanced technical analysis and step into a world of informed, strategic trading.
-------------------------------
What are the Alerts Included in this:
Buy Signal (Up Trend):
This alert triggers when the algorithm detects a potential upward trend in the market. Suggests a strong buying opportunity, as it combines momentum with volume flow analysis.
Sell Signal (Down Trend):
Typically indicating that the asset might be entering a downward trend or that the recent uptrend is losing momentum. It's a prompt to consider closing long positions or to initiate a short position, depending on your trading strategy.
Bottom Signal (Bottom Hit):
This alert suggests that the asset might have been oversold and could be due for a price increase. This signal is particularly useful for identifying entry points during market dips.
Day Sell Alert:
This alert is time-based and triggers every day. It's a reminder to review your positions at this specific time, which could be part of a daily routine or strategy. This alert doesn't necessarily correlate with market conditions but serves as a scheduled prompt for trading decisions.
Extreme Down Trend:
This alert suggests a strong downward trend is in progress. Possibly indicating a sharp sell-off or bearish sentiment in the market. This signal can be a warning to exit long positions or consider short selling.
Bearish
A "bearish" signal is represented by the color purple and indicates a bearish trend.
Trend Up
A "Trend Up" signal is represented by color darkish green and indicates a bullish trend for scalping or long takes.
Reversal
A "Reversal" signal is represented by the color light green for bear trend reversal upwards for a long or scalping.
-------------------------------
Background Colors Theory:
The background of the trading day is divided into 3 waves; we take each wave with a different color.
Session Highlights:
9:30 AM - 11:00 AM EST → Default Lime Green
12:00 PM - 2:00 PM EST → Default Aqua Blue
3:00 PM - 4:00 PM EST → Default Purple
Colors can be adjusted via input settings.
-------------------------------
Put/Call Reminder
We have added a reminder on the bottom right side when STOCH and MACD meet, we show the reminder for Puts or Calls preparation so that the user can prepare for the direction it takes. This feature is for Option Trades, but it works for Stocks as well.
Pizza Money Trading Profit Triggers Scalper’s Edge: EMA-Based Entry & Exit Signals
This invite-only tool is designed for scalpers trading on the 1-minute and 5-minute timeframes. It’s built around a customized EMA crossover system that helps clarify potential entry and exit points—directly on the chart.
While many EMA scripts simply highlight crossover moments, this one includes additional timing logic to reduce noise and make signals more actionable. Entry and exit points are clearly plotted, allowing for faster decisions without guesswork during fast-moving trades.
It’s especially useful for traders who’ve struggled to define consistent scalp entries or exits using traditional methods. By visually mapping signals in real time, this tool helps improve clarity and decision-making under pressure.
Note: This script is invite-only and intended for traders seeking a structured approach to intraday scalping. Past performance is not a guarantee of future results.
StochDL 355This is a Stochastic indicator marking Regular and Hidden Divergence which I liked from the script of Dev Lucem who called his indicator "Plain Stochastic Divergence". I call this indicator StochDL to give Dev Lucem credit for his original contribution. I noticed in his original script that the %K and %D calculation could be improved which I changed to be: period K and period D should be calculated to be %K. Then smooth K and %K should be smoothed to get %D.
His script nicely identifies regular and hidden divergence for %K. However, I then added script to also identify regular and hidden divergence for %D. The "top Spot" and "Bottom Spot" mark when the divergence is complete. It is not my intention to claim that I solely generated this indicator, however, I have altered and added content to make this indicator unique from the original.
I use these arrows for to alert me that there is divergence. I then use other indicators to confirm a change of trend has taken place.
Session Highs/Lows for Full Day + Open/Close Labelsthis indicator shows the start and stop of each trading session and plots the high and low of each session
Time Cycles# New York Time Cycles Indicator
## Overview
The Time Cycles indicator is a specialized technical analysis tool designed to divide the trading day into distinct time blocks based on New York trading hours. Developed for TradingView, this indicator helps traders identify and analyze market behavior during specific time periods throughout the trading session. The indicator displays six consecutive time blocks, each representing 90-minute segments of the trading day, while tracking price ranges within each block.
## Core Concept
The Time Cycles indicator is built on the premise that different periods during the trading day often exhibit unique market characteristics and behaviors. By segmenting the trading day into standardized 90-minute blocks, traders can:
1. Identify recurring patterns at specific times of day
2. Compare price action across different time blocks
3. Recognize potential support and resistance levels based on the high and low of previous time blocks
4. Develop time-based trading strategies specific to certain market hours
## Time Block Structure
The indicator divides the trading day into six sequential 90-minute blocks based on New York time:
1. **Box 1**: 07:00 - 08:30 ET
2. **Box 2**: 08:30 - 10:00 ET
3. **Box 3**: 10:00 - 11:30 ET
4. **Box 4**: 11:30 - 13:00 ET
5. **Box 5**: 13:00 - 14:30 ET
6. **Box 6**: 14:30 - 16:00 ET
These time blocks cover the core US trading session from pre-market into regular market hours.
## Visual Representation
Each time block is represented on the chart as a visual box that:
- Spans the exact time period of the block (horizontally)
- Extends from the highest high to the lowest low recorded during that time period (vertically)
- Is displayed with customizable colors and transparency levels
- Automatically builds in real-time as price action develops
Additionally, the indicator draws dashed projection lines that:
- Display the high and low of the most recently completed time block
- Extend forward in time (for up to 24 hours)
- Help traders identify potential support and resistance levels
## Technical Implementation
The indicator employs several key technical features:
1. **Time Detection**: Accurately identifies the current New York time to place each box in the correct time period
2. **Dynamic Box Creation**: Initializes and updates boxes in real-time as price action develops
3. **Range Tracking**: Continuously monitors and adjusts the high and low of each active time block
4. **Projection Lines**: Creates horizontal dashed lines projecting the high and low of the most recently completed time block
5. **Daily Reset**: Automatically resets all boxes and lines at the start of each new trading day
6. **Customization**: Allows users to set custom colors and transparency levels for each time block
This Time Cycles indicator provides traders with a structured framework for analyzing intraday market movements based on specific time periods. By understanding how the market typically behaves during each 90-minute block, traders can develop more targeted strategies and potentially identify higher-probability trading opportunities throughout the trading day.
FVG# Fair Value Gap (FVG) Indicator
## Overview
The Fair Value Gap (FVG) indicator is a technical analysis tool designed to identify potential areas of price imbalance in the market. These imbalances, known as "fair value gaps," represent discontinuities in price movement where supply and demand were significantly imbalanced, potentially creating zones that price may return to in the future. This indicator was developed by Michele Amori for TradingView and operates as an overlay on price charts.
## Core Concept
Fair Value Gaps occur when price makes a significant move in one direction, leaving behind an area where no trading occurred. Specifically:
- **Bullish FVG**: Forms when the low of the current candle is higher than the high of the candle two positions back, creating an upward gap in price movement.
- **Bearish FVG**: Forms when the high of the current candle is lower than the low of the candle two positions back, creating a downward gap in price movement.
These gaps represent potential "fair value" areas that price may revisit to establish equilibrium between buyers and sellers.
## Visual Representation
The indicator displays FVGs in the following manner:
1. **Bullish FVGs**:
- Represented by semi-transparent green boxes
- Extend from the high of the candle two positions back to the low of the current candle
- Include a dashed green center line representing the middle point of the gap
2. **Bearish FVGs**:
- Represented by semi-transparent red boxes
- Extend from the low of the candle two positions back to the high of the current candle
- Include a dashed red center line representing the middle point of the gap
All FVG boxes and their center lines are extended to the right of the chart, making them visible until they are filled or invalidated.
## Invalidation Logic
The indicator automatically removes FVGs when they are considered filled or invalidated:
- **Bullish FVGs**: Removed when the closing price falls below the bottom of the FVG box, indicating that the upward gap has been filled.
- **Bearish FVGs**: Removed when the closing price rises above the top of the FVG box, indicating that the downward gap has been filled.
This removal only occurs after a candle is confirmed (fully formed), ensuring that premature invalidation doesn't occur during candle formation.
## Technical Implementation
The indicator uses arrays to store and manage the FVG boxes and their center lines. Key features of the implementation include:
- Creation of new FVGs only after candle confirmation
- Dynamic addition and removal of visual elements
- Transparent coloring (80% transparency) for better chart visibility
- Dashed center lines with less transparency (25%) to highlight the middle point of gaps
Pelosi Kenobi LevelsThe Pelosi Kenobi Levels Indicator is a sophisticated PineScript v6 tool designed for TradingView to assist traders in identifying key price levels and market dynamics across multiple timeframes. It integrates several technical analysis components, including:
High, Low, and 50% Retracement Levels: Displays current and previous day, week, and month high, low, and 50% retracement levels, with customizable display options for standard, non-standard, and rolling calculations.
Liquidity Clusters: Visualizes bullish and bearish liquidity zones using three-tiered boxes (b1, b2, b3) based on volume and price proximity to significant retracement levels, helping traders spot areas of potential support or resistance.
Cumulative Delta Heatmap: Shows cumulative volume delta as a heatmap, indicating buying or selling pressure, with customizable reset periods (e.g., daily, weekly, custom).
Anchored VWAP (AVWAP): Plots a multi-timeframe anchored Volume Weighted Average Price, reset on new timeframe bars, to highlight price areas where significant trading volume has occurred.
YaGA Retracement Index: Provides a table scoring bullish and bearish strength based on the proximity of price to key levels, aiding in trend assessment.
Opening Range Fib50 (OR31FIB50 and ORCUSTOMFIB50): Plots high, low, and 50% retracement levels for 31-minute or custom-minute opening ranges, useful for intraday trading strategies.
Custom Levels: Allows traders to define their own price levels for additional reference points.
How It Helps Traders:
Market Structure Insight: Identifies critical support/resistance zones through highs, lows, and retracements, enabling traders to anticipate price reactions.
Liquidity Detection: Liquidity clusters highlight areas where large orders may be placed, useful for entry/exit timing or stop placement.
Trend and Momentum Analysis: The delta heatmap and YaGA index provide real-time insights into buying/selling pressure and trend strength, aiding in directional bias.
Intraday Precision: Opening range levels help scalpers and day traders target breakouts or reversals during high-volatility periods.
Customization: Extensive input options allow traders to tailor the indicator to their preferred timeframes, visual styles, and trading strategies, enhancing adaptability across markets (e.g., stocks, forex, crypto).
This indicator is particularly valuable for technical traders seeking a comprehensive, visually intuitive tool to combine price action, volume analysis, and market sentiment for informed decision-making.
Zig Zag + Fibonacci PROPlots ZigZag structure with optional Fibonacci retracement levels.
Helps identify recent highs/lows and possible support/resistance zones.
Customizable levels and alert on price cross.
Swing + 3-Bar Breakout(Mastersinnifty)Overview:
This script is a hybrid trading tool designed to combine swing-based reversal detection with 3-bar breakout confirmation, offering traders multiple perspectives on both early reversals and trend continuation setups.
It integrates:
• ZigZag-based Swing Detection — to help identify significant market turning points.
• Momentum Validation — using RSI and Rate of Change (ROC) to filter and strengthen signal confidence.
• 3-Bar Breakout Confirmation — for traders seeking breakouts after structural consolidations.
• Dynamic Trailing Stop Logic — using ATR to manage exit risk while allowing trades room to develop.
• Swing Projection Levels — to plot theoretical price targets based on measured moves from prior swings.
═════════════════════════════════════════════════════════════
What Makes This Script Unique:
Unlike basic ZigZag or momentum scripts, this indicator combines multiple layers of logic:
• Structural detection via swings,
• Momentum filtering via RSI and ROC,
• Breakout confirmation through multi-bar validation,
• Automated projection targets for reference,
• Real-time risk management via trailing stops.
This approach provides flexibility for both reversal and continuation trades in one package.
═════════════════════════════════════════════════════════════
Who This Is Useful For:
• Swing Traders — for identifying higher-lows & lower-highs during trend shifts.
• Scalpers & Intraday Traders — thanks to fast-reacting momentum filters.
• Breakout Traders — with automated breakout signals after price compression.
• Risk Managers — through built-in trailing stop logic for visual exit planning.
• Price Action Analysts — who appreciate calculated swing projection targets.
═════════════════════════════════════════════════════════════
How to Use:
• Swing Identification:
• The script automatically marks swing highs and lows, allowing you to spot trend change zones via HL (Higher Lows) and LH (Lower Highs) labels.
• Momentum Confirmation:
• Trade signals trigger when swing points align with extreme RSI readings and ROC crosses a defined threshold, confirming both price reaction and velocity.
• Breakout Detection:
• Additional breakout signals are generated when the price crosses key swing levels defined by the lookback period, highlighting possible continuation trades.
• Risk Management Tools:
• ATR-based trailing stops are plotted once a signal is triggered, offering dynamic risk control.
• Swing projection levels are calculated and plotted to visualize potential price destinations.
═════════════════════════════════════════════════════════════
⚠️ Disclaimer:
This script is intended as an analytical tool for chart-based trading insights. It does not guarantee profits or predict future outcomes. Trading carries risk, and past performance is not indicative of future results. Always perform your own due diligence before making trading decisions.
Pivot detector🧠 Pivot Detector – Multi-condition Reversal Signal with Trend & Time Filters
This indicator is specifically optimized for Bitcoin trading, combining classic reversal patterns with volume, trend, and session filters.
🟢 Long signals:
- RSI crossing up from oversold (RSI < 30)
- MACD histogram crossing above zero
- Price touching the lower Bollinger Band with OBV reversal
- Bullish engulfing pattern + volume spike
🔴 Short signals:
- RSI crossing down from overbought (RSI > 70)
- MACD histogram crossing below zero
- Price touching upper Bollinger Band + OBV failure
- Bearish engulfing pattern + volume spike
⚙️ Additional filters:
- ❌ Signals are blocked during low-volatility range zones (ADX < 20 or narrow standard deviation)
- ✅ Longs only allowed during active hours: 00–02, 07–09, 13–15 UTC
- ✅ Shorts only triggered outside strong uptrend (ADX > 25 with DI+ dominance)
📊 Best used on:
- ✅ Bitcoin / BTCUSDT
- ✅ 15m, 30m, 1H, 4H charts
🎯 Strategy focus:
- Captures short-term reversals in volatile but trendable markets
- Filters out traps and low-quality signals during sideways conditions
- Best used with manual confirmation or as part of a composite system
Alerts are built-in for both long and short triggers.
⚠️ This tool is still in its experimental phase and may require further adjustments as it's tested and improved.
Auto Support Resistance Channels [TradingFinder] Top/Down Signal🔵 Introduction
In technical analysis, a price channel is one of the most widely used tools for identifying and tracking price trends. A price channel consists of two parallel trendlines, typically drawn from swing highs (resistance) and swing lows (support). These lines define dynamic support and resistance zones and provide a clear framework for interpreting price fluctuations.
Drawing a channel on a price chart allows the analyst to more precisely identify entry points, exit levels, take-profit zones, and stop-loss areas based on how the price behaves within the boundaries of the channel.
Price channels in technical analysis are generally categorized into three types: upward channels with a positive slope, downward channels with a negative slope, and horizontal (range-bound) channels with near-zero slope. Each type offers unique insights into market behavior depending on the price structure and prevailing trend.
Structurally, channels can be formed using either minor or major pivot points. A major channel typically reflects a stronger, more reliable structure that appears on higher timeframes, whereas a minor channel often captures short-term fluctuations or corrective movements within a larger trend.
For instance, a major downward channel may indicate sustained selling pressure across the market, while a minor upward channel could represent a temporary pullback within a broader bearish trend.
The validity of a price channel depends on several factors, including the number of price touches on the channel lines, the symmetry and parallelism of the trendlines, the duration of price movement within the channel, and price behavior around the median line.
When a price channel is broken, it is generally expected that the price will move in the breakout direction by at least the width of the channel. This makes price channels especially useful in breakout analysis.
In the following sections, we will explore the different types of price channels, how to draw them accurately, the structural differences between minor and major channels, and key trade interpretations when price interacts with channel boundaries.
Up Channel :
Down Channel :
🔵 How to Use
A price channel is a practical tool in technical analysis for identifying areas of support, resistance, trend direction, and potential breakout zones. The structure consists of two parallel trendlines within which price fluctuates.
Traders use the relative position of price within the channel to make informed trading decisions. The two primary strategies include range-based trades (buying low, selling high) and breakout trades (entering when price exits the channel).
🟣 Up Channel
In an upward channel, price moves within a positively sloped range. The lower trendline acts as dynamic support, while the upper trendline serves as dynamic resistance. A common strategy involves buying near the lower support and taking profit or selling near the upper resistance.
If price breaks below the lower trendline with strong volume or a decisive candle, it can signal a potential trend reversal. Channels constructed from major pivots generally reflect dominant uptrends, while those based on minor pivots are often corrective structures within a broader bearish movement.
🟣 Down Channel
In a downward channel, price moves between two negatively sloped lines. The upper trendline functions as resistance, and the lower trendline as support. Ideal entry for short trades occurs near the upper boundary, especially when confirmed by bearish price action or a resistance level.
Exit targets are typically located near the lower support. If the upper boundary is broken to the upside, it may be an early sign of a bullish trend reversal. Like upward channels, a major down channel represents broader selling pressure, while a minor one may indicate a brief retracement in a bullish move.
🟣 Range Channel
A horizontal or range-bound channel is characterized by price oscillating between two nearly flat lines. This type of channel typically appears during sideways markets or periods of consolidation.
Traders often buy near the lower boundary and sell near the upper boundary to take advantage of contained volatility. However, fake breakouts are more frequent in range-bound structures, so it is important to wait for confirmation through candlestick signals and volume. A confirmed breakout beyond the channel boundaries can justify entering a trade in the direction of the breakout.
🔵 Settings
Pivot Period :This parameter defines how sensitive the channel detection is. A higher value causes the algorithm to identify major pivot points, resulting in broader and longer-term channels. Lower values focus on minor pivots and create tighter, short-term channels.
🔔 Alerts
Alert Configuration :
Enable or disable the full alert system
Set a custom alert name
Choose the alert frequency: every time, once per bar, or on bar close
Define the time zone for alert timestamps (e.g., UTC)
Channel Alert Types :
Each channel type (Major/Minor, Internal/External, Up/Down) supports two alert types :
Break Alert : Triggered when price breaks above or below the channel boundaries
React Alert : Triggered when price touches and reacts (bounces) off the channel boundary
🎨 Display Settings
For each of the eight channel types, you can customize:
Visibility : show or hide the channel
Auto-delete previous channels when new ones are drawn
Style : line color, thickness, type (solid, dashed, dotted), extension (right only, both sides)
🔵 Conclusion
The price channel is a foundational structure in technical analysis that enables traders to analyze price movement, identify dynamic support and resistance zones, and locate potential entry and exit points with greater precision.
When constructed properly using minor or major pivots, a price channel offers a consistent and intuitive framework for interpreting market behavior—often simpler and more visually clear than many other technical tools.
Understanding the differences between upward, downward, and range-bound channels—as well as recognizing the distinctions between minor and major structures—is critical for selecting the right trading strategy. Upward channels tend to generate buying opportunities, downward channels prioritize short setups, and horizontal channels provide setups for both mean-reversion and breakout trades.
Ultimately, the reliability of a price channel depends on various factors such as the number of touchpoints, the duration of the channel, the parallelism of the lines, and how the price reacts to the median line.
By taking these factors into account, an experienced analyst can effectively use price channels as a powerful tool for trend forecasting and precise trade execution. Although conceptually simple, successful application of price channels requires practice, pattern recognition, and the ability to filter out market noise.
Bijnor Pivot ExtendedOverview: The Bijnor Pivot Extended (BP+) indicator is a powerful visual tool designed to help traders identify key price levels using Fibonacci-based pivots. It dynamically plots Support and Resistance levels based on your chosen timeframe (Daily, Weekly, or Monthly) and displays them only for the current session, reducing chart clutter and improving focus.
🔧 Features:
📆 Pivot Timeframe Selection: Choose between Daily, Weekly, or Monthly pivots.
🎯 Fibonacci Pivot Levels:
Central Pivot (P)
Resistance: R1, R2, R3, R4 (Extended)
Support: S1, S2, S3, S4 (Extended)
🎨 Full Customization:
Toggle labels and prices on/off
Position labels to the left or right
Change line width and individual colors for pivot, support, and resistance lines
🧠 Smart Line Plotting:
Lines are drawn only during the selected session, keeping your chart clean
🕹️ Max Performance: Optimized to stay lightweight with max_lines_count and max_labels_count set to 500
🧭 How to Use It:
Use this indicator to:
Plan entries and exits around key Fibonacci pivot zones
Identify overbought/oversold zones at R3/R4 and S3/S4
Enhance your intraday, swing, or positional trading setups
Combine with price action, candlestick patterns, or volume for maximum edge.
✅ Bonus:
This script is ideal for traders looking for a minimalist yet powerful pivot framework, with extended levels for breakout or reversal scenarios.
3CRGANG - TRUE RANGEThis indicator helps traders identify key support and resistance levels using dynamic True Range calculations, while also providing a multi-timeframe trend overview. It plots True Range levels as horizontal lines, marks breakouts with arrows, and displays trend directions across various timeframes in a table, making it easier to align trades with broader market trends.
What It Does
The 3CRGANG - TRUE RANGE indicator calculates dynamic support and resistance levels based on the True Range concept, updating them as price breaks out of the range. It also analyzes trend direction across multiple timeframes (M1 to M) and presents the results in a table, using visual cues to indicate bullish, bearish, or neutral conditions.
Why It’s Useful
This script combines True Range analysis with multi-timeframe trend identification to provide a comprehensive tool for traders. The dynamic True Range levels help identify potential reversal or continuation zones, while the trend table allows traders to confirm the broader market direction before entering trades. This dual approach reduces the need for multiple indicators, streamlining analysis across different timeframes and market conditions.
How It Works
The script operates in the following steps:
True Range Calculation: The indicator calculates True Range levels (support and resistance) using price data (close, high, low) from a user-selected timeframe. It updates these levels when price breaks above the upper range (bullish breakout) or below the lower range (bearish breakout).
Line Plotting: Two styles are available:
"3CR": Plots one solid line after a breakout (green for bullish, red for bearish) and removes the opposing line.
"RANGE": Plots both upper and lower range lines as dotted lines (green for support, red for resistance) until a breakout occurs, then solidifies the breakout line.
Multi-Timeframe Trend Analysis: The script analyzes trend direction on multiple timeframes (M1, M5, M15, M30, H1, H4, D, W, M) by comparing the current close to the True Range levels on each timeframe. A trend is:
Trend Table: A table displays the trend direction for each timeframe, with color-coded backgrounds (green for bullish, red for bearish) and triangles to indicate the trend state.
Breakout Arrows: When price breaks above the upper range, a green ▲ arrow appears below the bar (bullish). When price breaks below the lower range, a red ▼ arrow appears above the bar (bearish).
Bullish (▲): Price is above the upper range.
Bearish (▼): Price is below the lower range.
Neutral (△/▽): Price is within the range, with the last trend indicated by an empty triangle (△ for last bullish, ▽ for last bearish).
Alerts: Breakout alerts can be set for each timeframe, with options to filter by trading sessions (e.g., New York, London) or enable all-day alerts.
Underlying Concepts
The script uses the True Range concept to define dynamic support and resistance levels, which adjust based on price action to reflect the most relevant price zones. The multi-timeframe trend analysis leverages the same True Range logic to determine trend direction, providing a consistent framework across all timeframes. The combination of breakout signals and trend confirmation helps traders align their strategies with both short-term price movements and longer-term market trends.
Use Case
Breakout Trading: Use the True Range lines and arrows to identify breakouts. For example, a green ▲ arrow below a bar with price breaking above the upper range suggests a potential long entry.
Trend Confirmation: Check the trend table to ensure the breakout aligns with the broader trend. For instance, a bullish breakout on the 1H chart is more reliable if the D and W timeframes also show bullish trends (▲).
Range Trading: When price is within the True Range (dotted lines in "RANGE" style), consider range-bound strategies, buying near support and selling near resistance, while monitoring the table for potential trend shifts.
Settings
Input Timeframe: Select the timeframe for True Range calculations (default: chart timeframe).
True Range Style: Choose between "3CR" (single line after breakout) or "RANGE" (both lines until breakout) (default: 3CR).
Change Symbol: Compare a different ticker if needed (default: chart symbol).
Color Theme: Select "LIGHT THEME" or "DARK THEME" for colors, or enable custom colors (default: LIGHT THEME).
Table Position: Set the trend table’s position (center, right, left) (default: right).
Multi Res Alerts Setup: Enable/disable breakout alerts for each timeframe (default: enabled for most timeframes).
Sessions Alerts: Filter alerts by trading sessions (e.g., New York, London) or enable all-day alerts (default: most sessions enabled).
Chart Notes
The chart displays the script’s output on XAUUSD (1H timeframe), showing:
Candlesticks representing price action.
True Range lines (green for support, red for resistance) in "3CR" style, with solid lines after breakouts and dotted lines during range-bound periods.
Arrows (green ▲ below bars for bullish breakouts, red ▼ above bars for bearish breakouts) indicating range breakouts.
A trend table in the top-right corner labeled "TREND EA," showing trend directions across timeframes (M1 to M) with triangles (▲/▼ for active trends, △/▽ for last trend) and color-coded backgrounds (green for bullish, red for bearish).
Notes
The script uses the chart’s ticker by default but allows comparison with another symbol if enabled.
Trend data for higher timeframes (e.g., M) may not display if the chart’s history is insufficient.
Alerts are triggered only during selected trading sessions unless "ALL DAY ALERTS" is enabled.
Disclaimer
This indicator is a tool for analyzing market trends and does not guarantee trading success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
muraThe indicator shows important levels for trading on different TF, you can select levels for intraday, intraweek and intra-month trading. Also added clearly visible trends: local trend and global trend, but depends on your TF.
I personally recommend trading following the global trend from 4 hour TF and above. If you have a bullish global trend and the local trend changes from bearish to bullish, it is a buy signal.
The indicator works well with the trend at 4h and 12h TF
Pivot Levels with EMA Trend📌 Trend Change Levels with EMA Trend
✨ Description:
This TradingView script identifies clean trend change levels based on 1-hour structure shifts and filters them to keep only those not invalidated. It follows the "Jake Ricci" method, each level is printed at the beginning of the candle that changes the trend, on a 1 hour chart. For precision, make sure to exclude after/pre market and only use the levels on regular hours charts.
It includes dynamic EMAs (9, 50, 200), intraday VWAP, the daily open level printed, and a visual trend label based on EMA(9) slope.
Designed for intermediate traders, it helps build bias, manage entries, and avoid false setups by focusing on clean, reactive levels that the market respects.
🔧 Core Logic:
On the 1H chart, the script compares current and previous closes to detect trend direction. If the trend flips (e.g., up to down), the open of the candle that caused the flip becomes a candidate level.
Only levels that remain untouched by future candle closes are plotted — this filters out “weak” levels that price already violated (which means, a candle closes after passing through the level).
These levels become key S/R zones and often act as reaction points during pullbacks, traps, and liquidity sweeps.
The idea is to check how the price reacts to those levels. Usually there's a clean retest of the level. After that, if the price continues in that direction, it tends to reach the following level.
🔹 Included Tools:
🟣 Trend Change Levels (1H):
Fixed horizontal lines based on confirmed shifts in trend, shown only when not broken.
📉 EMAs (9 / 50 / 200):
Visibility can be set per timeframe. Use for trend context.
📍 EMA Trend Label:
Shows \"UP\", \"DOWN\", or \"RANGE\" based on EMA(9) slope.
🔵 VWAP (Intraday Reset):
Real-time volume-weighted average price that resets daily. Useful for fair value zones and reversion plays.
🟠 Daily Open Line:
Plot of the current day’s open. Used for intraday directional bias. Usually: DO NOT take longs below the Open Print, DO NOT take shorts above it.
📊 ATR Table:
Displays current ATR multiplier on the chart. It's useful to understand if the market is expanding or not.
📈 How to Use It (Strategy):
1. Start on the 1H chart to generate levels.
Only the open of candles that reversed trend are considered — and only if future candles didn’t close through them. I suggest manually adding horizontal lines to mark again the levels, so that they stick to all the timeframes.
2. Use the trend label to decide your bias — \"UP\" for long setups, \"DOWN\" for shorts. Avoid trading against the slope.
3. Switch to the 5m chart and wait for price to approach a plotted level. These are often used for manipulation, retests, or clean reversals.
4. Look for confirmation: rejection candles, break-and-retest, strong engulfing candles, or traps above/below the level. ALWAYS check the price action around the level, along with the volume.
5. Check if VWAP or an EMA is near the level. If yes, the confluence strengthens the trade idea.
6. Use the ATR value to understand if the market is expanding (candles are bigger than the ATR). You don't want to stay in a slow and ranging trade.
✅ Example Entry Flow:
1. On the 1H chart, note a trend change level printed recently.
2. Check the current trend label — if it says \"UP,\" prefer longs.
3. Wait for price to retrace toward the level.
4. On the 5m, look for a bullish engulfing candle or trap setup at the level.
5. Check if VWAP and EMA(50) are near. If yes, execute the trade.
6. Set stop just under the low of the candle prior to your entry. Ideally, a retracing candle.
To be clear: imaging to be LONG, you wait for a retracement that should touch your level. You wait for a candle that resumes the LONG trend, enter when it breaks the high of the previous candle (sill in retracement), you place your stop under the candle prior to your entry.
Notes:
No repainting — levels only show up after confirmed shifts.
Removes broken levels for chart clarity and reliability.
Helps spot high-probability pullback zones and fakeouts.
Perfect confluence tool to support price action, SMC, or EMA strategies.
Works across multiple timeframes with customizable inputs.
👤 Ideal For:
Intraday traders looking for reactive entry points and direction confirmation.
Swing traders wanting to pinpoint continuation zones or reversal pivots.
🚨 Final Note: This indicator doesn’t generate buy/sell signals. It improves your trade filtering by identifying areas the market already respected and reacting to them with price action. Combine it with your own system , test it in replay, and use screenshots to document setups.
📌 If used with discipline, this becomes a precision tool — not a signal generator.
Ethergy ChronosThe Ethergy Chronos indicator displays major time-based pivot points such as:
Monthly, weekly and daily - previous highs, previous lows, and current opens.
It also displays the separators for each month, week and day.
What makes it original is the fact that it is completely TIME-ZONE customizable, meaning that all specified pivots and separators are calculated and displayed according to the time-zone set.
For instance, if -4 UTC is selected, and the user chart is set to NY time as a default, all mentioned pivots and separators will reference 00:00 (midnight), months will start on the first Monday of that month at 00:00, weeks will start on Monday at 00:00 and daily will follow the same logic. if time-zone is set to -5 UTC then it will be at 01:00 and so forth.
Enjoy.
Ethergy
Day Trading Composite IndicatorThis is a simple script I developed for Day/Scalp Trading.
This tracks several key points for viewing potential reversals or resistance/support levels, including:
-Intraday high/low
-Opening Range high/low (5-min default)
-Prior day high/low
Additionally, there are 5 tradition indicators built in (fully customizable):
-8 EMA
-21 EMA
-48 EMA
-200 EMA
-VWAP
Please let me know if the script needs any update, and I hope it works as well for you as it did for me. Thanks!
Liquidation ZonesIntroduction
The "Liquidation Zones" is a sophisticated TradingView indicator designed to assist cryptocurrency traders by highlighting potential liquidation levels for leveraged positions. It identifies price zones where liquidations are likely to occur for various leverage ratios—5x, 10x, 25x, 50x, and 100x—based on pivot points and volume analysis. This tool aims to help traders anticipate market movements driven by liquidations, offering insights into areas of risk or opportunity.
Key Features
Multi-Leverage Visualization: Plots liquidation zones for five leverage levels (5x, 10x, 25x, 50x, 100x), with individual toggles to show or hide each level.
Volume Filtering: Incorporates a customizable volume lookback period to ensure liquidation zones are displayed only during significant market activity.
Pivot-Based Calculations: Uses pivot highs and lows to pinpoint key price levels, forming the foundation for liquidation price estimates.
Customizable Appearance: Allows adjustment of line thickness and assigns unique colors to each leverage level for better visual distinction.
Interactive Dashboard: Features a semi-transparent table displaying the status of each leverage level, using filled (◉) or empty (○) circles to indicate activity.
How It Works
The indicator combines pivot point detection, volume conditions, and leverage-specific calculations to plot liquidation zones on the chart. Here’s a breakdown of its operation:
Pivot Points: Pivot highs and lows are calculated using ta.pivothigh and ta.pivotlow. The lookback and lookforward periods adjust dynamically based on the timeframe (e.g., 2 bars for daily/weekly/monthly, 3 bars otherwise), ensuring relevant support and resistance levels.
Volume Conditions: The check_volume_conditions function analyzes volume over a user-defined lookback period (default: 40 bars). It compares the average volume to a mean volume
threshold:
5x Leverage: Volume > mean volume.
10x Leverage: Volume ≥ 1.025 × mean volume.
25x Leverage: Volume ≥ 1.05 × mean volume.
50x Leverage: Volume ≥ 1.1 × mean volume.
100x Leverage: Volume ≥ 1.2 × mean volume.
These conditions filter out low-volume periods, focusing on impactful market activity.
Liquidation Price Calculation:
For each leverage level, liquidation prices are derived from pivot points and a risk percentage:
Long Liquidations (from pivot lows): pivot_low / (1 + risk_percent)
5x: 0.20, 10x: 0.10, 25x: 0.04, 50x: 0.02, 100x: 0.01
Short Liquidations (from pivot highs): pivot_high * (1 + risk_percent)
These prices represent where leveraged positions might be liquidated based on the leverage used.
Plotting Liquidation Zones: When volume conditions are met and the toggle is enabled, horizontal lines are drawn from the pivot point to the current bar at the calculated liquidation prices. Each leverage level has a distinct color (e.g., cyan for 5x, pink for 100x), with adjustable line thickness (default: 3). Lines persist until the price crosses them or the maximum line count (500) is reached.
Dashboard: A table on the chart’s middle-right displays each leverage level’s status. A filled circle (◉) appears when the volume condition is met and the level is active; an empty circle (○) indicates inactivity. The dashboard uses matching colors for clarity.
Time Filter: The indicator activates only after a user-defined start time (default: January 1, 2023), with a gray background displayed if the chart is outside this period.
Conclusion
The "Liquidation Zones | Opus" indicator is a valuable tool for traders navigating leveraged markets. By plotting liquidation zones tied to pivot points and filtered by volume, it highlights potential areas of price instability. Its flexibility—through toggles, visual settings, and the dashboard—makes it suitable for diverse trading strategies, from scalping to swing trading. Traders can use it to enhance risk management or identify liquidation-driven opportunities.
Disclaimer
This indicator is provided for informational and educational purposes only and does not constitute financial advice. Trading involves risk, and users should perform their own analysis before making decisions. The creator is not liable for any financial outcomes resulting from its use.