OPEN-SOURCE SCRIPT
已更新 FMA Pro v1.0

Foxbrady Moving Average Pro - uses EMA for tick based charts and SMA for time based charts, automatically.
版本注释
**Foxbrady MA Pro v1.1 - Adaptive Moving Average Indicator**An intelligent moving average indicator that automatically adapts to your chart type, providing optimal settings for both time-based and tick-based charts.
**Key Features:**
• **Automatic Chart Detection** - Instantly recognizes whether you're using time-based charts (candlesticks, bars, etc.) or tick-based charts (tick, Renko, Kagi, etc.)
• **Smart Defaults** - Uses 40-period SMA for time charts and 100-period EMA for tick charts
• **Fully Customizable** - Adjust MA type (SMA, EMA, WMA, VWMA), length, color, and line width for each chart type
• **Visual Confirmation** - Info label displays current chart type and MA settings
**How It Works:**
- **Time-Based Charts**: Defaults to 40-period SMA (configurable to EMA, WMA, or VWMA)
- **Tick-Based Charts**: Defaults to 100-period EMA for smoother tick data analysis
**Perfect For:**
- Traders who switch between timeframes and chart types
- Scalpers using tick charts who need different MA settings than swing traders
- Anyone wanting a "set and forget" MA that adapts automatically
**Settings:**
All parameters are easily adjustable through the indicator settings panel, including separate configurations for time-based and tick-based charts.
版本注释
# Foxbrady MA Pro v1.1**A professional moving average indicator that automatically adapts to your chart type for optimal trading performance.**
## 🎯 Key Features
**Smart Chart Detection**
- Automatically detects whether you're using time-based or tick-based charts
- Supports Renko, Line Break, Kagi, Point & Figure, and Range charts
- Displays chart type and current settings in a convenient info label
**Dual Configuration System**
- **Time-Based Charts**: Choose from SMA, EMA, WMA, or VWMA with customizable length (default: 40-period SMA)
- **Tick-Based Charts**: Optimized EMA calculation with adjustable length (default: 100-period EMA)
- **Auto Mode**: Intelligently selects EMA for tick charts and SMA for time charts
**Full Customization**
- Adjustable MA length for both chart types
- Customizable source (close, open, high, low, etc.)
- Choose your preferred MA color
- Adjustable line width (1-5)
## 💡 How It Works
The indicator automatically identifies your chart type and applies the most appropriate moving average calculation:
- **Time-based charts** (1m, 5m, 1h, 1D, etc.) use your selected MA type with standard period length
- **Tick-based charts** (133T, 500T, etc.) and alternative chart types use EMA with extended period calculation optimized for tick data
No manual switching needed - the indicator adapts instantly when you change chart types!
## 📊 Use Cases
- **Trend identification** across multiple timeframes and chart types
- **Dynamic support/resistance** levels
- **Entry and exit signals** when price crosses the MA
- **Clean charts** with a single, intelligent moving average line
- **Multi-strategy trading** without changing indicator settings
## ⚙️ Default Settings
- Time Charts: 40-period SMA (or Auto)
- Tick Charts: 100-period EMA
- Color: Cyan (#00D4D4)
- Line Width: 2
## 📝 Info Display
A small label in the top-right corner shows:
- Current chart type (TIME CHART / TICK CHART)
- Active MA type and length
- Color-coded for quick identification
---
**Perfect for traders who switch between different chart types and want a consistent, reliable moving average without constant reconfiguration.**
*Copyright 2025, Foxbrady. Subject to Mozilla Public License 2.0.*
版本注释
# Foxbrady MA Pro v1.1**A professional moving average indicator that automatically adapts to your chart type for optimal trading performance.**
## 🎯 Key Features
**Smart Chart Detection**
- Automatically detects whether you're using time-based or tick-based charts
- Supports Renko, Line Break, Kagi, Point & Figure, and Range charts
- Displays chart type and current settings in a convenient info label
**Dual Configuration System**
- **Time-Based Charts**: Choose from SMA, EMA, WMA, or VWMA with customizable length (default: 40-period SMA)
- **Tick-Based Charts**: Optimized EMA calculation with adjustable length (default: 100-period EMA)
- **Auto Mode**: Intelligently selects EMA for tick charts and SMA for time charts
**Full Customization**
- Adjustable MA length for both chart types
- Customizable source (close, open, high, low, etc.)
- Choose your preferred MA color
- Adjustable line width (1-5)
## 💡 How It Works
The indicator automatically identifies your chart type and applies the most appropriate moving average calculation:
- **Time-based charts** (1m, 5m, 1h, 1D, etc.) use your selected MA type with standard period length
- **Tick-based charts** (133T, 500T, etc.) and alternative chart types use EMA with extended period calculation optimized for tick data
No manual switching needed - the indicator adapts instantly when you change chart types!
## 📊 Use Cases
- **Trend identification** across multiple timeframes and chart types
- **Dynamic support/resistance** levels
- **Entry and exit signals** when price crosses the MA
- **Clean charts** with a single, intelligent moving average line
- **Multi-strategy trading** without changing indicator settings
## ⚙️ Default Settings
- Time Charts: 40-period SMA (or Auto)
- Tick Charts: 100-period EMA
- Color: Cyan (#00D4D4)
- Line Width: 2
## 📝 Info Display
A small label in the top-right corner shows:
- Current chart type (TIME CHART / TICK CHART)
- Active MA type and length
- Color-coded for quick identification
---
**Perfect for traders who switch between different chart types and want a consistent, reliable moving average without constant reconfiguration.**
*Copyright 2025, Foxbrady. Subject to Mozilla Public License 2.0.*
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。