PROTECTED SOURCE SCRIPT
Multi-MA Trend Indicator with ATR by nkCharts

The MMA-ATR is a powerful all-in-one tool that combines multi-timeframe Moving Averages with ATR-based Stop Loss & Take Profit levels. It is designed to help traders quickly assess trend direction, volatility, and potential trade levels in one clean visual setup.
Key Features
MA Trend Table with:
ATR-Based Trade Levels
ATR Table with:
Customizations
How to Use
Best For
⚠️ Disclaimer: This indicator is for educational purposes only. It does not provide financial advice or guarantee profits. Always perform your own analysis before making trading decisions.
Key Features
- Multi-MA Trend Detection
- Plots 5 customizable moving averages (choose from EMA, SMA, RMA, WMA, VWMA).
- Automatic color coding: Bullish (green), Bearish (red), Neutral (gray).
MA Trend Table with:
- MA values
- Current chart trend
- Higher timeframe (Daily) trend confirmation
ATR-Based Trade Levels
- Dynamic Stop Loss (SL) and Take Profit (TP) levels based on ATR multipliers.
- Separate visual lines for long and short setups.
ATR Table with:
- ATR value for the current chart timeframe
- ATR value for the Daily timeframe
Customizations
- Choose MA type, length, and price source.
- Customize bullish, bearish, and neutral colors.
- Adjustable table position and text size.
- Fully configurable ATR length, multipliers, and colors.
How to Use
- Add the indicator to your chart.
- Use the MA Trend Table to identify short-term and higher timeframe trend direction.
- Refer to ATR-based SL/TP levels to manage risk and potential profit targets.
- Combine both to filter entries and improve trade timing.
Best For
- Swing traders and intraday traders who rely on trend confirmation and volatility-based risk management.
- Traders looking for a multi-timeframe confirmation system that reduces noise.
⚠️ Disclaimer: This indicator is for educational purposes only. It does not provide financial advice or guarantee profits. Always perform your own analysis before making trading decisions.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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.