OPEN-SOURCE SCRIPT
تم تحديثه 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.
ملاحظات الأخبار
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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.