OPEN-SOURCE SCRIPT
Cập nhật SMA Pro (Tick)

Simple moving average based on 100 ticks, by default. Use for high volume markets like ES, NQ, and RTY.
Phát hành các Ghi chú
## 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.**
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.