OPEN-SOURCE SCRIPT
Mis à jour Multi-MA + Trend Status

Multi-MA + Trend Status is a streamlined trend analysis tool designed to simplify market state identification using a robust Moving Average (MA) crossover logic. By analyzing the relationship between price and three key Moving Averages (Fast, Medium, and Slow), this indicator instantly classifies the market into one of 9 distinct trend phases, displayed as a clean, non-intrusive text overlay on your chart.
Created by ivanpsh (MIT License).
Key Features
How It Works
The indicator logic compares the current Price against three Moving Averages (Default: 20, 50, 250) to determine the market "Health":
Settings Guide
This script is open-source under the MIT license. Feel free to use, study, and modify it for your own trading systems.
Created by ivanpsh (MIT License).
Key Features
- 9 Distinct Trend States: Automatically detects and displays specific market conditions:
- 🟢 Bullish Phases: Uptrend, Bullish Crossover, Fast Bullish Crossover, Bottom Bounce.
- 🔴 Bearish Phases: Downtrend, Bearish Crossover, Fast Bearish Crossover, Top Pullback, Dead Cat Bounce.
- Visual Simplicity: Displays the current market status in a large, transparent text overlay (Bottom Right by default) that provides instant clarity without cluttering your analysis.
- Multi-Timeframe (MTF) Support: Monitor the trend of a higher timeframe (e.g., Daily) while trading on a lower timeframe (e.g., 5-minute) without switching charts.
- Fully Configurable MAs:
- Types: Supports SMA, EMA, RMA (Wilder's), WMA, and VWMA.
- Lengths: Fully adjustable lengths (Defaults: 20, 50, 250).
- Source: Calculation source is customizable (Close, Open, High, Low, HL2, etc.).
- Integrated MA Overlay: Optionally view the actual Moving Average lines on the chart.
- Color Coded: Fast (Purple), Medium (Orange), and Slow (Red) for easy differentiation.
- Toggle: Lines are visible by default but can be hidden instantly via settings.
How It Works
The indicator logic compares the current Price against three Moving Averages (Default: 20, 50, 250) to determine the market "Health":
- Uptrend: Price > 20 > 50 > 250 (Strongest Bullish Signal)
- Downtrend: Price < 20 < 50 < 250 (Strongest Bearish Signal)
- Crossovers: Identifies early reversals when Fast/Medium MAs cross the Slow MA.
- Bounces & Pullbacks: Identifies specific retracement patterns (e.g., "Bottom Bounce" or "Top Pullback") where price interacts with MAs in a counter-trend move.
Settings Guide
- Indicator Timeframe: Select the timeframe used for calculations (Default: Chart).
- MA Type: Choose the averaging method (Default: SMA).
- Visuals: Customize text size, screen position, and opacity.
- Show 'No Match' Text: By default, the text overlay hides if the market is choppy and fits none of the 9 specific states. You can enable this to see a "No Logic Match" status instead.
This script is open-source under the MIT license. Feel free to use, study, and modify it for your own trading systems.
Notes de version
Multi-MA + Trend Status is a streamlined trend analysis tool designed to simplify market state identification using a robust Moving Average (MA) crossover logic. By analyzing the relationship between price and three key Moving Averages (Fast, Medium, and Slow), this indicator instantly classifies the market into one of 9 distinct trend phases, displayed as a clean, non-intrusive text overlay on your chart.Created by ivanpsh (MIT License).
Key Features
- 9 Distinct Trend States: Automatically detects and displays specific market conditions:
- 🟢 Bullish Phases: Uptrend, Bullish Crossover, Fast Bullish Crossover, Bottom Bounce.
- 🔴 Bearish Phases: Downtrend, Bearish Crossover, Fast Bearish Crossover, Top Pullback, Dead Cat Bounce.
- Visual Simplicity: Displays the current market status in a large, transparent text overlay (Bottom Right by default) that provides instant clarity without cluttering your analysis.
- Multi-Timeframe (MTF) Support: Monitor the trend of a higher timeframe (e.g., Daily) while trading on a lower timeframe (e.g., 5-minute) without switching charts.
- Fully Configurable MAs:
- Types: Supports SMA, EMA, RMA (Wilder's), WMA, and VWMA.
- Lengths: Fully adjustable lengths (Defaults: 20, 50, 250).
- Source: Calculation source is customizable (Close, Open, High, Low, HL2, etc.).
- Integrated MA Overlay: Optionally view the actual Moving Average lines on the chart.
- Color Coded: Fast (Purple), Medium (Orange), and Slow (Red) for easy differentiation.
- Toggle: Lines are visible by default but can be hidden instantly via settings.
How It Works
The indicator logic compares the current Price against three Moving Averages (Default: 20, 50, 250) to determine the market "Health":
- Uptrend: Price > 20 > 50 > 250 (Strongest Bullish Signal)
- Downtrend: Price < 20 < 50 < 250 (Strongest Bearish Signal)
- Crossovers: Identifies early reversals when Fast/Medium MAs cross the Slow MA.
- Bounces & Pullbacks: Identifies specific retracement patterns (e.g., "Bottom Bounce" or "Top Pullback") where price interacts with MAs in a counter-trend move.
Settings Guide
- Indicator Timeframe: Select the timeframe used for calculations (Default: Chart).
- MA Type: Choose the averaging method (Default: SMA).
- Visuals: Customize text size, screen position, and opacity.
- Show 'No Match' Text: By default, the text overlay hides if the market is choppy and fits none of the 9 specific states. You can enable this to see a "No Logic Match" status instead.
This script is open-source under the MIT license. Feel free to use, study, and modify it for your own trading systems.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.