Footprint Bubble VolumeIndicator Name: Footprint Bubble Volume (Shapes + Numbers, Filters)
Description:
This indicator visualizes buy and sell volume as bubbles above or below candles, helping traders see where significant buying or selling activity occurs. Bubble sizes scale with volume, and numbers can optionally display the exact volume in K / M / B format for readability.
Features:
Buy/Sell Bubbles: Green bubbles above bars for buy volume, red bubbles below bars for sell volume. Size grows with higher volume.
Volume Numbers: Optional numeric labels showing scaled volume.
Volume Filters: Only display bubbles when volume is significant:
None: absolute minimum volume.
PctAboveAvg: X% above average volume over a lookback period.
ATRBased: volume exceeds ATR * multiplier over a lookback period.
Split Volume: Optionally estimate buy/sell split within a bar based on close position relative to high/low.
Scaling: Bubble sizes and number formatting adjust dynamically for easier visualization on high-volume instruments.
Inputs:
Absolute Min Volume: Minimum raw volume to show bubbles.
Bubble Size Scale: Controls bubble growth with volume.
Show Volume Numbers: Toggle numeric labels on/off.
Split Volume Proportionally: Approximate buy/sell split inside bar.
Filter Type: None / Percent Above Avg / ATR-Based.
Lookback Period: For volume or ATR calculations.
Percent Above Avg Vol: Threshold for percentage-above-average filter.
ATR Multiplier: Threshold multiplier for ATR-based filter.
Use Case:
Ideal for spotting footprint-like volume clusters and identifying high activity areas without relying on DOM data. Works on stocks, futures, and crypto charts.
Analisis Trend
Tunç ŞatıroğluTunç Şatıroğlu's Technical Analysis Suite 
 Description: 
This comprehensive Pine Script indicator, inspired by the technical analysis teachings of Tunç Şatıroğlu, integrates six powerful TradingView indicators into a single, user-friendly suite for robust trend, momentum, and divergence analysis. Each component has been carefully selected and enhanced by  beytun  to improve functionality, performance, and visual clarity, aligning with Şatıroğlu's approach to technical analysis. The default configuration is meticulously set to match the exact settings of the individual indicators as used by Tunç Şatıroğlu in his training, ensuring authenticity and ease of use for followers of his methodology. Whether you're a beginner or an experienced trader, this suite provides a versatile toolkit for analyzing markets across multiple timeframes.
 Included Indicators: 
1.  WaveTrend with Crosses  (by LazyBear, modified): A momentum oscillator that identifies overbought/oversold conditions and trend reversals with clear buy/sell signals via crosses and bar color highlights.
2.  Kaufman Adaptive Moving Average (KAMA)  (by HPotter, modified): A dynamic moving average that adapts to market volatility, offering a smoother trend-following signal.
3.  SuperTrend  (by Alex Orekhov, modified): A trend-following indicator that plots dynamic support/resistance levels with buy/sell signals and optional wicks for enhanced accuracy.
4.  Nadaraya-Watson Envelope  (by LuxAlgo, modified): A non-linear envelope that highlights potential reversals with customizable repainting options for smoother outputs.
5.  Divergence for Many Indicators v4  (by LonesomeTheBlue, modified): Detects regular and hidden divergences across multiple indicators (MACD, RSI, Stochastic, CCI, Momentum, OBV, VWMA, CMF, MFI, and more) for early reversal signals.
6.  Ichimoku Cloud  (TradingView built-in, modified): A multi-faceted indicator for trend direction, support/resistance, and momentum, with enhanced visuals for the Kumo Cloud.
 Key Features: 
-  Authentic Default Settings : Pre-configured to mirror the exact parameters used by Tunç Şatıroğlu for each indicator, ensuring alignment with his proven technical analysis approach.
-  Customizable Settings : Enable/disable individual indicators and fine-tune parameters to suit your trading style while retaining the option to revert to Şatıroğlu’s defaults.
-  Enhanced User Experience : Modifications improve visual clarity, performance, and usability, with options like repainting smoothing for Nadaraya-Watson and adjustable Ichimoku projection periods.
-  Multi-Timeframe Analysis : Combines trend-following, momentum, and divergence tools for a holistic view of market dynamics.
-  Alert Conditions : Built-in alerts for SuperTrend direction changes, buy/sell signals, and divergence detections to keep you informed.
-  Visual Clarity : Overlays (KAMA, SuperTrend, Nadaraya-Watson, Ichimoku) and pane-based indicators (WaveTrend, Divergences) are clearly distinguished, with customizable colors and styles.
 Notes: 
- The Nadaraya-Watson Envelope and Ichimoku Cloud may repaint in their default modes. Use the "Repainting Smoothing" option for Nadaraya-Watson or adjust Ichimoku settings to mitigate repainting if preferred.
- Published under the MIT License, with components licensed under GPL-3.0 (SuperTrend), CC BY-NC-SA 4.0 (Nadaraya-Watson), MPL 2.0 (Divergence), and TradingView's terms (Ichimoku Cloud).
 Usage: 
Add this indicator to your TradingView chart to leverage Tunç Şatıroğlu’s exact indicator configurations out of the box. Customize settings as needed to align with your strategy, and use the combined signals to identify trends, reversals, and divergences. Ideal for traders following Şatıroğlu’s methodologies or anyone seeking a powerful, all-in-one technical analysis tool.
 Credits: 
Original authors: LazyBear, HPotter, Alex Orekhov, LuxAlgo, LonesomeTheBlue, and TradingView.
Modifications and integration by  beytun .
 License: 
Published under the MIT License, incorporating code under GPL-3.0, CC BY-NC-SA 4.0, MPL 2.0, and TradingView’s terms where applicable.
Ultra Clean Support / Resistance LevelsThis provides an Ultra Clean look for Support and Resistance levels
Ultra Clean Support / Resistance LevelsThis Provides a very clean Support and Resistance level on any timeframe
TrendLock Pro 2 — Dual Trend Confirmation📊 TrendLock Pro 2 — Dual Trend Confirmation 
🔒 Trade only when the trend is locked and confirmed
 TrendLock Pro  is a professional  no-repaint  indicator designed for traders who want to cut through market noise and only capture validated opportunities.
It combines two powerful filters:
 TrendScope (current timeframe)  → fast detection of momentum shifts through an intelligent RSI setup.
 Flow Guard (higher timeframe)  → directional filter that only confirms trades aligned with the macro trend.
👉 The result: you only enter when  both trends agree , ensuring  dual validation  before every trade.
 🚀 Key Features 
✅  No Repaint :  signals remain reliable once printed.
✅  Dual Validation :  micro-trend (M1, M5…) confirmed by the macro-trend (M15, M30…).
✅  Smart Filters :  reduces false signals against the main trend.
✅  Versatile :  ideal for M1 scalping, intraday trading, or swing setups.
✅  Built-in Alerts :  get notified only when confirmation is strong.
✅  Clear Visuals :  green diamonds for confirmed LONGs, red diamonds for confirmed SHORTs.
 🎯 Who is it for? 
Scalpers seeking safer entries.
Day traders looking to avoid counter-trend traps.
Swing traders preferring cleaner, filtered setups.
 💡 Usage Tips 
📉 Using Heikin Ashi candles smooths signals and makes them easier to read.
🛡️ Always place your Stop Loss wisely: the indicator doesn’t predict the future but analyzes real-time multi-timeframe trends.
🎯 Avoid being too greedy with Take Profits — aim for balanced targets to maintain a strong win rate.
 ⚡ Two trends, one signal. Trade with confirmation.
Syed Shams - PSX Dashboard v2.0A compact dashboard that summarizes trend/strength context for Pakistan stocks and indices. It normalizes signals from widely-used tools into a single table so you can triage symbols quickly—no alerts, no buy/sell calls.
What’s inside (columns):
------------------------------
- Scrip / Price / Δ%: Symbol, last price, and percent change vs the previous bar close on the active timeframe (e.g., on 1D it’s vs prior daily close).
- LMH / LML / LWH / LWL: Last Month/Week High & Low. Optional setting to use closed prior M/W bars.
- EMAs 5/9/21/44/100/200: Six mini-squares. Green = price ≥ that EMA, Red = below.
- RS5 / RS21 (vs KSE100): Arrows show out/under-performance over two user-set return windows.
- RSI: Text = RSI value with slope arrow; Blue fill when RSI > its EMA (bullish bias), Red fill when below.
- OBV: Blue/Red fill for OBV vs its EMA; slope arrow uses the global Slope Lookback.
- MACD (M A C D): 4 tiny histogram bars colored by quadrant/acceleration for quick trend read.
- ADX / DMI: ADX value (color-coded: >50 red, 25–50 green, 20–25 orange, <20 red) + slope arrow. +DI / −DI arrows with neutral/green/red fill when +DI dominates/equals/−DI dominates.
- ST 5,1 / ST 8,2: Green/Red dots for SuperTrend state.
- Ichimoku: Cell fill for price vs cloud (above/inside/below). “Laser” dash appears on fresh HH/LL checks.
- BB Zone: Uses BB(20,1/2/3).
  • price ≥ U2 → “BB3” (Dark Blue text, Light Blue fill)
  • U1 < price < U2 → “BB2” (Dark Blue / Light Blue)
  • L1 ≤ price ≤ U1 → “BB1” (Dark Green / Light Green)
  • L2 < price < L1 → “BB2” (Dark Red / Light Red)
  • price ≤ L2 → “BB3” (Dark Red / Light Red)
     Also shows BB3 upper-band slope using the global lookback: “+” widening, “−” contracting, “=” flat.
- Grade (A/B/C/D): Optional composite score; rows sort by score when enabled.
Grade scoring:
------------------
Price ≥ each EMA +1 (max +6) · RS5>idx +2, RS21>idx +1 · OBV>EMA +2, OBV-EMA↑ +1 · RSI>50 +2, RSI>EMA +1, RSI slope↑ +2 / ↓ −2 · MACD hist: ≥0&rising +2, ≥0&falling +1, <0&falling −2, <0&rising −1 · +DI>−DI +1, +DI slope↑ +1 · ADX: >50 −2, 25–50 +2, 20–25 +1, ADX slope↑ +1 · ST(5,1) +1, ST(8,2) +1 · Ichimoku: above cloud +1, below −1, HH “laser” +2 / LL −2 · BB zone: inside BB1 +1; above BB1 +2; BB3 widening +2; shrinking −2; flat 0.
Controls & workflow:
-------------------------
- Universe selector (incl. sector lists and Custom Watchlist).
- Show KSE index rows (off by default).
- Slope Lookback (arrows): one control for RSI/ADX/DMI/OBV/BB3 slope checks.
- Closed bars for LM/LW H/L (off by default).
- Dark Mode (off by default): optimized table contrast for black charts.
- Show Grades toggle.
How to use:
---------------
1) Pick your universe and timeframe.
2) Adjust Slope Lookback (default 1) if you want a stricter/looser slope test.
3) Sort by Grade (on) to find leaders/laggards, then open charts for entries/exits using your own process.
Notes:
--------
- Timeframe-aware: all calculations—including Δ% and RS windows—use the active chart TF.
- Educational research tool. Not investment advice. No alerts.
12/21 EMA STRAT - [RZ]12/21 EMA Strategy with Performance Analytics 
 👁️ - OVERVIEW 
This indicator implements a simple yet effective exponential moving average (EMA) crossover strategy that compares a 12-period EMA against a 21-period EMA. The system generates long signals when the 12 EMA is positioned above the 21 EMA, and moves to cash when the 12 EMA falls below the 21 EMA.
 🧠 - STRATEGY LOGIC 
Signal Generation:
 
 Long Position: Activated when 12 EMA > 21 EMA
 Cash Position: Activated when 12 EMA < 21 EMA
 
Technical Implementation:
 
 Uses perpetual condition checks instead of crossover/crossunder functions to prevent signal misgeneration and ensure reliability
 Implements barstate.isconfirmed validation to eliminate repainting issues and ensure all signals are confirmed on closed bars
 Provides clean, reliable signals suitable for both backtesting and live trading
 
 ⚙️ - FEATURES 
The indicator includes a comprehensive table displaying real-time performance metrics comparing the strategy against a buy-and-hold approach:
 
 Sharpe Ratio: Risk-adjusted return measurement
 Sortino Ratio: Downside risk-adjusted return measurement
 Omega Ratio: Probability-weighted ratio of gains versus losses
 Maximum Drawdown %: Largest peak-to-trough decline
 
 Visual Components 
 
 Equity Curves: Plots both strategy equity and buy-and-hold equity for visual comparison
 Status Table: Real-time display of current position (Long/Cash) and performance metrics
 Clean Chart Interface: Easy-to-read visualization of strategy performance
 
 Alert System 
 
 Long signal triggers
 Cash signal triggers
 
 📝 - How to Use 
 
 Add the indicator to your chart
 Review the performance metrics table to compare strategy vs. buy-and-hold
 Monitor the equity curves to visualize strategy performance
 Set up alerts for long and cash signals if desired
 Use the current position indicator to track strategy status
 
 📊 - Multi-Timeframe Compatibility 
This indicator works across multiple timeframes, however, performance characteristics vary significantly depending on the timeframe selected:
 
 Different timeframes will produce different results
 Strategy performance may be optimal on certain timeframes and underperform on others
 DYOR (Do Your Own Research): Users are strongly encouraged to backtest the strategy on their preferred timeframes and market conditions before use
 Test extensively with historical data to understand the strategy's behavior in your specific use case
 
 ETH 
  
 SOL 
  
 ⚠️ -  DISCLAIMER 
This indicator is provided for educational and informational purposes only. It is NOT financial advice, investment advice, or a recommendation to buy or sell any security or financial instrument.
 
 Past performance does not guarantee future results
 Trading involves substantial risk of loss and is not suitable for all investors
 You should carefully consider your financial situation and risk tolerance before making any trading decisions
 Always conduct your own research and consult with a qualified financial advisor before making investment decisions
 The creator of this indicator assumes no responsibility for any financial losses incurred through the use of this tool
 Use this indicator at your own risk
Intraday Key OpensIntraday Key Opens plots the key session and cycle opening prices: 90-minute cycles opens, New York open, Asia open, and 9:30 US market open. Each line is labeled, color-coded, and can be toggled on/off independently. Designed for intraday traders to quickly identify important price levels and session pivots.
Regular Trading Hours Opening Range Gap (RTH ORG)### Regular Trading Hours (RTH) Gap Indicator with Quartile Levels
**Overview**  
Discover overnight gaps in index futures like ES, YM, and NQ, or stocks like SPY, with this enhanced Pine Script v6 indicator. It visualizes the critical gap between the previous RTH close (4:15 PM ET for futures, 4:00 PM for SPY) and the next RTH open (9:30 AM ET), helping traders spot potential price sensitivity formed during after-hours trading.
**Key Features**  
- **Standard Gap Boxes**: Semi-transparent boxes highlight the gap range, with optional text labels showing day-of-week and "RTH" identifier.  
- **Midpoint Line**: A customizable dashed line at the 50% level, with price labels for quick reference.  
- **New: Quartile Lines (25% & 75%)**: Dotted lines (default width 1) mark the quarter and three-quarter points within the gap, ideal for finer intraday analysis. Toggle on/off, adjust style/color/width, and add labels.  
- **High-Low Gap Variant**: Optional boxes and midlines for gaps between the prior close's high/low and the open's high/low—perfect for wick-based overlaps on lower timeframes (5-min or below recommended).  
- **RTH Close Lines**: Extend previous close levels with dotted lines and price tags.  
- **Customization Galore**: Extend elements right, limit historical displays (default: 3 gaps), no-plot sessions (e.g., avoid weekends), and time offsets for non-US indices.  
**How to Use**  
Apply to 15-min or lower charts for best results. Toggle "extend right" for ongoing levels. SPY auto-adjusts for its 4 PM close.  
Tested on major indices—enhance your gap trading strategy today! Questions? Drop a comment.  
Thanks to twingall for supplying the original code.
Thanks to The Inner Circle Trader (ICT) for the logical and systematic application.
Median EMA IQR Bands | OquantOverview 
The Median EMA IQR Bands indicator introduces a robust trend-following tool that combines a median-filtered exponential moving average (EMA) with interquartile range (IQR) based bands to identify potential entry and exit points for long and short positions. This approach aims to reduce noise in traditional EMAs while incorporating a statistical measure of volatility to create adaptive bands. Unlike standard moving average crossovers or Bollinger Bands, this indicator uses median filtering on the EMA and IQR for band construction, which can help in filtering outliers and providing a more stable view of market trends. It also includes built-in performance metrics displayed in tables, allowing users to evaluate the indicator's historical behavior against buy-and-hold benchmarks directly on the chart(remember past performance doesn’t guarantee future results).
Key Factors/Components
Median-Filtered EMA: A core trend line derived from an EMA that is further smoothed using a median calculation to minimize the impact of extreme price movements.
IQR Bands: Upper and lower bands built around the median EMA using the interquartile range, multiplied by a user-defined factor, to capture volatility without assuming a normal distribution like standard deviation-based methods.
Signal Generation: Simple conditions for long (price above upper band) and short (price below lower band) allocations, with options to enable/disable longs or shorts.
Performance Metrics: Tables showing risk-adjusted metrics such as Sharpe, Sortino, Omega ratios, max drawdown, intra-trade max drawdown, percent profitable trades, profit factor, total trades, and net profit for the indicator's simulated equity curve, compared to buy-and-hold.
Equity Curve Plot: Optional plotting of a simulated equity curve based on the indicator's allocations.
Visual Elements: Color-coded plots, fills, and bar coloring for clear signal visualization(green for bullish and purple for bearish.
How It Works
The indicator starts by calculating a standard EMA on the selected source (default close price), then applies a median filter over a specified length to create the central trend line. This helps in reducing whipsaws common in volatile markets. Separately, it computes the IQR from recent price data as a non-parametric measure of spread, which is then scaled by a multiplier and added/subtracted from the median EMA to form the upper and lower bands. Allocations shift to long when price closes above the upper band (if longs are enabled), to short when below the lower band (if shorts are enabled), or to cash otherwise(For example if it’s bearish signal but shorts are disabled then it will be cash). The equity curve and metrics are derived from these allocations, simulating returns while accounting for user preferences on position types. This logic emphasizes trend persistence filtered through statistical robustness, but users should note it may cause false signals in ranging markets and perform better in trending conditions.
For Who It Is Best/Recommended Use Cases 
This indicator is best suited for trend-following traders or investors who prefer statistical, outlier-resistant methods over traditional indicators. It is recommended for:
Intermediate to advanced users analyzing cryptocurrencies on daily or other timeframes.
Those incorporating it into broader systems.
Risk-averse traders who value drawdown insights and adjustable band sensitivity for customizing to specific assets. It is not ideal for high-frequency trading or very short-term scalping.
Settings and Default Settings
Start Date: Timestamp for when metrics and equity calculations begin (default: 1 Jan 2018).
Source: Price source for calculations (default: close).
EMA Length: Period for the underlying EMA (default: 30).
Median Length: Window for median filtering on the EMA (default: 20).
Interquartile Range Length: Period for IQR calculation (default: 20).
Band Multiplier: Factor to scale the IQR for bands (default: 1.2).
Allow Long Trades: Enable long positions (default: true); if false, defaults to cash.
Allow Shorts: Enable short positions (default: false); if false, defaults to cash.
Show Indicator Metrics Table: Display the performance table (default: true).
Show Buy&Hold Table: Display benchmark table (default: true).
Plot Equity Curve: Show simulated equity line (default: false). 
These defaults are tuned for general use on daily charts, but users should adjust based on asset volatility—e.g., increase multiplier for tighter bands in low-vol environments.
Conclusion 
The Median EMA IQR Bands offers a fresh take on trend detection by blending median smoothing with IQR volatility measures, providing traders with a tool that prioritizes stability and insightful metrics(remember past performance doesn’t guarantee future results). It encourages informed decision-making through transparent performance visuals(remember past performance doesn’t guarantee future results), making it a valuable addition for those looking to enhance their technical analysis toolkit.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
Nexus Drift | OquantOverview 
Nexus Drift is a consensus-based trend tool designed to identify potential long opportunities in trending markets by aggregating signals from multiple technical components. It generates a composite score from seven distinct trend-detection methods, triggering a "LONG" allocation when the score meets a predefined threshold, and shifting to "CASH" otherwise. The script also includes optional visualizations such as an equity curve and performance tables displaying key risk-adjusted metrics like Sharpe ratio, Sortino ratio, Omega ratio, maximum drawdown, and others for both the strategy and a buy-and-hold benchmark. This allows users to evaluate historical performance(remember past performance doesn’t guarantee future results) in a structured way. By combining diverse trend filters, the script aims to reduce noise and provide a more robust signal for trend-following approaches.
Key Factors/Components 
The script incorporates seven complementary trend-detection components, each contributing to the overall consensus score:
MAD Median LSMA: A least-squares moving average filtered through a median and adjusted with median absolute deviation bands for outlier resistance.
Smoothed TEMA SD: A triple exponential moving average smoothed and bounded by standard deviation bands to capture trends without too much noise.
Z-Scored ALMA: An Arnaud legoux moving average normalized into a Z-score for trend strength assessment.
EMA Cross: A simple crossover between fast and slow exponential moving averages for basic trend direction.
RSI MA: A moving average of the Relative Strength Index to confirm bullish momentum in trends on a smoothed basis.
SMA SD SuperTrend: A SuperTrend variant using simple moving average and standard deviation for dynamic trailing levels.
WMA MAD Bands: A weighted moving average with median absolute deviation bands for weighted trend tracking with volatility adjustment.
How It Works 
The script calculates individual signals from each component, assigning a value of +1 for long conditions, -1 for cash. These are averaged into a composite score, which triggers a long allocation if it meets or exceeds a threshold (0.5), or shifts to cash if equal or below a cash threshold (0). This consensus approach helps filter out conflicting signals, emphasizing agreement across methods to potentially improve reliability in sustained trends. Historical equity is simulated starting from a user-defined date, incorporating daily returns only during long allocations. Performance metrics are computed using standard formulas (e.g., Sharpe as average return over standard deviation, annualized; Sortino focusing on downside deviation; Omega as the ratio of sum positive to sum negative returns). Tables update in real-time on bar close on the chart for quick reference, but all calculations are based on historical data and do not predict future outcomes.
Recommended Use Cases 
This script is best suited for trend-following traders or investors focusing on assets with strong directional moves, such as cryptocurrencies on daily or other timeframes. The tool's design was to work well in different markets and timeframes. It performs optimally in markets exhibiting prolonged trends rather than ranging, where consensus may lag or produce fewer/false signals. It is not ideal for short-term scalping, mean-reversion strategies, or assets with low liquidity, as the components are tuned for trend persistence.
Settings and Default Settings 
The script includes several inputs for customization:
Strategy Start Date: Defines the backtesting start point (default: 1 Jan 2018). Use this to align with relevant historical periods, but note that shorter datasets may reduce metric reliability and also past performance doesn’t guarantee future results.
Show Strategy Metrics Table: Toggles the display of a table with metrics like max drawdown, intra-trade max drawdown, Sharpe, Sortino, Omega, percent profitable, profit factor, trades, and net profit (default: true).
Show Buy & Hold Table: Toggles a benchmark table with similar metrics for a passive buy-and-hold approach (default: true).
Plot Equity Curve: Displays the simulated strategy equity line (default: false). 
Component-specific lengths and multipliers are fixed but chosen to balance responsiveness and smoothness across methods. The long threshold (0.5) requires the majority of the components to agree on a long signal. The script is optimized for daily crypto charts on trending assets, but tested on other timeframes/markets also. 
Conclusion 
Nexus Drift offers a structured way to gauge trend consensus through diversified components, providing actionable allocations and transparent metrics to support informed decision-making. By focusing on agreement across methods, it seeks to enhance trend detection while highlighting key performance metrics.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
Aziz — Triple EMA (Golden Entry Retest Boxes)Buy and Sell indicator with Three EMA (21,50,200) + Channel trend
When the 21 EMA crosses Below the 200 EMA and the Channel is down trend it's a SELL
When the 21 EMA crosses Above the 200 EMA and the Channel is Up trend it's a BUY
Work Best for 3 Min Timeframe
Best To use 1:1.5 ratio
Trendline Breakouts With Targets [ omerprıme ]Indicator Explanation (English)
This indicator is designed to detect trendline breakouts and provide early trading signals when the price breaks key support or resistance levels.
Trendline Detection
The indicator identifies recent swing highs and lows to construct dynamic trendlines.
These trendlines act as support in an uptrend and resistance in a downtrend.
Breakout Confirmation
When the price closes above a resistance trendline, the indicator generates a bullish breakout signal.
When the price closes below a support trendline, it generates a bearish breakout signal.
Filtering False Signals
To reduce false breakouts, additional conditions (such as candle confirmation, volume filters, or price momentum) can be applied.
Only significant and confirmed breakouts are highlighted.
Trading Logic
Buy signals are triggered when the price breaks upward through resistance with confirmation.
Sell signals are triggered when the price breaks downward through support with confirmation.
ATH Line with Date (Editable)Overview:
This indicator draws a continuous horizontal line at the instrument’s All-Time High (ATH) and annotates it with a label that shows the date the ATH was set in dd-mmm-yyyy format. The label is fully configurable (text prefix, side, position, colors, vertical offset), and you can optionally append the ATH price formatted as $ 1.234,56. Built for Pine Script™ v6 and works on any symbol or timeframe.
How it works
•	Maintains a running maximum of high.
•	Detects the bar where the current ATH occurred and extracts its date.
•	Renders a horizontal line extended both sides at the ATH level.
•	Places an optional label on the last bar or on the ATH bar.
•	Triggers an optional alert when a new ATH is printed.
Inputs
•	Line color / width / style – customize the ATH line appearance.
•	Show label – toggle label on/off.
•	Label text (prefix) – default ATH ►.
•	Label text color / background – visual customization for the tag.
•	Label side – left or right-anchored label.
•	X location – Last bar or ATH bar.
•	Label vertical offset (%) – moves the label above/below the line.
•	Show price – appends the ATH price in the format $ 1.234,56
Notes & behavior:
•	Repainting: The ATH level is stable until a higher high appears. When a new ATH is set, the line and date update accordingly—this is expected behavior.
•	The ATH is computed from the chart’s current timeframe/history. If the symbol has limited history on your chart, the ATH reflects only the available data.
•	No external libraries; no user data is collected.
Alerts:
•	Includes New ATH alert condition. Fire it to be notified when price sets a new all-time high.
Tips:
•	Use Last bar placement to keep the label visible at the right edge while scrolling.
•	If the label overlaps candles or drawings, add a small positive vertical offset.
Version:
•	Pine Script™ v6. Indicator only; no trading signals or orders.
Disclaimer:
For educational purposes only. This script does not constitute financial advice or a recommendation to buy or sell any security. Always do your own research and manage risk appropriately.
多单ETH/XRP/LTC/IP/分段止盈(优先成本区止损)Experience the backtesting of a 30x leverage If you need a long-term strategy, please send me a message.
多单ETH/XRP/LTC/IP/分段止盈(优先成本区止损)Feel the 30x leverage effect on the entire historical BTC data. Release your hands and take off!
LBR 3/10 'Sardine' Oscillator (ATR-Normalized)LBR 3/10 Oscillator - Short-Term Momentum Indicator 
The LBR 3/10 "Sardine" Oscillator is a short-term momentum indicator developed by Linda Bradford Raschke. This ATR-normalized version provides cross-market comparability and consistent extreme levels across all timeframes and asset classes.
 What is the LBR 3/10 Oscillator? 
The LBR 3/10 is designed to capture very short-term momentum shifts by measuring the difference between a 3-period and 10-period moving average. Named after Linda Bradford Raschke's "Trading Sardines" book, this oscillator excels at identifying rapid momentum changes and potential reversal points.
 Formula:    / ATR(10) × 100
Where MA can be either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
 Why ATR Normalization? 
 Problem with Traditional Oscillators: 
Traditional momentum oscillators produce values that vary dramatically across different markets and time periods. A reading of 5 might be extreme for one asset but insignificant for another.
 Solution: 
ATR normalization divides the raw momentum value by the Average True Range, creating standardized readings that are:
 
 Comparable Across Markets:  Same interpretation whether analyzing stocks, forex, commodities, or crypto
 Comparable Across Time:  Readings maintain consistent meaning regardless of price levels
 Universal Extreme Levels:  The ±125 levels work consistently across all assets and timeframes
 
 Statistical Research 
Extensive statistical analysis across multiple markets identified the ±125 extreme levels:
 
 +125 Level:  Reached approximately 4% of the time (extreme bullish momentum)
 -125 Level:  Reached approximately 2% of the time (extreme bearish momentum)
 
These statistically-validated levels provide objective definitions for overbought and oversold conditions, eliminating subjective interpretation.
 Key Features 
 Core Components 
 
 LBR 3/10 Line:  Main oscillator showing normalized short-term momentum
 Signal Line:  Smoothed moving average of the oscillator (default: 9-period)
 Extreme Levels:  Horizontal lines at ±125 marking statistical extremes
 Zero Line:  Separates bullish and bearish momentum regimes
 
 Visual Elements 
 
 Blue Line:  LBR 3/10 oscillator (main momentum line)
 Red Line:  Signal line (smoothed moving average of oscillator)
 Fill Area:  Light blue shaded region between oscillator and signal line
 Background Zones:  Light red (overbought above +125) or light green (oversold below -125)
 Horizontal Lines:  Gray dashed lines at +125, -125, and 0 (zero line solid)
 Divergence Markers:  Green/red circles marking price/oscillator divergences
 Signal Crosses:  Small green/red triangles marking oscillator/signal line crossovers
 Pullback Markers:  Yellow diamond shapes with white "↑PB" or "↓PB" text for first pullback signals
 Std Dev Bands:  Orange circles marking statistical extreme levels (optional, disabled by default)
 
 Advanced Features 
 
 MA Type Selection:  Choose between SMA or EMA for both oscillator and signal line
 Standard Deviation Bands:  Optional adaptive extreme levels based on statistical volatility
 Pullback Detection:  Identifies high-probability counter-trend entries during established trends
 First Pullback Filter:  Noise reduction system that highlights initial pullback after trend change
 
 Trading Applications 
 1. Extreme Level Reversals 
When the oscillator reaches ±125, it indicates stretched momentum conditions:
 
 Above +125:  Overbought - watch for bearish reversal signals
 Below -125:  Oversold - watch for bullish reversal signals
 
 2. Signal Line Crossovers 
 
 Bullish Cross:  Oscillator crosses above signal line (momentum shift up)
 Bearish Cross:  Oscillator crosses below signal line (momentum shift down)
 
 3. Zero Line Crosses 
Signal line crossing zero indicates trend regime changes:
 
 Cross Above 0:  Transition to bullish trend
 Cross Below 0:  Transition to bearish trend
 
 4. Divergence Trading 
 
 Bullish Divergence:  Price makes lower low, oscillator makes higher low
 Bearish Divergence:  Price makes higher high, oscillator makes lower high
 Best used in combination with other momentum indicators for confirmation
 
 5. Pullback Strategy (High-Probability Setup) 
 
 Uptrend Pullback:  Signal line positive + oscillator crosses below (buy opportunity)
 Downtrend Pullback:  Signal line negative + oscillator crosses above (sell opportunity)
 First Pullback:  Initial counter-trend signal after trend change (highest probability)
 
 6. "Anti" Setup 
Linda Bradford Raschke's classic setup:
 
 Wait for extreme reading (±125)
 Enter on first pullback signal in opposite direction
 Captures momentum exhaustion reversals
 
 Comprehensive Alert System 
 Extreme Level Alerts 
 
 Crossed above +125 (overbought)
 Crossed below -125 (oversold)
 
 Divergence Alerts 
 
 Bullish divergence detected
 Bearish divergence detected
 
 Signal Cross Alerts 
 
 Bullish cross (oscillator above signal)
 Bearish cross (oscillator below signal)
 
 Trend Change Alerts 
 
 Signal line crossed above zero (trend change to bullish)
 Signal line crossed below zero (trend change to bearish)
 
 Pullback Alerts 
 
 Pullback in uptrend (potential buy)
 Pullback in downtrend (potential sell)
 FIRST pullback in uptrend (high-probability buy)
 FIRST pullback in downtrend (high-probability sell)
 
 Settings & Parameters 
 LBR 3/10 Settings 
 
 Fast MA Length:  Short-term period (default: 3)
 Slow MA Length:  Baseline period (default: 10)
 ATR Length:  Volatility normalization period (default: 10)
 MA Type:  SMA or EMA selection
 Extreme High Level:  Overbought threshold (default: 125)
 Extreme Low Level:  Oversold threshold (default: -125)
 
 Signal Line 
 
 Show Signal Line:  Enable/disable display (default: true)
 Signal Line Length:  Smoothing period (default: 9)
 
 Divergence Detection 
 
 Show Divergences:  Enable/disable detection (default: true)
 Divergence Lookback:  Pivot detection period (default: 5)
 
 Standard Deviation Bands 
 
 Show Std Dev Bands:  Enable/disable adaptive levels (default: false)
 Std Dev Multiplier:  Band width adjustment (default: 1.5)
 Std Dev Length:  Calculation period (default: 100)
 
 Best Practices 
 Trending Markets 
 
 Focus on pullback signals in direction of trend
 Use first pullback filter for highest-probability entries
 Watch for extreme levels as profit-taking zones
 
 Ranging Markets 
 
 Trade reversals at extreme levels (±125)
 Use divergences with additional momentum indicator confirmation
 Avoid signal line crosses near zero (low-quality signals)
 
 Multi-Timeframe Analysis 
 
 Higher timeframe: Identify trend direction (signal line above/below zero)
 Lower timeframe: Time precise entries using pullback signals
 Confirmation: Use additional momentum indicators for signal validation
 
 Risk Management 
 
 Reduce position size at extreme levels (increased reversal risk)
 Use ATR-based stops (e.g., 2× ATR from entry)
 Exit on opposite extreme level or signal line zero cross
 
 Chart Legend - Visual Signal Guide 
 Lines and Fills 
 
 🔵 Blue Line:  LBR 3/10 oscillator value
 🔴 Red Line:  Signal line (9-period MA of oscillator)
 💠 Light Blue Fill:  Area between oscillator and signal line (visual momentum gauge)
 
 Background Colors 
 
 🟥 Light Red Background:  Extreme overbought zone (LBR > +125)
 🟩 Light Green Background:  Extreme oversold zone (LBR < -125)
 
 Horizontal Reference Lines 
 
 ➖ +125 (Gray Dashed):  Overbought extreme level
 ➖ 0 (Gray Solid):  Zero line - trend separator
 ➖ -125 (Gray Dashed):  Oversold extreme level
 
 Signal Markers 
 
 🟢 Green Circle:  Bullish divergence detected (price lower low, oscillator higher low)
 🔴 Red Circle:  Bearish divergence detected (price higher high, oscillator lower high)
 ▲ Green Triangle Up:  Bullish signal cross (oscillator crosses above signal line)
 ▼ Red Triangle Down:  Bearish signal cross (oscillator crosses below signal line)
  Yellow Diamond "↑PB":  First pullback in uptrend (high-probability buy setup)
  Yellow Diamond "↓PB":  First pullback in downtrend (high-probability sell setup)
 
 Combining with MACD-V+ Indicator 
LBR 3/10 and MACD-V+ work together as a powerful two-timeframe momentum system:
 Indicator Roles 
 
 MACD-V+:  Strategic direction (12-26 period) - identifies market regime and lifecycle state
 LBR 3/10:  Tactical timing (3-10 period) - pinpoints precise entry and exit moments
 
 Key Principles 
 
 Strategic Filter:  MACD-V+ determines IF you should trade (market regime)
 Tactical Timing:  LBR 3/10 determines WHEN to enter (precise timing)
 Confirmation Reduces Risk:  Trade only when both indicators agree
 Respect Lifecycle Changes:  Exit when MACD-V+ state changes against your position
 
 Methodology 
The LBR 3/10 indicator implements statistical analysis and volatility normalization techniques to create a universal short-term momentum tool. This approach enables consistent interpretation across all markets and timeframes.
The indicator implements:
 
 ATR-based normalization for cross-market comparability
 Statistical extreme level validation (±125 levels)
 Noise reduction through first pullback filtering
 Dual MA type support (SMA/EMA) for flexibility
 Standard deviation bands for adaptive threshold levels
 
LBR 3/10 provides traders with a precise tool for short-term momentum analysis and tactical entry timing. Combined with proper risk management and multi-timeframe analysis, it offers objective signals for both trend-following and reversal trading strategies.
 This indicator is designed for educational and analytical purposes. Past performance does not guarantee future results. Always conduct thorough research and consider consulting with financial professionals before making investment decisions. 
Dynamic Supply & Demand with 20,50 & 200 EMADynamic Supply & Demand with 20, 50 & 200 EMA is an intraday trend-following indicator designed for traders who want to identify key support and resistance levels along with trend direction.
Features:
Plots 20, 50, and 200 EMAs to indicate short, medium, and long-term trends.
Calculates supply (resistance) and demand (support) zones dynamically based on recent price action and ATR for better accuracy.
Highlights bullish and bearish conditions using EMA alignment and RSI filter.
Includes a fixed bottom-right watermark to display author identity (@solomonselvam).
Fully compatible with Pine Script v5 and optimized for intraday charts.
How to use:
Use EMA alignment (20 > 50 > 200) and RSI > 55 for bullish setups.
Use EMA alignment (20 < 50 < 200) and RSI < 45 for bearish setups.
Look for price interaction with supply/demand zones for potential entries or exits.
Note: This indicator is best used in combination with proper risk management and price action confirmation.
Supply & Demand Limited [DOSALGO]The Supply & Demand Limited   indicator is a powerful tool designed to automatically identify and plot significant supply and demand zones on your chart. Based on the core principles of price action, this indicator pinpoints areas where buying or selling pressure has historically been strong enough to cause a substantial shift in the market. By visualizing these key institutional levels, traders can gain a clearer perspective on potential turning points, support/resistance areas, and high-probability trade setups.
This "Limited" version is specifically optimized for higher timeframe analysis and will function exclusively on Daily and Weekly charts, helping traders focus on the most significant market structure.
Key Features
Automatic Zone Detection: The indicator's internal calculation method scans the price action to detect valid supply and demand zones, saving you the time and effort of manual charting.
Identifies Key Patterns: It recognizes classic supply and demand patterns, including Rally-Base-Drop (RBD), Drop-Base-Rally (DBR), and continuation patterns like Rally-Base-Rally (RBR) and Drop-Base-Drop (DBD).
Dynamic Zone Interaction: Zones are not static. The indicator tracks price interaction, changing a zone's color once it has been touched. It can also automatically remove zones that have been significantly penetrated, keeping your chart clean and relevant.
"Level on Level" (LoL) Detection: A unique feature that identifies when new zones form within or overlapping existing ones. These "stacked" zones can often indicate particularly strong areas of confluence.
Built-in Alerts: Never miss an opportunity. Set up custom alerts to notify you the moment a new supply or demand zone is formed or when the price touches an existing zone.
Fully Customizable: Tailor the indicator to your exact trading style with extensive customization options. Adjust everything from the zone definition and colors to the number of zones displayed on your chart.
How to Use This Indicator
The primary goal of this indicator is to highlight potential areas where the market may reverse or pause.
Identify Potential Reversal Points: A supply zone (red) above the current price may act as resistance, presenting a potential area for short entries. A demand zone (green) below the current price may act as support, offering a potential area for long entries.
Confirm with Other Tools: For best results, use these zones in conjunction with your existing trading strategy. Confirm signals with other indicators, trend analysis, or fundamental factors to increase confidence.
Set Stop-Loss and Take-Profit: The boundaries of the zones can serve as logical guides for placing stop-loss orders (e.g., just above a supply zone or just below a demand zone) and for setting profit targets.
Settings Explained
Zone Definition
Show "Level on Level" (LoL) Labels: Toggles the "(LoL)" text on zones that are stacked on top of each other.
Include Continuation Patterns?: Choose whether to display only reversal patterns (RBD, DBR) or also include continuation patterns (RBR, DBD).
Zone Type: Select how zones are drawn.
Wider: Uses the full high/low of the base candles for a larger zone.
Preferred: Uses a more precise calculation to define the zone, often resulting in a tighter, more refined area.
Max Base Candles in Zone: Sets the maximum number of consolidation (base) candles allowed for a valid zone to be formed.
Zone Display & Limits
Limit Supply/Demand Zones: Toggle on or off to limit the number of zones displayed.
Max Supply/Demand Zones: When the limit is on, this sets the maximum number of the most relevant supply or demand zones to show on the chart.
Zone Interaction
Delete Zone on Deep Wick Penetration?: If enabled, the indicator will automatically remove a zone from the chart if the price penetrates it by a significant amount.
Remove Tested Zone %: Defines how much the price must penetrate a zone (as a percentage of the zone's height) to be considered "deep" and trigger its removal.
Colors & Style
Full customization over the colors for fresh and touched supply and demand zones, as well as the appearance of the zone labels.
Alerts
Alert on New Zone Creation?: Enable to receive an alert when a new zone is confirmed.
Alert on Zone Touch?: Enable to receive an alert when the price first enters an existing zone.
Disclaimer: This indicator is a tool for technical analysis and should not be considered financial advice. All trading involves risk. Always conduct your own research and analysis before making any trading decisions. Past performance is not indicative of future results.
MACD-V+MACD-V+ Indicator - Advanced Momentum Analysis 
The MACD-V+ indicator is an enhanced version of the volatility-normalized MACD methodology developed by Alex Spiroglou. This approach addresses critical limitations of traditional MACD through ATR-based volatility normalization, providing comparable values across time and markets.
 What is MACD-V? 
MACD-V applies Average True Range (ATR) normalization to traditional MACD, creating a universal momentum indicator that works consistently across all markets and timeframes. The methodology was developed through extensive statistical research analyzing multiple markets and timeframes.
 Formula:    × 100
This normalization transforms MACD from price-dependent values into standardized momentum readings.
 Traditional MACD Limitations 
 Limitation 1: Non-Comparable Values Across Time 
Traditional MACD values cannot be compared across different time periods due to varying price levels. S&P 500 maximum MACD was 1.56 in 1957-1971, but reached 86.31 in 2019-2021 - not indicating 55x stronger momentum, but simply different price scales.
 Solution:  MACD-V provides comparable historical values where a reading of 100 today has the same mathematical meaning as 100 in any previous period.
 Limitation 2: Non-Comparable Across Markets 
Traditional MACD cannot compare momentum between different assets. S&P 500 MACD of 65 versus EUR/USD MACD of -0.5 reflects price differences, not relative strength.
 Solution:  MACD-V creates universal levels that work across all markets. The ±150 extreme levels apply consistently whether analyzing stocks, bonds, commodities, or currencies.
 Limitation 3: No Objective Momentum System 
Traditional MACD lacks universal overbought or oversold level definitions, making systematic analysis difficult.
 Solution:  MACD-V provides an objective 7-stage momentum lifecycle system with clearly defined zones and state transitions.
 Limitation 4: Signal Line False Signals 
In low momentum environments, traditional MACD generates multiple false signals as the line oscillates near zero.
 Solution:  MACD-V filters signal quality by identifying neutral zones (-50 to +50) where signal reliability is lower.
 Limitation 5: Signal Line Timing Lag 
During extreme momentum, traditional MACD signal line lags significantly due to large separation from the MACD line.
 Solution:  MACD-V anticipates timing issues in extreme momentum environments (±150) through zone-based analysis and lifecycle states.
 Universal Application 
MACD-V+ works across:
 
 Individual Stocks
 Forex Pairs
 Commodity Futures
 Cryptocurrencies
 All Timeframes
 
 Key Features 
 Zone System 
 
 Overbought Zone:  Above +150 (extreme bullish momentum)
 Rally Zone:  +50 to +150 (strong bullish momentum)
 Ranging Zone:  -50 to +50 (neutral/low momentum)
 Rebound Zone:  -50 to -150 (strong bearish momentum)
 Oversold Zone:  Below -150 (extreme bearish momentum)
 
 7-Stage Lifecycle States 
 
 Ranging:  Neutral momentum in -50 to +50 zone
 Rallying:  Rally zone + MACD above Signal + rising momentum
 Overbought:  Extreme zone above +150
 Retracing:  Rally zone + MACD below Signal (pullback from overbought)
 Reversing:  Rebound zone + MACD below Signal + falling momentum
 Oversold:  Extreme zone below -150
 Rebounding:  Rebound zone + MACD above Signal (recovery from oversold)
 
 Visual Status Display 
 
 Real-Time State Table:  Shows current lifecycle state name
 Color-Coded States:  Blue (Rallying/Rebounding), Red (Overbought/Oversold), Orange (Retracing/Reversing), Gray (Ranging)
 Strength Multiplier:  Live histogram strength indicator (e.g., "x 1.45")
 
 Enhanced Features (Plus) 
 
 Absolute Histogram MA:  ATR-length moving average of absolute histogram values for strength measurement
 Direction-Aware Display:  MA line follows histogram sign (positive above 0, negative below 0)
 Strength Multiplier:  Current momentum vs. average strength ratio (always positive value)
 Histogram Extreme Levels:  Short-term overbought/oversold (±40) for pullback detection
 
 Chart Legend - Visual Signal Guide 
 Lines and Histogram 
 
 🔵 Blue Line:  MACD-V value (ATR-normalized momentum)
 🟠 Orange Line:  Signal line (9-period EMA of MACD-V)
 📊 Histogram Bars:  MACD-V minus Signal line (momentum differential)
 Histogram Colors:  Green shades (positive momentum), Red shades (negative momentum)
 🟡 Yellow Line:  Dynamic MA of absolute histogram values (follows histogram sign)
 
 Background Colors 
 
 🟥 Light Red Background:  Extreme overbought zone (MACD-V > +150)
 🟩 Light Green Background:  Extreme oversold zone (MACD-V < -150)
 
 Horizontal Reference Lines 
 
 ➖ +150 (Gray Dashed):  Overbought extreme level
 ➖ +50 (Gray Dashed):  Rally zone entry level
 ➖ 0 (Gray Solid):  Zero line - trend separator
 ➖ -50 (Gray Dashed):  Rebound zone entry level
 ➖ -150 (Gray Dashed):  Oversold extreme level
 
 Optional Histogram Levels 
 
 ➖ +40 (Yellow Dashed):  Histogram short-term overbought
 ➖ -40 (Yellow Dashed):  Histogram short-term oversold
 
 Status Table 
 
 📋 Top-Center Table:  Current lifecycle state display
 State Name:  RANGING / RALLYING / OVERBOUGHT / RETRACING / REVERSING / OVERSOLD / REBOUNDING
 Histogram Warning:  Short-term overbought/oversold alerts (±40 levels)
 
 State Label 
 
 📊 Label at MACD/Signal Midpoint:  Current lifecycle state with strength analysis
 State Name:  RANGING / RALLYING / OVERBOUGHT / RETRACING / REVERSING / OVERSOLD / REBOUNDING
 Strength Multiplier Interpretation: 
  - Strong acceleration (>1.75): Powerful momentum, trend continuation likely
  - Moderate progression (1.25-1.75): Normal trend strength
  - Trend continuation (0.75-1.25): Stable momentum near average
  - Watch for reversal (0.25-0.75): Weakening momentum
  - Trend exhaustion (<0.25): Very weak momentum, reversal possible
 
 Trading Applications 
 1. Lifecycle State Trading 
 
 Enter Long:  When state changes to "RALLYING" (strong bullish momentum established)
 Enter Short:  When state changes to "REVERSING" (strong bearish momentum established)
 Exit/Reduce:  When state reaches "OVERBOUGHT" or "OVERSOLD" (extreme levels)
 Avoid Trading:  When state is "RANGING" (low momentum, unreliable signals)
 
 2. Zone-Based Trading 
 
 Rally Zone (+50 to +150):  Look for pullback entries (histogram dips)
 Rebound Zone (-50 to -150):  Look for bounce entries (histogram rises)
 Extreme Zones (±150+):  Prepare for reversal or take profits
 Ranging Zone (-50 to +50):  Wait for breakout confirmation
 
 3. Signal Line Crossovers 
 
 Bullish Cross:  MACD-V crosses above Signal line (momentum shift up)
 Bearish Cross:  MACD-V crosses below Signal line (momentum shift down)
 Quality Filter:  Trust crossovers in Rally/Rebound zones, ignore in Ranging zone
 
 4. Zero Line Crosses 
 
 Cross Above 0:  Transition to bullish regime
 Cross Below 0:  Transition to bearish regime
 Trend Confirmation:  Strong trends keep MACD-V on same side of zero
 
 5. Histogram Extreme Strategy 
 
 Above +40:  Short-term overbought - potential pullback
 Below -40:  Short-term oversold - potential bounce
 Use with Trend:  Buy dips to -40 in uptrend, sell rallies to +40 in downtrend
 
 6. Strength Multiplier Analysis 
 
 > 1.75:  Strong acceleration - powerful momentum, trend continuation highly likely
 1.25 to 1.75:  Moderate progression - normal healthy trend strength
 0.75 to 1.25:  Trend continuation - stable momentum near average strength
 0.25 to 0.75:  Watch for reversal - momentum weakening significantly
 < 0.25:  Trend exhaustion - very weak momentum, reversal possible
 
 Comprehensive Alert System 
 Lifecycle State Change Alerts 
 
 Range Entered (low momentum warning)
 Rally Started (bullish momentum established)
 Overbought Reached (extreme bullish level)
 Overbought Exit (leaving extreme zone)
 Retracing Started (pullback from overbought)
 Reversal Started (bearish momentum established)
 Oversold Reached (extreme bearish level)
 Oversold Exit (leaving extreme zone)
 Rebounding Started (recovery from oversold)
 
 Alert Builder Integration 
Binary outputs (1/0) for external alert systems:
 
 Individual state flags for each of 7 lifecycle states
 Strength multiplier value for programmatic trend assessment
 
 Settings & Parameters 
 MACD Configuration 
 
 MACD Fast:  Fast EMA period (default: 12)
 MACD Slow:  Slow EMA period (default: 26)
 Signal Line:  Signal smoothing period (default: 9)
 Source:  Price source (default: Close)
 
 Zone Boundaries 
 
 Overbought:  Extreme bullish level (default: 150)
 Oversold:  Extreme bearish level (default: -150)
 Rally:  Strong bullish zone entry (default: 50)
 Rebound:  Strong bearish zone entry (default: -50)
 
 Histogram Bounds 
 
 Histogram OB:  Short-term overbought (default: 40)
 Histogram OS:  Short-term oversold (default: -40)
 
 Trend Filters 
 
 MA Type:  Histogram strength MA calculation method (None / SMA / EMA)
 Show Elder Impulse Plus:  Bar color system based on EMA(13) + histogram direction
 200 EMA trend:  Trend Filter v1 - Bull/Bear classification (adaptive MACD-V levels)
 50/200 EMA 6-stage:  Trend Filter v2 - Chuck Dukas Diamond 6-stage market classification
 
 Best Practices 
 Trending Markets 
 
 Focus on "RALLYING" or "REVERSING" states for entries
 Use histogram pullbacks (±40) for position additions
 Monitor strength multiplier - exit if drops below 0.25
 Take profits in extreme zones (±150+)
 Yellow MA crossing histogram warns of momentum shift
 
 Ranging Markets 
 
 Avoid trading when state is "RANGING"
 Wait for clear zone entry (Rally/Rebound zone)
 Use shorter timeframes for precision
 Reduce position sizes due to lower reliability
 
 Multi-Timeframe Analysis 
 
 Higher timeframe: Identify market regime (lifecycle state)
 Lower timeframe: Time precise entries (histogram pullbacks)
 Alignment: Trade only when both timeframes agree on direction
 
 Risk Management 
 
 Reduce position size in extreme zones (±150+)
 Use lifecycle state changes for stop-loss placement
 Scale out of positions when strength multiplier < 0.25
 Avoid counter-trend trades in strong states (RALLYING/REVERSING)
 Watch yellow MA - when it crosses below histogram absolute value, momentum weakening
 
 Combining with LBR 3/10-V Indicator 
MACD-V+ and LBR 3/10-V create a powerful two-timeframe momentum system for strategic direction and tactical timing.
 
 Strategic Filter:  MACD-V+ determines WHETHER to trade (market regime)
 Tactical Precision:  LBR 3/10-V determines WHEN to enter (timing)
 Double Confirmation:  Both indicators must agree on direction
 Lifecycle Management:  Exit when MACD-V+ state changes
 Strength Validation:  Use MACD-V+ multiplier for position sizing
 Extreme Respect:  Both hitting extremes = high reversal probability
 
 Methodology 
MACD-V methodology is based on volatility normalization using Average True Range (ATR). This approach transforms traditional MACD into a universal momentum indicator with statistically-validated zones and objectively-defined states.
The indicator implements:
 
 ATR-based normalization for cross-market comparability
 Statistical analysis for universal zone definitions (±150, ±50)
 Lifecycle state system for objective trend identification
 Absolute histogram MA with direction-aware visualization (ATR-length period)
 Strength multiplier: ratio of current to average absolute momentum (always positive)
 Dynamic status table adapting to active trend filters
 
MACD-V+ transforms momentum analysis from subjective interpretation into objective, quantifiable measurements. Combined with LBR 3/10-V for tactical timing, it provides a complete framework for systematic trading across all financial markets and timeframes.
 This indicator is designed for educational and analytical purposes. Past performance does not guarantee future results. Always conduct thorough research and consider consulting with financial professionals before making investment decisions. 
RSI with Dynamic Overbought/Oversold Levels [SwissAlgo]RSI with Dynamic Overbought/Oversold Levels  
 RSI indicator with adaptive overbought/oversold levels based on percentile analysis instead of fixed thresholds 30/70. 
----------------------------------------------------------------
 OVERVIEW 
Traditional RSI uses  static 30/70  levels that may fail to adapt to changing market conditions. This indicator calculates dynamic overbought/oversold zones based on recent price behavior, providing context-aware signals across dynamic volatility regimes.
----------------------------------------------------------------
 KEY FEATURES 
 
 Dynamic percentile bands (98th, 95th, 90th, 10th, 5th, 2nd) that automatically adjust to current market volatility
 Color-coded RSI line: red when above 98th percentile (extreme overbought), green when below 2nd percentile (extreme oversold), purple otherwise
 Highlighted extreme zones with subtle background fills for easy visual identification
 Adjustable responsiveness: Fast (50 bars), Medium (100 bars), or Slow (200 bars) for different trading styles and timeframes
 Optional smoothing MA with multiple types: SMA, EMA, RMA, WMA, VWMA
 Built-in alerts for extreme overbought/oversold conditions
 
----------------------------------------------------------------
 HOW IT WORKS 
The indicator tracks RSI values over a rolling window and calculates percentile ranks. When RSI reaches its 98th percentile, it means current momentum is stronger than 98% of recent readings — signaling a potentially extreme overbought condition relative to recent behavior, not just an arbitrary fixed level.
----------------------------------------------------------------
 USAGE 
 
 Watch for RSI entering colored extreme zones (red/green fills) for potential exhaustion signals
 Use the 90th/10th percentile bands as early warning levels
 Combine with price action, support/resistance, or other indicators and your own analysis for confirmation
 Adjust responsiveness based on your timeframe
 
----------------------------------------------------------------
 SETTINGS 
 
 RSI Length: Standard 14-period default, adjustable
 RSI Source: Close price default, customizable
 Responsiveness: Choose how quickly percentile bands adapt to new data
 Smoothing: Optional moving average overlay on RSI
 Show Percentile Bands: Toggle visibility of dynamic levels
 
----------------------------------------------------------------
 ALERTS 
Two alert conditions are available:
 
 RSI Extreme Overbought (crosses above 98th percentile)
 RSI Extreme Oversold (crosses below 2nd percentile)
 
----------------------------------------------------------------
 NOTES 
Percentile levels recalculate as new data arrives, providing adaptive context rather than fixed historical values. This is intentional; the indicator shows where RSI stands relative to recent market behavior, not potentially outdated static thresholds.
----------------------------------------------------------------
 LIMITATIONS & DISCLAIMER 
PERCENTILE RECALCULATION
This indicator uses rolling percentile calculations that update as new price data arrives. Historical percentile levels  may shift slightly as the lookback window moves forward . This is by design; the indicator provides context relative to recent market behavior, not static historical thresholds. Users should be aware that backtest results may differ slightly from real-time performance due to this adaptive nature.
NO PREDICTIVE CLAIMS
This indicator identifies when RSI reaches extreme levels relative to recent history. It does NOT predict future price movements, guarantee reversals, or provide trading signals. Extreme overbought/oversold conditions can persist during strong trends, price may continue moving in the same direction even after entering extreme zones.
ALERT TIMING
Alerts trigger when RSI crosses percentile thresholds on bar close. In fast-moving markets, significant price movement may occur between alert generation and user response. Always confirm conditions and DYOR before taking action.
NOT FINANCIAL ADVICE
This tool is for informational and educational purposes only. It does not constitute financial, investment, or trading advice. Past performance of any trading system or methodology is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors.
USER RESPONSIBILITY
Users are solely responsible for their trading decisions. Always conduct your own analysis, implement proper risk management, and never risk more than you can afford to lose. Test thoroughly on paper/demo accounts before live trading.
NO WARRANTIES
This indicator is provided "as is" without warranties of any kind. The author assumes no responsibility for trading losses, technical errors, or any damages resulting from the use of this indicator.
Fisher Transform Trend Navigator [QuantAlgo]🟢 Overview 
The  Fisher Transform Trend Navigator  applies a logarithmic transformation to normalize price data into a Gaussian distribution, then combines this with volatility-adaptive thresholds to create a trend detection system. This mathematical approach helps traders identify high-probability trend changes and reversal points while filtering market noise in the ever-changing volatility conditions.
  
 🟢 How It Works 
The indicator's foundation begins with price normalization, where recent price action is scaled to a bounded range between -1 and +1:
 highestHigh = ta.highest(priceSource, fisherPeriod)
lowestLow = ta.lowest(priceSource, fisherPeriod)
value1 = highestHigh != lowestLow ? 2 * (priceSource - lowestLow) / (highestHigh - lowestLow) - 1 : 0
value1 := math.max(-0.999, math.min(0.999, value1)) 
This normalized value then passes through the Fisher Transform calculation, which applies a logarithmic function to convert the data into a Gaussian normal distribution that naturally amplifies price extremes and turning points:
 fisherTransform = 0.5 * math.log((1 + value1) / (1 - value1))
smoothedFisher = ta.ema(fisherTransform, fisherSmoothing) 
The smoothed Fisher signal is then integrated with an exponential moving average to create a hybrid trend line that balances statistical precision with price-following behavior:
 baseTrend = ta.ema(close, basePeriod)
fisherAdjustment = smoothedFisher * fisherSensitivity * close
fisherTrend = baseTrend + fisherAdjustment 
To filter out false signals and adapt to market conditions, the system calculates dynamic threshold bands using volatility measurements:
 dynamicRange = ta.atr(volatilityPeriod)
threshold = dynamicRange * volatilityMultiplier
upperThreshold = fisherTrend + threshold
lowerThreshold = fisherTrend - threshold 
When price momentum pushes through these thresholds, the trend line locks onto the new level and maintains direction until the opposite threshold is breached:
 if upperThreshold < trendLine
    trendLine := upperThreshold
if lowerThreshold > trendLine
    trendLine := lowerThreshold 
  
 🟢 Signal Interpretation 
 
 Bullish Candles (Green):  indicate normalized price distribution favoring bulls with sustained buying momentum = Long/Buy opportunities
 Bearish Candles (Red):  indicate normalized price distribution favoring bears with sustained selling pressure = Short/Sell opportunities
  
 Upper Band Zone:  Area above middle level indicating statistically elevated trend strength with potential overbought conditions approaching mean reversion zones
 Lower Band Zone:  Area below middle level indicating statistically depressed trend strength with potential oversold conditions approaching mean reversion zones
 Built-in Alert System:  Automated notifications trigger when bullish or bearish states change, allowing you to act on significant developments without constantly monitoring the charts
 Candle Coloring:  Optional feature applies trend colors to price bars for visual consistency and clarity
 Configuration Presets:  Three parameter sets available - Default (balanced settings), Scalping (faster response with higher sensitivity), and Swing Trading (slower response with enhanced smoothing)
 Color Customization:  Four color schemes including Classic, Aqua, Cosmic, and Custom options for personalized chart aesthetics






















