MTF Stat

Overview
MTF Stat is a powerful multi-timeframe analysis tool that automatically calculates and displays statistical price levels based on historical session ranges (HSR). This indicator helps traders identify key manipulation, distribution, and expansion levels across multiple timeframes simultaneously.
Key Features
📊 Multi-Timeframe Analysis
6 Standard Timeframes: M30, H1, H4, H8, Daily, and Weekly
4 Custom Sessions: Define your own trading sessions with specific time ranges
View multiple timeframe levels on a single chart for confluence analysis
📈 Statistical Level Types
Manipulation Levels (±25%): Key areas where price often tests before reversing
Exaggeration Levels (±50%): Extended move targets during trending conditions
Distribution Levels (±75%): Common profit-taking and reversal zones
Extended Distribution (±100%): Extreme move targets based on full HSR
⚡ Dynamic ATR Mode
Switch between Historical Session Range (HSR) and Average True Range (ATR) calculations
ATR mode adapts to current volatility during expansion phases
Ideal for identifying targets when price is trending strongly
Each timeframe can be individually configured for HSR or ATR mode
🎨 Customization Options
Visual Settings: Adjustable line styles, widths, and colors for each timeframe
Label Display: Show/hide labels with customizable positioning and sizing
Historical Lines: Option to display previous session levels for backtesting
Time Zone Selection: Match your chart's timezone for accurate session calculations
How It Works
The indicator calculates the average range of previous sessions (default: 14 sessions) for each selected timeframe. It then projects statistical levels above and below the session open price based on percentages of this historical range.
HSR Mode: Uses the average of previous session ranges to create consistent, reliable levels based on historical price behavior.
ATR Mode: Dynamically adjusts levels based on current volatility, making it ideal for expansion phases and trending markets.
Use Cases
Support/Resistance Identification: Statistical levels often act as key S/R zones
Target Setting: Use distribution levels for profit targets during trends
Risk Management: Manipulation levels help identify potential stop areas
Multi-Timeframe Confluence: Identify areas where multiple timeframe levels align
Session Analysis: Custom sessions allow tracking of specific market hours (London, NY, Asia, etc.)
Best Practices
Use HSR mode during consolidation or ranging markets for stable levels
Switch to ATR mode during strong trends or expansion phases
Look for confluence between multiple timeframe levels
Combine with your existing strategy for enhanced decision-making
Adjust the HSR lookback period based on market conditions (default: 14)
Settings Guide
Timeframe Selection: Enable/disable individual timeframes based on your trading style
Custom Sessions: Set up to 4 custom trading sessions with specific time ranges and labels
ATR Settings: Toggle ATR mode for each timeframe when trading expansion moves
Level Display: Choose which statistical levels to display (25%, 50%, 75%, 100%)
Visual Settings: Customize appearance to match your chart setup
Note: This indicator is for educational and informational purposes only. Always combine with proper risk management and your own analysis.
📏 Custom Line Extension Toggle
Added option to limit how far lines extend into the future
Instead of extending across the entire session/timeframe, lines can now extend a custom number of bars from the current candle
Default: 5 bars (adjustable from 1-500)
Makes it easier to see relevant levels on larger timeframe charts
🛑 Stop at Session End Toggle
When using custom extension, lines can now stop extending once their session ends
Prevents historical session lines from continuing to update after the session is complete
Particularly useful for custom sessions (IB, RTH, etc.)
Default: Enabled
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Anth0nyy.
Lưu ý rằng tập lệnh riêng tư này, chỉ dành cho người được mời, chưa được các quản trị viên tập lệnh xem xét, và việc tuân thủ Nội quy vẫn chưa được xác định. TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Anth0nyy.
Lưu ý rằng tập lệnh riêng tư này, chỉ dành cho người được mời, chưa được các quản trị viên tập lệnh xem xét, và việc tuân thủ Nội quy vẫn chưa được xác định. TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.