OPEN-SOURCE SCRIPT
已更新 SMA Pro (Tick)

Simple moving average based on 100 ticks, by default. Use for high volume markets like ES, NQ, and RTY.
版本注释
## Moving Average Simple (Tick-Based) - SMA Pro Ticks**A precision tick-based moving average indicator designed for scalpers and day traders who need accurate, granular price action analysis.**
### Key Features:
📊 **Tick-Based Calculation** - Unlike traditional time-based moving averages, this indicator calculates the SMA based on a specific number of price ticks, providing more consistent signals across different market conditions and volatility levels.
🎯 **Fully Customizable** - Adjust tick length from 1 to 1000 ticks to match your trading style and timeframe. Default setting of 40 ticks is optimized for active intraday trading.
🔔 **Built-in Alerts** - Automatic crossover and crossunder alerts notify you when price crosses above or below the moving average, helping you catch trend changes in real-time.
📈 **Advanced Smoothing Options** - Includes multiple smoothing methods:
- Simple Moving Average (SMA)
- Exponential Moving Average (EMA)
- Smoothed Moving Average (SMMA/RMA)
- Weighted Moving Average (WMA)
- Volume Weighted Moving Average (VWMA)
- Bollinger Bands overlay option
### Perfect For:
- Scalpers looking for tick-precise entries and exits
- Day traders who need consistent signals across volatile and quiet periods
- Futures traders (ES, NQ, RTY) who trade based on tick movement
- Traders who want more granular control than traditional time-based MAs
### Default Settings:
- **Tick Length**: 40 (optimized for most intraday timeframes)
- **Color**: Bright teal/cyan for easy visibility
- **Line Width**: 2 (increased visibility on busy charts)
- **Crossover Arrows**: Hidden by default (can be enabled in Style settings)
### How to Use:
1. Add the indicator to your chart
2. Adjust tick length based on your trading timeframe and volatility
3. Optionally change line style to dotted in Style settings for cleaner charts
4. Set up alerts for crossovers to catch trend changes
5. Use with other indicators for confirmation
**Note**: Tick-based calculations provide more consistent behavior than time-based MAs, especially during periods of varying volatility or across different trading sessions.
---
**Compatible with all instruments and timeframes. Works best on lower timeframes (1m-5m) for intraday trading.**
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。