OPEN-SOURCE SCRIPT
Aggiornato 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!
Note di rilascio
fix bugNote di rilascio
Includes alert conditions for RISK ON/OFF/TEST transitionsNote di rilascio
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
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.