PROTECTED SOURCE SCRIPT
已更新

ADR Focus

219
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

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。