OPEN-SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.