PROTECTED SOURCE SCRIPT
Aggiornato ATR & Session & Pivot & Note – MultiTF Utility

**ATR & Session & Pivot – MultiTF Utility**
**Description**:This versatile indicator is designed for technical analysis in Forex, Crypto, Gold, and Silver markets. It displays ATR (Average True Range) values across multiple timeframes (Current, 1m, 5m, 15m, 1H, 4H, 1D, 1W) with TP/SL levels, alongside Pivot Point analysis (minor and major), Structure Lines, and Trading Session Boxes.
**Features:**
- **Multi-Timeframe ATR Table:** Shows ATR values for various timeframes with customizable table position (top/middle/bottom, left/center/right) and decimal precision.
- **Custom Text Colors:** Distinct colors for 5m (red), 1H (blue), My ATR (green), and LQ Close (purple).
- **Pivot Points:** Identifies minor pivots (HH, LH, LL, HL) with 9 left and 4 right bars, and major pivots with 18 left and 9 right bars.
- **Structure Lines:** Displays lines connecting pivots with adjustable style and width.
- **Session Boxes:** Highlights New York, London, Tokyo, and Sydney sessions (Tehran timezone +3:30) with customizable background transparency and day-of-week labels.
- **Special Calculations:** Includes My ATR, ATI, SCEP, LQ Close, Min LQ, Max LQ, My CL, and Min Reward.
**How to Use:**
1. Add the indicator to your chart.
2. Customize table position, colors, decimal precision, and enable/disable sessions or pivots via settings.
3. Use ATR values for setting TP/SL levels and leverage pivots and session boxes to identify key market levels.
**Settings:**
- **Table Position & Style:** Adjust table placement and font size.
- **ATR Options:** Enable/disable specific timeframes or special calculations.
- **Sessions:** Toggle visibility of trading sessions and adjust transparency.
- **Pivots:** Enable/disable minor/major pivots and set bar counts.
- **Structure Lines:** Activate lines and customize color, width, and style.
**Ideal For**:Traders seeking a comprehensive tool for ATR analysis, pivot identification, and session-based trading across multiple timeframes.
**Note:** Tailor the settings to align with your trading strategy and market for optimal results.
**Description**:This versatile indicator is designed for technical analysis in Forex, Crypto, Gold, and Silver markets. It displays ATR (Average True Range) values across multiple timeframes (Current, 1m, 5m, 15m, 1H, 4H, 1D, 1W) with TP/SL levels, alongside Pivot Point analysis (minor and major), Structure Lines, and Trading Session Boxes.
**Features:**
- **Multi-Timeframe ATR Table:** Shows ATR values for various timeframes with customizable table position (top/middle/bottom, left/center/right) and decimal precision.
- **Custom Text Colors:** Distinct colors for 5m (red), 1H (blue), My ATR (green), and LQ Close (purple).
- **Pivot Points:** Identifies minor pivots (HH, LH, LL, HL) with 9 left and 4 right bars, and major pivots with 18 left and 9 right bars.
- **Structure Lines:** Displays lines connecting pivots with adjustable style and width.
- **Session Boxes:** Highlights New York, London, Tokyo, and Sydney sessions (Tehran timezone +3:30) with customizable background transparency and day-of-week labels.
- **Special Calculations:** Includes My ATR, ATI, SCEP, LQ Close, Min LQ, Max LQ, My CL, and Min Reward.
**How to Use:**
1. Add the indicator to your chart.
2. Customize table position, colors, decimal precision, and enable/disable sessions or pivots via settings.
3. Use ATR values for setting TP/SL levels and leverage pivots and session boxes to identify key market levels.
**Settings:**
- **Table Position & Style:** Adjust table placement and font size.
- **ATR Options:** Enable/disable specific timeframes or special calculations.
- **Sessions:** Toggle visibility of trading sessions and adjust transparency.
- **Pivots:** Enable/disable minor/major pivots and set bar counts.
- **Structure Lines:** Activate lines and customize color, width, and style.
**Ideal For**:Traders seeking a comprehensive tool for ATR analysis, pivot identification, and session-based trading across multiple timeframes.
**Note:** Tailor the settings to align with your trading strategy and market for optimal results.
Note di rilascio
Improving the calculation of LQClose for determining the rotation area and liquidity huntIn this new calculation, we used a specific formula to make the area more suitable.
Note di rilascio
Revised Description for the Script "ATR & Session & Pivot – MultiTF Utility"Overview
This script is a versatile technical analysis tool that provides three main functionalities:
ATR (Average True Range) Calculation and Display: Computes ATR across multiple timeframes (current, 1m, 5m, 15m, 1H, 4H, 1D, 1W) using custom formulas tailored for different asset types (Forex and Crypto).
Session Boxes Display: Highlights key trading session timeframes (New York, London, Tokyo, and Daily) based on Tehran timezone (+3:30), showing high and low price ranges for each session.
Pivot Points and Market Structure Identification: Detects pivot points at two levels (Minor and Major) and displays market structure with labels such as HH (Higher High), LH (Lower High), LL (Lower Low), and HL (Higher Low), along with optional structure lines.
How the Script Works
ATR Calculation
The script employs a weighted averaging method to calculate ATR. For each timeframe, ATR is computed over various periods (e.g., 5, 10, 21, etc.) and then weighted with specific coefficients to produce a more refined average.
Different coefficients are applied for Forex and Crypto assets to account for their unique volatility profiles. For instance, adjustments are made for Forex pairs involving JPY or for assets like XAUUSD (Gold).
In addition to standard ATR, the script calculates special metrics such as "My ATR," "ATI," and "SCEP," which are used to derive Take Profit (TP) and Stop Loss (SL) levels.
A table is displayed on the chart, showing ATR values for each timeframe and special calculations (e.g., TP1, TP2, Min LQ, etc.).
Trading Sessions (Session Boxes)
The script visualizes trading sessions based on Tehran timezone (+3:30).
For each session (e.g., New York, London, Tokyo), a colored box is drawn on the chart, indicating the highest and lowest prices within that session’s timeframe.
Users can toggle the display of labels and border outlines for each session box and customize their colors and transparency.
Pivot Points and Market Structure
The script identifies pivot points at two levels: Minor (using fewer left/right bars) and Major (using more left/right bars).
Labels such as HH, LH, LL, and HL are displayed to indicate market structure. For example, an HH label denotes a higher high, which may suggest an uptrend.
Structure lines can be enabled to connect pivot points, providing a clearer view of market trends.
How to Use the Script
ATR Settings: Users can enable or disable ATR display for specific timeframes. The special calculations (e.g., TP and SL levels) can be used to inform trading strategies.
Session Box Settings: Users can activate the sessions they wish to display (New York, London, Tokyo, or Daily) and adjust colors, transparency, and labels. This feature helps traders identify key price ranges during major sessions.
Pivot Settings: Users can configure the number of left and right bars for pivot detection and toggle the display of HH/LL labels and structure lines.
Applications
Swing Traders: Utilize ATR for setting TP and SL levels and pivot points to identify potential reversal zones.
Day Traders: Leverage session boxes to spot high-volatility price ranges and use pivots to detect short-term trends.
Risk-Based Strategies: Use ATR and special calculations (e.g., Min LQ, Max LQ) to manage risk and determine risk-to-reward ratios.
Key Notes
For optimal use, adjust settings based on your preferred timeframe and asset type (Forex, Crypto, Gold, etc.).
The ATR table’s position (top, middle, bottom; left, center, right), colors, and font size are fully customizable.
This script is suitable for both lower timeframes (e.g., 1m, 5m) and higher timeframes (e.g., 1D, 1W).
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
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.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
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.