[DEM] Multiple Linear Regression Score Multiple Linear Regression Score is a composite momentum indicator that evaluates market conditions by analyzing a reference symbol (defaulting to NDX) across multiple technical dimensions and combining them into a single predictive score. The indicator processes ten different technical variables including RSI, MACD components (line, signal, and histogram), price relationships to various moving averages (10, 50, 100, 200), and short-term price changes (1-day and 5-day), converting most into binary signals (1 or 0) based on whether they're above or below zero. These binary and continuous inputs are then weighted using regression-derived coefficients and combined into a final percentage score that oscillates around zero, with the indicator also calculating a 20-period standard deviation of the score to measure volatility. This approach creates a data-driven sentiment gauge that quantifies the overall technical health of the reference market by mathematically weighting the importance of each technical factor based on historical relationships.
Oscillatori centrati
[DEM] Multiple Linear Regression Oscillator Multiple Linear Regression Oscillator is a sophisticated momentum indicator that combines volume-weighted price action with multiple timeframe price changes to generate predictive signals through a linear regression model. The indicator calculates a volume-price ratio over 5 periods and incorporates price changes across four different lookback periods (2, 5, 10, and 20 bars), applying specific regression coefficients to each variable to produce a normalized oscillator that fluctuates around zero. The main output is plotted alongside a 10-period RMA smoothed version in yellow, with reference lines at +1, 0, and -1 to help identify overbought, neutral, and oversold conditions. This mathematical approach attempts to predict short-term price movements by weighting the historical relationship between volume, price momentum, and multi-timeframe price changes, essentially creating a data-driven oscillator that goes beyond traditional technical indicators by incorporating machine learning-derived coefficients.
[DEM] Multi-Symbol Relative Strength Index Multi-Symbol Relative Strength Index is a comparative analysis indicator that simultaneously displays RSI values for five different symbols (defaulting to major tech stocks NVDA, MSFT, AAPL, AMZN, and GOOG) on a single chart pane. The indicator plots each symbol's RSI as colored lines with standard overbought (70) and oversold (30) reference levels, allowing traders to quickly compare relative momentum across multiple assets. A key feature is the dynamic background coloring that highlights which symbol currently has the extreme RSI value (either highest or lowest, depending on user selection), making it easy to identify which stock is showing the most extreme momentum condition at any given time. The indicator includes a legend table displaying all tracked symbols with their corresponding colors, and the background fill between the 30-70 RSI levels provides clear visual reference for overbought and oversold zones across all symbols simultaneously.
[DEM] Momentum Bars Momentum Bars is designed to color price bars based on a combination of Aroon oscillator analysis and RSI momentum to identify periods of strong directional bias and filter out choppy or indecisive market conditions. The indicator calculates the Aroon Up and Aroon Down values over a configurable period (default 20) to determine which direction has more recent strength, then combines this with RSI analysis using the same period to confirm momentum alignment. Bars are colored green when Aroon Up exceeds Aroon Down (indicating recent highs dominate) and RSI is above 50 (confirming bullish momentum), red when Aroon Down exceeds Aroon Up (indicating recent lows dominate) and RSI is below 50 (confirming bearish momentum), and purple for all other conditions where the Aroon and RSI signals are conflicting or neutral, providing traders with immediate visual feedback about when price momentum and recent high/low activity are aligned versus when market conditions are mixed.
[DEM] MACD Bars MACD Bars is designed to color price bars based on the relationship between the MACD line and its histogram to provide immediate visual feedback about momentum conditions and potential trend changes. The indicator calculates the standard MACD using the default parameters (12, 26, 9) and applies a three-color system to the candlesticks: green bars when the MACD line is above both the histogram and zero (indicating strong bullish momentum), red bars when the MACD line is below both the histogram and zero (indicating strong bearish momentum), and purple bars for all other conditions where momentum signals are mixed or transitional. This color-coding system helps traders quickly identify periods of strong directional momentum versus periods of uncertainty or potential reversal without needing to reference a separate MACD indicator pane.
[DEM] Klinger Signal (With Backtesting) Klinger Signal (With Backtesting) is designed to generate buy and sell signals based on the Klinger Volume Oscillator, which combines price movement direction with volume flow to identify potential trend changes and momentum shifts. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table. The strategy calculates signed volume (positive when HLC3 rises, negative when it falls), applies dual EMA smoothing with configurable fast and slow periods (default 34 and 55), creates a signal line using additional EMA smoothing (default 13 periods), then generates buy signals when the signal line crosses above its own EMA-smoothed version and sell signals on the opposite crossover, combining volume analysis with price momentum to identify institutional money flow changes while tracking signal accuracy, average returns, and frequency through integrated backtesting metrics.
Blueprint Signals ProBlueprint Signals Pro is an advanced, all-in-one trading indicator designed for TradingView, built to provide high-quality buy/sell signals across various markets including cryptocurrencies, U.S. stocks, Indian indices, forex, and more. 📈 It leverages a proprietary ATR-based trailing stop mechanism combined with AI-optimized profiles for different trading styles (scalping, intraday, swing, and position trading) to generate reliable signals on bar close.
Key Features:
📊 Market Optimization: Tailored options for specific markets like Cryptocurrency (high volatility, 24/7 trading), U.S. Stocks (regulated exchanges, standard hours), Indian Indices (local dynamics like NIFTY), and Forex (high liquidity, global influences) to customize parameters and enhance signal accuracy.
🎨 Theme & Palette Customization: Supports dark/light chart themes with multiple color palettes for visual appeal.
🤖 Trading Profiles: Pre-built AI profiles like "Edge Signal", "Flash Signal", "Trend Rider", etc., tailored to your timeframe and style.
🔍 Signal Filters: Bullish/Bearish modes to focus on one-sided signals, with adjustable candle opacity.
🛡️ Support/Resistance Zones: Dynamic S/R levels with auto-adjusting lookback and wick warning markers for potential reversals.
⚠️ Swing Pattern Failure (SPF): Detects failure patterns with volume and wick filters for early reversal alerts.
🚨 Warnings: Proximity and wick-touch alerts on the trailing stop to signal momentum loss or trend challenges.
💡 Premium/Discount Zones: Neon-style P&D zones with glow effects to identify overvalued/undervalued areas.
📉 Custom Moving Averages: Up to 3 configurable MAs (EMA/SMA/WMA/HMA) with theme-based colors.
⚙️ Core Parameters: Manual/auto-tuning for scaling factor, period, min move filter, and anti-chop sensitivity.
⭐ Confidence Rating: Scores signals (Weak/Moderate/Strong) based on trend, S/R proximity, and volume.
🎯 SL/TP Levels: Displays stop loss (ATR trail, swing, or fixed ATR) and multiple take profits with R:R ratios, extendable lines, and zone fills. Additionally, clearly shows captured points/pips (e.g., +50 pts) and potential profit in points/pips/₹ for each level, making risk-reward analysis straightforward and visible on the chart.
🖥️ Display Options: Toggle trailing stop, text on signals, and more.
📅 Dashboard: Multi-timeframe overview with trend intelligence (using ADX), confidence, and candle timer.
🔔 Alerts: Configurable for buy/sell signals with detailed messages.
Usage Guidelines:
Select your market, theme, and trading style from the inputs.
Use on any timeframe; auto-adjusts for optimal performance.
Signals are confirmed on bar close to avoid repainting.
Combine with your risk management; backtest thoroughly.
This indicator is for educational and informational purposes only. Past performance is not indicative of future results. Trade at your own risk. © 2025 Raza | Blueprint Signals. All Rights Reserved.
[DEM] Correlation Dashboard Correlation Dashboard is designed to display real-time correlation analysis between the current chart's asset and five major market instruments (Bitcoin, Dow Jones 30, Dollar Index, Nasdaq 100, and S&P 500) in an easy-to-read table format overlaid on the price chart. The indicator calculates correlation coefficients over a configurable period (default 20 bars) and applies additional smoothing using a 200-period RMA to filter out noise and identify persistent correlation trends. The dashboard categorizes correlations into five levels ranging from "Very Strong Positive/Negative Correlation" (above ±0.5) to "No Strong Correlation" (between ±0.3), with color-coded text displaying green for positive correlations, red for negative correlations, and white for neutral relationships, enabling traders to quickly assess how their asset moves relative to major market benchmarks and identify potential diversification opportunities or risk concentrations.
[DEM] Correlation Coefficient Correlation Coefficient is designed to calculate and visualize the statistical correlation between the current chart's price movement and another selected symbol (defaulting to SPX) over a specified period. The indicator displays the correlation coefficient as both a colored area chart and line plot in a separate pane below the main chart, with colors dynamically changing from red (negative correlation) through purple (no correlation) to green (positive correlation) based on the strength and direction of the relationship. The correlation values range from -1 (perfect negative correlation) to +1 (perfect positive correlation), with horizontal reference lines at these extremes and zero, helping traders understand how closely their asset moves in relation to the selected benchmark symbol and identify periods of divergence or convergence in market behavior.
[DEM] Combo Signal (With Backtesting) Combo Signal (With Backtesting) is designed to generate buy and sell signals by combining seven different trading strategies that incorporate multiple technical indicators including SuperTrend, Parabolic SAR, MACD, and RSI. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table. The strategy triggers buy signals when any of seven long conditions are met (including ATR-based reversal patterns, SuperTrend confirmations, RSI oversold crossovers, MACD bullish crossovers, and SuperTrend line breaks), while sell signals are generated when any of the corresponding seven short conditions occur, creating a multi-faceted approach that aims to capture various market conditions and trading opportunities while tracking signal accuracy, average returns, and signal frequency through its integrated backtesting system.
[DEM] Chande Momentum + Aroon Signal (With Backtesting) Chande Momentum + Aroon Signal (With Backtesting) is designed to generate buy and sell signals by combining the Chande Momentum Oscillator with the Aroon indicator. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table. The strategy generates buy signals when the Aroon Up reaches 100% (indicating a new high) and the Chande Momentum Oscillator crosses above zero, while sell signals are triggered when the Aroon Down reaches 100% (indicating a new low) and the Chande Momentum Oscillator crosses below zero. The backtesting module tracks signal accuracy, average returns, signal frequency per month, and total correct predictions for both buy and sell signals across a configurable time horizon.
AA1 MACD 09.2025this is a learing project i want to share
the script is open for anyone
I combain some ema's mcad and more indicators to help find stocks in momentum
Trend-Strong Candle - 3 EMAs with Filters# Trend-Strong Candle - Professional Trading Indicator
## 📊 What It Does
Identifies high-probability entries by combining triple EMA trend analysis with strong candle detection. Only signals when all conditions align for maximum accuracy.
## 🎯 Core Features
- Triple EMA System: Fast (20) / Medium (50) / Slow (200) for trend confirmation
- Strong Candle Filter: ATR-based sizing ensures genuine momentum
- Advanced Filters: EMA close validation + trend stability checks
- Live Alerts: Instant notifications for real-time signals
- Session Filter: Trade only during active EU/US market hours
## ⚡ Quick Setup
Scalping (1-5min): Default settings + enable session filter
Day Trading (15-60min): Default settings work perfectly
Swing Trading (4H+): Increase ATR multiplier to 0.8-1.0
## 📈 Trading Rules
Long Signals: Green triangle below candle
- Strong bullish candle during confirmed uptrend
- All EMAs properly aligned (Fast > Medium > Slow)
Short Signals: Red triangle above candle
- Strong bearish candle during confirmed downtrend
- All EMAs properly aligned (Fast < Medium < Slow)
## ⚠️ Critical Success Factors
1. Always Verify the Trend Yourself
The indicator helps identify signals, but YOU must confirm the larger trend context. Check higher timeframes and overall market structure before entering.
2. Understand the "Big Players"
Strong candles in trend direction usually come from institutional money (banks, funds, algorithms). These create the momentum that retail traders can follow. The indicator catches these institutional moves.
3. Distance to Next Value Level
NEVER enter if price is too close to major resistance/support levels:
- Check distance to round numbers (1.1000, 1.1050, etc.)
- Ensure at least 20-30 pips room to next key level
- You need space for profit - tight levels = limited upside
4. Risk Management
- Stop Loss: 1-2 ATR from entry
- Take Profit: 2-3 ATR target (minimum 1:2 R/R)
- Position Size: Risk max 1-2% per trade
## 💡 Pro Tips
- Best Sessions: London open (8-12 UTC) and NY open (13-17 UTC)
- Avoid: Major news, low liquidity periods, choppy markets
- Multiple Timeframes: Confirm signals on higher timeframe
- Value Levels: Always check daily/weekly support/resistance before entering
## 🎯 Success Formula
Trend Confirmation + Strong Institutional Candle + Distance to Value Levels = High Probability Trade
*
Remember: The indicator finds the signals, but successful trading requires your analysis of trend context and value level positioning. Trade smart, not just frequent.
SOLACE PROSOLACE PRO is a confirmation-based trend/breakout indicator that computes on the previous candle to cut intrabar noise and repainting. It plots VWAP, Bollinger Bands (20,2), and SMA50/200, and signals BUY when the prior bar closed above the upper band and above VWAP/SMA50/SMA200 with MACD > signal; SELL when it closed below the lower band and below VWAP/SMAs with MACD < signal. Labels are stamped on the prior bar (offset −1), duplicate same-side signals are suppressed, and alert conditions are included for instant notifications.
ROC -> PROFABIGHI_CAPITAL🌟 Overview
This ROC → PROFABIGHI_CAPITAL implements a streamlined Rate of Change momentum indicator for clear trend direction analysis and momentum strength assessment.
It provides Rate of Change calculation with configurable period settings , Dynamic color-coded visualization with green for positive momentum and red for negative momentum , and Zero reference line for clear momentum direction identification for fundamental momentum analysis and trend confirmation.
🔧 Momentum Analysis Architecture
- Professional Rate of Change implementation focusing on percentage price changes over specified periods for momentum measurement
- Period Configuration Framework with adjustable lookback period using 14-period default for balanced momentum sensitivity
- Minimum Value Protection ensuring period input accepts only values of 1 or greater for mathematical validity
- Separate Panel Display using overlay = false for dedicated momentum analysis window below price chart
- Simple Input Interface providing single parameter control for easy configuration and optimization
📊 ROC Calculation Engine
- Pine Script ROC Function utilizing built-in ta.roc calculation for accurate percentage change measurement over specified periods
- Close Price Source using closing prices as standard input for momentum calculation providing consistent trend analysis
- Percentage Change Formula calculating ((current close - close N periods ago) / close N periods ago) × 100 for standardized momentum measurement
- Period-Based Analysis measuring momentum over user-defined lookback period for flexible timeframe adaptation
- Real-Time Updates providing current momentum readings with each new bar for immediate trend assessment
🎨 Visual Representation Framework
- Dynamic Color Coding System using green coloring for positive ROC values indicating upward momentum and red coloring for negative values showing downward momentum
- Clear Visual Distinction providing immediate visual feedback on momentum direction through intuitive color scheme
- Line Weight Enhancement using linewidth = 2 for prominent momentum line display ensuring clear trend identification
- Zero Reference Line displaying horizontal dashed gray line at zero level for momentum direction baseline reference
- Professional Chart Integration implementing clean visual design with standard color conventions for institutional analysis
📈 Momentum Analysis Applications
- Trend Direction Confirmation identifying positive ROC values as bullish momentum and negative values as bearish momentum
- Momentum Strength Assessment measuring momentum magnitude through ROC value extremes for trend intensity evaluation
- Divergence Analysis comparing price action with ROC direction for potential reversal signal identification
- Overbought/Oversold Detection using extreme ROC values for potential mean reversion opportunities
- Trend Continuation Validation confirming sustained momentum through consistent ROC direction for trend following strategies
- Entry and Exit Timing utilizing ROC zero-line crosses and directional changes for position management decisions
⚙️ Configuration Parameters
- ROC Period Setting controlling lookback period for momentum calculation with 14-period default providing balanced sensitivity
- Period Optimization Range supporting values from 1 to unlimited for different analytical timeframes and market conditions
- Short-Term Analysis using periods 1-7 for quick momentum changes and scalping applications
- Medium-Term Analysis utilizing periods 8-21 for swing trading and intermediate trend analysis
- Long-Term Analysis employing periods 22+ for position trading and major trend identification
- Market Adaptation adjusting period length based on asset volatility and trading strategy requirements
🔍 Technical Implementation
- Mathematical Accuracy using Pine Script's built-in ROC function ensuring proper percentage change calculations
- Computational Efficiency implementing streamlined code structure for optimal performance and minimal resource usage
- Error Prevention using minimum value constraints preventing invalid period inputs and calculation errors
- Real-Time Processing providing immediate momentum updates with each new price bar for current market assessment
- Clean Code Architecture maintaining simple, readable structure for easy modification and optimization
- Professional Standards following Pine Script best practices for reliable indicator performance
📊 Trading Applications
- Momentum Confirmation validating trend direction through positive or negative ROC readings for directional bias
- Zero-Line Strategy using ROC crosses above and below zero for basic momentum trading signals
- Extreme Reading Analysis identifying unusually high or low ROC values for potential reversal opportunities
- Multi-Timeframe Analysis applying different ROC periods across timeframes for comprehensive momentum assessment
- Divergence Trading comparing price peaks/troughs with ROC peaks/troughs for reversal signal generation
- Filter Integration combining ROC with other indicators for enhanced signal validation and trade confirmation
✅ Key Takeaways
- Streamlined Rate of Change implementation providing essential momentum analysis through percentage price change calculation
- Dynamic color-coded visualization offering immediate momentum direction identification through green/red color scheme
- Configurable period settings enabling adaptation to different trading styles and market timeframes
- Zero reference line providing clear momentum baseline for directional bias and signal generation
- Professional implementation using Pine Script best practices for reliable performance and easy optimization
- Fundamental momentum tool suitable for trend confirmation, divergence analysis, and basic trading signal generation
- Clean, efficient design focusing on core momentum functionality without unnecessary complexity or visual clutter
Williams %R smoothed🌍 English Description
Williams %R Smoothed – by Ján Salma
This is the first smoothed version of the Williams %R indicator published on TradingView.
The traditional Williams %R is a momentum oscillator that can be very choppy and noisy. Many traders find it hard to use because of the constant whipsaws.
This indicator solves that problem by applying an EMA smoothing on top of the raw Williams %R values.
Why is this special?
[* ]📉 Reduces noise → much cleaner signal, fewer false spikes.
🔍 Highlights real momentum shifts → easier to spot when the market truly changes direction.
🎯 Customizable smoothing → you decide how sensitive or smooth the curve should be.
⚡ Unique → currently, there is no other smoothed Williams %R available on TradingView.
Settings
Length → default 14 (standard Williams %R period).
Smoothing → default 3 EMA (smooths out the raw values).
Levels: -20 (overbought), -80 (oversold), -50 (mid-level).
This indicator is great for scalpers and swing traders who love Williams %R but hate the noise.
Now you can finally use %R with more confidence and clarity.
--------------------------------------------------------------------
Slovenský popis
Williams %R Smoothed – od Jána Salmu
Toto je prvá vyhladená verzia Williams %R indikátora publikovaná na TradingView.
Klasický Williams %R je oscilátor hybnosti, ktorý je často veľmi „roztrasený“ a plný šumu. Mnoho traderov s ním preto pracuje ťažko, pretože dáva veľa falošných signálov.
Tento indikátor to rieši tak, že na pôvodné hodnoty Williams %R aplikuje EMA vyhladenie .
Čo robí tento indikátor výnimočným?
📉 Redukuje šum → výsledná krivka je čistejšia, s menej falošnými výkyvmi.
🔍 Zvýrazňuje skutočné zmeny hybnosti → jasnejšie vidíš, kedy sa trh naozaj otáča.
🎯 Nastaviteľné vyhladenie → citlivosť indikátora si prispôsobíš podľa seba.
⚡ Unikát → na TradingView zatiaľ neexistuje žiadny iný vyhladený Williams %R.
Nastavenia
Dĺžka → predvolená hodnota 14 (štandardný Williams %R).
Smoothing (EMA) → predvolená hodnota 3 (vyhladenie krivky).
Úrovne: -20 (prekúpený trh), -80 (prepredaný trh), -50 (stredová hodnota).
Tento indikátor je skvelý pre scalperov aj swing traderov, ktorí majú radi Williams %R, ale chcú ho používať s väčšou presnosťou a prehľadnosťou.
3CRGANG - CANDLE CLOSE TIMER3CRGANG - CANDLE CLOSE TIMER
This indicator displays a timer for the current candle’s close and a multi-timeframe (MTF) timer table, showing the time remaining for various timeframes. It supports customizable timezones, visualization settings, and alerts for new candle openings and pre-close notifications, with filters for trading sessions and holidays.
Features:
Candle Timer: Displays the time remaining until the current candle closes, with color-coded visuals based on candle direction (green for up, red for down, gold when nearing close).
MTF Timer Table: Shows time remaining for multiple timeframes (M5, M15, M30, H1, H4, D, W, M, Q, Y) with a gradient-colored progress bar (green to red as time decreases).
Timezone Support: Choose from a wide range of timezones to align timer and alerts with your local time.
Visualization Options: Select device template (Desktop, Tablet, Mobile) and color theme (Light or Dark) for optimal display.
Alerts: Configurable alerts for new candle openings and pre-close thresholds across multiple timeframes, with session and holiday filters.
Session and Holiday Filters: Supports major exchanges (NYSE, LSE, FSE, SSX, TSE, HKSE) with holiday schedules and half-day considerations.
Do Not Disturb (DND): Set DND periods to suppress alerts during specific hours.
Time Settings:
Timezone: Select from a list of global timezones (e.g., UTC+3 Jerusalem, UTC-4 New York).
Time Format: Choose between Standard (12-hour with AM/PM) or Military (24-hour) time.
Visualization Setup:
Device: Select Desktop, Tablet, or Mobile template to adjust table sizes.
Color Theme: Choose Light or Dark theme for visual elements.
Timer Dashboard:
Timer Table Position: Set the position of the main timer table (e.g., top-right, bottom-center).
MTF Timer Dashboard:
Hide MTF Timer Table: Toggle visibility (off by default on Mobile template).
MTF Timer Table Position: Set position for the MTF timer table.
Offset Table Position: Adjust the Y-axis offset for the MTF table.
Notifications Settings:
Enable Alerts: Toggle alerts for Yearly, Quarterly, Monthly, Weekly, Daily, H4, H1, M30, and M15 timeframes.
Pre-Alert Threshold: Set the percentage of candle duration remaining for pre-close alerts (0–100%).
DND Settings:
Weekend Alerts: Enable/disable alerts during weekends.
DND Mode: Set start and end times for suppressing alerts.
Session Alerts Filter:
Holiday Alerts: Enable/disable alerts on exchange holidays.
Exchange Alerts: Toggle alerts for NYSE, LSE, FSE, SSX, TSE, and HKSE sessions.
Notes:
The indicator supports various asset types (stocks, forex, futures, crypto, commodities, indices) with tailored session detection.
The MTF timer table is hidden on Mobile template by default to optimize screen space.
Alerts respect user-defined session filters, holiday schedules, and DND settings for major exchanges.
Ensure sufficient chart history for accurate timeframe calculations.
Use the settings to customize timer display, alert behavior, and session filters to match your trading strategy.
KK🚦LightKK Light is for 5min ~ 15min ETH/BTC only
The red triangles indicate selling, and the green ones indicate buying.
When the colored lights appear, you should be more careful.
The colored squares mean that you should stop what you're doing right now.
You can contact me for more details
Machine Learning Gaussian Mixture Model | AlphaNattMachine Learning Gaussian Mixture Model | AlphaNatt
A revolutionary oscillator that uses Gaussian Mixture Models (GMM) with unsupervised machine learning to identify market regimes and automatically adapt momentum calculations - bringing statistical pattern recognition techniques to trading.
"Markets don't follow a single distribution - they're a mixture of different regimes. This oscillator identifies which regime we're in and adapts accordingly."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🤖 THE MACHINE LEARNING
Gaussian Mixture Models (GMM):
Unlike K-means clustering which assigns hard boundaries, GMM uses probabilistic clustering :
Models data as coming from multiple Gaussian distributions
Each market regime is a different Gaussian component
Provides probability of belonging to each regime
More sophisticated than simple clustering
Expectation-Maximization Algorithm:
The indicator continuously learns and adapts using the E-M algorithm:
E-step: Calculate probability of current market belonging to each regime
M-step: Update regime parameters based on new data
Continuous learning without repainting
Adapts to changing market conditions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 THREE MARKET REGIMES
The GMM identifies three distinct market states:
Regime 1 - Low Volatility:
Quiet, ranging markets
Uses RSI-based momentum calculation
Reduces false signals in choppy conditions
Background: Pink tint
Regime 2 - Normal Market:
Standard trending conditions
Uses Rate of Change momentum
Balanced sensitivity
Background: Gray tint
Regime 3 - High Volatility:
Strong trends or volatility events
Uses Z-score based momentum
Captures extreme moves
Background: Cyan tint
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 KEY INNOVATIONS
1. Probabilistic Regime Detection:
Instead of binary regime assignment, provides probabilities:
30% Regime 1, 60% Regime 2, 10% Regime 3
Smooth transitions between regimes
No sudden indicator jumps
2. Weighted Momentum Calculation:
Combines three different momentum formulas
Weights based on regime probabilities
Automatically adapts to market conditions
3. Confidence Indicator:
Shows how certain the model is (white line)
High confidence = strong regime identification
Low confidence = transitional market state
Line transparency changes with confidence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ PARAMETER OPTIMIZATION
Training Period (50-500):
50-100: Quick adaptation to recent conditions
100: Balanced (default)
200-500: Stable regime identification
Number of Components (2-5):
2: Simple bull/bear regimes
3: Low/Normal/High volatility (default)
4-5: More granular regime detection
Learning Rate (0.1-1.0):
0.1-0.3: Slow, stable learning
0.3: Balanced (default)
0.5-1.0: Fast adaptation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 TRADING STRATEGIES
Visual Signals:
Cyan gradient: Bullish momentum
Magenta gradient: Bearish momentum
Background color: Current regime
Confidence line: Model certainty
1. Regime-Based Trading:
Regime 1 (pink): Expect mean reversion
Regime 2 (gray): Standard trend following
Regime 3 (cyan): Strong momentum trades
2. Confidence-Filtered Signals:
Only trade when confidence > 70%
High confidence = clearer market state
Avoid transitions (low confidence)
3. Adaptive Position Sizing:
Regime 1: Smaller positions (choppy)
Regime 2: Normal positions
Regime 3: Larger positions (trending)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 ADVANTAGES OVER OTHER ML INDICATORS
vs K-Means Clustering:
Soft clustering (probabilities) vs hard boundaries
Captures uncertainty and transitions
More mathematically robust
vs KNN (K-Nearest Neighbors):
Unsupervised learning (no historical labels needed)
Continuous adaptation
Lower computational complexity
vs Neural Networks:
Interpretable (know what each regime means)
No overfitting issues
Works with limited data
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 PERFORMANCE CHARACTERISTICS
Best Market Conditions:
Markets with clear regime shifts
Volatile to trending transitions
Multi-timeframe analysis
Cryptocurrency markets (high regime variation)
Key Strengths:
Automatically adapts to market changes
No manual parameter adjustment needed
Smooth transitions between regimes
Probabilistic confidence measure
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 TECHNICAL BACKGROUND
Gaussian Mixture Models are used extensively in:
Speech recognition (Google Assistant)
Computer vision (facial recognition)
Astronomy (galaxy classification)
Genomics (gene expression analysis)
Finance (risk modeling at investment banks)
The E-M algorithm was developed at Stanford in 1977 and is one of the most important algorithms in unsupervised machine learning.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 PRO TIPS
Watch regime transitions: Best opportunities often occur when regimes change
Combine with volume: High volume + regime change = strong signal
Use confidence filter: Avoid low confidence periods
Multi-timeframe: Compare regimes across timeframes
Adjust position size: Scale based on identified regime
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
Machine learning adapts but doesn't predict the future
Best used with other confirmation indicators
Allow time for model to learn (100+ bars)
Not financial advice - educational purposes
Backtest thoroughly on your instruments
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 CONCLUSION
The GMM Momentum Oscillator brings institutional-grade machine learning to retail trading. By identifying market regimes probabilistically and adapting momentum calculations accordingly, it provides:
Automatic adaptation to market conditions
Clear regime identification with confidence levels
Smooth, professional signal generation
True unsupervised machine learning
This isn't just another indicator with "ML" in the name - it's a genuine implementation of Gaussian Mixture Models with the Expectation-Maximization algorithm, the same technology used in:
Google's speech recognition
Tesla's computer vision
NASA's data analysis
Wall Street risk models
"Let the machine learn the market regimes. Trade with statistical confidence."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by AlphaNatt | Machine Learning Trading Systems
Version: 1.0
Algorithm: Gaussian Mixture Model with E-M
Classification: Unsupervised Learning Oscillator
Not financial advice. Always DYOR.
Stockbee Reversal BullishCustom indicator for identifying stocks that meet the Stockbee's Reversal Bullish criteria. This can be used as a standalone indicator or use it to screen for stocks in Pine Screener.
AI-Weighted RSI (Zeiierman)█ Overview
AI-Weighted RSI (Zeiierman) is an adaptive oscillator that enhances classic RSI by applying a correlation-weighted prediction layer. Instead of looking only at RSI values directly, this indicator continuously evaluates how other price- and volume-based features (returns, volatility, volume shifts) correlate with RSI, and then weights them accordingly to project the next RSI state.
The result is a smoother, forward-looking RSI framework that adapts to market conditions in real time.
By leveraging feature correlation instead of static formulas, AI-Weighted RSI behaves like a lightweight learning model, adjusting its emphasis depending on which features are most aligned with RSI behavior during the current regime.
█ How It Works
⚪ Feature Extraction
Each bar, the script computes features: log returns, RSI itself, ATR% (volatility), volume, and volume log-change.
⚪ Correlation Screening
Over a rolling learning window, it measures the correlation of each feature against RSI. The strongest relationships are ranked and selected.
⚪ Adaptive Weighting
Features are standardized (z-scored), then combined using their signed correlations as weights, building a rolling, adaptive prediction of RSI.
⚪ Prediction to RSI Weight
The predicted RSI is mapped back into a “weight” scale (±2 by default). Above 0 = bullish bias, below 0 = bearish bias, with color-graded fills to visualize overbought/oversold pressure.
⚪ Signal Line
A smoothing option (signal length) overlays a moving average of the AI-Weighted RSI for clearer trend confirmation.
█ Why AI-Weighted RSI
⚪ Adaptive to Market Regime
Because the model re-evaluates correlations continuously, it naturally shifts which features dominate, sometimes volatility explains RSI best, sometimes volume, sometimes returns.
⚪ Forward-Looking Bias
Instead of simply reflecting RSI, the model provides a projection, helping anticipate shifts in momentum before RSI itself flips.
█ How to Use
⚪ Directional Bias
Read the RSI relative to 0. Above = bullish momentum bias, below = bearish.
⚪ Overbought / Oversold Zones
Shaded fills beyond +0.5 or -0.5 highlight extremes where RSI pressure often exhausts.
⚪ Divergences
When price makes new highs/lows but AI-Weighted RSI fails to confirm, it often signals weakening momentum.
█ Settings
RSI Length: Lookback for the core RSI calculation.
Signal Length: Smoothing applied to the AI-Weighted RSI output.
Learning Window: Bars used for correlation learning and z-scoring.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
عكفة الماكد المتقدمة - أبو فارس ©// 🔒 Advanced MACD Curve © 2025
// 💡 Idea & Creativity: Engineer Abu Elias
// 🛠️ Development & Implementation: Abu Fares
// 📜 All intellectual rights reserved - Copying, modifying, or redistributing is not permitted
// 🚫 Any attempt to tamper with this code or violate intellectual property rights is legally prohibited
// 📧 For inquiries and licensing: Please contact the developer, Abu Fares