Support Resistance Levels v1.0Support Resistance Levels v2.0 automatically detects the most important price levels on the chart by analyzing market structure, swing points, and repeated reactions.
Instead of manually drawing lines, this tool identifies clusters of highs and lows, measures how often price respected each zone, and highlights strong support or resistance with clear visuals. It also marks tight consolidations and builds a structural regression channel when a trend sequence is confirmed.
The goal is simple: faster chart scanning, cleaner context, and a more objective view of where price is likely to react next.
Cluster Lines
– Horizontal support/resistance levels built from repeated swing reactions. Green when below price, red when above. Thicker lines indicate stronger levels.
Recent HH & LL Lines
– Dashed lines marking the most recent swing high and swing low for quick breakout context.
Consolidation Box
– A blue range box appears when price compresses inside a tight structure and extends until breakout.
Structural Regression Channel
– A trendline with upper and lower bands drawn when a clean trend sequence forms, showing directional bias and reaction zones.
Support
Scaling_mastery:Free TrendlinesScaling_mastery Trendlines is a clean, trading-ready smart trendline tool built for the Scaling_mastery community.
It automatically finds swing highs/lows and draws dynamic trendlines or channels that stay locked to price, on any symbol and any timeframe.
🔧 Modes
Trendline type
Wicks – classic trendlines anchored on candle wicks (high/low).
Bodies – trendlines anchored on candle bodies (open/close), great for closing structure.
Channel – 3-line channel:
outer lines form a band around price
middle line runs through the centre of the channel
thickness is adjustable (Small / Medium / Large).
Trend strength
Controls how strong the pivots must be to form a line.
Weak → more lines, reacts faster.
Medium → balanced, good for most pairs.
Strong → only the cleanest swings, higher-probability trendlines.
🎨 Visual controls
Max support / resistance lines – cap how many lines are kept on chart.
Show broken lines – hide broken trendlines or keep them for structure history.
Extend lines – None / Right / Both.
Support / Resistance colors – separate colors for active vs broken.
Channel thickness – Small / Medium / Large (0.5% / 1% / 2% of price).
Channel outer lines – color for channel edges.
Channel middle line – color + style (dotted / dashed / solid).
Broken lines are automatically faded + dotted, so you can instantly see what’s still respected and what’s already been taken out.
🧠 How to use
Add the indicator to any chart.
Start with:
Trendline type: Wicks
Trend strength: Strong
Max lines: 1–2 for both support & resistance
Once you like the behavior, experiment with:
Switching between Wicks / Bodies / Channel
Adjusting Channel thickness and Trend strength
Use the lines as a visual confluence tool with your own strategy:
HTF trend direction
LTF entries / retests
Liquidity grabs around broken lines
This script doesn’t generate entries or risk management – it’s designed to give you clean, reliable structure so you can execute your own edge.
⚠️ Disclaimer
This tool is for educational and visual purposes only and is not financial advice.
Always do your own research and manage risk.
Kalman Trend Sniper# KALMAN TREND SNIPER
## ORIGINALITY STATEMENT
The Kalman Trend Sniper combines adaptive trend detection with precision entry validation to identify high-probability trading opportunities. Unlike static moving averages that use fixed parameters, this indicator adapts to changing market volatility through ATR-based gain adjustment and distinguishes trending from ranging markets using ADX regime detection.
The indicator's unique contribution is its three-phase entry validation system: signals must hold for three bars, undergo a pullback test to the signal level, and receive confirmation through price action before generating an entry. This structured approach helps traders enter established trends at favorable retracement levels rather than chasing momentum.
---
## TECHNICAL METHODOLOGY
### Kalman Filter Implementation
This indicator implements an Alpha-Beta variant of the Kalman filter, a recursive algorithm that estimates trend from noisy price data:
1. Prediction: kf = kf + velocity
2. Error calculation: error = price - kf
3. Correction: kf = kf + gain * error
4. Velocity update: velocity = velocity + (gain * error) / 2
The gain parameter determines filter responsiveness. Higher gain values track price more closely but increase noise sensitivity, while lower values provide smoother output but lag price changes.
### Adaptive Gain Mechanism
The indicator adjusts gain dynamically based on volatility:
Volatility Factor = Current ATR / Long-term ATR
Adaptive Gain = Base Gain * (0.7 + 0.6 * Volatility Factor)
This ATR ratio increases responsiveness during high-volatility periods and reduces sensitivity during consolidations, addressing the fixed-parameter limitation of traditional moving averages. The volatility factor is bounded between configurable minimum and maximum values to prevent extreme adjustments.
### Regime Detection
The indicator uses the Average Directional Index (ADX) to distinguish market conditions:
- Trending markets (ADX above threshold): Full gain applied, signals generated
- Ranging markets (ADX below threshold): Gain reduced 25%, fewer signals
This regime awareness helps reduce whipsaw signals during sideways consolidation periods.
### Signal Line Validation System
When the Kalman line changes direction in trending conditions, the indicator draws a horizontal signal line at the low (for long signals) or high (for short signals) of the signal candle. This line represents a potential support or resistance level.
The validation system then monitors three phases:
Phase 1 - Hold Period: Price must remain above (long) or below (short) the signal line for three consecutive bars. This requirement filters weak signals where price immediately violates the signal level.
Phase 2 - Test: After the hold period, the system waits for price to pull back and touch the signal line, with configurable tolerance for volatile instruments.
Phase 3 - Confirmation: Within eight bars of the test, a confirmation candle must close above (long) or below (short) the test candle's body, demonstrating renewed momentum. If confirmation does not occur within eight bars, the validation attempt expires.
Successful validation generates an R label at the entry point. This three-phase structure helps identify entries where trend direction and support/resistance validation align.
---
## USAGE INSTRUCTIONS
### Signal Interpretation
Triangle Signals:
- Upward triangle (teal): Kalman line turns bullish in trending market (ADX above threshold)
- Downward triangle (red): Kalman line turns bearish in trending market
Signal Lines (horizontal):
- Teal line: Potential long support level at signal candle low
- Red line: Potential short resistance level at signal candle high
- Gray line: First opposite-color candle after signal (initial reversal pressure)
R Labels (optional, disabled by default):
- Green R below price: Validation complete for long entry
- Red R above price: Validation complete for short entry
Stop Levels:
- Red dots: Long stop level (Kalman line minus ATR multiplier)
- Teal dots: Short stop level (Kalman line plus ATR multiplier)
### Dashboard Information
The dashboard displays real-time indicator state:
- Trend: Current Kalman direction (BULL/BEAR)
- Regime: Market classification (Trending when ADX exceeds threshold, Ranging otherwise)
- Gain: Current adaptive gain value
- Vol Factor: Volatility ratio (current ATR / long-term ATR)
- ADX: Trend strength (higher values indicate stronger trends)
- Z-Score: Standard deviation distance from Kalman line (when enabled)
- Stop Dist: Current ATR-based stop distance
- Lines: Number of active signal lines displayed
- R-Status: Validation system state (Idle / Waiting / Testing)
### Trading Applications
Trend Following Approach:
1. Wait for triangle signal in trending market (ADX above threshold)
2. Enter immediately at signal candle close or wait for pullback
3. Place stop at displayed stop level
4. Trail stop using Kalman line as dynamic support/resistance
Validation Entry Approach (conservative):
1. After triangle signal, observe three-bar hold period
2. Wait for pullback to signal line (test phase)
3. Enter on R label confirmation
4. Place stop below/above signal line
5. Provides higher probability entries but reduces trade frequency
Z-Score Mean Reversion (when enabled):
1. Watch for Z-Score exceeding entry threshold (default +/-2.0)
2. Consider counter-trend entries when price touches Kalman line
3. Target return to Kalman line (Z-Score near zero)
4. Use Z-Score threshold as stop level for extreme continuation
### Optimal Conditions
The indicator performs optimally in clearly trending markets where ADX consistently exceeds the threshold. Performance degrades in sideways, choppy conditions.
Recommended timeframes:
- 1-5 minute charts: Use Crypto_1M preset (faster adaptation)
- 15-60 minute charts: Use Crypto_15M preset (balanced)
- Hourly charts: Use Forex preset (smoother)
- Daily charts: Use Stocks_Daily preset (long-term trends)
Market conditions:
- High volatility (Vol Factor above 1.5): Expect faster adaptation, wider stops needed
- Normal volatility (Vol Factor 0.7-1.5): Standard behavior
- Low volatility (Vol Factor below 0.7): Expect slower adaptation, tighter stops possible
---
## PARAMETER DOCUMENTATION
### Kalman Filter Settings
Preset Mode: Select optimized configuration for specific markets
- Custom: Manual parameter control
- Crypto_1M: Base Gain 0.05, ATR 7 (fast response for 1-5 minute crypto charts)
- Crypto_15M: Base Gain 0.03, ATR 14 (balanced for 15-60 minute crypto charts)
- Forex: Base Gain 0.02, ATR 14 (standard for forex pairs)
- Stocks_Daily: Base Gain 0.01, ATR 20 (smooth for daily stock charts)
Base Gain (0.001-0.2): Core Kalman filter responsiveness parameter. Higher values increase sensitivity to price changes. Low values (0.01-0.02) provide smooth output with fewer whipsaws but slower trend changes. High values (0.06-0.08) offer fast response with more signals but increased whipsaw risk.
Adaptive (checkbox): When enabled, automatically adjusts gain based on ATR ratio. Recommended to keep enabled for dynamic volatility adaptation.
ATR (5-50): Short-term Average True Range period for current volatility measurement. Default 14 is industry standard. Lower values respond faster to volatility changes.
Long ATR (20-200): Long-term ATR period for baseline volatility comparison. Default 50 provides stable reference. The ratio between ATR and Long ATR determines adaptive adjustment magnitude.
Regime Filter (checkbox): Enables ADX-based trending/ranging detection. When enabled, reduces gain by 25 percent during ranging markets to minimize false signals.
ADX Period (7-30): Period for ADX calculation. Default 14 is standard. Lower values respond faster to trend strength changes.
Threshold (15-40): ADX level distinguishing trending from ranging markets. Default 25. Above threshold: trending (generate signals normally). Below threshold: ranging (reduce sensitivity).
Min Vol / Max Vol (0.3-3.0): Bounds for volatility factor adjustment. Prevents extreme gain changes during unusual volatility spikes or quiet periods. Default minimum 0.5, maximum 2.0.
Stop ATR x (1.0-3.0): Multiplier for ATR-based stop loss distance. Default 2.0 places stops two ATRs from Kalman line. Use 1.5 for tight stops (intraday), 2.5-3.0 for wide stops (swing trading).
Show Signals (checkbox): Displays triangle signals when Kalman changes direction in trending markets. Disable to use indicator purely as dynamic support/resistance without signals.
Z-Score (checkbox): Enables mean-reversion signal generation based on statistical deviation from Kalman line.
Period (10-100): Lookback period for Z-Score standard deviation calculation. Default 20 bars. Longer periods produce smoother, less sensitive readings.
Entry (1.5-3.5): Standard deviation threshold for Z-Score signals. Default 2.0 generates signals at plus/minus two standard deviations (approximately 95th percentile moves).
Bull / Bear Colors: Customize Kalman line colors for uptrend (default teal) and downtrend (default red).
Fill (checkbox): Shows semi-transparent fill between price and Kalman line for visual trend emphasis.
### Signal Line System Settings
Signal Lines (checkbox): Displays horizontal signal lines at low (long) or high (short) of signal candles. These function as dynamic support/resistance levels.
Reverse Lines (checkbox): Shows gray horizontal lines at first opposite-colored candle after signal. Helps identify initial resistance points in new trends.
Max Lines (0-20): Maximum number of signal lines to display simultaneously. Older lines are removed as new signals appear. Use 1-2 for clean charts, 3-5 for recent support/resistance history.
Style (Solid/Dotted/Dashed): Visual style for signal and reverse lines. Dotted provides subtle appearance, solid is most prominent.
Line % / Label % (0-100): Transparency percentage for lines and labels. Zero is fully opaque, 100 is invisible.
R Labels (checkbox): Shows R labels when validation confirmation occurs. Default disabled. Enable if you want visual confirmation of successful pullback entries.
Tolerance % (0-1.0): Price deviation tolerance for test candle detection. Zero requires exact touch. 0.5 allows 0.5 percent deviation for volatile instruments.
### Dashboard Settings
Show Dashboard (checkbox): Toggles visibility of information panel. Disable for clean chart presentation.
Position: Choose dashboard location from nine positions (Top/Middle/Bottom combined with Left/Center/Right).
---
## LIMITATIONS AND WARNINGS
This indicator is a technical analysis tool that processes historical price data. It does not predict future price movements.
Inherent limitations:
1. Lagging nature: Like all trend indicators, the Kalman filter lags price. Signals occur after trend changes begin, not before.
2. Ranging markets: Generates fewer signals and reduced performance when ADX falls below threshold. Not optimized for sideways consolidation.
3. Whipsaw risk: In choppy, indecisive markets near ADX threshold, signals may reverse quickly despite regime filtering.
4. Parameter sensitivity: Inappropriate Base Gain settings can cause over-trading (too high) or missed trends (too low).
5. Validation requirement: The three-phase confirmation system provides higher accuracy but significantly reduces trade frequency. Not all trends produce valid pullback entries.
Not suitable for:
- Scalping strategies requiring instant signals (Kalman filter has intentional smoothing)
- Ultra-high frequency trading (indicator updates once per bar close)
- Markets with extreme overnight gaps (stops may be exceeded)
- Strategies requiring signals on Heikin Ashi, Renko, Kagi, Point and Figure, or Range charts
Risk management requirements:
This indicator provides trend direction and signal levels but does not incorporate position sizing, risk management, or account balance considerations. Users must implement appropriate position sizing, maximum daily loss limits, and portfolio diversification. Past performance does not indicate future results.
Optimal usage:
- Works optimally in clearly trending markets where ADX consistently exceeds threshold
- Performance degrades in sideways, choppy conditions
- Designed for swing trading and position trading timeframes (15-minute and above)
- Requires confirmation from price action or additional technical analysis
---
## NO REPAINT GUARANTEE
This indicator operates on bar close confirmation only. All signals, signal lines, and validation labels appear exclusively when candles close. Historical signals remain exactly where they appeared. This makes the indicator suitable for automated trading and reliable backtesting. What you see in historical data matches what appeared in real-time.
---
## ALERTS
The indicator provides eight alert conditions:
1. Kalman Buy Signal: Fires when upward triangle appears (bullish trend change in trending market)
2. Kalman Sell Signal: Fires when downward triangle appears (bearish trend change in trending market)
3. Trend Change to Bullish: Fires whenever Kalman line changes to bullish (regardless of ADX)
4. Trend Change to Bearish: Fires whenever Kalman line changes to bearish (regardless of ADX)
5. SCT-R Long Retest Confirmed: Fires when green R label appears for long validation
6. SCT-R Short Retest Confirmed: Fires when red R label appears for short validation
7. SCT Test Long Detected: Fires when test candle appears for long signal (before confirmation)
8. SCT Test Short Detected: Fires when test candle appears for short signal (before confirmation)
Alert messages include context about bar close confirmation and current price levels.
---
## CALCULATION TRANSPARENCY
While complete proprietary optimization methodology is not disclosed, the core technical approach is fully explained: Alpha-Beta Kalman filter with ATR-based adaptive gain adjustment and ADX regime detection. The signal line validation system uses a three-phase structure (hold, test, confirmation) with configurable parameters. Users can understand indicator functionality and make informed decisions about application.
---
## DISCLAIMER
This indicator is provided as a technical analysis tool. It does not constitute financial advice, trading recommendations, or performance guarantees. All trading decisions carry risk. Users are responsible for their own trading decisions and risk management. Past results do not indicate future performance.
ATH/ATL/DaysThis indicator displays the All-Time High (ATH) and All-Time Low (ATL) — or more precisely, the highest and lowest price within the last N days. It works on any timeframe and uses only local chart data (no security() calls), ensuring stable and accurate results.
It plots horizontal lines for both the ATH and ATL and includes a clean, compact table showing:
Date of the extreme
Days since it occurred
Price
% distance from current price
$ distance from current price
A reliable tool for identifying local extremes, spotting market structure shifts, and tracking short-term price ranges.
TCP DMITCP DMI - Advanced Technical Indicator
This advanced DMI (Directional Movement Index) indicator enhances the traditional DMI by adding intelligent dynamic support and resistance levels based on historical price action analysis.
KEY FEATURES:
1. Standard DMI Components:
- DI+ (Directional Indicator Positive): Measures upward price movement
- DI- (Directional Indicator Negative): Measures downward price movement
- ADX (Average Directional Index): Measures trend strength
- Middle line at 20 for reference
2. Dynamic Support & Resistance Levels:
The indicator automatically identifies the most significant support and resistance levels by analyzing the last 400 candles (customizable) and detecting where DI lines have been rejected most frequently.
TWO TIERS OF LEVELS:
A) Normal Levels (Solid Lines):
- Support: Below 15
- Resistance: Above 25
- Style: Solid lines with 60% transparency
- These represent moderate support/resistance zones
B) Strong Levels (Dashed Lines):
- Strong Support: Below 10
- Strong Resistance: Above 30
- Style: Dashed lines with 40% transparency (more visible)
- These represent critical support/resistance zones
3. Intelligent Display Logic:
- When DI is ABOVE 20: Shows resistance levels (where price might face selling pressure)
- When DI is BELOW 20: Shows support levels (where price might find buying support)
- Each DI line (+ and -) has its own color-coded support/resistance levels for easy identification
4. Color Coding:
- DI+ levels use GREEN (customizable)
- DI- levels use RED/ORANGE (customizable)
- Support/Resistance lines match their respective DI colors but with reduced opacity
- This makes it instantly clear which DI the support/resistance belongs to
5. Rejection Detection Algorithm:
The indicator scans historical data to find peaks and troughs at specific levels, counting how many times price was rejected at each level. The level with the most rejections becomes the displayed support or resistance.
CUSTOMIZABLE PARAMETERS:
- ADX Smoothing: Default 14
- DI Length: Default 14
- Lookback Period: 400 candles (range: 50-500)
- Line Length: 15 candles forward + 15 candles back = 30 candle span
- DI+ Color: Customizable (default green)
- DI- Color: Customizable (default red)
- ADX Color: Customizable (default blue)
- Normal S/R Transparency: Default 60%
- Strong S/R Transparency: Default 40%
HOW TO USE:
1. Trend Identification:
- When DI+ crosses above DI-: Potential uptrend
- When DI- crosses above DI+: Potential downtrend
- ADX above 25: Strong trend
- ADX below 20: Weak trend or ranging market
2. Support/Resistance Trading:
- Watch for price reaction when DI approaches displayed support/resistance levels
- Solid lines = moderate levels
- Dashed lines = strong levels (more significant)
- The more rejections at a level, the more significant it becomes
3. Entry/Exit Signals:
- Entry: When DI bounces off support (below 20) or resistance (above 20)
- Exit: When DI breaks through major support/resistance levels
- Strong levels (dashed) are more reliable for major decisions
ADVANTAGES:
✓ Reduces chart clutter by only showing relevant levels based on current DI position
✓ Automatically adapts to changing market conditions
✓ Color-coded for instant visual recognition
✓ Two-tier system helps prioritize trading decisions
✓ Historical rejection analysis provides data-backed levels
✓ Fully customizable to match any trading style
BEST USED FOR:
- Swing trading
- Trend following
- Support/resistance trading strategies
- Identifying potential reversal zones
- Confirming breakout validity
- Risk management (stop-loss placement)
This indicator combines the power of traditional DMI with smart support/resistance detection, giving traders a comprehensive tool for technical analysis without overwhelming the chart with excessive information.
Defended Price Levels (DPLs) — Melvin Dickover ConceptThis indicator identifies and draws horizontal “Defended Price Levels” (DPLs) exactly as originally described by Melvin E. Dickover in his trading methodology.
Dickover observed that when extreme relative volume and extreme “freedom of movement” (volume-to-price-movement ratio) occur on the same bar, especially on bars with large gaps or unusually large bodies, the closing price (or previous close) of that bar very often becomes a significant future support/resistance level that the market later “defends.”
This script automates the detection of those exact coincident spikes using two well-known public indicators:
Relative Volume (RVI)
• Original idea: Melvin Dickover
• Pine Script implementation used here: “Relative Volume Indicator (Freedom Of Movement)” by LazyBear
Link:
Freedom of Movement (FoM)
• Original idea and calculation: starbolt64
• Pine Script: “Freedom of Movement” by starbolt64
Link:
How this indicator works
Calculates the raw (possibly negative) LazyBear RVI and starbolt64’s exact FoM values
Normalizes and standardizes both over the user-defined lookback
Triggers only when both RVI and FoM exceed the chosen number of standard deviations on the same bar (true Dickover coincident-spike condition)
Applies Dickover’s original price-selection rules (uses current close on big gaps or 2× body expansion candles, otherwise previous close)
Draws a thin maroon horizontal ray only when the new level is sufficiently far from all previously drawn levels (default ≥0.8 %) and the maximum number of levels has not been reached
Keeps the chart clean by limiting the total number of significant defended levels shown
This is not a republish or minor variation of the two source scripts — it is a faithful automation of Melvin Dickover’s specific “defended price line” concept that he manually marked using the coincidence of these two indicators.
Full credit goes to:
Melvin E. Dickover — creator of the Defended Price Levels concept
LazyBear — author of the Relative Volume (RVI) implementation used here
starbolt64 — author of the Freedom of Movement indicator and calculation
Settings (all adjustable):
Standard Deviation Length (default 60)
Spike Threshold in standard deviations (default 2.0)
Minimum distance between levels in % (default 0.8 %)
Maximum significant levels to display (15–80)
Use these horizontal maroon lines as potential future support/resistance zones that the market has previously shown strong willingness to defend.
Thank you to Melvin, LazyBear, and starbolt64 for the original work that made this automation possible.
[Algoros] BTC Major Trendline# BTC Major Trendline - Long-Term Bitcoin Trend Analysis
## Overview
BTC Major Trendline is a comprehensive technical analysis tool designed to track Bitcoin's long-term bullish trajectory using historically significant price points. This indicator establishes a primary upward trendline anchored to two major Bitcoin cycle lows, along with optional parallel channels and Fibonacci-based price projections.
## ⚠️ Important Requirements
**This indicator requires a Bitcoin chart with sufficient historical data dating back to at least April 2013.**
**✅ Recommended Charts:**
- `INDEX:BTCUSD` - Bitcoin Index (comprehensive history)
- `BITSTAMP:BTCUSD` - Bitstamp Bitcoin (default setting)
**❌ Will NOT work properly on:**
- Charts with limited history (Like hourly charts)
- Exchanges that launched after 2013
- Altcoin pairs or other cryptocurrencies
If the indicator doesn't display correctly, switch to one of the recommended Bitcoin charts above.
## Key Features
### 📈 Primary Trendline
- Anchored to two historically significant lows:
- **Start Point**: July 6, 2013 - Early Bitcoin accumulation phase
- **End Point**: November 21, 2022 - FTX collapse bottom
- Automatically calculates and extends the trendline based on these anchor points
- Displayed as a solid orange line
### 🔷 Parallel Channel Line (Optional)
- Creates an upper boundary by connecting historical high points:
- April 10, 2013 and June 11, 2017
- Helps identify potential resistance zones and channel breakouts
- Displayed as a blue dotted line for easy distinction
### 🎯 Fibonacci Trendline Multipliers (Optional)
- Seven Fibonacci-based projection lines: **1.6x, 2x, 3x, 5x, 8x, 13x, and 21x**
- Each multiplier creates a parallel trendline above the main trend
- Color-coded from teal to maroon for clear visual separation
- Useful for identifying potential profit-taking zones and long-term price targets
### 📉 Negative Fibonacci Trendlines (Optional)
- Seven division-based support lines: **÷1.6, ÷2, ÷3, ÷5, ÷8, ÷13, and ÷21**
- Projects downward channels below the main trendline
- Displayed in yellow tones for easy identification
- Helps identify extreme oversold conditions and potential bounce zones
## Customization Options
- **Symbol Input**: Track any Bitcoin pair with sufficient history (default: BITSTAMP:BTCUSD)
- **Show/Hide Components**: Toggle parallel line, Fibonacci multipliers, and negative Fibonacci lines independently
- **Line Extension**: Extend lines right, left, both directions, or none
- **Multi-Timeframe Compatible**: View on any timeframe once loaded on a compatible chart
## How to Use
1. **Setup**: First, open a Bitcoin chart with sufficient history (INDEX:BTCUSD or BITSTAMP:BTCUSD recommended)
2. **Trend Confirmation**: The main orange trendline represents the long-term bullish trajectory. Price staying above this line suggests the bull market remains intact.
3. **Channel Trading**: Use the parallel line (blue dotted) as a potential upper boundary for the long-term channel.
4. **Price Targets**: Enable Fibonacci multiplier lines to identify ambitious long-term price targets during bull runs. Higher multipliers (13x, 21x) represent parabolic extension zones.
5. **Support Identification**: Enable negative Fibonacci lines to spot potential support zones during corrections or bear markets.
6. **Risk Management**: Breaking below the main trendline could signal a shift in long-term trend, warranting caution.
## Technical Implementation
- Uses `request.security()` to fetch precise daily prices at historical timestamps
- Requires access to Bitcoin price data from April 2013 onwards
- Calculates slope dynamically based on anchor points
- All lines update in real-time as new price data emerges
- Efficient rendering system minimizes performance impact
## Best Used For
✅ Long-term Bitcoin investors and HODLers
✅ Identifying major trend direction
✅ Setting realistic long-term price targets
✅ Spotting potential support/resistance zones
✅ Multi-timeframe analysis (on compatible charts)
✅ Educational purposes (understanding logarithmic growth)
## Troubleshooting
**Lines not appearing?**
- Ensure you're viewing INDEX:BTCUSD or BITSTAMP:BTCUSD
- Check that the chart has data back to April 2013
- Verify the symbol input matches your chart
- Try switching to a daily or weekly timeframe first
MTF Trend Analyzer with Swing Pivots & S/R Levels [SmartFoxy]Indicator “Multi-Timeframe Trend Analyzer with Swing Pivots & S/R Levels”
📌 Overview
Trend & Pivot S/R Levels is a multi-timeframe market structure analyzer that identifies trend direction, detects swing highs/lows, and plots higher-timeframe support/resistance levels directly on your chart.
Designed for traders who want fast, clean, and accurate trend context without constantly switching timeframes.
________________________________________________________________________________
✨ Core Features
1. Multi-Timeframe Trend Analyzer .
Analyze up to five higher timeframes simultaneously — for example:
5m, 1H, 4H, 1D, 1W , etc.
For each timeframe, the indicator detects:
a) Trend direction:
🡕 Uptrend;
🡖 Downtrend.
b) Breakouts of recent pivot highs/lows to determine trend shifts.
c) Automatic graying-out of timeframes lower than the current chart TF .
d) A clean visual Trend Panel that shows:
Arrow direction;
Timeframe label (1D, 1W, etc.);
Trend color (bullish, bearish, neutral).
________________________________________________________________________________
2. Swing Pivot Detection (Current TF)
The script detects local swing points using customizable lookback parameters:
a) Pivot Type:
High/Low — classic swing structure;
Close — smoother swing detection using closing prices.
b) Left/Right Bars Lookback — the number of bars required on both sides to validate the pivot.
c) Multiple marker styles :
Built-in plot shapes (circle, cross, histogram, etc.);
Custom visual labels (▲▼, ◉, ✖, 🡇🡅, ◆, ◼, etc.).
This makes it easy to visually confirm that your swing settings are correct.
________________________________________________________________________________
3. Higher-Timeframe Support/Resistance
The indicator automatically draws HTF S/R lines based on the latest pivot highs/lows from each selected timeframe.
Each timeframe has:
Separate Support / Resistance colors ;
Adjustable line width ;
Selectable line style (solid, dashed, dotted, arrows);
Optional HTF labels displayed on the lines.
This allows you to see major market structure levels from higher timeframes without switching charts.
________________________________________________________________________________
4. Smart Timeframe Safety Checks
If a selected timeframe is lower than your current chart timeframe , its data is:
Disabled for S/R plotting ;
Shown in gray inside the Trend Panel;
Prevents invalid S/R calculations and ensures stable chart performance.
________________________________________________________________________________
⚙️ Customization Options :
Show/Hide the Trend Panel;
Panel placement anywhere on the chart;
Swing pivot type: High/Low or Close ;
Pivot lookback (left/right bars);
Choose five HTFs to analyze;
Enable/Disable HTF S/R;
Configure S/R color for each timeframe;
Line style + line width;
Pivot marker type + size;
Custom label styles + text scaling.
________________________________________________________________________________
✅ Benefits :
Perfect for traders who need instant multi-timeframe structure awareness ;
Reduces the need to constantly switch charts;
Works on all markets : crypto, stocks, forex, indices, futures;
Clean, modern, and intuitive visualization;
Helps confirm trend direction and key S/R levels at a glance.
________________________________________________________________________________
⚠️ Note
The indicator only displays S/R and trend data from higher timeframes relative to the current chart timeframe.
Higher Timeframe Candle LevelsThis is an indicator that shows higher time frame candle levels from various preset timeframes. These higher time frame candles act as support and resistance levels, so look for reversals and continuations off of these levels. When price exceeds the high or low of these levels, you should look for breakouts in the same direction and trade with the trend.
It includes candle levels for the following timeframes: 1 hour, 4 hour, 1 day, 1 week, 1 month, 1 quarter and 1 year. The indicator also includes a trend candle coloring feature, trend strength scoring table, stop loss feature, line identification labels, alerts for trend changes, alerts for level touches and full customization of all options.
How To Trade With This Indicator
These higher timeframe candle levels will act as support and resistance levels, so look for price to react at any of the levels you have turned on and then look for potential bounce or reversal signs at those levels so you can trade those direction changes. Price outside of the higher timeframe candle highs and low typically signals a breakout as well, so look for price to continue after passing the highs or lows.
You can use the direction of the higher timeframe candles as your trend as well. Try to only trade in the direction of the trend of the higher timeframes to increase the likelihood of your trade going in your favor.
The highs and lows of daily and up levels are excellent levels to find quick reversal off of. Watch for price action to struggle to break through these levels and then trade the reversal. If price breaks through these levels easily, watch for price to retest the level and then continue beyond that level. Trade the retest in the direction of the trend.
The open, close and midline levels are excellent for trading bounces. Watch for price to form wicks beyond these levels and close on the other side and use that as a sign that price may bounce there. Use that with price action to confirm your trade and then take trades off of those level bounces.
Use the alerts for daily and up timeframe level touches across all of your favorite markets so that way you are always notified in real time when price is at a level that could provide a potential trading opportunity.
Higher Time Frame Candle Levels
The indicator shows the current candle open, previous open, previous high, previous low, previous close and previous candle body midline levels of each candle for each time frame. This helps you easily see what is going on with the higher time frame candles and read the price action from your lower time frame charts.
Each candle level will paint red if it was a down candle or green if it was an up candle, except the midlines and current candle open lines, those are a different color for easy differentiation. The line colors can be customized to your preferences in the settings and you can also toggle the candle body coloring on or off, as well as change the color of the candle body background.
Each timeframe can be adjusted to your preferences, allowing you to turn all of the levels on or off. You can also adjust how many previous candles show up on your chart so you can backtest it and see for yourself how accurate these levels are.
When adjusting the number of candles, you will get a notification if you have more than 500 lines turned on, so just turn down the number of levels for whatever timeframe you can’t see on your chart to lower that number below 500. The notification will go away once you are under 500 lines again. Each candle has 6 lines if all levels are turned on for that timeframe: open, current candle open, close, high, low and midline. The default settings keep you under 500 lines total, so just be aware of that limitation when adjusting those numbers and adjust the number of levels down on the timeframes that are not useful on the current chart bar.
You can also extend the levels right on any time frame from the daily levels and above. This is useful when price is breaking above or below all levels and you need to know if there are any other previous candle levels in the way as price moves away from the most recent higher time frame candles.
To understand the intraday trend of each higher time frame, look to see where price is at according to each higher time frame candle. If the price is above the midline of the candle, it is bullish. If the price is above the candle body it is more bullish. If the price is above the high, it is very bullish. If the price is below the midline of the candle, it is bearish. If the price is below the candle body it is more bearish. If the price is below the low, it is very bearish. Make sure you backtest this yourself and go through lots of historical data to get a feel for how price reacts to these levels and establishes the trend. Then use that trend information to your advantage and trade in the direction of the trend.
Since users are limited to a certain amount of historical bars based on which Tradingview plan you have, some longer timeframe levels won’t show up because the start of that candle is too far back in history. You will get a notification at the top of that chart if that happens. It will tell you to lower the display timeframe for that timeframe until that notification goes away, which means it was able to plot the most recent candle for that timeframe on your chart.
Trend Candle Coloring
The indicator includes a feature that paints the candles based on whether the current time frame candles are above or below the most recent midline, candle body or high & low of a higher time frame candle of your choice. This helps you see the overall trend of the higher timeframe so you can trade with the trend.
The candle coloring will have an up color, down color and neutral color which can all be customized to suit your preferences. If the current time frame candle close is above the setting you choose, it will show the up color. If the current time frame candle close is below the setting you choose, it will show the down color. If the current time frame candle close is equal to or in the middle of the setting you chose, it will show the neutral color.
So, for example if you set it to candle body, then it will show the up color if the current candle is above the top of the candle body, down color if it is below the bottom of the candle body and neutral color if it is inside the candle body. This helps you wait for price action to move beyond the inside of the previous higher time frame candle before taking a position when price is breaking out of that previous candle so you can trade the momentum of that move. The candle coloring is fully customizable, but make sure to turn off your candle coloring on other indicators and your chart settings for it to show up properly.
Trend Strength Scoring Table
The trend strength scoring table displays a table at the bottom of the screen(table position is customizable), showing a score for the trend strength of each higher time frame. If the current candle close is above the midline, its strength is 1. If the current candle close is above the midline, but below the top of the candle body, its strength is 2. If the current candle close is above the high, its strength is 3. The same goes for below the midline, bottom of the candle body and below the low, but the scores would be negative 1, 2 or 3 instead.
This trend strength table allows you to quickly identify the trend on each higher time frame so you can wait until the trend is the same across all time frames before placing a trade in the direction of the trend. It also shows a total score on the far right side that adds all of the current trend scores together to give you a total strength score. Try to only trade when that number is very high compared to how many time frames you have turned on. Each time frame can have up to a maximum score of 3 if bullish and -3 if bearish. Each time frame in the table can be turned on or off to suit your preferences.
Stop Loss Feature
There is also a stop loss feature that you can set to whatever time frame you choose and whatever direction you chose, such as long or short. It will follow the most recent higher time frame candle’s trend using one of the following settings: candle body, high & low or midline. Once a new higher time frame candle is created, the stop loss will update to the most recent candle’s levels so you can use these levels as a trailing stop loss to maximize your wins.
If you have it set to use the candle body and it is set to long mode, then the stop loss will use the previous higher time frame candle’s lowest candle body level. So if it was an up candle previously, it will use the open. If it was a down candle previously, it will use the close. The opposite is true for short positions.
The stop loss will start working once you turn it on in the settings and will update automatically as new higher time frame candles are formed. It also shows a line of where the stop loss was previously since it was turned on.
I recommend using the high & low setting, especially when the market starts trending.
Candle Level Identification Labels
There are labels for each level starting with the 4 hour time frame and above so you can easily tell what level of each candle you are looking at, even if the rest of the candle is not showing within the chart pane. You can customize the label coloring for up candles and down candles and midlines as well as adjust the number of bars that the labels are offset from the current bar so they are visible on your chart without overlapping the current price action or other indicator labels. Labels for each time frame can be turned on or off as needed. The 1 hour labels were not included because it clogs up the chart, but it has labels for all time frames from the 4 hour candles and up.
Alerts
The indicator includes alerts for when the trend has changed to the opposite direction. The trend change alert is based on your settings for the Trend Candle Coloring. Whatever settings you have the trend candle coloring set to, will be used to set up your alerts. The Trend Candle Coloring setting must be turned on as well when creating your alerts for it to work properly. Make sure to backtest your settings and then create your alerts.
It also has alerts for when price is touching an open or close, high or low, midline or any of those levels for each timeframe. This allows you to be notified when price touches one of these levels so you can check the chart and look for potential trade opportunities if price wants to bounce off of that level. To make it easy for you to get alerts on many different tickers, just use the alert for any level touch on whatever timeframes you want.
Other Indicators To Pair This With
Use this in combination with our Trend Strength Indicator so you can visually see the historic and current trend for all of these levels. You should also use our Breakout Scanner to find other markets with strong trends so you always know which market is trending the strongest and can trade those. Trend Strength Indicator, Higher Timeframe Candle Levels and the Breakout Scanner all use the same levels and calculate the trend scores the same way so they are designed to work together to help you quickly be able to read a chart and find what direction to trade in.
ATR Support LineOverview
ATR Support Line is a higher-timeframe-aware overlay that builds a single dynamic support line by anchoring a smoothed price baseline and offsetting it with an Average True Range (ATR) multiple. It is designed to track constructive trends while adapting to current volatility. The tool can render using higher-timeframe (HTF) data with optional closed-bar confirmation to avoid repainting, or live interpolation for more responsive visuals.
Core logic (concepts, not implementation)
• Compute an anchor from price using a selectable moving-average family (SMA / EMA / ZLEMA).
• Measure volatility using ATR and apply a configurable multiplier.
• Form the support line by offsetting the anchor downward by the ATR multiple.
• Timeframe handling: either use the chart timeframe or request an explicit HTF for calculation.
• Rendering modes:
– Closed-bar mode : interpolate inside the previous HTF bar for non-repainting behavior.
– Live mode : interpolate inside the current HTF bar for more timely responsiveness (can visually “breathe” intrabar).
Inputs
• Anchor smoothing: MA type (SMA / EMA / ZLEMA) and anchor length.
• Volatility: ATR length and multiplier.
• Timeframe: optional calculation timeframe (HTF) distinct from the chart timeframe.
• Confirmation: toggle to use closed HTF values (non-repainting) vs. live interpolation.
How to read it
• Price holding above the ATR Support Line indicates constructive conditions; orderly pullbacks toward the line can be normal trend behavior.
• Persistent closes above the line indicate strength; reactions into the line often resolve higher in constructive regimes.
• Persistent closes below the line warn of deterioration; consider reducing risk until price reclaims the level.
• On HTF rendering with closed-bar confirmation, use closes on that HTF for signal confirmation.
• In live mode, treat intrabar pierces as potential noise until confirmed by the close.
Practical use cases
• Trend context: define a trailing “line in the sand” for long-bias frameworks.
• Risk framing: size down or tighten exposure when price loses the support line.
• Confluence: combine with structure (HH/HL vs. LH/LL), volume, or market-wide risk gauges.
• Multi-TF workflow: calculate on HTF for bias, execute on lower TFs for entries/exits.
Best practices
• Align confirmations with the timeframe used for calculation (especially in closed-bar mode).
• Pair with clear invalidation rules (e.g., daily/weekly closes below the line).
• Start with conservative multipliers on noisier assets; adjust ATR length/multiplier to match instrument volatility.
Technical notes
• Non-repainting option : closed-bar HTF mode finalizes values on HTF close; lower-TF plotting uses interpolation only for continuity (no look-ahead).
• Live option : interpolates within the current HTF bar for responsiveness; expect intrabar breathing.
• Works on any time-based chart; results are most interpretable on liquid instruments.
Who it is for
• Traders who want a single, disciplined, volatility-adjusted support line with HTF awareness.
• Systematic users who prefer clear, reproducible rules for trend context and risk boundaries.
Limitations & disclosures
• Closed-source; for educational and analytical use only.
• Not financial advice. Markets involve risk; past performance does not guarantee future results.
Release notes
• Added selectable anchor MA (SMA / EMA / ZLEMA) and explicit HTF calculation with two rendering modes (closed-bar non-repainting vs. live).
• Interpolation refined for smooth visuals while respecting HTF closes in confirmation mode.
Originality & why closed-source
This is not a reimplementation of public open-source scripts. The integration of anchor smoothing choices, volatility offset, HTF calculation, and dual rendering modes (closed-bar non-repainting vs. live interpolation) is designed to maintain trend fidelity with practical control over responsiveness. The interaction of these components is proprietary and the source is closed to protect the implementation.
Integration, not a mashup
ATR Support Line is a single, self-contained framework. It does not merely merge indicators; its components are purpose-built to produce one coherent, volatility-aware, single-line support with a clear reading protocol (hold above = constructive; loss = caution).
Indicator, not a strategy
This publication is an indicator overlay, not a trading strategy. It includes no backtests, position logic, performance claims, or risk assumptions. Use it as analytical context within your own risk management.
Comparison to common tools
Compared to static moving-average baselines or classic volatility bands, ATR Support Line emphasizes (1) a single actionable support level, (2) explicit volatility adjustment via ATR, and (3) HTF-aware rendering with an optional non-repainting confirmation mode.
Axel AltsOverview
Axel Alts is a higher-timeframe-aware overlay that forms a two-line support band for altcoins using a sticky, threshold-and-step progression. It draws an Upper Support (mid) and a Lower Support (low) derived from evolving local lows, with smoothed transitions and an optional halving-cycle bear-window background.
The goal is disciplined context: identify controlled pullbacks into support in constructive regimes and avoid emotional chasing. All core settings are fixed for consistent behavior across symbols.
Core logic (concepts, not implementation)
• Two baseline levels are computed as fractional distances from the current base and then smoothed.
• A sticky mechanism advances each line toward its target only when deviation is material, and in capped steps. This reduces whipsaw and preserves structure.
• Visual easing smooths transitions so curves remain stable and readable.
• Rendering accounts for higher-timeframe structure and uses interpolation on lower timeframes for visual continuity; values do not look ahead and finalize on higher-timeframe closes.
• An optional bear-window background is derived from halving dates to flag a more cautious phase between the late part of one cycle and the run-up to the next.
Inputs
• Parameters are locked (lengths, fractions, sticky thresholds/steps, easing radii, bear-window bounds). No user-tweakable inputs—this prevents overfitting and improves repeatability.
How to read it
• The zone between Upper Support and Lower Support is the preferred “controlled pullback” area in constructive regimes.
• Persistent closes above Upper Support indicate strength; orderly reactions into the band can be constructive.
• Sustained closes below Lower Support warn of deterioration; be cautious with aggressive longs until recovery.
• The bear-window background suggests a more conservative stance on risk and size.
• Confirmations are best taken on daily/weekly closes; short-term pokes through the band are often noise.
Practical use cases
• Altcoin rotation: prioritize names holding the band; de-prioritize those persisting below it.
• Dollar-Cost Averaging (DCA) context: scale within the band during favorable regimes.
• Risk framing: tighten or reduce exposure on breaks below Lower Support or during the bear window.
• Confluence: combine with volume/volatility tools and market-wide risk gauges.
Best practices
• Rely on daily/weekly closes for confirmation.
• Pair with market structure (HH/HL vs. LH/LL) and higher-timeframe support/resistance.
• Consider broader cycle context (e.g., halving windows) before scaling risk.
Technical notes
• Non-repainting: values finalize on the close of the higher timeframe used by each calculation.
• Interpolation on lower timeframes is for continuity only; it is not forward-looking.
• Bear-window boundaries are fixed and derived from publicly known Bitcoin halving dates.
• The fill between lines is fixed in the current configuration.
Who it is for
• Traders who want a fixed-rules, repeatable context for alt pullbacks and trend health.
• Systematic users who prefer deterministic, non-tunable overlays for portfolio discipline.
Limitations & disclosures
• Closed-source; for educational and analytical use only.
• Not financial advice. Markets involve risk; past performance does not guarantee future results.
Release notes
• Includes sticky progression for both support lines with eased transitions.
• Improved visual continuity on lower timeframes while respecting higher-timeframe structure.
• Added halving-based bear-window highlighting (bounds are fixed).
Originality & why closed-source
This is not a reimplementation of public open-source scripts. Axel Alts integrates (1) sticky threshold-and-step progression, (2) dual support lines built from fractional levels off evolving lows with separate smoothing, (3) visual easing for stability, and (4) a halving-based bear window. The interaction of thresholds/steps, smoothing, and the regime window is proprietary and tuned to retain structure while limiting lag. The source is closed to protect this implementation.
Integration, not a mashup
Axel Alts is a single, self-contained framework. It does not merely merge indicators; its components are designed to work together to form a unified support band with a clear reading protocol (hold within the band, caution below, close-based confirmations, optional bear-window context).
Indicator, not a strategy
This publication is an indicator overlay, not a trading strategy. It includes no backtests, position logic, performance claims, or risk assumptions. Use it as analytical context within your own risk management.
Comparison to common tools
Compared to standard moving-average channels or volatility bands, Axel Alts emphasizes (1) structure retention via sticky thresholds/steps, (2) smoother visuals through eased transitions, and (3) explicit cycle context via the halving-based bear window.
ZynAlgo S&R ProZynAlgo S&R Pro identifies confirmed swing highs and swing lows, marks them on the chart, and draws single horizontal liquidity lines that extend from each confirmed swing until the next swing of the same type occurs. The tool can optionally recolor candles based on whether the current close is above or below the previous close. It also exposes alert conditions for new swing points and for when price reaches the most recent buy-side or sell-side liquidity line.
Important: This is a visual analysis tool. It does not open, manage, or close positions. It is provided for educational and informational purposes only.
How it works (under the hood)
Swing detection (confirmed):
The script uses ta.pivothigh/ta.pivotlow with symmetric left/right bars defined by Left bar & Right bar. A swing is considered only after the bar is confirmed.
Swing markers:
When enabled, confirmed swing highs/lows are marked with small circles above/below bars. The offset equals the left/right length to align with the confirmed pivot location.
Liquidity lines:
On each swing high, the script ends (anchors) the previous buy-side line at the pivot’s bar, then creates a new dotted/dashed/solid horizontal line at that swing price and extends it forward.
On each swing low, it does the same for sell-side lines.
Between swing events, the most recent buy-side and sell-side lines continue extending to the current bar.
Alerts:
Swing High / Swing Low Created — fires on confirmation of a new swing.
Buy Side Liquidity Raid — when price crosses over the most recent swing-high line.
Sell Side Liquidity Raid — when price crosses under the most recent swing-low line.
Optional candle coloring:
If enabled, candles can be recolored by comparing current close to the previous close, with independent toggles for body, borders, and wicks.
Inputs & recommended tooltips (copy-friendly)
Swing High/Low Setting
Left bar & Right bar (len_l)
Tooltip: “Bars to the left/right required to confirm a pivot. Larger values = fewer but stronger swing points (default: 20).”
Show Swing High Swing Low (flg_shsl)
Tooltip: “Plot small circles at confirmed swing highs (red) and swing lows (blue).”
(Note: i_labelcolor_price is present but unused in visible drawings—safe to ignore or reserve for future use.)
Liquidity Pools Settings
Show Liquidity Pools (flg_lq)
Tooltip: “Draw a horizontal line at each confirmed swing. The line extends forward until the next swing of the same type appears.”
Line Width (i_width)
Tooltip: “Thickness of liquidity lines (1–6).”
Line Style (i_linestyle)
Tooltip: “Choose solid, dashed, or dotted style for liquidity lines.”
Buy Side Liquidity Color (i_linecolor_bs)
Tooltip: “Color for swing-high liquidity lines (default: red).”
Sell Side Liquidity Color (i_linecolor_ss)
Tooltip: “Color for swing-low liquidity lines (default: blue).”
Candles
Color bars based on previous close (use_prev_close)
Tooltip: “If enabled, candle colors are based on whether close > previous close (Up) or not (Down).”
Up Color / Down Color
Tooltip: “Colors used for up vs. down determination.”
Body / Borders / Wick (apply toggles)
Tooltip: “Choose which candle parts to recolor.”
Alerts available (names as shown in the Create Alert dialog)
Swing High
Triggers when a new swing high is confirmed. Select this condition to be notified about newly formed swing highs.
Swing Low
Triggers when a new swing low is confirmed.
Buy Side Liquidity Raid
Triggers when price crosses above the most recent swing-high liquidity line (crossover(high, LSH)).
Sell Side Liquidity Raid
Triggers when price crosses below the most recent swing-low liquidity line (crossunder(low, LSL)).
Quick start (suggested workflow)
Add to chart: Apply ZynAlgo S&R Pro to your symbol and timeframe.
Choose sensitivity: Adjust Left bar & Right bar. Higher values focus on more significant swing points; lower values react faster.
Toggle visuals:
Enable Show Swing High Swing Low to see swing markers.
Enable Show Liquidity Pools to draw/extend liquidity lines. Pick the line style, width, and colors you prefer.
(Optional) Candle colors: Turn on Color bars based on previous close and choose which parts to color.
Set alerts:
Open Create Alert → Condition: ZynAlgo S&R Pro → choose Swing High, Swing Low, Buy Side Liquidity Raid, or Sell Side Liquidity Raid as needed.
Practical notes & limitations
Confirmed swings only: Pivots are plotted after confirmation (i.e., once the required left/right bars are complete). This avoids repainting the pivot location.
One active line per side: Only the most recent buy-side and sell-side liquidity lines extend to the right; prior lines are ended when a new swing of the same side appears.
Timeframes & instruments: Parameter sensitivity can vary across markets/timeframes. Consider tuning Left bar & Right bar to match volatility.
No orders are placed: This indicator does not execute trades or manage positions.
Compliance & fair-use guidance
No performance promises: This tool does not guarantee profitable results and should not be described as “signals,” “guaranteed,” “best,” or similar claims. It is an analysis aid that visualizes historical swing points, liquidity levels, and optional candle coloring.
Educational intent: Use it to support your chart review and alerting workflow; combine with your own judgment and risk controls.
Alerts are informational: Alerts reflect the conditions described above and do not constitute financial advice.
Change log (summary of core features)
Swing detection with configurable left/right bars; optional swing markers.
Auto-extending buy-side/sell-side liquidity lines with customizable style/width/colors.
Four alert conditions (new swing highs/lows and liquidity raids).
Optional candle recoloring with separate toggles for body/borders/wicks.
Dynamic Line Management
Unlike static support/resistance tools, ZynAlgo S&R Pro automatically manages the lifecycle of each liquidity line — removing outdated levels the moment new structure forms.
This ensures the chart always reflects the most relevant active zones.
Structure + Liquidity Integration
By combining price structure (swing points) with liquidity visualization, it bridges the gap between classic S&R and modern liquidity-based interpretation — a fusion rarely found in lightweight indicators.
Noise-Free Design
The script plots only the most essential elements: confirmed swings, active liquidity lines, and optional candle color context.
It avoids overlapping labels, text clutter, or unnecessary metrics — ideal for traders who prefer clarity and precision.
Non-Repainting Logic
All pivots are confirmed only after the required right-side bars are closed, ensuring all swing points and lines remain fixed once plotted.
This gives confidence in backtesting and visual analysis without misleading signals.
Lightweight & Efficient
Despite tracking multiple dynamic lines, the algorithm is optimized for performance (using arrays and efficient bar updates), making it suitable for both high- and low-timeframe analysis.
Adaptable Across Market Types
Equally applicable to forex, crypto, indices, and commodities, the algorithm’s sensitivity parameter lets users adjust to volatility differences between instruments.
Purely Analytical
The tool does not provide trade signals or predictions.
Its design supports price-action interpretation, liquidity mapping, and structure confirmation — helping traders read context rather than react to noise.
🔶 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by ZynAlgo are purely for informational & educational purposes only. Past performance does not guarantee future results.
Breakout Boxes [ChartPrime]⯁ OVERVIEW
The Breakout Boxes indicator identifies key structural levels by detecting and aligning two consecutive pivots — forming confirmation zones where potential breakouts are most likely to occur. Once two pivots align within a defined ATR range, the indicator constructs a Breakout Box around that area, tracking volume distribution and breakout strength. When price breaks above or below these boxes, breakout labels (⯁ BreakUp / BreakDn) are displayed to confirm trend continuation.
⯁ KEY FEATURES
Pivot-Based Detection: Uses a customizable pivot length to identify market swing highs and lows.
Two-Pivot Alignment Logic: A breakout box is only created when two pivot highs or lows form near the same level, confirming structural alignment and increasing breakout reliability.
Dynamic Box Generation: Builds upper and lower boxes once pivot alignment is confirmed, adapting automatically to new structures.
Volume Distribution Analysis: Each box measures total traded volume and separates it into bullish and bearish components, showing buy/sell percentages inside the range.
The volume data is calculated in real time as long as the box remains active and unbroken, allowing traders to monitor live accumulation or distribution before a breakout occurs.
Breakout Confirmation Signals: Labels appear when price decisively breaks above the upper box (⯁ BreakUp) or below the lower one (⯁ BreakDn).
Adaptive ATR Scaling: Box size dynamically adjusts to volatility, maintaining consistent proportions across assets and timeframes.
Color-Coded Visualization: Upper (bearish) boxes use pink tones; lower (bullish) boxes use green, both with transparent fill for volume clarity.
Automatic Box Resetting: Previous boxes close when a new pivot pair forms, ensuring only the most relevant structure is active.
⯁ USAGE
Watch for Two Pivot Alignments — the indicator only activates when structural confluence exists, reducing false breakout signals.
Upper Boxes represent resistance formed by two aligned swing highs; a breakout above indicates potential bullish continuation.
Lower Boxes represent support formed by two aligned swing lows; a breakdown below indicates bearish continuation.
Analyze the Volume Ratio inside each box — higher buy volume in upper boxes supports bullish breakouts, while higher sell volume in lower boxes supports bearish moves.
Use this tool alongside trend indicators or higher timeframe context to confirm the direction of breakouts.
⯁ CONCLUSION
The Breakout Boxes indicator refines breakout analysis by requiring two aligned pivots to validate structural zones. By combining pivot confluence with volume distribution and adaptive ATR scaling, it provides a precise, data-backed visualization of breakout strength and direction — a powerful tool for structure-based trading confirmation.
Volume Cluster Support and Resistance Levels [QuantAlgo]🟢 Overview
This indicator identifies statistically significant support and resistance levels through volume cluster analysis, isolating price zones characterized by elevated trading activity and institutional participation. By quantifying areas where volume concentration exceeded historical norms, it reveals price levels with demonstrated supply-demand imbalances that exhibit persistent influence on subsequent price action. The methodology is asset-agnostic and timeframe-independent, applicable across equities, cryptocurrencies, forex, and commodities from intraday to weekly intervals.
🟢 Key Features
1. Support and Resistance Levels
The indicator scans historical price data to identify bars where volume exceeds a user-defined threshold multiplier relative to the rolling average. For each qualifying bar, a representative price is calculated using the average of high, low, and close. Proximate price levels within a specified percentage range are then aggregated into discrete clusters using volume-weighted averaging, eliminating redundant signals. Clusters are ranked by cumulative volume to determine statistical significance. Finally, the indicator plots horizontal levels at each cluster price: support levels (green) below current price indicate zones where historical buying pressure exceeded selling pressure, while resistance levels (red) above current price mark zones where sellers historically dominated. These levels represent areas of established liquidity and price discovery, where institutional order flow previously concentrated.
The Touch Count (T) metric quantifies historical price interaction frequency, while Total Volume (TV) measures aggregate trading activity at each level, providing objective criteria for assessing level strength and trade execution decisions.
2. Volume Histogram
A histogram appears below the price chart, displaying relative volume for each bar within the lookback period, with bar height scaled to the maximum volume observed. Green bars represent up-periods (close > open) indicating buying pressure, while red bars show down-periods (close < open) indicating selling pressure. This visualization helps you confirm the validity of support/resistance levels by seeing where volume actually spiked, identify accumulation/distribution patterns, and validate breakouts by checking if they occur on above-average volume.
3. Built-in Alerts
Automated alerts trigger when price crosses below support levels or breaks above resistance levels, allowing you to monitor multiple assets without constant chart-watching.
4. Customizable Color Schemes
The indicator provides four preset color configurations (Classic, Aqua, Cosmic, Custom) optimized for visual clarity across different charting environments. Each scheme maintains consistent color mapping for support and resistance zones across both level lines and volume histogram components. The Custom configuration permits full color specification to accommodate individual charting setups, ensuring optimal visual contrast for extended analysis sessions.
Classic:
Aqua:
Cosmic:
Custom:
🟢 Pro Tips
→ Trade entry optimization: Execute long positions at support levels with high touch counts or upon confirmed resistance breakouts accompanied by above-average volume
→ Risk parameter definition: Position stop-loss orders near identified support/resistance zones with statistical significance to minimize premature exits
→ Breakout validation: Require volume confirmation exceeding historical average when price penetrates resistance to filter false breakouts
→ Level strength assessment: Prioritize levels with higher touch counts and total volume metrics for enhanced probability trade setups
→ Multi-timeframe confluence: Synthesize support/resistance levels across multiple timeframes to identify high-conviction zones where daily support aligns with 4-hour resistance structures
LucciThis indicator identifies trade setups based on session liquidity levels and price structure analysis during New York trading sessions.
Unlike basic support/resistance indicators, this system tracks untested session extremes and monitors their interaction with price. It combines break-and-retest mechanics with bounce detection at key liquidity zones, providing multiple entry methodologies within a single framework.
METHODOLOGY:
The system maps high/low points from each trading session (Asia: 6PM-3AM, London: 3AM-8AM, NY: 8AM-5PM EST) and monitors price behavior around these levels. It identifies two primary setup types: momentum continuation after level breaks and reversal bounces at untested extremes. Visual differentiation shows which levels remain untested (darker) versus swept levels (lighter).
SETUP IDENTIFICATION:
Break & Retest Signals:
- Detects breaks of NY Open range (15-minute candle at 8:00 AM EST)
- Waits minimum bars after break before validating retest
- Triggers when price returns to level within tolerance zone
Bounce Signals:
- Identifies approaches to untested session highs/lows
- Optional wick confirmation for reversal validation
- Signals when price rejects from liquidity zone
CONFIGURATION OPTIONS:
Entry Parameters:
- Min Bars After Break: 1-10 (delay before retest valid)
- Retest Tolerance: 0.1-10 points (precision of level test)
- Bounce Zone: 0.5-5 points (distance from level)
- Wick Confirmation: On/off reversal filter
Risk Management:
- Risk Reward Options: 1:3, 1:5, or Custom (1:1 to 1:10)
- Stop Loss: Configurable in points
- Max Daily Signals: 1-5 trade limiter
- Trading Hours: Customizable active window
Visual Elements:
- Session Levels: Orange (Asian), Yellow (London), Blue (NY)
- Signal Markers: Triangles (B&R), Diamonds (Bounce)
- TP/SL Lines: Automatic calculation and display
- Info Table: Shows bias, untested levels, daily signals
OPTIMAL USAGE:
Trading Windows:
- 9:30-11:00 AM EST: Primary trading window
- First touch of untested levels: Highest probability
- 15-minute timeframe: Recommended for futures
- Volume filter: Optional quality enhancement
Signal Prioritization:
- Untested levels provide stronger reactions
- Multiple confirmations increase probability
- Respect market structure and session context
- Combine with volume for filtering
TECHNICAL SPECIFICATIONS:
- Multi-timeframe: Uses 15-minute data for NY Open
- Session-based: Resets levels at session transitions
- Alert system: Detailed messages with levels
- Position tracking: Manages active trades visually
IMPORTANT NOTES:
This tool maps liquidity zones based on session extremes and price structure. No trading system guarantees profits. Combine with market context and proper risk management. Designed for active intraday trading on liquid instruments.
The indicator provides objective level identification while requiring trader discretion for optimal results.
Block-Based Trend Breakout (UTB/DTB) & S/R ZonesThis indicator is designed to detect potential trend reversals or volatility bursts by analyzing price action structured into "blocks." Its primary goal is to capture the earliest signals that a defined trend structure is weakening or breaking.
Signal Generation:
🟢 DTB (Downtrend Breakout): When a confirmed downtrend is identified (e.g., price has been falling for 2 blocks), the indicator waits for the price to break above the highest high of the last completed block in that trend. When this break occurs, it signals a potential bullish reversal with a green DTB triangle below the bar.
🔴 UTB (Uptrend Breakdown): When a confirmed uptrend is identified (e.g., price has been rising for 2 blocks), the indicator waits for the price to break below the lowest low of the last completed block. When this break occurs, it signals a potential bearish reversal with a red UTB triangle above the bar.
🛠️ Key Settings
Block Size (bars): The number of bars in each block used to analyze the trend structure. Lower values track short-term trends; higher values track long-term trends.
Trend Confirmation (steps): The minimum number of consecutive blocks required to "confirm" a trend.
Tolerance: Allowed Off-Trend Steps: The number of "noise" blocks allowed while confirming a trend.
Show Support/Resistance Zones: Toggles the histogram-based S/R zones on or off.
S/R Lookback (blocks): Determines how many blocks to look back for calculating S/R zones.
S/R Zone Width (in ATR): Sets the thickness of the S/R zones, denominated in ATRs.
If you find this useful please reach out and let me know how you use it as it's fairly unique... and thus different than anything I've ever seen or used.
AG Pro Dynamic ChannelsAG Pro Dynamic Channels V2
Discover a new lens through which to view market structure with the AG Pro Dynamic Channels V2. This advanced indicator moves beyond simple trendlines, automatically identifying, classifying, and drawing eight distinct types of support and resistance channels directly on your chart.
Built on a sophisticated pivot-point detection engine, this script intelligently distinguishes between Major and Minor price structures, as well as Internal and External channels. This provides a comprehensive and multi-dimensional map of the market's flow, helping you identify trend continuations, corrections, and potential reversals.
The indicator is complete with a powerful, fully customizable alert system designed to notify you of the two most critical events: channel breakouts and price reactions.
Key Features
Fully Automatic Channels: The script automatically analyzes price action to find pivot highs and lows, using them to construct relevant channels without any manual drawing required.
8-Channel Classification: Gain deep market insight by viewing eight distinct channel types:
Major External (Up/Down)
Major Internal (Up/Down)
Minor External (Up/Down)
Minor Internal (Up/Down)
Advanced Pivot Engine: The core logic classifies pivots into categories like Higher Highs (MHH/mHH), Lower Lows (MLL/mLL), Higher Lows (MHL/mHL), and Lower Highs (MLH/mLH) to determine the precise start and end points for each channel.
Deep Customization: Take full control of your chart's appearance. You can individually toggle the visibility, color, line style (solid, dashed, dotted), and line width for all eight channel types.
Chart Clarity: A "Delete Previous" option is available for each channel type, allowing you to keep your chart clean and focused on only the most current and relevant market structures.
Comprehensive Alert System
Never miss a key price interaction. The AG Pro Dynamic Channels V2 features a robust, built-in alert module.
Dual-Alert Conditions: Get notifications for two distinct events:
Break Alert: Triggers when price confirms a close outside of a channel, signaling a potential breakout.
React Alert: Triggers when price touches or interacts with a channel line before closing back inside, signaling a test or rejection.
16 Unique Alerts: You have full control to enable or disable "Break" and "React" alerts for all 8 channel types individually, giving you 16 unique alert conditions to monitor.
Professional Alert Messages: The embedded alert sender provides detailed messages that include the asset, timeframe, and the specific event, such as "Break Major External Up Channel" or "React Minor Internal Down Channel".
Alert Configuration: Easily set your global Alert Name, Message Frequency (e.g., Once Per Bar, Once Per Bar Close), and Alert Time Zone from the script's settings.
How to Use
Trend Identification: Use the Major External Channels (drawn from MHH and MLL pivots) to identify the primary, long-term trend direction.
Pullback & Entry Zones: Use the Internal Channels (drawn from MHL and MLH pivots) to spot corrections and potential entry zones within an established trend.
Breakout Trading: Set Break Alerts on Major channels to be notified of significant, structure-shifting moves.
Short-Term & Counter-Trend: Utilize the Minor Channels to identify shorter-term price swings and potential reversal points.
Liquidity ToolkitKey Points:
Liquidity Toolkit is your liquidity companion for monitoring and anticipating price action.
Liquidity Toolkit combined the power of the Liquidity Status indicator with the potency of Price Triggers.
Liquidity Status indicates if the current current liquidity environment is bullish or bearish.
Price triggers highlight price levels where supports, resistances, and trend-changes are likely to occur.
Together, they create a comprehensive and actionable view of the market.
Summary
The Liquidity Toolkit (TK) is designed as a one-stop-shop indicator by combining novel liquidity metrics with traditional and impactful price measurements. In combination, TK grants unparalleled views of the market through effective yet simple displays.
The TK indicator contains two separate by synergistic algorithms: the Liquidity Status algorithm, which measures liquidity to determine if outlooks are bearish or bullish; and the Price Triggers algorithm which analyzes price-action to determine points of support and resistances.
Example 1 :
Example 2 :
Example 3 :
Details
Liquidity Status
Liquidity Status (LS) measures liquidity and produces either `Bullish` or `Bearish` indications depending on the current liquidity status.
Bullish indications indicate that the overall flow of liquidity is supportive of bullish price and bearish indications indicate that the overall flow of liquidity is supportive of bearish price action.
LS is displayed in two ways:
Candle-Coloring: if candles are green, liquidity status is bullish and if candles are red, liquidity status is bearish.
Text Display: Bearish and/or Bullish is displayed via text as well.
Price Triggers
Price Triggers (PT) measure price action and report their findings on several timeframes:
1-Minute
5-Minute
60-Minute
1-Day
1-Week
TK graphs the PTs based on the chart interval – only the higher PTs are display (i.e.: On the 1-Hour chart, the 5-, and 1-Min PTs will not be displayed).
Example 4
In additional to showing price-levels of support and resistance, Price Triggers also display the relative strength of these supports and resistances by displaying the Trigger Strengths. These represent areas of influence.
Opportunities often arise when PTs squeeze each other, often forcing spot to make a large move – as can be seen below:
Example 5
Frequently Asked Questions
How can I get access to the Liquidity Toolkit?
Please see the Author’s Instructions section at the top of the page for more details and information.
How can I get additional information on the indicators used?
Please see the Author’s Instructions section at the top of the page for more details and information.
I added the Liquidity Toolkit but I do not see all of the PT lines – where are they?
Depending on the chart interval, not all PT lines will be displayed. Those lower than the chart’s timeframe are hidden for clarity.
I added Liquidity Toolkit but the chart’s candles are not being filled by LS.
The chart will try to color over LS’ candles if you do not disable them. To disable, go to the Chart Settings then to Symbol and de-select Body, Borders and Wick.
ICT SMART MONEY__Advanced Multi-Timeframe Target TREND indicator with comprehensive ICT (Inner Circle Trader) concepts, session analysis, and smart money concepts for professional forex and crypto trading.__
---
### __🔥 Core Features:__
#### __📈 Multi-Timeframe Analysis__
- __7 Timeframe Table__: 1min, 5min, 15min, 30min, 1hour, 4hour, Daily analysis
- __Target System__: Stop Loss, Entry, TP1, TP2, TP3 calculations for each timeframe
- __Trend Direction__: Visual arrows showing bullish/bearish bias across all timeframes
#### __⚡ ICT Killzone Sessions__
- __4 Major Sessions__: Asia KZ, London KZ, NY AM, NY PM with colored session boxes
- __Pivot Lines__: Automatic high/low detection with full format labels ("ASIA High", "LONDON Low")
- __Global Label Alignment__: All session labels perfectly aligned for professional appearance
- __Range Analytics__: Real-time pip calculations with historical averages and Turkish volatility analysis
#### __🌍 Trading Session Management__
- __Individual Controls__: Asia/London sessions auto-enabled, NY sessions optional
- __Horizontal Lines__: Clean session high/low tracking without clutter
- __NY Lunch Session__: Additional 11:30-13:30 session for advanced analysis
- __Session Transparency__: Adjustable transparency levels for optimal chart visibility
#### __📍 Professional Key Levels__
- __Monday High/Low__: Weekly opening reference levels
- __Previous Day High/Low__: Daily support/resistance zones
- __Previous Week High/Low__: Major weekly levels
- __Full Format Labels__: "Previous Day High" instead of "PDH" for crystal clarity
- __160 Bar Distance__: Optimized label positioning for clean charts
#### __🔗 Liquidity Trendlines__
- __Automatic Detection__: 8-bar lookback pivot detection system
- __Breakout Signals__: Visual alerts when trendlines are broken
- __Dynamic Padding__: 4.0 ATR-based trendline spacing
- __Bullish/Bearish Colors__: Clear color coding for trend direction
#### __💎 Smart Money Concepts (SMC)__
- __Fair Value Gaps (FVG)__: Automatic gap detection with mitigation tracking
- __Structure Analysis__: BOS (Break of Structure) and CHoCH (Change of Character) detection
- __Structure Fibonacci__: 5-level fibonacci retracements (78.6%, 70.5%, 61.8%, 50%, 38.2%)
- __Lifecycle Management__: Complete FVG and structure history tracking
#### __📊 Range Analytics Table__
- __Session Volatility__: Current pip movement vs historical averages
- __Turkish Analysis__: "Güçlü Momentum", "Yüksek Aktivite", "Normal Aktivite", "Düşük Hareket", "Zayıf Session"
- __Integrated Display__: Seamlessly positioned below multi-timeframe table
- __Professional Formatting__: Color-coded session identification with status analysis
Market Profile based Support/ResistanceBrought to you by Stock Kaka - Your trading sidekick 🦜📈 - pay your visit at stockkaka.my.canva.site or find us on X #StockKaka
📊 What This Indicator Does
Ever wish the market would just tell you where the important levels are? Well, buckle up, because this indicator is like having a market whisperer on your chart!
Based on cutting-edge hierarchical market structure analysis (fancy words for "smart support and resistance"), this bad boy uses ATR-based Directional Change to identify turning points that actually matter. No more guessing where price might bounce or break—let the algorithm do the heavy lifting while you sip your coffee ☕
🎯 The Five Levels Explained (From Noisy to Mighty)
Think of these levels like a pyramid of importance. Level 0 is your chatty friend who notices everything, while Level 4 is the wise oracle who only speaks when it really matters.
Level 0: The Hyperactive Scout 🐿️
What it does: Catches every little zigzag in price using ATR confirmation
Significance: Very short-term, intraday noise
Best for: Scalpers who love action every few minutes
Trader Type: "I refresh my chart 100 times an hour"
Reliability: ⭐⭐ (It's enthusiastic but easily excitable)
Level 1: The Day Trader's Buddy 🎯
What it does: Filters Level 0 to show minor swing highs/lows
Significance: Intraday support/resistance, hourly structure
Best for: Day traders, scalpers looking for better entries
Trader Type: "I close all positions before dinner"
Reliability: ⭐⭐⭐ (Solid for quick moves)
Level 2: The Swing Trader's Sweet Spot 🎪
What it does: Identifies multi-day to weekly structure points
Significance: Intermediate support/resistance where battles happen
Best for: Swing traders, position traders
Trader Type: "I hold for days, not minutes"
Reliability: ⭐⭐⭐⭐ (Now we're talking real structure!)
Level 3: The Big Money Magnet 💰
What it does: Shows major market structure—where the whales play
Significance: Weekly to monthly levels, institutional zones
Best for: Position traders, trend followers
Trader Type: "I think in weeks and months, not hours"
Reliability: ⭐⭐⭐⭐⭐ (These levels have gravitational pull!)
Level 4: The Market Prophet 🔮
What it does: Reveals ultra-major turning points (think: quarterly/yearly pivots)
Significance: Long-term macro structure, investment-grade levels
Best for: Investors, long-term position traders
Trader Type: "Warren Buffett is my spirit animal"
Reliability: ⭐⭐⭐⭐⭐⭐ (When these break, market's rewrite the story)
⚙️ Parameter Setup Guide (The Secret Sauce)
The magic ingredient is the ATR Lookback Period—think of it as teaching the indicator your timeframe's "dialect." Here's your cheat sheet:
2-Minute Chart ⚡
ATR Lookback: 720 (24 hours of 2-min bars)
Who uses this: Crypto degens, futures scalpers, adrenaline junkies
Show Levels: L0, L1, L2 (L3+ won't budge much)
Pro Tip: Enable only L1 and L2 or your chart will look like spaghetti
5-Minute Chart 🏃
ATR Lookback: 288 (24 hours of 5-min bars)
Who uses this: Active day traders, news traders
Show Levels: L1, L2, L3
Pro Tip: L2 is your best friend here—perfect for intraday swings
15-Minute Chart 📈
ATR Lookback: 96 (24 hours of 15-min bars)
Who uses this: Swing traders, patient day traders
Show Levels: L1, L2, L3
Pro Tip: This is the "Goldilocks zone"—not too fast, not too slow
1-Hour Chart ⏰
ATR Lookback: 168 (1 week of hourly bars)
Who uses this: Swing traders, position traders
Show Levels: L2, L3, L4
Pro Tip: L3 levels here are like magnets for price action
Daily Chart 📅
ATR Lookback: 30 to 50 (1-2 months)
Who uses this: Investors, long-term traders, people with patience
Show Levels: L2, L3, L4
Pro Tip: L4 on dailies = "Don't fight this level, respect it"
🎨 How to Use This Thing
Add to Chart - Duh! 😄
Set Your ATR Lookback - Use the guide above (don't wing it!)
Enable Relevant Levels - Less is more! Turn off levels that just clutter
Watch the Magic - See horizontal lines appear at key S/R zones
Check the Table - Top-right corner shows current levels (fancy!)
Set Alerts - Get notified when price approaches or breaks levels
Trading Strategies 🎲
The Bounce Play:
Price approaches Level 2 or 3 support → Look for bullish reversal signals
Take profit at the next level resistance
Stop loss just below the support level
The Breakout Play:
Price breaks through Level 2/3 resistance with volume → Go long
Next level becomes your target
Failed breakout? Level becomes resistance again (classic fake-out)
The Confluence Play:
When Level 3 aligns with your favorite indicator (RSI oversold, moving average, Fibonacci) → Chef's kiss! 👨🍳💋
These multi-confirmation setups are where the money lives
🚨 Important Notes (Read This or Blame Yourself Later)
⚠️ This indicator REPAINTS on the current bar until an extreme is confirmed. That's not a bug, it's how directional change works. The past levels are solid as a rock, but the pending one is still... pending.
⚠️ More levels ≠ Better results. Showing all 5 levels is like having 5 GPS apps shouting directions at once. Pick 2-3 levels max.
⚠️ ATR Lookback matters! Wrong setting = garbage results. Use the guide above or experiment carefully.
⚠️ Volatile markets (crypto, meme stocks) work GREAT with this. Choppy, range-bound markets? Meh.
⚠️ Combine with other tools! This shows you WHERE, not WHEN. Use momentum indicators, volume, or your favorite chicken entrails for timing 🐔
🦜 Final Word from Stock Kaka
Remember: Indicators don't make money, traders do. This tool shows you where the market has historically respected structure. What you do with that info? That's on you, champ!
Use proper risk management, don't YOLO your rent money, and may your stops never get hunted 🎯
Trade smart, trade safe, and let Stock Kaka be your guide!
📝 Credits
Algorithm: neurotrader888 (Python implementation)
Pine Script Conversion: Your friendly neighborhood Stock Kaka team!!
Inspiration: Ginger chai, market inefficiencies, and a dash of chaos
📌 Tags
support-and-resistance market-structure atr directional-change multi-timeframe swing-trading day-trading levels hierarchical-analysis algo-trading
MarketMonkey-Indicator-Set-6 Support & Resistance v3.0 colorsMarketMonkey-Indicator-Set-6 Support & Resistance v3.0 colors
Automatically detects and plots up to four recent support and resistance levels using pivot highs and lows. Lines update dynamically with adaptive colours, highlighting key price zones in real time. Optional R1–R4 and S1–S4 labels keep charts clean yet informative. Ideal for identifying trend reversals, breakout points, and areas where buyers or sellers are likely to act.
________________________________________
🔍 What It Does
The script uses pivot highs and pivot lows to detect recent swing points — the moments where price has clearly turned.
• Resistance levels are drawn at recent pivot highs (red lines).
• Support levels are drawn at recent pivot lows (blue lines).
• Each level automatically updates as new price data forms, keeping your analysis current.
The indicator displays up to four recent resistance and support levels on each side (R1–R4, S1–S4), with labels and colours that adapt to whether the line is above or below current price.
________________________________________
🎨 Features
• Dynamic Detection: Automatically identifies and updates support and resistance using pivot logic.
• Multi-Level Display: Shows up to four most recent highs and lows for a broader market view.
• Customisable Inputs: Adjust the number of bars used to confirm pivots and control how many levels are displayed.
• Colour-Coded Clarity:
o Resistance lines = soft red tone (indicating potential ceiling levels).
o Support lines = soft blue tone (indicating price floors).
• Optional Labels: Toggle on/off “R1–R4” and “S1–S4” tags for quick reference.
• Strong Level Highlighting: The nearest (most recent) levels are drawn thicker for emphasis.
MILLION MEN - Discount Zone BreakoutsWhat it is
MILLION MEN — Discount Zone Breakouts (Lite & Stable) highlights a structure-based trading range from the latest confirmed swing high/low, renders Premium/Equilibrium/Discount zones, and raises one-shot breakout signals when price closes outside the range. It focuses on stable visuals and simple breakout logic suitable for intraday and swing trading.
How it works (high-level)
Confirmed swings: Uses ta.pivothigh/ta.pivotlow with auto or manual pivot length.
Range & zones: From the swing range, the tool derives Premium (top 25%), Equilibrium (50%), and Discount (bottom 25%).
Anchoring: Left edge is locked at the bar where the pivot confirms; the right edge can extend N bars.
One-shot breakouts:
Up breakout: first close > swingHigh (resets on new range).
Down breakout: first close < swingLow (resets on new range).
Optional on-close only mode to avoid intrabar noise.
Clean UI: Optional zone boxes, dashed equilibrium line, mid-labels (“Premium / Equilibrium / Discount”), and minimal candle coloring by regime.
How to use
Treat Discount as value area in bullish contexts and Premium as distribution area in bearish contexts.
Breakout dots (up/down) mark regime shifts beyond the current range; confirm with your higher-TF bias, volume, or momentum.
Tune pivot length and forward extension to your timeframe (e.g., smaller for scalping, larger for swings).
Originality & value
Unlike generic S/R overlays, this lite tool prioritizes confirmed swing structure with a fixed anchor, clear 25/50/75 zone mapping, and one-shot breakout logic to prevent repetitive signals until a new range forms. The emphasis is on stability + readability, making it a dependable building block in multi-indicator workflows.
Limitations & transparency
Breakouts on strong trends can retest or fail; always add confirmation (structure/volume).
Pivots confirm with delay equal to pivot length—this reduces repaint and is intentional.
Non-standard bar types are not supported for signal logic.
This indicator provides analysis, not financial advice.
Arabic
يعرض السكربت آخر مدى مؤكد من قمّة/قاع ويرسم مناطق Premium / Equilibrium / Discount، ويعطي إشارة اختراق لمرة واحدة عند إغلاق السعر فوق القمّة أو تحت القاع. الفكرة بسيطة وثابتة بصريًا، وتصلح للإنترادي والسوينغ. يُفضّل تأكيد الاختراق بهيكل أعلى إطار أو فوليوم/مومنتُم. تذكير: تأكيد القمم/القيعان متأخر بحسب طول البيفوت لتفادي إعادة الرسم.
Options levelsOverview
Options Levels 🎯 plots 13 key institutional and options-based levels directly on your chart — including Call Wall, Put Wall, Gamma Flip, Whales Pivot, five Whale levels, and Sigma deviation bands (σ¹ / σ²).
It’s designed for both intraday and swing traders, offering a clean visual structure with elegant emoji labels, flexible visibility controls, and precise right-edge extensions for each line.
✨ Key Features
Single structured input with 13 ordered levels:
CallWall, PutWall, GammaFlip, Whales Pivot, Whale1..Whale5, Upperσ1, Upperσ2, Lowerσ1, Lowerσ2
Expressive emoji labels (🟢, 🔴, ⚖️, 🌑, 🐋, σ¹/σ²) optimized for dark themes.
Right-edge alignment: each line extends exactly to its label — no infinite lines.
Group visibility toggles:
• Critical Levels → Call Wall, Put Wall, Gamma Flip, Whales Pivot
• Whale Levels → Whale 1–5
• Sigma Bands → Upper/Lower σ¹ and σ²
Dynamic line-length multipliers that emphasize key levels.
Built-in alert conditions:
• Price crossing above the Call Wall
• Price crossing below the Put Wall
⚙️ Inputs & Settings
📋 Level List (string) : comma-separated list of 13 numeric values.
Example:
🎨 Appearance
• Base line length (bars)
• Label visibility toggle
• Line thickness
• Extend line and label to the right
• Distance (bars) between last candle and label
👁️ Visibility Controls
• Toggle Critical, Whale, or Sigma levels independently
🚀 How to Use
Paste your list of 13 ordered levels into the input field.
Adjust base length and thickness according to your timeframe.
Enable “Extend to the right” to position labels neatly beyond the last candle.
Use visibility toggles to focus on specific level groups (e.g., hide Whale Levels for short-term setups).
Optionally enable alerts to track price breakouts above/below Call and Put Walls.
The plotted levels are derived from aggregated options flow data, institutional positioning, and volatility-based deviations (σ). They serve as reference zones rather than predictive signals, helping visualize where liquidity and dealer hedging pressure may cluster.
📖 Level Definitions
Call Wall 🟢 — The strike with the highest call open interest; potential resistance area.
Put Wall 🔴 — The strike with the highest put open interest; potential support area.
Gamma Flip ⚖️ — Level where total gamma exposure changes sign; may reflect a shift in dealer hedging behavior.
Whales Pivot 🌑 — Represents the average institutional positioning from the previous trading day, reflecting where large option flows were most concentrated.
Whale Levels 🐋 — High-premium or large-volume strikes typically linked to institutional activity.
Upper σ¹ / σ² 📈 — One and two standard deviations above spot; potential overextension zones.
Lower σ¹ / σ² 📉 — One and two standard deviations below spot; potential mean-reversion zones.
Levels are manually input by the user. This script is a visual reference, not a predictive model.
⚠️ Notes
Levels are user-provided (not calculated by this script).
The indicator does not issue buy/sell signals or provide performance guarantees.
Designed purely as a visual aid for contextual market reference.
Optimized with barstate.islast for performance (draws only at the latest bar).
Disclaimer:
This indicator is for educational and visual purposes only. It does not generate buy/sell signals or guarantee future results. User-provided levels are meant for contextual reference only.
Developed for traders who rely on market structure and options flow context. Feedback and suggestions are welcome.






















