PROTECTED SOURCE SCRIPT

Multi-Timeframe ATR, Range Size, and Ticks Display

77
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.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.