PROTECTED SOURCE SCRIPT
Multi-Timeframe ATR, Range Size, and Ticks Display

This PineScript indicator for TradingView displays a multi-timeframe (MTF) table showing ATR values, calculated range sizes (based on a user-defined percentage of ATR), and the number of ticks (R) in each range size for timeframes: 15m, 1h, 4h, 8h, and 1D. It also shows the minimum price change (mintick) for the symbol.
Key features:
ATR Calculation: Uses the standard ATR with a configurable period (default 14) fetched via request.security for each timeframe.
Range Size: Computes range as ATR * (percentage / 100), where percentage is user-input (default 10%).
Ticks (R): Divides range size by syminfo.mintick to get the number of ticks, useful for setting range bar sizes (e.g., in NinjaTrader or TradingView range charts).
Table Display: A customizable table at the top-right corner, updated only on the last bar for performance. Includes an option to show/hide the table.
Compatibility: Works on time-based charts; values remain consistent even if switching chart types, as ATR is always pulled from specified timeframes.
To use: Add to TradingView, adjust inputs, and apply to a time-based chart (e.g., 1m or 5m) for scalping BTC/USDT as per your strategy. The script ensures calculations are timeframe-independent, so switching to range/renko/etc. won't alter the displayed MTF data.
Key features:
ATR Calculation: Uses the standard ATR with a configurable period (default 14) fetched via request.security for each timeframe.
Range Size: Computes range as ATR * (percentage / 100), where percentage is user-input (default 10%).
Ticks (R): Divides range size by syminfo.mintick to get the number of ticks, useful for setting range bar sizes (e.g., in NinjaTrader or TradingView range charts).
Table Display: A customizable table at the top-right corner, updated only on the last bar for performance. Includes an option to show/hide the table.
Compatibility: Works on time-based charts; values remain consistent even if switching chart types, as ATR is always pulled from specified timeframes.
To use: Add to TradingView, adjust inputs, and apply to a time-based chart (e.g., 1m or 5m) for scalping BTC/USDT as per your strategy. The script ensures calculations are timeframe-independent, so switching to range/renko/etc. won't alter the displayed MTF data.
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.