PROTECTED SOURCE SCRIPT
Обновлено

ADR Focus

575
ADR Focus Indicator - Documentation
Overview
ADR Focus is a comprehensive trading indicator designed for intraday traders who use Average Daily Range (ADR) strategies. It provides a visual dashboard that tracks daily price movements against ADR-based targets, helping traders identify potential entry and exit points based on statistical price ranges.
Key Features
1. ADR-Based Price Levels
The indicator calculates and displays multiple price levels based on the Average Daily Range:

Daily Open Line: The opening price of each trading day
Previous Daily Midpoint: The midpoint between the previous day's open and close
High Risk Levels (1.5x ADR): Closer targets with higher probability of being hit
Low Risk Levels (2.0x ADR): Further targets with lower probability but better risk/reward

2. Dynamic Color-Coded Lines
Lines are automatically colored based on the day's trend direction:

Bullish Days (Heikin Ashi close > open):

Upper lines = Take Profit targets (green shades)
Lower lines = Stop Loss levels (red shades)


Bearish Days (Heikin Ashi close < open):

Lower lines = Take Profit targets (green shades)
Upper lines = Stop Loss levels (red shades)



3. Interactive Dashboard Table
A comprehensive table displaying:

Daily Status Section: Current day's open price and whether TP/SL levels have been hit
Daily Breakdown: Historical performance for multiple days showing:

Date and day of week
Trend direction (Bull/Bear)
ADR hit status with multi-day tracking
Optional: Distance between open and previous daily midpoint (%)


Summary Row: Win rate calculation and total TP/SL hits

4. Multi-Day Hit Detection
The indicator tracks when ADR levels are hit across multiple days, showing:

Which level was hit (TP 1.5x, TP 2.0x, SL 1.5x, or SL 2.0x)
How many days it took to hit the level (D+1, D+2, etc.)

Customizable Settings
ADR Settings

ADR Length: Number of days used to calculate the average daily range (default: 21)
High Risk Multiplier: Multiplier for closer targets (default: 1.5x)
Low Risk Multiplier: Multiplier for further targets (default: 2.0x)
Max Days: Number of days to display in the dashboard (default: 5)

Line Display Settings

Toggle visibility for each line type (Open, Mid, High Risk, Low Risk)
Customize colors for all line types
Adjust line width and style (Solid, Dashed, Dotted)

Table Display Settings

Position: Choose from 9 positions on the chart
Text Size: Adjust from tiny to huge
Local Timezone: Set your timezone for accurate daily calculations

How It Works

ADR Calculation: The indicator calculates the average range (high - low) over the specified period
Level Generation: Based on the daily open, it creates symmetrical levels above and below using ADR multipliers
Trend Detection: Uses Heikin Ashi candles to determine the day's bias (bullish/bearish)
Performance Tracking: Monitors whether price hits the calculated levels, both intraday and across multiple days
Win Rate Analysis: Calculates the percentage of successful TP hits versus SL hits

Use Cases
For Day Traders

Identify potential reversal points based on statistical price extremes
Set profit targets and stop losses based on historical volatility
Track performance of ADR-based strategies over time

For Swing Traders

Monitor multi-day level hits to understand market momentum
Use the dashboard to identify when markets are overextended
Analyze win rates to optimize entry timing

For Strategy Development

Backtest ADR-based approaches with visual confirmation
Adjust multipliers to find optimal risk/reward ratios
Study the relationship between daily opens and previous midpoints

Visual Indicators

Red-highlighted rows: Days where stop loss was hit
Green trend cells: Bullish days
Red trend cells: Bearish days
"Today" label: Clearly identifies the current trading day

Best Practices

Combine with other indicators: ADR levels work best when confirmed by other technical analysis tools
Monitor win rates: Adjust your approach if win rates drop below acceptable levels
Consider market conditions: ADR strategies may perform differently in trending vs. ranging markets
Use appropriate timeframes: This indicator is optimized for daily analysis of intraday movements
Информация о релизе
updated documentation
Информация о релизе
added price on tp and sl
Информация о релизе
updated show prices
Информация о релизе
fixed data checks for today
Информация о релизе
added alerts on level touch. apply alert to entire watchlist on tradingview premium
Информация о релизе
added line labels with prices
Информация о релизе
added labels on levels with prices
Информация о релизе
added show only statistics option
Информация о релизе
added pair in table title
Информация о релизе
updated text for tp1 and tp2
Информация о релизе
added alerts and hook signals for discord channels
Информация о релизе
added labels with prices
Информация о релизе
added custom timeframe
Информация о релизе
fixed mtf text
Информация о релизе
fixed text for mtf
Информация о релизе
added touched level width
Информация о релизе
updated for small timeframes
Информация о релизе
added hide table functionality
Информация о релизе
added volume column
Информация о релизе
fixed current candle tp and sl

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.