OPEN-SOURCE SCRIPT
מעודכן 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!
הערות שחרור
fix bugהערות שחרור
Includes alert conditions for RISK ON/OFF/TEST transitionsהערות שחרור
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!
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.