Tzotchev Trend Measure [EdgeTools]Are you still measuring trend strength with moving averages? Here is a better variant at scientific level:
Tzotchev Trend Measure: A Statistical Approach to Trend Following
The Tzotchev Trend Measure represents a sophisticated advancement in quantitative trend analysis, moving beyond traditional moving average-based indicators toward a statistically rigorous framework for measuring trend strength. This indicator implements the methodology developed by Tzotchev et al. (2015) in their seminal J.P. Morgan research paper "Designing robust trend-following system: Behind the scenes of trend-following," which introduced a probabilistic approach to trend measurement that has since become a cornerstone of institutional trading strategies.
Mathematical Foundation and Statistical Theory
The core innovation of the Tzotchev Trend Measure lies in its transformation of price momentum into a probability-based metric through the application of statistical hypothesis testing principles. The indicator employs the fundamental formula ST = 2 × Φ(√T × r̄T / σ̂T) - 1, where ST represents the trend strength score bounded between -1 and +1, Φ(x) denotes the normal cumulative distribution function, T represents the lookback period in trading days, r̄T is the average logarithmic return over the specified period, and σ̂T represents the estimated daily return volatility.
This formulation transforms what is essentially a t-statistic into a probabilistic trend measure, testing the null hypothesis that the mean return equals zero against the alternative hypothesis of non-zero mean return. The use of logarithmic returns rather than simple returns provides several statistical advantages, including symmetry properties where log(P₁/P₀) = -log(P₀/P₁), additivity characteristics that allow for proper compounding analysis, and improved validity of normal distribution assumptions that underpin the statistical framework.
The implementation utilizes the Abramowitz and Stegun (1964) approximation for the normal cumulative distribution function, achieving accuracy within ±1.5 × 10⁻⁷ for all input values. This approximation employs Horner's method for polynomial evaluation to ensure numerical stability, particularly important when processing large datasets or extreme market conditions.
Comparative Analysis with Traditional Trend Measurement Methods
The Tzotchev Trend Measure demonstrates significant theoretical and empirical advantages over conventional trend analysis techniques. Traditional moving average-based systems, including simple moving averages (SMA), exponential moving averages (EMA), and their derivatives such as MACD, suffer from several fundamental limitations that the Tzotchev methodology addresses systematically.
Moving average systems exhibit inherent lag bias, as documented by Kaufman (2013) in "Trading Systems and Methods," where he demonstrates that moving averages inevitably lag price movements by approximately half their period length. This lag creates delayed signal generation that reduces profitability in trending markets and increases false signal frequency during consolidation periods. In contrast, the Tzotchev measure eliminates lag bias by directly analyzing the statistical properties of return distributions rather than smoothing price levels.
The volatility normalization inherent in the Tzotchev formula addresses a critical weakness in traditional momentum indicators. As shown by Bollinger (2001) in "Bollinger on Bollinger Bands," momentum oscillators like RSI and Stochastic fail to account for changing volatility regimes, leading to inconsistent signal interpretation across different market conditions. The Tzotchev measure's incorporation of return volatility in the denominator ensures that trend strength assessments remain consistent regardless of the underlying volatility environment.
Empirical studies by Hurst, Ooi, and Pedersen (2013) in "Demystifying Managed Futures" demonstrate that traditional trend-following indicators suffer from significant drawdowns during whipsaw markets, with Sharpe ratios frequently below 0.5 during challenging periods. The authors attribute these poor performance characteristics to the binary nature of most trend signals and their inability to quantify signal confidence. The Tzotchev measure addresses this limitation by providing continuous probability-based outputs that allow for more sophisticated risk management and position sizing strategies.
The statistical foundation of the Tzotchev approach provides superior robustness compared to technical indicators that lack theoretical grounding. Fama and French (1988) in "Permanent and Temporary Components of Stock Prices" established that price movements contain both permanent and temporary components, with traditional moving averages unable to distinguish between these elements effectively. The Tzotchev methodology's hypothesis testing framework specifically tests for the presence of permanent trend components while filtering out temporary noise, providing a more theoretically sound approach to trend identification.
Research by Moskowitz, Ooi, and Pedersen (2012) in "Time Series Momentum in the Cross Section of Asset Returns" found that traditional momentum indicators exhibit significant variation in effectiveness across asset classes and time periods. Their study of multiple asset classes over decades revealed that simple price-based momentum measures often fail to capture persistent trends in fixed income and commodity markets. The Tzotchev measure's normalization by volatility and its probabilistic interpretation provide consistent performance across diverse asset classes, as demonstrated in the original J.P. Morgan research.
Comparative performance studies conducted by AQR Capital Management (Asness, Moskowitz, and Pedersen, 2013) in "Value and Momentum Everywhere" show that volatility-adjusted momentum measures significantly outperform traditional price momentum across international equity, bond, commodity, and currency markets. The study documents Sharpe ratio improvements of 0.2 to 0.4 when incorporating volatility normalization, consistent with the theoretical advantages of the Tzotchev approach.
The regime detection capabilities of the Tzotchev measure provide additional advantages over binary trend classification systems. Research by Ang and Bekaert (2002) in "Regime Switches in Interest Rates" demonstrates that financial markets exhibit distinct regime characteristics that traditional indicators fail to capture adequately. The Tzotchev measure's five-tier classification system (Strong Bull, Weak Bull, Neutral, Weak Bear, Strong Bear) provides more nuanced market state identification than simple trend/no-trend binary systems.
Statistical testing by Jegadeesh and Titman (2001) in "Profitability of Momentum Strategies" revealed that traditional momentum indicators suffer from significant parameter instability, with optimal lookback periods varying substantially across market conditions and asset classes. The Tzotchev measure's statistical framework provides more stable parameter selection through its grounding in hypothesis testing theory, reducing the need for frequent parameter optimization that can lead to overfitting.
Advanced Noise Filtering and Market Regime Detection
A significant enhancement over the original Tzotchev methodology is the incorporation of a multi-factor noise filtering system designed to reduce false signals during sideways market conditions. The filtering mechanism employs four distinct approaches: adaptive thresholding based on current market regime strength, volatility-based filtering utilizing ATR percentile analysis, trend strength confirmation through momentum alignment, and a comprehensive multi-factor approach that combines all methodologies.
The adaptive filtering system analyzes market microstructure through price change relative to average true range, calculates volatility percentiles over rolling windows, and assesses trend alignment across multiple timeframes using exponential moving averages of varying periods. This approach addresses one of the primary limitations identified in traditional trend-following systems, namely their tendency to generate excessive false signals during periods of low volatility or sideways price action.
The regime detection component classifies market conditions into five distinct categories: Strong Bull (ST > 0.3), Weak Bull (0.1 < ST ≤ 0.3), Neutral (-0.1 ≤ ST ≤ 0.1), Weak Bear (-0.3 ≤ ST < -0.1), and Strong Bear (ST < -0.3). This classification system provides traders with clear, quantitative definitions of market regimes that can inform position sizing, risk management, and strategy selection decisions.
Professional Implementation and Trading Applications
The indicator incorporates three distinct trading profiles designed to accommodate different investment approaches and risk tolerances. The Conservative profile employs longer lookback periods (63 days), higher signal thresholds (0.2), and reduced filter sensitivity (0.5) to minimize false signals and focus on major trend changes. The Balanced profile utilizes standard academic parameters with moderate settings across all dimensions. The Aggressive profile implements shorter lookback periods (14 days), lower signal thresholds (-0.1), and increased filter sensitivity (1.5) to capture shorter-term trend movements.
Signal generation occurs through threshold crossover analysis, where long signals are generated when the trend measure crosses above the specified threshold and short signals when it crosses below. The implementation includes sophisticated signal confirmation mechanisms that consider trend alignment across multiple timeframes and momentum strength percentiles to reduce the likelihood of false breakouts.
The alert system provides real-time notifications for trend threshold crossovers, strong regime changes, and signal generation events, with configurable frequency controls to prevent notification spam. Alert messages are standardized to ensure consistency across different market conditions and timeframes.
Performance Optimization and Computational Efficiency
The implementation incorporates several performance optimization features designed to handle large datasets efficiently. The maximum bars back parameter allows users to control historical calculation depth, with default settings optimized for most trading applications while providing flexibility for extended historical analysis. The system includes automatic performance monitoring that generates warnings when computational limits are approached.
Error handling mechanisms protect against division by zero conditions, infinite values, and other numerical instabilities that can occur during extreme market conditions. The finite value checking system ensures data integrity throughout the calculation process, with fallback mechanisms that maintain indicator functionality even when encountering corrupted or missing price data.
Timeframe validation provides warnings when the indicator is applied to unsuitable timeframes, as the Tzotchev methodology was specifically designed for daily and higher timeframe analysis. This validation helps prevent misapplication of the indicator in contexts where its statistical assumptions may not hold.
Visual Design and User Interface
The indicator features eight professional color schemes designed for different trading environments and user preferences. The EdgeTools theme provides an institutional blue and steel color palette suitable for professional trading environments. The Gold theme offers warm colors optimized for commodities trading. The Behavioral theme incorporates psychology-based color contrasts that align with behavioral finance principles. The Quant theme provides neutral colors suitable for analytical applications.
Additional specialized themes include Ocean, Fire, Matrix, and Arctic variations, each optimized for specific visual preferences and trading contexts. All color schemes include automatic dark and light mode optimization to ensure optimal readability across different chart backgrounds and trading platforms.
The information table provides real-time display of key metrics including current trend measure value, market regime classification, signal strength, Z-score, average returns, volatility measures, filter threshold levels, and filter effectiveness percentages. This comprehensive dashboard allows traders to monitor all relevant indicator components simultaneously.
Theoretical Implications and Research Context
The Tzotchev Trend Measure addresses several theoretical limitations inherent in traditional technical analysis approaches. Unlike moving average-based systems that rely on price level comparisons, this methodology grounds trend analysis in statistical hypothesis testing, providing a more robust theoretical foundation for trading decisions.
The probabilistic interpretation of trend strength offers significant advantages over binary trend classification systems. Rather than simply indicating whether a trend exists, the measure quantifies the statistical confidence level associated with the trend assessment, allowing for more nuanced risk management and position sizing decisions.
The incorporation of volatility normalization addresses the well-documented problem of volatility clustering in financial time series, ensuring that trend strength assessments remain consistent across different market volatility regimes. This normalization is particularly important for portfolio management applications where consistent risk metrics across different assets and time periods are essential.
Practical Applications and Trading Strategy Integration
The Tzotchev Trend Measure can be effectively integrated into various trading strategies and portfolio management frameworks. For trend-following strategies, the indicator provides clear entry and exit signals with quantified confidence levels. For mean reversion strategies, extreme readings can signal potential turning points. For portfolio allocation, the regime classification system can inform dynamic asset allocation decisions.
The indicator's statistical foundation makes it particularly suitable for quantitative trading strategies where systematic, rules-based approaches are preferred over discretionary decision-making. The standardized output range facilitates easy integration with position sizing algorithms and risk management systems.
Risk management applications benefit from the indicator's ability to quantify trend strength and provide early warning signals of potential trend changes. The multi-timeframe analysis capability allows for the construction of robust risk management frameworks that consider both short-term tactical and long-term strategic market conditions.
Implementation Guide and Parameter Configuration
The practical application of the Tzotchev Trend Measure requires careful parameter configuration to optimize performance for specific trading objectives and market conditions. This section provides comprehensive guidance for parameter selection and indicator customization.
Core Calculation Parameters
The Lookback Period parameter controls the statistical window used for trend calculation and represents the most critical setting for the indicator. Default values range from 14 to 63 trading days, with shorter periods (14-21 days) providing more sensitive trend detection suitable for short-term trading strategies, while longer periods (42-63 days) offer more stable trend identification appropriate for position trading and long-term investment strategies. The parameter directly influences the statistical significance of trend measurements, with longer periods requiring stronger underlying trends to generate significant signals but providing greater reliability in trend identification.
The Price Source parameter determines which price series is used for return calculations. The default close price provides standard trend analysis, while alternative selections such as high-low midpoint ((high + low) / 2) can reduce noise in volatile markets, and volume-weighted average price (VWAP) offers superior trend identification in institutional trading environments where volume concentration matters significantly.
The Signal Threshold parameter establishes the minimum trend strength required for signal generation, with values ranging from -0.5 to 0.5. Conservative threshold settings (0.2 to 0.3) reduce false signals but may miss early trend opportunities, while aggressive settings (-0.1 to 0.1) provide earlier signal generation at the cost of increased false positive rates. The optimal threshold depends on the trader's risk tolerance and the volatility characteristics of the traded instrument.
Trading Profile Configuration
The Trading Profile system provides pre-configured parameter sets optimized for different trading approaches. The Conservative profile employs a 63-day lookback period with a 0.2 signal threshold and 0.5 noise sensitivity, designed for long-term position traders seeking high-probability trend signals with minimal false positives. The Balanced profile uses a 21-day lookback with 0.05 signal threshold and 1.0 noise sensitivity, suitable for swing traders requiring moderate signal frequency with acceptable noise levels. The Aggressive profile implements a 14-day lookback with -0.1 signal threshold and 1.5 noise sensitivity, optimized for day traders and scalpers requiring frequent signal generation despite higher noise levels.
Advanced Noise Filtering System
The noise filtering mechanism addresses the challenge of false signals during sideways market conditions through four distinct methodologies. The Adaptive filter adjusts thresholds based on current trend strength, increasing sensitivity during strong trending periods while raising thresholds during consolidation phases. The Volatility-based filter utilizes Average True Range (ATR) percentile analysis to suppress signals during abnormally volatile conditions that typically generate false trend indications.
The Trend Strength filter requires alignment between multiple momentum indicators before confirming signals, reducing the probability of false breakouts from consolidation patterns. The Multi-factor approach combines all filtering methodologies using weighted scoring to provide the most robust noise reduction while maintaining signal responsiveness during genuine trend initiations.
The Noise Sensitivity parameter controls the aggressiveness of the filtering system, with lower values (0.5-1.0) providing conservative filtering suitable for volatile instruments, while higher values (1.5-2.0) allow more signals through but may increase false positive rates during choppy market conditions.
Visual Customization and Display Options
The Color Scheme parameter offers eight professional visualization options designed for different analytical preferences and market conditions. The EdgeTools scheme provides high contrast visualization optimized for trend strength differentiation, while the Gold scheme offers warm tones suitable for commodity analysis. The Behavioral scheme uses psychological color associations to enhance decision-making speed, and the Quant scheme provides neutral colors appropriate for quantitative analysis environments.
The Ocean, Fire, Matrix, and Arctic schemes offer additional aesthetic options while maintaining analytical functionality. Each scheme includes optimized colors for both light and dark chart backgrounds, ensuring visibility across different trading platform configurations.
The Show Glow Effects parameter enhances plot visibility through multiple layered lines with progressive transparency, particularly useful when analyzing multiple timeframes simultaneously or when working with dense price data that might obscure trend signals.
Performance Optimization Settings
The Maximum Bars Back parameter controls the historical data depth available for calculations, with values ranging from 5,000 to 50,000 bars. Higher values enable analysis of longer-term trend patterns but may impact indicator loading speed on slower systems or when applied to multiple instruments simultaneously. The optimal setting depends on the intended analysis timeframe and available computational resources.
The Calculate on Every Tick parameter determines whether the indicator updates with every price change or only at bar close. Real-time calculation provides immediate signal updates suitable for scalping and day trading strategies, while bar-close calculation reduces computational overhead and eliminates signal flickering during bar formation, preferred for swing trading and position management applications.
Alert System Configuration
The Alert Frequency parameter controls notification generation, with options for all signals, bar close only, or once per bar. High-frequency trading strategies benefit from all signals mode, while position traders typically prefer bar close alerts to avoid premature position entries based on intrabar fluctuations.
The alert system generates four distinct notification types: Long Signal alerts when the trend measure crosses above the positive signal threshold, Short Signal alerts for negative threshold crossings, Bull Regime alerts when entering strong bullish conditions, and Bear Regime alerts for strong bearish regime identification.
Table Display and Information Management
The information table provides real-time statistical metrics including current trend value, regime classification, signal status, and filter effectiveness measurements. The table position can be customized for optimal screen real estate utilization, and individual metrics can be toggled based on analytical requirements.
The Language parameter supports both English and German display options for international users, while maintaining consistent calculation methodology regardless of display language selection.
Risk Management Integration
Effective risk management integration requires coordination between the trend measure signals and position sizing algorithms. Strong trend readings (above 0.5 or below -0.5) support larger position sizes due to higher probability of trend continuation, while neutral readings (between -0.2 and 0.2) suggest reduced position sizes or range-trading strategies.
The regime classification system provides additional risk management context, with Strong Bull and Strong Bear regimes supporting trend-following strategies, while Neutral regimes indicate potential for mean reversion approaches. The filter effectiveness metric helps traders assess current market conditions and adjust strategy parameters accordingly.
Timeframe Considerations and Multi-Timeframe Analysis
The indicator's effectiveness varies across different timeframes, with higher timeframes (daily, weekly) providing more reliable trend identification but slower signal generation, while lower timeframes (hourly, 15-minute) offer faster signals with increased noise levels. Multi-timeframe analysis combining trend alignment across multiple periods significantly improves signal quality and reduces false positive rates.
For optimal results, traders should consider trend alignment between the primary trading timeframe and at least one higher timeframe before entering positions. Divergences between timeframes often signal potential trend reversals or consolidation periods requiring strategy adjustment.
Conclusion
The Tzotchev Trend Measure represents a significant advancement in technical analysis methodology, combining rigorous statistical foundations with practical trading applications. Its implementation of the J.P. Morgan research methodology provides institutional-quality trend analysis capabilities previously available only to sophisticated quantitative trading firms.
The comprehensive parameter configuration options enable customization for diverse trading styles and market conditions, while the advanced noise filtering and regime detection capabilities provide superior signal quality compared to traditional trend-following indicators. Proper parameter selection and understanding of the indicator's statistical foundation are essential for achieving optimal trading results and effective risk management.
References
Abramowitz, M. and Stegun, I.A. (1964). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. Washington: National Bureau of Standards.
Ang, A. and Bekaert, G. (2002). Regime Switches in Interest Rates. Journal of Business and Economic Statistics, 20(2), 163-182.
Asness, C.S., Moskowitz, T.J., and Pedersen, L.H. (2013). Value and Momentum Everywhere. Journal of Finance, 68(3), 929-985.
Bollinger, J. (2001). Bollinger on Bollinger Bands. New York: McGraw-Hill.
Fama, E.F. and French, K.R. (1988). Permanent and Temporary Components of Stock Prices. Journal of Political Economy, 96(2), 246-273.
Hurst, B., Ooi, Y.H., and Pedersen, L.H. (2013). Demystifying Managed Futures. Journal of Investment Management, 11(3), 42-58.
Jegadeesh, N. and Titman, S. (2001). Profitability of Momentum Strategies: An Evaluation of Alternative Explanations. Journal of Finance, 56(2), 699-720.
Kaufman, P.J. (2013). Trading Systems and Methods. 5th Edition. Hoboken: John Wiley & Sons.
Moskowitz, T.J., Ooi, Y.H., and Pedersen, L.H. (2012). Time Series Momentum. Journal of Financial Economics, 104(2), 228-250.
Tzotchev, D., Lo, A.W., and Hasanhodzic, J. (2015). Designing robust trend-following system: Behind the scenes of trend-following. J.P. Morgan Quantitative Research, Asset Management Division.
趨勢分析
1.618 Legenda - by Broker Killers1.618 LEGENDA — Advanced Fibonacci Trading System
**1. Umumiy tavsif**
**1.618 LEGENDA** — bu ZigZag pivotlar asosida avtomatik tarzda Fibonacci retracement va kengaytmalarni chizuvchi ilg‘or indikator. U trend chiziqlari, yuqori/hajmli SR (Support/Resistance) qutilari, va signallarni birlashtirib, traderlarga aniqroq kirish/chiqish (entry/TP/SL) zonalarini beradi. Skript O‘zbek tilida izohlangan va sozlamalari foydalanuvchi uchun intuitiv qilib berilgan.
**2. Qanday ishlaydi (asosiy g‘oya)**
* Indikator ZigZag pivotlarini (so‘nggi lokal yuqori/past) avtomatik aniqlaydi va shu pivotlardan Fibonacci 0–100% retracement hamda 161.8/261.8/361.8% kengaytmalarni chizadi.
* ZigZag yangi pivotlar kelganda fibo chiziladi — TP1/TP2/TP3 avtomatik hisoblanadi.
* SR Boxes (High Volume) — delta-volumega (up/down volume) asoslangan, yuqori volyumen bo‘lgan pivotlarda avtomatik qutilar yaratiladi. Bu qutilar break/hold holatini tekshiradi va rangini o‘zgartiradi.
* FIB darajalariga “touch” bo‘linganini aniqlab, o‘ng tomonga **siljimaydigan** ✔ (check) label qo‘yadi — bu label chart zoom/tarix o‘zgarganda joyidan siljimaydi (bar\_index + offset asosida).
* Qo‘shimcha: HTF (higher timeframe) EMA filtri, signal sovutish (cooldown), va foydalanuvchi uchun batafsil dashboard (TP, ATR, ZigZag High/Low) mavjud.
**3. Asosiy imkoniyatlar**
* Avtomatik ZigZag va Fibonacci chizish (0–100% + 161.8/261.8/361.8 TPlar).
* FIB darajalariga tegish (touch) aniqlovi va o‘ng tomonga siljimaydigan ✔ belgilar.
* SR Boxes (High Volume): hajmga asoslangan Support/Resistance zonalari, break/hold ko‘rsatkichlari.
* Trend chiziqlari (oxirgi 2 pivotdan) va ushbu chiziqlarga asoslangan buy/sell signallari.
* HTF filtri (EMA), sovutish (cooldown) va alertlar.
* Kengaytirilgan UI jadvali (dashboard) — signal, TP1/TP2/TP3, ATR, ZigZag pivotlar, vaqt/sana.
**4. Ishlatish bo‘yicha maslahatlar (pragmatik tavsiyalar)**
* Har doim indikatorni foydalanayotgan timeframe uchun `Pivot davri (len)` va `Auto ZigZag` sozlamalarini moslang:
* M1–M5: len = 2–5
* M15–M30: len = 3–7
* H1–H4: len = 6–15
* D1+: len = 15–50
* `Box width (ATR × multiplier)` — o‘rnatmangiz bozorning volatilligiga mos bo‘lsin. Tez bozorlar uchun kattaroq (1.5–3), tinch bozorlar uchun kichikroq (0.5–1).
* SR Boxes filtrini ning `Delta Volume Length` ni (`sr_vol_len`) oshirish qutilarning sonini kamaytiradi (faqat aniq, yuqori hajmli zonalar qoladi).
* `HTF Trend Filtri` ni yoqsangiz, faqat yuqori timeframe trendiga mos signallar olinadi — swing/position traderlar uchun tavsiya qilinadi.
* `Cooldown` (sovutish) — signal spamini kamaytiradi; intradayda kichik, uzoq TFlarda kattaroq sozlang.
* FIB-touch checklar chartning o‘ngida joylashadi; agar noto‘g‘ri joylashsa, `FIB Check offset` qiymatini oshiring yoki kamaytiring.
**5. Sozlamalar tavsiyalari (presetlar)**
* Scalping (M1–M5): `Pivot davri = 3`, `Auto ZigZag = on`, `sr_vol_len = 2–4`, `sr_box_width_mult = 0.8–1.2`, `cooldown = 6–12`.
* Intraday (M15–H1): `Pivot davri = 7–10`, `sr_vol_len = 3–6`, `sr_box_width_mult = 1.0–1.6`, `cooldown = 12–24`.
* Swing (H4–D1): `Pivot davri = 15–30`, `sr_vol_len = 6–12`, `sr_box_width_mult = 1.6–3.0`, `cooldown = 24–100`, `HTF Filter = on`.
**6. Alertlar va integratsiya**
* Skript ichida BUY/SELL signallari uchun inson o‘qiydigan alert matnlari qo‘yilgan. TradingView alert dialogida `Once per bar`/`Once per bar close` variantini tanlang.
* TP1/TP2/TP3 chiziqlari bilan birgalikda avtomatlashtirilgan journal yoki qayd uchun webhook alert ishlatishingiz mumkin.
**7. Cheklovlar va xavfsizlik**
* Indikator texnik tahlilga asoslangan — fundament yoki yangilik ta’siri hisobga olinmaydi. Har doim risk boshqaruvini (stop-loss, position sizing) qo‘llang.
* Pine Script cheklovlari (line/label/box limitlari) bor — juda ko‘p vaqt oralig‘i / juda kichik sozlamalar bilan ayrim grafik obʼektlari o‘chirilishi mumkin. Zarur bo‘lsa, `max_lines_count` va `max_labels_count` ni moslang (scriptga kiritilgan minimal chegaralar ichida).
**8. Versiya & litsenziya**
* Versiya: 2.1
* Litsenziya: Mozilla Public License 2.0
* Mualliflik: Broker Killers
**9. Qanday boshlash (Quick start)**
1. Indikatorni chartga qo‘ying.
2. `Pivot davri` ni timeframe ga moslang.
3. `SR Boxes` va `FIB labellar`ni yoqing / o‘chirib ko‘ring.
4. HTF filtr va cooldown sozlamalarini sinab chiqib, eng maqbul presetni saqlang.
5. Demo hisobda bir necha kun sinov o'tkazing — keyin real savdo uchun qo‘llang.
# 1.618 LEGENDA — Advanced Fibonacci Trading System
1. General description
1.618 LEGENDA is an advanced indicator that automatically draws Fibonacci retracements and extensions based on ZigZag pivots. It combines trend lines, high-volume SR (Support/Resistance) boxes and signals to give traders clearer entry / exit (entry / TP / SL) zones. The script is annotated in Uzbek and its settings are made intuitive for users.
2. How it works (core idea)
The indicator automatically detects ZigZag pivots (recent local highs/lows) and draws Fibonacci 0–100% retracements plus 161.8 / 261.8 / 361.8% extensions from those pivots.
When ZigZag produces new pivots the fib levels are redrawn — TP1 / TP2 / TP3 are calculated automatically.
SR Boxes (High Volume): boxes are created automatically on pivots with significant delta volume (up/down). These boxes monitor break / hold conditions and change color accordingly.
The script detects when FIB levels are “touched” and places a non-moving ✔ (check) label to the right — this label does not shift when the chart is zoomed or scrolled (it is positioned using bar_index + offset).
Extras: HTF (higher timeframe) EMA filter, signal cooldown, and a detailed dashboard for the user (TPs, ATR, ZigZag High/Low).
3. Key features
Automatic ZigZag and Fibonacci drawing (0–100% retracements + 161.8/261.8/361.8 TPs).
Touch detection for FIB levels and non-moving ✔ checkmarks.
SR Boxes (High Volume): volume-based Support/Resistance zones with break / hold indications.
Trend lines derived from the last two pivots and buy/sell signals based on those lines.
HTF filter (EMA), cooldown (anti-spam) and alerts.
Expanded UI table (dashboard) — shows signal, TP1/TP2/TP3, ATR, ZigZag pivots, time/date.
4. Practical usage tips (pragmatic recommendations)
Always match the Pivot period (len) and Auto ZigZag settings to the timeframe you’re trading:
M1–M5: len = 2–5
M15–M30: len = 3–7
H1–H4: len = 6–15
D1+: len = 15–50
Set Box width (ATR × multiplier) according to market volatility. Use larger values for fast/volatile markets (1.5–3) and smaller for calm markets (0.5–1).
Increasing the SR Boxes Delta Volume Length (sr_vol_len) reduces the number of boxes (keeps only stronger, higher-volume zones).
If you enable the HTF Trend Filter, signals will only trigger when they align with the higher timeframe trend — recommended for swing/position traders.
Use Cooldown to reduce signal spam: small values for intraday, larger for higher timeframes.
FIB-touch check marks are placed to the right of the chart; if placement seems off, adjust the FIB Check offset setting.
5. Settings recommendations (presets)
Scalping (M1–M5): Pivot period = 3, Auto ZigZag = on, sr_vol_len = 2–4, sr_box_width_mult = 0.8–1.2, cooldown = 6–12.
Intraday (M15–H1): Pivot period = 7–10, sr_vol_len = 3–6, sr_box_width_mult = 1.0–1.6, cooldown = 12–24.
Swing (H4–D1): Pivot period = 15–30, sr_vol_len = 6–12, sr_box_width_mult = 1.6–3.0, cooldown = 24–100, HTF Filter = on.
6. Alerts & integration
Human-readable alert messages for BUY/SELL signals are built into the script. In TradingView alert settings choose Once per bar or Once per bar close.
Use webhook alerts to integrate TP1/TP2/TP3 lines with external journaling or automation systems.
7. Limitations & safety
The indicator is based on technical analysis only — it does not consider fundamentals or news. Always use proper risk management (stop-loss, position sizing).
Pine Script has limits on total lines/labels/boxes — extremely aggressive settings across long history may remove some graphical objects. If needed, adjust max_lines_count / max_labels_count within the script limits.
8. Version & license
Version: 2.1
License: Mozilla Public License 2.0
Author: Broker Killers
9. Quick start
Add the indicator to your chart.
Match the Pivot period to your timeframe.
Toggle SR Boxes and FIB labels on/off to test visuals.
Try HTF filter and cooldown settings and save the preset that works best for you.
Test on a demo account for a few days before using in live trading.
Kyoshiro - FVG + Order Blocks📌 Kyoshiro – FVG + Order Blocks
This indicator combines Order Block (OB) detection with an intelligent auto-management system and a clean visual display on the chart.
It is designed to help traders better identify institutional zones where price frequently reacts.
⚙️ Key Features:
✅ Real-time detection of bullish and bearish Order Blocks.
✅ Automatic cleanup: invalidated OBs are removed to keep the chart clean.
✅ Customizable display:
Maximum number of visible OBs (bullish / bearish).
Zone colors, outlines, and midlines.
Line styles (solid, dashed, dotted) and adjustable width.
✅ Choice of mitigation method:
Wick
Close
✅ Built-in alerts:
Formation of bullish or bearish OB.
Mitigation of an existing OB.
🔔 Available Alerts:
Bullish OB Formed → A bullish order block is detected.
Bearish OB Formed → A bearish order block is detected.
Bullish OB Mitigated → A bullish OB has been invalidated.
Bearish OB Mitigated → A bearish OB has been invalidated.
🎯 Use Cases:
Quickly identify key liquidity zones.
Track institutional activity in the market.
Improve entry and exit precision.
Multiple Divergence Scanner (move to candles and merge scales)This indicator detects and visualizes multiple types of RSI-based divergences, including Regular, Hidden, and Dual-source (Multi) Bullish/Bearish signals. Not limited with RSI only. You can add move functions and it will automaticly combine your options.
It offers customizable score filtering, label positioning, and visual styling.
Ideal for traders who seek both technical precision and symbolic clarity in their charts.
You have to drag it to your candles after adding to your chart. Then right click on price->Merge all scales to right/left.
ETFs Sector PerformanceDisplays a table of the Top 8 performing ETFs over a selected period (1M / 2M / 3M / 6M) to quickly identify industry strength.
Pre-Set Universe (39 ETFs)
ITA — iShares U.S. Aerospace & Defense ETF
DBA — Invesco DB Agriculture Fund
BOTZ — Global X Robotics & Artificial Intelligence ETF
JETS — U.S. Global Jets ETF
XLB — Materials Select Sector SPDR Fund
XBI — SPDR S&P Biotech ETF
PKB — Invesco Dynamic Building & Construction ETF
ICLN — iShares Global Clean Energy ETF
SKYY — First Trust Cloud Computing ETF
DBC — Invesco DB Commodity Index Tracking Fund
XLY — Consumer Discretionary Select Sector SPDR Fund
XLP — Consumer Staples Select Sector SPDR Fund
BLOK — Amplify Transformational Data Sharing ETF
KARS — KraneShares Electric Vehicles & Future Mobility ETF
XLE — Energy Select Sector SPDR Fund
ESPO — VanEck Video Gaming and eSports ETF
XLF — Financial Select Sector SPDR Fund
PBJ — Invesco Dynamic Food & Beverage ETF
ITB — iShares U.S. Home Construction ETF
XLI — Industrial Select Sector SPDR Fund
PAVE — Global X U.S. Infrastructure Development ETF
PEJ — Invesco Dynamic Leisure & Entertainment ETF
LIT — Global X Lithium & Battery Tech ETF
IHI — iShares U.S. Medical Devices ETF
XME — SPDR S&P Metals & Mining ETF
FCG — First Trust Natural Gas ETF
URA — Global X Uranium ETF
PPH — VanEck Pharmaceutical ETF
QTUM — Defiance Quantum Computing & Machine Learning ETF
IYR — iShares U.S. Real Estate ETF
XRT — SPDR S&P Retail ETF
SOXX — iShares Semiconductor ETF
BOAT — SonicShares Global Shipping ETF
IGV — iShares Expanded Tech-Software Sector ETF
TAN — Invesco Solar ETF
SLX — VanEck Steel ETF
IYZ — iShares U.S. Telecommunications ETF
IYT — iShares U.S. Transportation ETF
XLU — Utilities Select Sector SPDR Fund
All-In-One MA Stack ScalperWhat is this Indicator?
This tool is an advanced, multi-layered breakout and trend-following indicator designed for lower timeframes. It identifies high-conviction buy and sell signals by combining moving average stacking with a suite of professional-grade filters.
How Does It Work?
A signal is generated only when ALL of the following conditions are met:
Moving Average Stack (5M Chart):
Buy: The close price is above all five moving averages (MAs: 100, 48, 36, 24, 12).
Sell: The close price is below all five MAs.
Volatility Filter (ATR):
Signals only print when the current ATR (14) is at least 80% of its 100-period average, ensuring you only trade in actively moving markets.
Candle Structure Filter:
The current candle must have a real body that is at least 35% of the candle’s total range, filtering out dojis and indecision bars.
Big Candle Filter:
The candle’s total range must be at least 40% of the current ATR, avoiding signals on minor, insignificant moves.
Volume Filter:
The current volume must be at least 80% of its 50-period average, filtering out signals during illiquid or quiet market conditions.
Minimum Distance from All MAs:
Price must be a minimum distance (20% ATR) away from each MA, confirming a clean breakout and avoiding signals in tight MA clusters or ranging markets.
RSI Momentum Filter:
Buy: RSI(14) must be greater than 55.
Sell: RSI(14) must be less than 45.
This ensures trades are only taken in the direction of momentum.
ADX Trend Filter:
ADX(14,14) must be above 20, ensuring signals only print in trending conditions (not in chop/range).
Minimum Bars Between Signals:
Only one signal per direction is allowed every 10 bars to avoid overtrading and signal clustering.
What Does This Achieve?
Reduces noise and false signals common in basic MA cross or stack systems.
Captures only strong, high-momentum, and high-conviction moves.
Helps you avoid chop, range, and news whipsaws by combining multiple market filters.
Perfect for advanced scalpers, intraday trend followers, or as a trade filter for algos/EAs.
How to Use It:
Apply to your 5-minute chart.
Green BUY signals: Only when all bullish conditions align.
Red SELL signals: Only when all bearish conditions align.
Use as a stand-alone system or as a filter for your own entries.
Recommended For:
Scalpers & intraday traders who want only the best opportunities.
EA and bot builders seeking reliable signal logic.
Manual traders seeking confirmation of high-probability breakouts.
Tip:
Adjust any of the filters (e.g., RSI/ADX thresholds, minBars, minDist) to make it more/less selective for your style or market.
Time separator by @alvaro.alemanfxThis indicator draws vertical lines on your chart at specific times you define.
You can customize the timezone, line style, color, thickness, and number of consecutive bars.
It allows setting a date range for drawing and recycles old lines to avoid exceeding limits.
You can also restrict the lines to appear only within your chosen minimum and maximum timeframes.
RED: Buy & Sell AlertsRED Alerts: Buy & Sell: Overview
RED Alerts is a decision-support indicator that blends multiple market cues (trend, volatility, structure, and flow) into a 0–10 score, highlighting potential BUY and SELL zones directly on your chart.
How to read it
Colored dots
Green below the bar = potential BUY
Red above the bar = potential SELL
Color intensity reflects signal strength (score).
Numbered label (≥ 9/10)
Marks a very strong signal. The label is slightly offset from price for readability.
Alerts
Create TradingView alerts with the built-in conditions:
BUY / SELL at score ≥ 7, ≥ 8, ≥ 9, ≥ 10
Enable only the alert tiers you want to receive.
Key settings
Min score (BUY / SELL), set your own thresholds (otherwise uses adaptive defaults per timeframe).
Label offset, adjust (in ATR) to avoid overlapping with bars.
Minimum alert score, define the score needed to trigger an alert.
BUY / SELL toggles, choose which alert types are active.
Heads-up
If the symbol lacks usable volume data, a warning appears and the maximum score is capped.
Best practices
Use RED Alerts as a context filter and potential trigger, alongside your plan, risk management, and price reading. Signals are not buy/sell recommendations.
RED: Buy & Price TargetRED: Buy & Price Target: one clear exit, pre-planned
What it does:
Triggers a BUY only when a single price target above entry is pre-defined and at least +3% away.
Auto-closes positions if the target isn’t reached within a time-based cap (adapted to the chart’s timeframe).
On-chart display:
Green label (below BUY candle):
💰 entry price + 🎯 target price
Red 🎯 (above candle): target hit.
Red ⏱️: time-capped exit with ≥+3% gain.
Orange ❌: time-capped expiration with <+3% result.
(🎯/⏱️/❌ appear only for BUY signals from this indicator.)
Alerts included:
BUY (≥3%)
Target Hit (🎯)
Time-Capped Exit (⏱️)
Expiration (❌)
Disclaimer:
This indicator is in beta. It is provided as-is for research/education and not as financial advice. Signals can be wrong; always backtest, manage risk, and trade at your own discretion.
SMC Structure Suite — BOS/CHOCH, Order Blocks, TrendsSMC Structure Suite — Market Structure, BOS/CHOCH, Order Blocks
Advanced Smart Money Concepts Analysis Tool
This comprehensive market structure indicator provides institutional-grade analysis for professional traders seeking precise market timing and trend identification. Built on rigorous Smart Money Concepts methodology, the indicator delivers reliable structural analysis with mathematical validation.
Core Functionality:
Market Structure Analysis: Automated detection and classification of HH, HL, LH, and LL using a proprietary pullback validation algorithm. Eliminates false signals through systematic confirmation requirements.
Break of Structure & Change of Character: Real-time identification of structural breaks and trend reversals. Provides clear visual confirmation of institutional order flow shifts and market sentiment changes.
Order Block Detection: Algorithmic identification of institutional supply and demand zones with automatic invalidation logic. Pinpoints areas where smart money has previously executed significant positions.
Trend Classification System: Dynamic trend state analysis with immediate updates upon structural confirmation. Provides clear directional bias for optimal entry and exit timing.
Technical Specifications:
Zero repainting architecture ensures signal reliability
Multi-timeframe compatibility across all market sessions
Configurable analysis periods and visual parameters
Professional labeling system with institutional terminology
Comprehensive backtesting and validation capabilities
Designed for traders following Smart Money Concepts strategy and methodology.
Forex Currency Strength What this indicator does
It compares the relative strength of the 8 major currencies (USD, EUR, GBP, JPY, AUD, CAD, NZD, CHF) by looking at all 28 currency pairs. Each currency is smoothed (averaged) with a moving average to reduce noise.
From this it shows:
• Currency strength lines → how each major currency is performing over time (optional view).
• Pair divergence histogram → the difference in strength between the two currencies of the chart pair (e.g. EUR vs USD on an EURUSD chart). Green means the base currency is stronger, red means the quote currency is stronger.
• Ranking table → shows the strongest to weakest currency at the current moment. The strongest is highlighted green, the weakest red.
• Session highlighting → shows your chosen trading session on the chart (background shading, optional vertical line at the session start).
• Alerts → you can set TradingView alerts when:
• the pair divergence crosses above or below zero
• the divergence strength gets big enough (above your threshold)
• the difference between the strongest and weakest currency becomes large
⸻
👉 In plain words:
This indicator helps you quickly see which currencies are strong, which are weak, and whether the pair you are trading has a clear directional bias. It also highlights trading sessions and can notify you when strong moves or imbalances appear.
// ─────────────────────────────────────────────────────────────
// Forex Currency Strength (8 Majors, %R) + Divergence + Ranking
// ─────────────────────────────────────────────────────────────
//
// === Inputs ===
//
// exchPrefix → Broker/feed prefix (e.g. "OANDA:", "FX:", or "" for ICMarkets)
// tf → Data timeframe (empty = chart timeframe)
// smoothLen → Smoothing length (MA) for currency strength (default = 14)
// smoothMethod → MA method (SMA, EMA, WMA, DEMA)
// viewMode → Display mode: "Strength Lines", "Pair Divergence", "Both"
// (Tip: set to "Pair Divergence" to hide lines by default)
// barsLimit → Number of bars to display
//
// sessionStr → Trading session time (e.g. "0800-1700"); session is highlighted on chart
//
// alertDivAbs → Threshold for alerts on |divergence|
// alertGapTF → Threshold for alerts on Top–Flop ranking gap
//
// scaleK → Scaling factor (here ×1000)
//
// rankPos → Position of the ranking table (top/bottom left/right)
// rankTextSize → Font size for the ranking table (tiny, small, normal, large, huge)
//
// === Outputs ===
//
// • 8 currency strength lines (optionally visible)
// • Divergence (current pair) as histogram
// • Ranking table (top & flop highlighted)
// • Session highlighting (background color + optional vertical line)
// • Alerts on divergence crosses, |divergence| thresholds & top–flop gaps
//
// === Alert Conditions ===
//
// longDivCross → Divergence (current pair) crosses above 0
// shortDivCross → Divergence (current pair) crosses below 0
// divAbsUp → |Divergence| exceeds alertDivAbs threshold
// gapUp → Top–Flop ranking gap exceeds alertGapTF threshold
//
// ─────────────────────────────────────────────────────────────
MS - Crypto RSI-Based Trading StrategyThis is a comprehensive trend-following and momentum-based strategy designed for the cryptocurrency market. It combines multiple leading indicators to filter out market noise and generate high-quality buy and sell signals.
Key Indicators:
Moving Average (MA): To determine the main trend direction.
Relative Strength Index (RSI): To measure momentum and identify overbought/oversold conditions.
Directional Movement Index (DMI): To confirm the strength of the trend.
Volume & ATR: To validate market interest and filter out excessive volatility.
Buy Conditions (All Must Be True):
Price and Trend Alignment: The current price is above the MA50 (with a 5% buffer).
Momentum Confirmation: The RSI is between 50 and 70.
Trend Strength: The +DI is greater than the -DI.
Market Interest: Volume is 1.5 times its moving average.
Low Volatility: The ATR is below its average.
Sell Conditions (Any One Is True):
Trend Reversal: The price drops below the MA50 (with a 5% buffer).
Momentum Loss: The RSI drops below 45.
Trend Weakness: The -DI crosses above the +DI.
Market Fatigue: Volume drops below 50% of its moving average.
High Volatility: The ATR is above its average.
Disclaimer: This is a backtesting tool and not financial advice. Past performance is not an indicator of future results. Always use proper risk management and conduct your own research before trading.
[MAB] Fibbonacci-Retracement-Tool🔹 Overview
Fibonacci retracement helps map potential support/resistance during pullbacks. This tool lets you manually select two swing points A & B ; it then plots retracement levels ( 38.2% , 61.8% , 78.6% ) and displays whether the retracement remains valid or becomes invalid (devalidation) based on price interaction. It provides a structured, visual framework to study price behavior—not a prediction engine.
____________________________________________________________
⚙ Key Features
Custom Swing Selection — Choose swing points A & B to generate the structure.
Focused Levels — Plots only 38.2%, 61.8%, 78.6.
Validation / Devalidation — Clearly shows when the retracement setup holds or fails.
Bullish & Bearish Modes — Works in both trend directions.
Clean Visuals — Minimal clutter, clear chart structure.
____________________________________________________________
📖 How to Use
Select Point A (a swing low or high).
Select Point B (the opposite swing). Important: Point B must always come after Point A on the chart. If B is placed before A, the indicator will show an error.
The indicator plots retracements (38.2%, 61.8%, 78.6).
Observe validation or devalidation as price interacts with these levels.
____________________________________________________________
🖼️ Visual Representation / Chart Explanation
Examples to illustrate how the tool validates or devalidates a Fibonacci structure.
Bearish Validation Criteria — Price action validating a bearish Fibonacci setup:
Bullish Validation Criteria — Price action validating a bullish Fibonacci setup:
Devalidation Criteria — Candle closes beyond a Fibonacci level, invalidating the setup:
Devalidation Example — Setup de-validated because the candle closed above the devalidation line:
____________________________________________________________
📊 Recommended Charting
Markets: Stocks, Indices, Forex, Crypto.
Timeframes: Best on 15m → Daily.
Confluence: Improves with trendlines, MAs, or candlestick context.
____________________________________________________________
🛡 Risk Management
Treat Fibonacci as a guide , not a prediction.
Always apply your own trading discipline and position sizing.
____________________________________________________________
⚠️Important Notes
This indicator is for educational and visual analysis only.
Not financial advice or a performance guarantee.
____________________________________________________________
✅ Conclusion and Access
This Fibonacci Tool offers a disciplined, visual approach to studying retracements. By focusing on the key levels (38.2, 61.8, 78.6) and plotting validation/devalidation, it enhances chart analysis while remaining simple, flexible, and educational.
👉 For how to request access, please see the Author’s Instructions section below.
____________________________________________________________
⚠️ Disclaimer
📘 For educational purposes only.
🙅 Not SEBI registered.
❌ Not a buy/sell recommendation.
🧠 Purely a learning resource.
📊 Not Financial Advice.
CBT Model- Culture Pulse ProThis CBT Model helps trader to identify possible buying and selling opportunity . This is base on directional candle structure bias. NOTE: Not all the cbt signals are guaranteed to win, better to apply your approach and do not enter the cbt signals blindly.
Multi Timeframe Indian Stocks TrendsThis script, "Multi Timeframe Indian Stocks Trends," is designed for swing trading in the Indian stock market, with a specific focus on Nifty50. It provides a comprehensive view of trends across multiple timeframes: 1-hour, 4-hour, Daily, Weekly, and Monthly.
Key Features:
Multi-Timeframe Analysis: Gain insights into trends across 1H, 4H, D, W, and M timeframes, helping you make informed swing trading decisions.
Trend Calculation Methods: Choose between two popular trend calculation methods:
Supertrend: A widely used indicator that identifies trend direction and provides potential entry and exit points.
EMA (Exponential Moving Average): Utilizes the relationship between a fast and slow EMA to determine trend direction.
Customizable Trend Table: A clear and concise table displays the trend direction for each selected timeframe, making it easy to grasp the overall market sentiment.
Nifty50 Reference: The script is tailored for Indian stocks and includes a reference to Nifty50, allowing you to gauge the broader market trend.
Visual Customization: Adjust the colors of the trend table, background, and text to suit your preferences.
Adjustable Settings: Fine-tune the parameters for Supertrend (ATR Length, Factor) and EMA (Fast EMA, Slow EMA) to optimize the indicator for your trading style.
This script is ideal for traders who want to:
Identify swing trading opportunities in Indian stocks.
Confirm trends across various timeframes.
Utilize either Supertrend or EMA for trend analysis.
Have a quick and clear overview of market trends.
By providing a multi-timeframe perspective and customizable trend analysis, this script empowers traders to make more confident and well-informed swing trading decisions in the Indian stock market.
ECG Sanbot IndicatorNot my best but my first strategy to pass prop firms. Strength based signals. Change the length and repainting settings before setting alerts up.
First strategy to pass my prop firm. Change the tf and length to see reliable signals. Option to remove repainting if you want to set alerts. Not the best compared to my other scripts but will always get you in the green.
Core Logic
Calculates a double-smoothed EMA source on a higher timeframe (tf input).
Builds two RSI streams:
Repainting RSI (lookahead on) → reacts quickly to market changes.
Non-repainting RSI (lookahead off) → provides stable, confirmed values.
Computes the ECG difference between the two RSI streams.
Generates a buy signal when the ECG difference crosses above the upper threshold.
Generates a sell signal when the ECG difference crosses below the lower threshold.
Risk Management
Each trade uses a fixed trade size (trade_size).
Built-in stop-loss and take-profit controls:
Stop Loss: default 0.1% from entry price.
Take Profit: default 0.2% from entry price.
Both long and short entries are supported (direction selectable).
Customization Options
Adjustable timeframe (tf) for RSI source.
Fully configurable thresholds, lengths, and EMA smoothing.
Toggle between repainting vs. non-repainting behavior.
Backtest period controls (start and end date).
Visualization
Plots the ECG difference line in red.
Displays horizontal threshold lines for signal reference.
Wyckoff Smart Money Pro [MTF]Wyckoff + VSA + MTF confluence in one tool.
This indicator detects trading ranges, phases (A–E), core Wyckoff events (SC/AR/ST/SOS/UTAD/SOW…), VSA patterns (ND/NS/SV/BC/SC…), and generates high-confidence buy/sell signals with optional risk-reward and a compact info dashboard. Multi-timeframe (MTF) context is built in, so lower-TF entries can align with higher-TF structure.
What it shows
- Trading Ranges: auto-detected range High/Low with Creek / Ice / Mid lines (plus 25% & 75% levels).
- Wyckoff Phases: A → E backgrounds driven by recent events & range position.
- Events & Patterns: Spring, Test, UTAD, SOW/SOS, Multiple Springs, Terminal Shakeout, Creek/Ice Jumps.
- VSA Suite: No Demand / No Supply, Stopping Volume, Buying/Selling Climax, Shakeout, Upthrust, Bag Holding, Dry-Up…
- Composite Operator (CO) Strength (0–100): cumulative activity bias from volume & spread logic.
- Divergences: classic + hidden (volume delta / effort vs result).
- Signals: context-aware buy/sell with confidence (1–10) and optional R:R, filtered by structure & CO.
- Volume Profile (Range-local): on-range POC / Value Area High / Low.
- Dynamic S/R & VWAP: rolling support/resistance, VWAP reference.
- Dashboard: phase, structure, CO%, last event, rel. volume, divergence, E-vs-R, win-rate snapshot, and HTF trend.
Multi-Timeframe (MTF)
- Auto HTF from chart TF × multiplier (or set a Custom HTF).
- Pulls HTF Spring/UTAD/SOS/SOW, CO strength, ranges & phase, then shades background for alignment.
Signals (summary)
- Buy: Springs/Tests/Shakeout (+ VSA confirm) or SOS/Creek Jump (+ CO & Phase C/D).
- Sell: UTAD/Failed Spring (+ VSA confirm) or SOW/Ice Jump (+ CO & Phase C/D).
- Final filter (optional): enforces CO bias, structure (no buys in Distribution, etc.), E-vs-R, and persistence counters.
Tip: Raise Minimum Signal Confidence for fewer, higher-quality setups; enable Show Risk/Reward to print SL/TP guide lines.
Alerts included
- All core Wyckoff events, VSA patterns, HTF events, phase/structure changes, and Buy/Sell signals (meets confidence). Configure from the Alerts panel after adding the indicator.
Key Inputs
- Display toggles, Dashboard position/size/rows/transparency, MTF (Multiplier/Custom HTF), Range Detection, VSA sensitivity & climax multipliers, Signal threshold & R:R, color choices
Chart Legend — Labels, Icons & Colors
Wyckoff Events (on-chart labels)
PS — Preliminary Support (green)
SC — Selling Climax (label up, orange on VSA plot; event color red)
AR — Automatic Rally (green)
ST — Secondary Test (blue)
Spring — True spring; shown as ◆ (lime), placed below bar
✓ Test — Test of spring (green check), below bar
SOS ▲ — Sign of Strength (lime triangle up), above mid-range / breakout
LPS ◦ — Last Point of Support (green circle), support retest
PSY — Preliminary Supply (red)
BC — Buying Climax (red)
UTAD ◆ — Upthrust After Distribution (maroon diamond), above bar
SOW ▼ — Sign of Weakness (red triangle down)
LPSY ◦ — Last Point of Supply (red circle), resistance retest
TS ⚡ — Terminal Shakeout (lime lightning), strong bullish flush
MS — Multiple Springs (lime “◆◆”)
CJ ↗ — Creek Jump (green arrow up-right), bullish continuation
IJ ↘ — Ice Jump (red arrow down-right), bearish continuation
mSOS △ / mSOW ▽ — Minor SOS/Minor SOW (green/ red hollow triangles)
Note on “TS”: The script uses TS for two different contexts:
• TS ⚡ = Terminal Shakeout (event, lime lightning icon)
• TS (VSA plot) = Test for Supply (orange label, above bar—see VSA list below)
VSA Pattern Labels (orange mini labels)
ND — No Demand (bearish)
NS — No Supply (bullish)
SV — Stopping Volume (printed above or below depending on close position)
BC / SC — Buying/Selling Climax (VSA context)
PA / PD — Professional Accumulation / Professional Distribution
BH — Bag Holding
DU — Volume Dry-Up
SO — Shake Out
TS — Test for Supply (bearish VSA test)
Range & Phase Visuals
Range Box — semi-transparent blue rectangle between rangeHigh and rangeLow.
Creek (green dotted) — upper inner liquidity contour (~upper 1/3).
Ice (red dotted) — lower inner liquidity contour (~lower 1/3).
Mid (gray dashed) — midpoint of range; also 25% / 75% helper levels internally.
POC (yellow solid) — Point of Control within the detected range.
VAH / VAL (purple dotted) — Value Area High / Low (~70% volume region).
Phase Backgrounds
Phase A: light red
Phase B: light yellow
Phase C: light orange
Phase D: light green
Phase E: light blue
HTF Event Background (when MTF on & events detected)
Spring: faint lime
UTAD: faint maroon
SOS: faint green
SOW: faint red
Dynamic S/R, VWAP & Risk/Reward
Dynamic Support / Resistance — green/red step-lines (20-bar extremes).
VWAP — blue line; vwapSupport/vwapResistance are used internally for context.
SL/TP — dashed red (stop) and green (target) lines when signals print and Show Risk/Reward is enabled.
Signal Markers — lime triangle up (Buy) / red triangle down (Sell).
- A tiny label near the marker shows Confidence (x/10) and optional R:R.
Dashboard (top-right by default)
Phase (A–E), Structure (Accumulation / Re-Accumulation / Distribution / Re-Distribution / Neutral),
CO Strength (%), Last Event, Relative Volume (×), Divergence, Effort vs Result, Win Rate snapshot,
HTF row: simple ↑ / ↓ / → trend and HTF close if enabled.
How to use (quick plan)
Read Dashboard (Phase/Structure/CO). 2) Seek HTF alignment.
Wait for event + VSA confluence near range edges (Creek/Ice).
Execute only when signal confidence ≥ threshold and R:R is acceptable.
Manage trade with the printed SL/TP and your own execution rules.
Notes
Works on most symbols/timeframes; VSA logic benefits from liquid markets.
The win-rate is a rolling snapshot—not a full backtest.
This is an indicator, not financial advice.
Disclaimer & Access
This indicator is being released free for all users for the first month.
After that period, it will become invite-only access.
The script is provided for educational and research purposes only and does not constitute financial advice. Trading involves risk - use at your own discretion.
Engulfing Pro v1Engulfing Pro v1 — Pro Inside (C2-in-wick) signals
Engulfing Pro v1 finds a precise three-bar sequence designed to catch clean continuations or turns after an impulsive move. The signal—called Pro Inside—fires when price closes back inside the wick of a prior engulfing bar, often indicating a controlled pullback into freshly swept liquidity.
What it detects
Engulfing pre-condition (Bars -2 → -1):
A strict bullish or bearish body engulfing occurs one bar before the signal (larger body, full body containment).
Pro Inside signal (Bar 0 / C2):
The current bar (C2) closes inside the wick of the engulfing bar (C1):
Bullish: C2 closes inside C1’s upper wick
Bearish: C2 closes inside C1’s lower wick
Optional C3 confirmation (info only):
The next bar closes beyond C2’s extreme (above for bullish, below for bearish).
Why it matters
The “close-inside-wick” structure frequently marks a measured pullback after momentum just flipped (engulfing), offering a clear, rules-based entry with defined invalidation.
Inputs
Show Pro Inside (Bullish) — toggle bullish signals
Show Pro Inside (Bearish) — toggle bearish signals
Change bar color on signal (C2) — color C2 (lime/red)
Plot markers — C2 triangles and ✔ on C3 confirmations
Boundary padding (ticks) — nudge wick bounds to reduce marginal touches
Visuals & Alerts
Markers:
“C2” triangle up/down on qualifying bars
“✔” circle on C3 confirmations
Alert names:
Pro Inside (Bullish)
Pro Inside (Bearish)
Pro Inside — Bullish C3 confirmation
Pro Inside — Bearish C3 confirmation
How to use (ideas, not advice)
Entry: Aggressive at/after C2 close; conservative on C3 confirmation.
Stops: Common placements beyond the opposite side of C2, or beyond C1’s wick.
Confluence: Pair with market structure, higher-timeframe bias, or Supply & Demand zones for selectivity.
Timeframes/markets: Works on any symbol/TF; adapt padding for volatility.
Notes
Evaluates on bar close (no look-ahead).
Visual/alert tool for study and workflow—not financial advice.
Always forward-test and risk-manage appropriately.
Aslan - Signals, Overlays & PA Toolkit [6.4]SIGNALS & OVERLAYS INDICATOR
Next-generation trading signals powered by advanced algorithms, paired with precision overlays for added confidence.
Features:
3 Signal Models: Contrarian, Confirmation & Kernel
6 Asset-Class Specific Signal Filters
Auto Fibonacci Retracements
Dynamic Kernel-Based Support & Resistance
Trend Status Meter (Bar Coloring)
Volatility Bands (Standard Deviation)
PRICE ACTION TOOLKIT
Comprehensive price action analysis designed to highlight key market POIs and institutional levels with clarity.
Features:
Full Multi-Timeframe Functionality
Institutional Volumized Supply & Demand
Market Structure (BOS, MSS, CHoCH, EQL, EQH)
Displacement & Inducement Zones
Fair Value Gaps & Liquidity Mapping
Key Levels & Session Levels
Point of Control & Dealing Ranges
Equilibrium Tracking
Smart Trendlines & Trendline Signals
Trend Following S/R Fibonacci StrategyTrend Following S/R Fibonacci Strategy
Trend Following S/R Fibonacci Strategy
Silent Trigger Silent Trigger combines widely used concepts under one scoring engine. Each module adds weight only when its conditions are met:
1. Higher-Timeframe (HTF) context
• Requests 1H and the next HTF up (e.g., 4H/D) with request.security(...) on confirmed bars only.
• Uses RSI(14) and a MACD line (EMA12–EMA26 difference) for bias.
• By default HTF weights the score. There is an option to require HTF alignment if you prefer a hard filter.
2. Market regime
• ADX for trend strength.
• Bollinger Band width and a fractal-energy proxy to detect squeeze/coiling vs expansion.
3. Smart-money / Wyckoff structure
• High-volume narrow bars, absorption, spring/upthrust, and liquidity grabs past recent swing highs/lows.
4. Momentum & divergences
• RSI and MACD-line divergences (regular + hidden) and simple exhaustion checks.
5. Fair Value Gaps (FVG)
• 3-bar gap with mid-gap revisit confirmation.
6. Volume context
• Relative volume and a compact 10-bin rolling volume profile to locate HVN proximity.
7. Sessions / time filter
• Optional London/NY “kill zone” participation filter.
8. Correlation (optional)
• Simple BTC trend check for USD-quoted markets.
Pre-Move (yellow) logic:
Triggers only when the market is compressed (squeeze/low fractal energy), ADX is rising, the MACD histogram is near zero (pressure building), and there is a money-flow impulse (MFI slope and/or OBV Z-score spike).
The yellow diamond is plotted on the side of the expected move:
• Below for bullish reversals / Above for bullish breakouts.
• Above for bearish reversals / Below for bearish breakouts.
A built-in cooldown keeps yellows from spamming.
⸻
What appears on the chart
• Bull diamond (green): Total score ≥ your threshold and > bear score.
• Bear diamond (magenta): Mirror of the above.
• Pre-move (yellow): Early heads-up; use it with HTF context and structure.
All diamonds are intentionally tiny to minimize clutter.
⸻
Key settings
• Signal Mode & Min Probability – tighten/loosen confirmations.
• Use Higher TF in Scoring – soft weighting (default).
• Require HTF Alignment – optional hard gate.
• Module toggles – Smart Money, Wyckoff, FVG, Correlation, Sessions.
• Pre-Move – enable, cooldown bars, MFI levels, OBV Z-score threshold.
⸻
How to use (practical)
1. Choose a TF that matches your style (5–15m intraday, 1H–4H swing).
2. Read HTF bias first; trade in that direction unless structure clearly supports a reversal.
3. Treat yellow as “get ready.” Act only when a green/magenta prints with structure (S/R, FVG, HVN) and acceptable risk.
4. Place stops beyond the liquidity level or FVG midpoint; size positions conservatively.
⸻
Repainting & HTF policy
• No lookahead is used anywhere.
• request.security is called on confirmed bars; the HTF MACD line is computed inside the HTF context (single series), not by indexing a tuple.
• Signals are designed for bar-close confirmation. Intra-bar alerts can change until the bar closes.
⸻
Limitations (honest)
• Money-flow features depend on volume quality; thin/synthetic volume reduces reliability.
• Pre-moves can fail during unscheduled news shocks or when HTF trend is dominant.
• This is not financial advice. You are responsible for entries, exits, and risk.
⸻
Alerts
Built-in bull/bear alerts include direction and a probability bucket (Basic/Moderate/Strong/Extreme).
Pre-move yellows are primarily visual; you can still set an alert on their plot condition if desired.
⸻
Why this isn’t a “mashup”
• A single probability engine blends HTF bias, structure (liquidity/Wyckoff/FVG), regime, and volume into a score, rather than stacking unrelated indicators.
• A pre-move detector that requires compression + rising trend energy + money-flow impulse, and places the marker on the side of the expected move, with cooldown control.
• A lightweight rolling HVN check to bias continuation vs mean-reversion near key nodes.
⸻
Changelog (summary)
• Current release: pre-move module, HTF hard-gate option, tiny diamonds, clarified HTF/no-repaint policy, session filter tidy-up.
Fractal Model [Free+] (T-Trades)Fractal Model (T-Trades)
A powerful implementation of TTrades' Fractal Model for algorithmic price delivery analysis, featuring T-spot identification, sweep signals, and multi-timeframe analysis.
Introduction:
Crafted with TTrades, the Fractal Model empowers traders with a refined approach to Algorithmic Price Delivery. Specifically designed for those aiming to capitalize on expansive moves, this model anticipates momentum shifts, swing formations, orderflow continuations, as well as helping analysts highlight key areas to anticipate price deliveries.
Description:
The Fractal Model° is rooted in the cyclical nature of price movements, where price alternates between large and small ranges. Expansion occurs when price moves consistently in one direction with momentum. By combining higher Timeframe closures with the confirmation of the change in state of delivery (CISD) on the lower Timeframe, the model reveals moments when expansion is poised to occur.
Thanks to TTrades' extensive research and years of studying these price behaviors, the Fractal Model° is a powerful, adaptive tool that seamlessly adjusts to any asset, market condition, or Timeframe, translating complex price action insights into an intuitive and responsive system.
The TTrades Fractal Model remains stable and non-repainting, offering traders reliable, unchanged levels within the given Time period. This tool is meticulously designed to support analysts focus on price action and dynamically adapt with each new Time period.
Key Features:
Custom History: Control the depth of your historical view by selecting the number of previous setups you'd like to analyze on your chart, from the current setup only (0) to a history of up to 40 setups. This feature allows you to tailor the chart to your specific charting style, whether you prefer to see past setups or the current view only.
Fractal Timeframe Pairings: This indicator enables users to observe and analyze lower Timeframe (LTF) movements within the structure of a higher Timeframe (HTF) candle. By examining LTF price action inside each HTF candle, analysts can gain insight into micro trends, structure shifts, and key entry points that may not be visible on the higher Timeframe alone.
Bias Selection: This feature allows analysts complete control over bias and setup detection, allowing one to view bullish or bearish formations exclusively, or opt for a neutral bias to monitor both directions.
Higher Time Frame Candles (PO3): The Fractal Model° integrates the HTF Power of Three framework, enabling traders to visualize and spot critical turning points live.
T-Spot Identification: The T-Spot marks anticipated points of the higher Timeframe candles where price wicks are expected to form, based on TTrades' refined analysis and methodology.
T-Spot Sweep Signals: Advanced confirmation system that identifies when T-spots are swept with proper pivot confirmation, providing high-probability entry signals.
TTFM Labels (C2/C3/C4): Dynamic labeling system that tracks Pivot Candle Formation
TTrades Framework Customization:
Candle Equilibrium: Indicates 50% levels of higher time frame ranges, displaying discount and premium zones that provide additional context for potential entries and exits.
T-Spot Sweep Confirmation: Our implementation includes enhanced sweep detection with confirmation-based signals, showing when T-spots are properly swept with pivot validation.
Multi-Timeframe Analysis: Seamlessly analyze price action across multiple timeframes with automatic HTF detection.
Visual Customization: Fully customizable colors, sizes, and display options to match your trading style.
Usage Guidance:
Add Fractal Model (T-Trades) to your TradingView chart
Select your preferred Time pairings and model history
Configure T-spot bias and sweep signal preferences
Automate your analysis process and leverage it into your existing strategies
Credits & Acknowledgments:
Special thanks to TTrades for his extensive research and teaching on the Fractal Model methodology. This implementation is based on his groundbreaking work in algorithmic price delivery analysis.
TTrades YouTube Channel
Also, thanks to @fadizeidan for the base HTF candles implementation that made this indicator possible.
Disclaimer:
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own research and risk management before making trading decisions.
Version: Free+ Implementation
Compatibility: Pine Script v6
Repainting: No
Timeframes: All (with automatic HTF detection)
This is a free implementation of TTrades' Fractal Model methodology. For the full Pro+ version with additional features, please refer to TTrades' official releases.
Keylevels [KAWS]Overview
The Keylevels Indicator is designed to provide traders with a clear and structured view of important market reference points. It automatically detects and plots session highs and lows, weekly and monthly levels, as well as the previous day’s range. These levels are presented directly on the chart as dynamic lines with optional text labels, offering a consistent framework for understanding price action across multiple time horizons.
Understanding the Concepts
What are Key Levels?
Key levels are significant price points that often serve as reference markers in market activity. They represent areas where the market has previously established boundaries (highs and lows) within sessions, days, weeks, or months. Such levels can highlight where price has repeatedly reacted, providing insight into areas of potential importance.
Why Sessions Matter
Financial markets operate globally, and trading sessions (Asia, London, New York) reflect the activity of different regions. Each session produces distinct highs and lows that can serve as key markers for subsequent price behavior. By capturing these levels automatically, the indicator helps visualize how markets transition from one trading phase to another.
Higher Timeframe Levels
Weekly and monthly highs and lows, as well as the previous day’s range, provide broader structural reference points. These levels are often used to assess whether the market is respecting or breaking significant boundaries over time.
How the Indicator Works
The indicator automatically tracks and plots:
Session Levels: Highs and lows of the Asia, London, and New York sessions.
Session Open Price: A clear reference line marking the opening price of a chosen session.
Daily Levels: Previous day’s high and low, updated at the start of each new day.
Weekly Levels: High and low of the current week, with automatic reset each new week.
Monthly Levels: High and low of the current month, updated dynamically.
Each level is displayed with customizable line styles, colors, and labels. Labels can include text only or also display the exact price, depending on user preference. The indicator further supports the option to extend lines into the future, allowing for ongoing visibility of these reference points.
Customization Options
Display Control: Enable or disable specific sessions, daily, weekly, or monthly levels.
Visual Styling: Adjust line colors, thickness, and style (solid, dashed, dotted).
Labels: Choose whether to display text, include price information, and set text size.
Session Settings: Define your preferred timezone and session open times for accuracy across global markets.
Line Extension: Decide whether levels should extend into the future or stop when broken.
Important Considerations
This indicator is a technical reference tool. It does not generate buy or sell signals but instead provides structural context by highlighting where the market has established significant levels. As with any technical tool, it is most effective when integrated into a broader trading framework that includes market structure, trend analysis, and risk management.