OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.