AlgoGram Trend Identifier📊 Algogram Trend Identifier (ATI)
The Algogram Trend Identifier (ATI) is a powerful trend-following oscillator designed to help traders identify market direction, momentum strength, divergences, and consolidation zones across multiple timeframes.
🔑 Key Features:
Multi-Timeframe Presets – Choose from 5m, 15m (default), 30m, 1h, and Daily for optimized settings.
Adaptive ALMA Calculation – Uses ALMA smoothing with dynamic thresholds to detect clean trend shifts.
Trend Highlighting – Visual coloring of oscillator and optional bar coloring for quick market bias recognition.
Customizable Thresholds & Bands – Fine-tune upper/lower thresholds, consolidation zones, and band multipliers.
Consolidation Detection – Highlights when the market is moving sideways with adjustable parameters.
Divergence Detection – Automatically detects bullish & bearish divergences with optional lines and dots.
Dynamic Alerts – Built-in alerts for:
Crossing thresholds
Zero line crosses
Uptrend / Downtrend detection
Bullish / Bearish divergences
RMS consolidation breakouts
🎯 How to Use:
Above Zero Line → Bullish trend bias.
Below Zero Line → Bearish trend bias.
Consolidation Zone → Market may range or prepare for breakout.
Bullish Divergence → Potential reversal to upside.
Bearish Divergence → Potential reversal to downside.
⚡ Best For:
Swing Traders, Scalpers, and Positional Traders
Identifying trend strength, early reversals, and breakout opportunities
Works on stocks, crypto, forex, and indices
تحليل الاتجاه
Weighted Sector ADD (sign-weighted)What it is
A true, cap-weighted advances/declines (ADD) proxy for the S&P 500 using sector ETFs. Each sector contributes +1 if it’s up on the bar, −1 if it’s down, 0 if flat. Those signals are then weighted by your sector weights (auto-normalized to 100%) and summed into a single breadth line. The result is a fast, low-noise read of how much of the S&P (by sector weight) is advancing vs. declining right now.
- Tracks participation, not price magnitude—perfect for spotting “broad vs. narrow” moves
- Heavily weighted sectors (e.g., Tech) matter proportionally more, reflecting real index impact
- Simple scale: ~−1 to +1 (all weight down → all weight up)
Chart Elements
- Green/Red Columns – “Weighted ADD”: Current bar’s weighted breadth (sign-based by default)
- Blue Line – “Weighted MA”: SMA of the weighted ADD (regime filter)
- Zero/Guide Lines (optional): 0.0, ±0.2 (mild), ±0.6 (strong)
- Labels (optional): Text markers at those guide levels
- Advancing Weight % (optional): Label showing ((ADD+1)/2)*100 → share of total sector weight advancing
How to Read (Quick Guide)
- +0.60 to +1.00 → Broad, one-sided risk-on (most sector weight advancing)
- +0.20 to +0.60 → Moderate, supportive breadth
- −0.20 to +0.20 → Mixed/choppy; rotation
- −0.60 to −1.00 → Broad, one-sided risk-off
- MA above/below zero → Simple regime indicator; zero-crosses could be potential alert triggers
- Divergence: Strong price move with a weak/flat ADD could potentially warn of narrow participation
Inputs & settings
Calculation
- Use returns instead of up/down sign?
OFF (default): true weighted participation (+1/−1/0)
ON: weighted sector returns (winsor-capped). Use if you want magnitude, not just direction
- Winsor cap (returns mode): Caps per-sector contribution in returns mode (e.g., 0.02 = ±2%)
- Smoothing MA length: SMA period for the blue “Weighted MA” line
- Source timeframe: Compute signals on another TF (e.g., “60”) but plot on your chart TF
Visibility
- Show Weighted ADD (bars): Toggle the green/red columns
- Show Weighted ADD MA: Toggle the blue SMA line
- Show Zero Line (0): Toggle the 0.0 reference line
- Show ±0.2 / ±0.6 guide lines: Toggle the helper levels
- Show guide labels: Draw small text labels at 0, ±0.2, ±0.6
- Guide label offset (bars left): Move labels left if they overlap the right edge values
- Show Advancing Weight % label: Toggle the % of sector weight currently advancing
Sector Symbols (ETF proxies)
- XLK, XLY, XLF, XLV, XLC, XLI, XLP, XLE, XLB, XLU, XLRE: Defaults to the SPDR sector ETFs. You can swap for alternative proxies if desired.
Sector Weights (auto-normalize)
- Weight inputs for each sector (e.g., Tech 0.30, Financials 0.13…). These auto-normalize to 1.0 so you can paste rough numbers; the script scales them.
- Keep weights fresh. GICS sector weights drift; update periodically (e.g., quarterly).
Alerts included
- “Weighted ADD crossed above 0”
- “Weighted ADD crossed below 0”
Version
v1.0 – Initial release (weighted sign-based ADD + SMA, zero/guide lines & labels, Adv % label, alerts).
Scalping MasterMarket Structure Analysis:
Swing Structure: Detects higher highs (HH), lower highs (LH), higher lows (HL), aur lower lows (LL) ko identify karta hai using pivot points (based on ta.highest aur ta.lowest).
Internal Structure: Chhote timeframes ke liye internal swing points aur break of structure (BOS)/change of character (CHoCH) ko track karta hai.
BOS/CHoCH Detection: Bullish aur bearish structure breaks (BOS) aur trend reversals (CHoCH) ko label karta hai.
Order Blocks (OB):
Internal Order Blocks: Chhote timeframe ke order blocks ko plot karta hai, jo liquidity zones ko represent karte hain.
Swing Order Blocks: Bade timeframe ke order blocks ko show karta hai.
Filtering: ATR ya Cumulative Mean Range ke basis par volatile order blocks ko filter karta hai.
Fair Value Gaps (FVG):
Price gaps (bullish aur bearish) ko detect aur plot karta hai.
Auto-threshold aur timeframe customization ke saath FVGs ko filter karta hai.
FVGs ko extend karne ka option deta hai (visual representation ke liye).
Equal Highs/Lows (EQH/EQL):
Equal highs aur lows ko identify karta hai, jo support/resistance zones ke liye useful hote hain.
Bars confirmation aur sensitivity threshold ke saath customizable hai.
Previous Highs/Lows (MTF):
Daily, weekly, aur monthly high/low levels ko plot karta hai.
Line style (solid, dashed, dotted) aur colors customizable hain.
Premium/Discount Zones:
Market ke premium, equilibrium, aur discount zones ko highlight karta hai, jo price action ke liye key areas hote hain.
Visual Customization:
Color Themes: Colored ya monochrome themes ke options.
Candle Coloring: Trend ke hisaab se candles ko color karta hai.
Labels aur Lines: Swing points, strong/weak highs/lows, aur structure breaks ke liye labels aur lines plot karta hai.
Modes:
Historical Mode: Past data ke saath complete structure dikhata hai.
Present Mode: Sirf recent structure aur signals dikhata hai, clutter reduce karne ke liye.
Alerts:
Bullish/Bearish BOS, CHoCH, order block breaks, aur EQH/EQL ke liye alerts set karne ka option.
Swing Points aur Trailing:
Strong/weak high aur low points ko track karta hai.
Trailing maximum/minimum ko extend karta hai for real-time analysis.
Kya Kya Mila Kar Bana Hai?
Yeh indicator Smart Money Concepts ke core principles par based hai aur in elements ko combine karta hai:
Pivot Point Analysis:
ta.highest aur ta.lowest functions se swing highs/lows detect karta hai.
Internal aur swing structure ke liye alag-alag lengths (e.g., length aur 5 for internal swings).
Price Action Concepts:
Break of Structure (BOS): Jab price pivot high/low ko break karta hai.
Change of Character (CHoCH): Jab trend reverse hota hai.
Confluence filtering ke saath accuracy improve karta hai.
Order Blocks:
Liquidity zones ko identify karne ke liye high/low ranges aur ATR/cumulative mean range ka use.
Bullish aur bearish order blocks ke liye customizable colors.
Fair Value Gaps:
Gaps in price action ko detect karne ke liye OHLC data ka analysis.
Timeframe aur auto-threshold ke saath flexibility.
MTF (Multi-Timeframe) Analysis:
Daily, weekly, monthly high/low levels ke liye ta.valuewhen aur time-based calculations.
Zones Detection:
Premium, equilibrium, aur discount zones ke liye price range calculations.
Visual Tools:
Lines, labels, aur boxes ke saath market structure ko visually represent karta hai (line.new, label.new, box.new).
Extendable lines aur boxes for better visibility.
User Inputs:
Customizable settings jaise timeframe, colors, lengths, aur filters, jo user ko flexibility dete hain.
Technical Components
PineScript Functions: ta.crossover, ta.crossunder, ta.highest, ta.lowest, ta.atr, ta.cum for calculations.
Arrays: Order blocks ke coordinates store karne ke liye (array.new_float, array.new_int, array.new_box).
Drawing Tools: Lines, labels, aur boxes ke saath dynamic plotting.
Conditional Logic: BOS, CHoCH, aur other signals ke liye complex conditions.
Timeframe Support: Multi-timeframe analysis ke liye input.timeframe.
Harmonic Super GuppyHarmonic Super Guppy – Harmonic & Golden Ratio Trend Analysis Framework
Overview
Harmonic Super Guppy is a comprehensive trend analysis and visualization tool that evolves the classic Guppy Multiple Moving Average (GMMA) methodology, pioneered by Daryl Guppy to visualize the interaction between short-term trader behavior and long-term investor trends. into a harmonic and phase-based market framework. By combining harmonic weighting, golden ratio phasing, and multiple moving averages, it provides traders with a deep understanding of market structure, momentum, and trend alignment. Fast and slow line groups visually differentiate short-term trader activity from longer-term investor positioning, while adaptive fills and dynamic coloring clearly illustrate trend coherence, expansion, and contraction in real time.
Traditional GMMA focuses primarily on moving average convergence and divergence. Harmonic Super Guppy extends this concept, integrating frequency-aware harmonic analysis and golden ratio modulation, allowing traders to detect subtle cyclical forces and early trend shifts before conventional moving averages would react. This is particularly valuable for traders seeking to identify early trend continuation setups, preemptive breakout entries, and potential trend exhaustion zones. The indicator provides a multi-dimensional view, making it suitable for scalping, intraday trading, swing setups, and even longer-term position strategies.
The visual structure of Harmonic Super Guppy is intentionally designed to convey trend clarity without oversimplification. Fast lines reflect short-term trader sentiment, slow lines capture longer-term investor alignment, and fills highlight compression or expansion. The adaptive color coding emphasizes trend alignment: strong green for bullish alignment, strong red for bearish, and subtle gray tones for indecision. This allows traders to quickly gauge market conditions while preserving the granularity necessary for sophisticated analysis.
How It Works
Harmonic Super Guppy uses a combination of harmonic averaging, golden ratio phasing, and adaptive weighting to generate its signals.
Harmonic Weighting : Each moving average integrates three layers of harmonics:
Primary harmonic captures the dominant cyclical structure of the market.
Secondary harmonic introduces a complementary frequency for oscillatory nuance.
Tertiary harmonic smooths higher-frequency noise while retaining meaningful trend signals.
Golden Ratio Phase : Phases of each harmonic contribution are adjusted using the golden ratio (default φ = 1.618), ensuring alignment with natural market rhythms. This reduces lag and allows traders to detect trend shifts earlier than conventional moving averages.
Adaptive Trend Detection : Fast SMAs are compared against slow SMAs to identify structural trends:
UpTrend : Fast SMA exceeds slow SMA.
DownTrend : Fast SMA falls below slow SMA.
Frequency Scaling : The wave frequency setting allows traders to modulate responsiveness versus smoothing. Higher frequency emphasizes short-term moves, while lower frequency highlights structural trends. This enables adaptation across asset classes with different volatility characteristics.
Through this combination, Harmonic Super Guppy captures micro and macro market cycles, helping traders distinguish between transient noise and genuine trend development. The multi-harmonic approach amplifies meaningful price action while reducing false signals inherent in standard moving averages.
Interpretation
Harmonic Super Guppy provides a multi-dimensional perspective on market dynamics:
Trend Analysis : Alignment of fast and slow lines reveals trend direction and strength. Expanding harmonics indicate momentum building, while contraction signals weakening conditions or potential reversals.
Momentum & Volatility : Rapid expansion of fast lines versus slow lines reflects short-term bullish or bearish pressure. Compression often precedes breakout scenarios or volatility expansion. Traders can quickly gauge trend vigor and potential turning points.
Market Context : The indicator overlays harmonic and structural insights without dictating entry or exit points. It complements order blocks, liquidity zones, oscillators, and other technical frameworks, providing context for informed decision-making.
Phase Divergence Detection : Subtle divergence between harmonic layers (primary, secondary, tertiary) often signals early exhaustion in trends or hidden strength, offering preemptive insight into potential reversals or sustained continuation.
By observing both structural alignment and harmonic expansion/contraction, traders gain a clear sense of when markets are trending with conviction versus when conditions are consolidating or becoming unpredictable. This allows for proactive trade management, rather than reactive responses to lagging indicators.
Strategy Integration
Harmonic Super Guppy adapts to various trading methodologies with clear, actionable guidance.
Trend Following : Enter positions when fast and slow lines are aligned and harmonics are expanding. The broader the alignment, the stronger the confirmation of trend persistence. For example:
A fast line crossover above slow lines with expanding fills confirms momentum-driven continuation.
Traders can use harmonic amplitude as a filter to reduce entries against prevailing trends.
Breakout Trading : Periods of line compression indicate potential volatility expansion. When fast lines diverge from slow lines after compression, this often precedes breakouts. Traders can combine this visual cue with structural supports/resistances or order flow analysis to improve timing and precision.
Exhaustion and Reversals : Divergences between harmonic components, or contraction of fast lines relative to slow lines, highlight weakening trends. This can indicate liquidity exhaustion, trend fatigue, or corrective phases. For example:
A flattening fast line group above a rising slow line can hint at short-term overextension.
Traders may use these signals to tighten stops, take partial profits, or prepare for contrarian setups.
Multi-Timeframe Analysis : Overlay slow lines from higher timeframes on lower timeframe charts to filter noise and trade in alignment with larger market structures. For example:
A daily bullish alignment combined with a 15-minute breakout pattern increases probability of a successful intraday trade.
Conversely, a higher timeframe divergence can warn against taking counter-trend trades in lower timeframes.
Adaptive Trade Management : Harmonic expansion/contraction can guide dynamic risk management:
Stops may be adjusted according to slow line support/resistance or harmonic contraction zones.
Position sizing can be modulated based on harmonic amplitude and compression levels, optimizing risk-reward without rigid rules.
Technical Implementation Details
Harmonic Super Guppy is powered by a multi-layered harmonic and phase calculation engine:
Harmonic Processing : Primary, secondary, and tertiary harmonics are calculated per period to capture multiple market cycles simultaneously. This reduces noise and amplifies meaningful signals.
Golden Ratio Modulation : Phase adjustments based on φ = 1.618 align harmonic contributions with natural market rhythms, smoothing lag and improving predictive value.
Adaptive Trend Scaling : Fast line expansion reflects short-term momentum; slow lines provide structural trend context. Fills adapt dynamically based on alignment intensity and harmonic amplitude.
Multi-Factor Trend Analysis : Trend strength is determined by alignment of fast and slow lines over multiple bars, expansion/contraction of harmonic amplitudes, divergences between primary, secondary, and tertiary harmonics and phase synchronization with golden ratio cycles.
These computations allow the indicator to be highly responsive yet smooth, providing traders with actionable insights in real time without overloading visual complexity.
Optimal Application Parameters
Asset-Specific Guidance:
Forex Majors : Wave frequency 1.0–2.0, φ = 1.618–1.8
Large-Cap Equities : Wave frequency 0.8–1.5, φ = 1.5–1.618
Cryptocurrency : Wave frequency 1.2–3.0, φ = 1.618–2.0
Index Futures : Wave frequency 0.5–1.5, φ = 1.618
Timeframe Optimization:
Scalping (1–5min) : Emphasize fast lines, higher frequency for micro-move capture.
Day Trading (15min–1hr) : Balance fast/slow interactions for trend confirmation.
Swing Trading (4hr–Daily) : Focus on slow lines for structural guidance, fast lines for entry timing.
Position Trading (Daily–Weekly) : Slow lines dominate; harmonics highlight long-term cycles.
Performance Characteristics
High Effectiveness Conditions:
Clear separation between short-term and long-term trends.
Moderate-to-high volatility environments.
Assets with consistent volume and price rhythm.
Reduced Effectiveness:
Flat or extremely low volatility markets.
Erratic assets with frequent gaps or algorithmic dominance.
Ultra-short timeframes (<1min), where noise dominates.
Integration Guidelines
Signal Confirmation : Confirm alignment of fast and slow lines over multiple bars. Expansion of harmonic amplitude signals trend persistence.
Risk Management : Place stops beyond slow line support/resistance. Adjust sizing based on compression/expansion zones.
Advanced Feature Settings :
Frequency tuning for different volatility environments.
Phase analysis to track divergences across harmonics.
Use fills and amplitude patterns as a guide for dynamic trade management.
Multi-timeframe confirmation to filter noise and align with structural trends.
Disclaimer
Harmonic Super Guppy is a trend analysis and visualization tool, not a guaranteed profit system. Optimal performance requires proper wave frequency, golden ratio phase, and line visibility settings per asset and timeframe. Traders should combine the indicator with other technical frameworks and maintain disciplined risk management practices.
Cointegration IndicationThis indicator is inspired by Nobel Prize–winning research (Engle & Granger, 1987). The core idea is simple but powerful: even if two markets look noisy on their own, their relationship can be surprisingly stable over the long run. When they drift apart, history suggests they often snap back together and that’s exactly where opportunities arise.
What this tool does is bring that theory into practice. It estimates a long-run equilibrium between two assets (Y ~ α + βX), calculates the residual spread (ε), and then evaluates whether that spread behaves in a mean-reverting way. The Z-Score tells you when the spread has moved far from its historical mean. The Error Correction Model (ECM) adds a second layer: it checks whether the spread tends to close again, and how strong that adjustment pressure is. If λ is negative and stable, the relationship is cointegrated and mean-reverting. If not, the pair is unstable — even if the Z-Score looks attractive.
Signals are summarized clearly:
– Strong Setup appears when we see both extreme divergence and a stable, negative λ.
– Weak Setup means only partial confirmation.
– Invalid means the relationship is breaking down.
Why this matters
Cointegration analysis is widely used by institutional desks, especially in pairs trading, statistical arbitrage, and risk management. Classic cases include equity index futures vs ETFs (Alexander, 2001), oil vs energy stocks (Chen & Huang, 2010), or swap spreads in fixed income (Tsay, 2010). In crypto, temporary cointegration has been observed between BTC and ETH in periods of high liquidity (Corbet et al., 2018). With this indicator, you can explore these relationships directly on TradingView, test asset pairs, and see when divergences become statistically significant.
Limitations to keep in mind
– Timeframe choice matters: Daily calculations are usually more stable; weekly or intraday often show unstable signals. To avoid confusion, you can fix the calculation timeframe in the settings.
– Cointegration is not permanent. Structural breaks (earnings, regulation, macro shifts) can destroy old relationships.
– Results are approximate. Rolling regressions, Z-Scores, and ECM estimates are sensitive to the length of the chosen windows.
– This is a research tool — not a ready-made trading system. It should be used as one piece in a broader framework.
References
Alexander, C. (2001). Market models: A guide to financial data analysis. Wiley.
Chen, S. S., & Huang, C. W. (2010). Long-run equilibrium and short-run dynamics in energy stock prices and oil prices. Energy Economics, 32(1), 19–26.
Corbet, S., Meegan, A., Larkin, C., Lucey, B., & Yarovaya, L. (2018). Exploring the dynamic relationships between cryptocurrencies and other financial assets. Economics Letters, 165, 28–34.
Engle, R. F., & Granger, C. W. J. (1987). Co-integration and error correction: Representation, estimation, and testing. Econometrica, 55(2), 251–276.
Tsay, R. S. (2010). Analysis of financial time series (3rd ed.). Wiley.
NY OPEN SIGNAL SCLAPER 📌 Indicator: US30 Scalper by TFE ALGOS
The US30 Scalper by TFE ALGOS is built for traders who want to capture fast and decisive moves on US30 during the New York session.
🔑 Key Features:
Clear Buy & Sell Signals with automatic plotting of trade levels.
Built-in Risk Management with stop loss and take profit levels, optimized at a 5:1 R:R.
Customizable Visuals – adjust colors, styles, and watermark display to fit your chart.
Alerts Included – stay updated when trade opportunities or key levels are reached.
Professional Branding – watermark logo keeps charts clean and consistent.
🎯 Designed For:
Scalpers and intraday traders who focus on US30.
Traders seeking a structured, professional charting tool.
⚠️ Disclaimer: This tool is for educational purposes only. Trading involves risk; always manage your capital wisely.
Trend Following S/R Fibonacci StrategyTrend Following S/R Fibonacci Strategy
Trend Following S/R Fibonacci Strategy
The Maker StrategyDESCRIPTION
The Maker Strategy is a trend-following system built around exponential moving averages (EMAs). By analyzing the alignment of multiple EMAs, the strategy identifies strong bullish or bearish momentum and generates precise entry signals. This method is designed to capture sustained trends while filtering out sideways or noisy market conditions.
USER INPUTS :
• EMA 1 Length (Default: 30)
• EMA 2 Length (Default: 35)
• EMA 3 Length (Default: 40)
• EMA 4 Length (Default: 45)
• EMA 5 Length (Default: 50)
• EMA 6 Length (Default: 60)
LONG CONDITION :
A long signal is triggered when all EMAs are perfectly aligned in ascending order:
EMA1 > EMA2 > EMA3 > EMA4 > EMA5 > EMA6
SHORT CONDITION :
A short signal is triggered when all EMAs are perfectly aligned in descending order:
EMA1 < EMA2 < EMA3 < EMA4 < EMA5 < EMA6
WHY IT IS UNIQUE:
Unlike traditional EMA crossover systems that rely on just 2 or 3 moving averages, The Maker Strategy uses 6 EMAs in sequence. This ensures that trades are only taken when there is clear and strong market momentum. The approach minimizes false signals in ranging markets and focuses on capturing trends with higher probability setups.
HOW USER CAN BENEFIT FROM IT :
• Clear entry alerts for both long and short positions.
• Visual confirmation through candle coloring and EMA band fills.
• Works on multiple timeframes and instruments (stocks, forex, crypto, indices).
• Helps traders stay on the right side of the trend while avoiding whipsaws.
• A simple yet effective tool for those who want a disciplined, rules-based strategy.
Support & ResistanceEnglish:
This indicator identifies support and resistance zones based on pivot points and high-volume areas.
It dynamically draws boxes to highlight key price levels where buying or selling pressure is concentrated.
Green zones = support (positive volume)
Red zones = resistance (negative volume)
Dashed boxes = breakout/failed support or resistance
Solid boxes = holding support or resistance
It also marks:
Resistance turning into support (R→S)
Support turning into resistance (S→R)
Breakout labels for quick recognition
This tool helps traders visually track volume-backed supply and demand zones to anticipate future price reactions.
中文 (Chinese):
本指标基于枢轴点与高成交量区域识别支撑与阻力。
它会动态绘制矩形框,标记价格在买卖力量集中的关键水平。
绿色区域 = 支撑(正成交量)
红色区域 = 阻力(负成交量)
虚线框 = 突破或失效的支撑/阻力
实线框 = 有效保持的支撑/阻力
同时标注:
阻力转为支撑 (R→S)
支撑转为阻力 (S→R)
突破标签,便于快速识别
该工具帮助交易者直观追踪成交量验证的供需区域,以便预判未来价格反应。
Adaptive Log Trend ChannelOne-line Summary / 一句话简介
EN: Adaptive log-scale trend channel using Pearson-optimized regression and deviation bands.
中文:基于皮尔逊优化回归的自适应对数趋势通道,带标准差波动带。
Full Description / 完整介绍
What it does / 功能
EN: This indicator fits a log-linear regression to price and builds a trend channel with ±k·σ deviation bands. It automatically selects the period with the highest Pearson correlation (R), ensuring the channel best matches the dominant market trend.
中文:该指标通过价格的对数线性回归拟合趋势,并在中线上下绘制 ±k·σ 偏差通道。它会自动选择皮尔逊相关系数 (R) 最高的周期,从而保证通道与主要趋势最贴合。
Why it’s useful / 适用价值
EN:
Naturally fits assets with multiplicative growth (crypto, tech stocks).
Adapts dynamically to different market regimes.
Provides CAGR estimates on Daily/Weekly charts for trend strength evaluation.
中文:
自然适用于呈现乘法增长的资产(如加密货币与科技股)。
可动态适应不同的市场阶段。
在日线/周线图上提供 趋势年化收益率 (CAGR),帮助评估趋势强度。
How it works / 工作原理
EN:
Computes log(price) → regression slope & intercept.
Draws a midline (log regression projection).
Upper & lower bands = ±k·σ in log space.
Info panel shows: Auto-Selected Period, Trend Strength (or Pearson’s R), and CAGR.
中文:
对价格取对数 → 计算回归斜率与截距。
绘制 中线(对数回归投影)。
上下轨 = 对数空间中的 ±k·σ。
信息面板显示:自动选择周期、趋势强度(或皮尔逊 R 值)、以及 CAGR 年化收益率。
Key Settings / 主要参数
EN:
Long-Term Mode: Uses extended periods (300–1200).
Deviation Multiplier (k): Controls channel width (default 2.0).
Styles: Colors, line type, and extension.
Panel Options: Toggle auto-period, Pearson’s R, and CAGR.
中文:
长期模式:采用更长周期 (300–1200)。
偏差倍数 (k):控制通道宽度(默认 2.0)。
样式:可设置颜色、线型、延长方式。
信息面板:可开关自动周期、皮尔逊 R、CAGR。
Notes / 注意事项
EN:
CAGR is only available on Daily/Weekly timeframes.
Regression-based tools may repaint as new bars form; treat it as context, not signals.
中文:
CAGR 仅在日线与周线周期可用。
回归类指标在新K线形成时可能重绘,仅用于趋势参考而非交易信号。
Multi EMA Pack (Full, Custom Multi-Cross)Exponential Moving Average (EMA) is a trend-following indicator that smooths price data by applying more weight to recent prices. It reacts faster to market changes than a Simple Moving Average (SMA). Traders often use multiple EMAs with different lengths to identify trend direction, spot crossovers as trade signals, and define dynamic support or resistance zones.
Nifty Trend vs Range (Final)This indicator is designed to help you quickly identify whether the Nifty market is trending, ranging, or preparing for a breakout by combining three volatility and trend-strength measures:
India VIX (Volatility Index)
ADX (Average Directional Index)
ATR (Average True Range)
It creates a Trend vs Range Decision Matrix that categorizes the market into actionable states such as Range – Quiet, Breakout Watch, Trend – Smooth, Trend – Confirmed, Trend – Volatile, or Choppy / Noisy.
🔑 How it Works
India VIX (Market Volatility)
Pulled directly from NSE:INDIAVIX (or your chosen symbol).
VIX thresholds are defined:
Below VIX Low → Calm market (often ranges).
Between VIX Low & High → Neutral/moderate volatility.
Above VIX High → High volatility (potential big moves or choppiness).
VIX can be scaled and plotted in the same pane with ADX/ATR, or shown separately with a companion script.
ADX (Trend Strength)
Custom calculation (Wilder’s smoothing, not built-in ta.adx), to ensure more consistent results.
Thresholds (auto-tuned by timeframe if enabled):
Low ADX → Weak/no trend, sideways.
High ADX → Strong directional trend.
ATR (Volatility Expansion)
ATR compared to a moving average of ATR detects whether volatility is rising or flat.
Used as confirmation for breakouts or fading moves.
🧠 Market State Logic
The script combines the three signals into an interpretable market state:
Range – Quiet → VIX low, ADX low, ATR flat
Trend – Smooth → VIX low, ADX high
Breakout Watch → VIX neutral, ADX low, ATR rising
Trend – Confirmed → VIX neutral, ADX high, ATR rising
Choppy / Noisy → VIX high, ADX low, ATR rising
Trend – Volatile → VIX high, ADX high, ATR rising
Neutral → fallback if conditions don’t match
Each state is color-coded with background shading and displayed as a persistent label with key metrics (VIX, ADX, ATR).
⚙️ Features
✅ Intraday Auto-Tuning
ADX/ATR thresholds automatically adjust depending on chart timeframe (5m, 15m, etc.).
✅ Scalable VIX Plotting
Option to overlay a scaled VIX line in the same pane or hide it if you use a separate VIX pane.
✅ Persistent State Label
Shows the current regime, timeframe, and key values. Updates every bar without stacking multiple labels.
✅ Alerts Ready
Alerts for each market regime can be set directly in TradingView.
✅ Background Coloring
Quick at-a-glance identification of current state.
🎯 How to Use
Ranging markets (low VIX, low ADX, flat ATR): Favor mean-reversion strategies like option selling, iron condors, or scalping.
Smooth trends (low VIX, high ADX): Favor directional trades with futures/options spreads.
Breakout Watch: Stay alert for possible trend initiation.
Confirmed trends (neutral VIX, high ADX, rising ATR): Ideal for momentum trading.
Volatile trends (high VIX, high ADX): Use caution, hedge positions, or trade with wider stops.
Choppy/Noisy (high VIX, low ADX): Avoid overtrading, expect false signals.
🕊️ Shemitah + Jubilee Cycle OverlayShemitah + Jubilee Cycle Overlay
This indicator overlays significant biblical cycle events—Shemitah and Jubilee years—onto your chart, providing a unique perspective on historical and potential future market cycles. The Shemitah cycle occurs every 7 years, while the Jubilee cycle spans 49 years, both starting from a user-defined year (defaulting to 1917). Key features include:
Highlight Shemitah Years: Shades the chart background in orange during Shemitah years, with customizable color and transparency.
Mark Jubilee Years: Draws bold blue vertical lines on the chart for Jubilee years, with optional labels.
Event Markers: Places vertical lines and labels (e.g., "Shemitah" or "Jubilee") on a specified month and day (defaulting to September 10th) for each cycle event.
Countdown Display: Shows the next upcoming Shemitah and Jubilee years on the chart for easy reference.
Customizable Inputs: Adjust the start year, cycle lengths, event date, colors, and visibility of highlights and labels to suit your analysis.
Ideal for traders and analysts exploring long-term economic or market patterns influenced by these traditional cycles, this overlay combines historical context with visual clarity. Use it on daily or higher timeframes for best results. The best markets to overlay this indicator on include major stock indices (e.g., S&P 500, Dow Jones), precious metals (e.g., Gold, Silver), cryptocurrencies (e.g., Bitcoin, Ethereum), and debt markets (e.g., U.S. Treasury Bonds, Corporate Bond ETFs), as these markets often reflect macroeconomic shifts, debt cycles, and speculative behavior that may correlate with Shemitah and Jubilee cycles.
Rationale for Including Debt Markets
U.S. Treasury Bonds:
Treasury securities (e.g., 10-year or 30-year bonds) are sensitive to interest rate changes and government debt levels. The Shemitah cycle (every 7 years) has been historically linked to debt-related economic adjustments, while the Jubilee cycle (every 49 years) aligns with broader debt forgiveness or restructuring concepts, making bonds a prime candidate.
Corporate Bond ETFs (e.g., LQD, HYG):
Corporate bond ETFs represent corporate debt and are influenced by credit cycles and economic resets. The indicator could highlight periods of potential default risk or yield shifts tied to Shemitah or Jubilee years.
Relevance to Biblical Context:
The Jubilee year, as described in the Bible (Leviticus 25), involves the release of debts and return of land, directly tying it to debt markets. The Shemitah year also includes a release of debts every seven years, making debt instruments a natural fit for this indicator’s thematic analysis.
Demand & Supply Smart Zones (Riz)A professional zone engine that detects, ranks, and maintains Supply and Demand areas across multiple timeframes. It combines swing structure, engulfing/imbalance logic, optional liquidity-sweep validation, and trend/volume filters. Zones are refined, merged, aged, and removed automatically, while a dashboard and mini-map summarize the state of the market at a glance.
How it works (why this isn’t a simple mashup)
⦁ Zone Detection (Auto/Manual/Hybrid):
⦁ Auto finds zones from three independent catalysts: swing turns, engulfing patterns, and imbalance candles.
⦁ Manual lets you define a zone precisely (top/bottom + type).
⦁ Hybrid adds your manual zones on top of the model’s detections.
⦁ Strength Model: Each zone receives a score using ATR-scaled size, relative volume (vs SMA), timeframe weight (higher TF = more authority), and session context (optional Killzone boost). This surfaces the most actionable areas rather than plotting everything.
⦁ Filters for Quality (Conservative/Aggressive):
⦁ Conservative can require trend alignment (EMA), volume validation, wide-body candles, structure context, and optional liquidity sweep checks.
⦁ Aggressive relaxes filters for faster, more frequent zones (e.g., scalping).
⦁ Refinement & Styling: Zones can be refined by wick, body, or hybrid logic to avoid over-sized regions. Visuals support solid/gradient/border styles, fresh/retest labels, and a heat-map emoji for strength.
⦁ Lifecycle Management: Zones can auto-delete on touch, delete on break, shrink on retests, expire after X bars, and cap retests. Old/merged zones are cleaned up to keep charts responsive.
⦁ Multi-Timeframe (MTF) Logic: Detects and optionally normalizes HTF zones (e.g., 60/240/D). Overlapping zones are merged across TFs with the higher TF taking precedence and receiving a small strength bonus. This prevents duplication and emphasizes institutional levels.
⦁ Proximity & Interaction Alerts: Alerts can fire on approach, first entry, and break, with separate Supply/Demand variants and per-TF options. An internal tracker avoids duplicate alert spam.
On-chart tools
⦁ Zones: Supply (red) / Demand (green), with “Fresh” or “R#” labels and strength heat-map.
⦁ Dashboard: Counts zones per TF, shows nearest supply/demand (in pips), trend state, and mode.
⦁ Mini-Map: A compact list of the 10 closest zones with TF, freshness, strength, and distance.
⦁ Trend Line (optional): EMA for directional context.
⦁ Killzone Background (optional): Session emphasis for timing.
Inputs & Key Options
⦁ Detection Mode: Auto · Manual · Hybrid
⦁ Strictness: Aggressive (more zones) · Conservative (fewer, higher quality)
⦁ Catalysts: Engulfing, Imbalance (ATR + volume threshold), Swing strength
⦁ Filters: Volume multiplier, wide-body %, trend EMA, structure checks, liquidity sweep lookback
⦁ MTF: Up to 3 higher TFs, with normalization to prevent oversized zones and priority stacking
⦁ Management: Auto-delete on touch, delete on break, dynamic shrinking, expiry bars, max retests
⦁ Merging: Overlap threshold and cross-TF consolidation
⦁ Alerts: Proximity (distance in pips), First Entry (fresh touch), Break, per-TF toggles
⦁ Display: Labels, size, heat-map, merging tags, dashboard position, mini-map
How to use
1. Choose Strictness
⦁ Conservative for swing/HTF traders who prefer cleaner, stronger zones.
⦁ Aggressive for scalpers who want earlier, more frequent levels.
2. Enable MTF and set HTF1/HTF2(/HTF3). Turn on Normalization to avoid giant HTF boxes.
3. Pick Catalysts & Filters. Start with Engulfing + Imbalance + Swing. Add volume/EMA/liquidity filters for quality.
4. Watch the Dashboard: It highlights mode, counts per TF, nearest zones (with distance), and overall trend.
5. Trade the Interaction:
⦁ Proximity alert → prepare;
⦁ First entry (fresh touch) → your confirmation rules;
⦁ Break → consider flips or invalidation.
6. Manual Zones (Hybrid): Add precise institutional levels and let the engine manage them (shrink, expire, merge).
Alerts (titles you’ll see)
⦁ Zone Proximity – approach within X pips
⦁ Zone Entry / Supply Zone Entry / Demand Zone Entry – first touch
⦁ Zone Break / Supply Zone Break / Demand Zone Break – clean break
⦁ Current TF / HTF1 / HTF2 Zone Alert – timeframe-specific triggers
⦁ Any Zone Alert – catch-all for any interaction
Notes & Tips
⦁ Fresh > Retested: First touches generally score better and are labeled accordingly.
⦁ Context Matters: Combining HTF zones with trend and volume filters significantly improves selectivity.
⦁ Performance: Zone limits and periodic cleanup are built in. If you plot many HTFs with Aggressive mode, consider raising strictness or lowering max zones.
Disclaimer
This tool is for educational and analytical purposes only. It does not constitute financial advice, nor does it guarantee outcomes. Trading involves risk; use proper risk management and your own judgment.
M2 + Fed Funds con anotaciones históricasThis TradingView indicator creates a separate panel that displays the historical evolution of M2 Money Stock (US) and the Federal Funds Rate, both normalized to a base of 100 for easier comparison. It highlights key historical events with annotations, including:
2000: Dotcom Bubble
2008: Global Financial Crisis
2020: COVID-19 Pandemic
The script allows users to visually analyze the relationship between monetary liquidity (M2) and interest rates, showing how changes in Fed policy correspond to major economic events and trends.
Previous OHLC D/W/M (Anchored - fixed)Open, close, high and low of previous month, week and day with right extension.
Bitcoin Cycles IndicatorTrack Bitcoin's cyclical price patterns across multiple timeframes with this cycle analysis tool. The indicator automatically identifies cycle lows and highs, marking them with clear visual labels that show cycle day counts and failed cycle detection.
Key Features:
Multi-Time frame Support - Optimized settings for Daily, Weekly, Monthly, and Custom time frames
Cycle Tracking - Identifies and labels cycle lows (green) and highs (red) with day counts
Failed Cycle Detection - Highlights when cycles break below previous lows
Customizable Settings - Adjust cycle lengths, colors, and display options for each timeframe
Info Box - Real-time cycle information display with current cycle day count
Projection Boxes - Visual cycle length projections for better analysis
Perfect for Bitcoin traders and analysts who want to understand market cycles and timing. Works best on Daily charts for short-term cycles and Weekly/Monthly charts for longer-term analysis.
SMC Mapping 2.0“This script is a Smart Money Concepts (SMC) indicator that helps traders identify market structure shifts such as Break of Structure (BOS) and Change of Character (ChoCH). It also highlights Supply & Demand zones, Internal/External Liquidity sweeps, and IDM levels.
The tool is designed for price action traders who want a clean and visual way to track BOS, ChoCH, and liquidity points directly on their chart. It is fully customizable with options to show/hide different elements, change colors, and adjust sensitivity.”
🔹 Script Overview
This script is based on Smart Money Concepts (SMC).
It automatically identifies Break of Structure (BOS), Change of Character (ChoCH), Supply & Demand zones, and IDM zones on the chart.
🔹 Features
Market Structure Detection → plots HH (Higher Highs) and LL (Lower Lows)
BOS & ChoCH → quickly identify trend shifts
Auto Supply & Demand Zones → highlights potential reversal areas
IDM Zones → marks imbalance/inefficiency
Clear color-coded visuals for bullish/bearish context
🔹 How It Works
The script evaluates recent swing highs and lows (20-bar lookback by default)
When price breaks above the recent high → Bullish BOS
When price breaks below the recent low → Bearish BOS
Based on this structure, the script automatically generates labels and zones
🔹 How To Use
Add the script to your chart (works well on 15m, 1H, 4H timeframes)
Use HH/LL labels to read the market structure
Supply & Demand zones help in identifying possible entry/exit points
IDM zones confirm imbalance areas for trade validation
🔹 Note
While this script uses classic concepts (HH, LL, Supply/Demand, IDM), the calculations, visuals, and styling are customized to provide a fresh and unique tool for traders. It is designed to help traders clearly see market structure and plan trades accordingly.
PSDIGreen Zone → Potential Buy Area
Price is near support.
Red Zone → Potential Sell Area
Price is near resistance.
EMA Lines
Blue (EMA50) above Orange (EMA200): Trend up → favors buys.
Blue below Orange: Trend down → favors sells.
How to Use
Look at zones and trend.
Price near green + trend up → consider long.
Price near red + trend down → consider short.
NOTE: When in uptrend, only follow green zones. When in down trend only follow red zones.
MTF Supply and Demand Zones [MMT]Description
The MTF Supply and Demand Zones indicator is a powerful tool designed to identify and display supply and demand zones across multiple timeframes (MTF) on your TradingView chart. These zones highlight key areas where price is likely to react, based on significant price movements in higher timeframes. The indicator is highly customizable, allowing traders to adjust zone strength, timeframes, colors, and display settings to suit their trading style.
Key Features
Multi-Timeframe Analysis : Detects supply and demand zones from up to five user-defined timeframes (e.g., 30m, 1H, 4H, 1D, 1W).
Zone Strength Filter : Filters zones based on the strength of price movements, ensuring only significant zones are displayed.
Customizable Display : Toggle supply and demand zones on/off, adjust colors, border styles, and label settings for clarity.
Dynamic Zone Extension : Extends zones to the right of the chart for better visibility, with adjustable extension length.
Zone Cleanup : Automatically removes zones when price breaks through them, keeping the chart clean and relevant.
Labels : Displays timeframe labels on zones for easy identification, with customizable size, color, and alignment.
How It Works
Supply Zones : Identified when a strong bearish candle follows a bullish or neutral candle, indicating potential selling pressure.
Demand Zones : Identified when a strong bullish candle follows a bearish or neutral candle, indicating potential buying pressure.
Zones are drawn as boxes, with the top and bottom based on key price levels (e.g., highs/lows or open prices).
The indicator uses a strength filter to ensure only significant zones (based on candle size ratios) are plotted.
Zones are updated dynamically, extending to the right by a user-defined number of bars and removed when price breaks through them.
Settings
S&D Zones Settings
Zone Strength Filter : Adjust the minimum candle size ratio (default: 1.8) to filter weaker zones.
Show Supply/Demand : Enable or disable supply and/or demand zones.
Supply/Demand Colors : Customize the fill and border colors for supply (default: red) and demand (default: green) zones.
Timeframes : Enable up to five timeframes (e.g., 30m, 1H, 4H, 1D, 1W) to analyze zones. Only zones from timeframes higher than the chart’s timeframe are displayed.
Display Settings
Zone Extension : Set how far zones extend to the right (in bars, default: 15).
Show Label: Toggle timeframe labels on zones.
Label Style : Customize label color, size (tiny, small, normal, large, huge), and alignment (horizontal/vertical).
Usage Tips
Use higher timeframes (e.g., 4H, 1D) for stronger, more reliable zones.
Combine with other indicators (e.g., support/resistance, trendlines) to confirm trade setups.
Adjust the Zone Strength Filter to reduce noise in volatile markets.
Enable labels to quickly identify the timeframe of each zone.
Notes
The indicator is overlayed on the price chart and supports up to 500 zones.
Zones are removed when price breaks above (supply) or below (demand), ensuring only active zones remain.
Works best on markets with clear price action, such as futures, forex, stocks, or cryptocurrencies.
Happy trading! 🚀
ZigZag++ + 4 EMA89 Trend Candles + BUY/SELL LabelsThis script combines ZigZag patterns, EMA89 trend detection, and custom buy/sell scalp signals. It helps identify trend direction and potential entry points in trending markets.
Features:
- ZigZag structure points
- EMA89 as dynamic trend filter
- Buy/Sell scalp markers
- HL/HH swing labels
- Works best on 15m–4h timeframes