OPEN-SOURCE SCRIPT
Mis à jour Market Mode Risk Indicator

Market Mode Risk Indicator
This indicator analyzes market risk conditions based on Exponential Moving Average (EMA) crossovers of a selected index (BIST 100, NASDAQ Composite, or Dow Jones Industrial Average). It classifies the market into three modes:
- **RISK OFF**: Index is below MA50, indicating a bearish or cautious market.
- **RISK TEST**: Index is above MA21 and MA55 but below MA10, suggesting a transitional phase.
- **RISK ON**: Index is above MA10, MA21, MA50, and MA55, signaling a bullish market.
### Key Features:
- **Customizable Table**: Displays the market mode and optional EMA values (MA10, MA21, MA50, MA55) in a customizable table.
- **Flexible Settings**: Adjust table position (top/bottom, left/right), background color, border color, text color, and transparency.
- **Index Selection**: Choose from BIST:XU100, NASDAQ:IXIC, or DJ:DJI (note: some indices may require a paid TradingView account for full access).
### How to Use:
1. Apply the indicator to a chart.
2. Select your preferred index in the settings.
3. Customize the table appearance and toggle EMA values as needed.
4. Refresh the chart after changing settings for updates to take effect.
### Notes:
- Designed for indices; apply to a stock chart to analyze the selected index.
- Free accounts may have limited access to NASDAQ or Dow Jones data.
- Perfect for traders monitoring market sentiment based on EMA trends.
Feel free to provide feedback or suggest enhancements!
This indicator analyzes market risk conditions based on Exponential Moving Average (EMA) crossovers of a selected index (BIST 100, NASDAQ Composite, or Dow Jones Industrial Average). It classifies the market into three modes:
- **RISK OFF**: Index is below MA50, indicating a bearish or cautious market.
- **RISK TEST**: Index is above MA21 and MA55 but below MA10, suggesting a transitional phase.
- **RISK ON**: Index is above MA10, MA21, MA50, and MA55, signaling a bullish market.
### Key Features:
- **Customizable Table**: Displays the market mode and optional EMA values (MA10, MA21, MA50, MA55) in a customizable table.
- **Flexible Settings**: Adjust table position (top/bottom, left/right), background color, border color, text color, and transparency.
- **Index Selection**: Choose from BIST:XU100, NASDAQ:IXIC, or DJ:DJI (note: some indices may require a paid TradingView account for full access).
### How to Use:
1. Apply the indicator to a chart.
2. Select your preferred index in the settings.
3. Customize the table appearance and toggle EMA values as needed.
4. Refresh the chart after changing settings for updates to take effect.
### Notes:
- Designed for indices; apply to a stock chart to analyze the selected index.
- Free accounts may have limited access to NASDAQ or Dow Jones data.
- Perfect for traders monitoring market sentiment based on EMA trends.
Feel free to provide feedback or suggest enhancements!
Notes de version
fix bugNotes de version
Includes alert conditions for RISK ON/OFF/TEST transitionsNotes de version
Version 1.1 Update - October 01, 2025- **New Feature**: Added option to switch between EMA (Exponential Moving Average) and SMA (Simple Moving Average) in settings. Users can now choose their preferred MA type for risk mode calculations.
- **Improvement**: Enhanced table visibility with customizable colors and positions.
- **Alert Enhancement**: Alerts now support both EMA and SMA transitions for RISK ON, RISK OFF, and RISK TEST modes.
- **Note**: Refresh the chart after changing MA type for accurate results. Some indices may still be restricted in free accounts.
Thank you for using! Feedback is welcome!
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.