OPEN-SOURCE SCRIPT
Niv Deal + Previ D W M + OPR + Asian

🧭 Indicator Description (English)
Name: Niveaux Dealers + Previous D/W/M Auto + OPR + Asian Session
Platform: TradingView (Pine Script v6)
Type: Multi-module visual indicator for market structure and session ranges
🧩 Overview
This indicator combines three complementary modules to help traders visualize key market levels, opening ranges, and session dynamics — all in one comprehensive tool.
It is designed primarily for index and futures trading (e.g. NQ, ES, DAX), but can be applied to any market or timeframe.
MODULE 1 — Dealers Levels + Previous High/Low (Auto)
This first module automatically extracts and plots custom Dealer Levels and Previous Period Levels.
It can parse manually entered price levels (from a single text input) such as daily max/min, control levels, put supports, and call resistances — then draw horizontal lines and labels on the chart.
Features:
One text input for all dealer levels (easy copy-paste format).
Automatic parsing of prices from text (ignores irrelevant characters).
Groups of levels:
Maxima (Max 1D / Event / Extreme)
Minima (Min 1D / Event / Extreme)
Buyer/Seller Controls
Put Supports and Call Resistances
Independent color, style, and width for each line.
Transparent rectangular labels positioned perfectly on the levels.
Previous Daily, Weekly, and Monthly High/Low levels added automatically.
Optional summary table showing all levels and values in real time.
MODULE 2 — OPR (Opening Price Range)
The second module highlights the Opening Price Range, defined by the first 15 minutes (or any chosen period) of the trading session.
Features:
Fully configurable start and end time (local chart timezone).
Displays:
High, Low, and Midline (median)
Optional rectangle between high/low
Optional labels on each line
Independent color, line style, and thickness.
Works perfectly with non-standard sessions (e.g. 13:30–22:00 UTC for U.S. futures).
Uses local chart time instead of exchange time for intuitive control.
MODULE 3 — Asian Session Range
The third module draws the Asian trading session range, automatically detecting price action between configurable hours (default 17:00 → 01:00).
Features:
Adjustable start and end time (supports overnight sessions).
Plots Asian High, Asian Low, and Asian Middle (mid-range line).
Highlights the Asian box area with semi-transparent color.
Optional labels at the end of each level.
Fully synchronized with the chart’s local timezone (same logic as OPR).
Simple toggle to enable or disable the entire Asian module.
⚙️ Customization & Display
Each module can be toggled independently.
Colors, line styles (solid, dashed, dotted), and thickness are customizable.
Label visibility and extensions (left/right) can be adjusted.
The indicator is lightweight and optimized for real-time performance.
💡 Use Case
Traders can use this multi-module setup to:
Identify dealer reaction zones and institutional levels.
Track previous highs/lows for potential liquidity sweeps.
Monitor session ranges (Opening and Asian) for volatility shifts.
Combine all three perspectives (Dealer, Session, Historical) into one unified view.
Would you like me to rewrite this description in TradingView publication form
Name: Niveaux Dealers + Previous D/W/M Auto + OPR + Asian Session
Platform: TradingView (Pine Script v6)
Type: Multi-module visual indicator for market structure and session ranges
🧩 Overview
This indicator combines three complementary modules to help traders visualize key market levels, opening ranges, and session dynamics — all in one comprehensive tool.
It is designed primarily for index and futures trading (e.g. NQ, ES, DAX), but can be applied to any market or timeframe.
MODULE 1 — Dealers Levels + Previous High/Low (Auto)
This first module automatically extracts and plots custom Dealer Levels and Previous Period Levels.
It can parse manually entered price levels (from a single text input) such as daily max/min, control levels, put supports, and call resistances — then draw horizontal lines and labels on the chart.
Features:
One text input for all dealer levels (easy copy-paste format).
Automatic parsing of prices from text (ignores irrelevant characters).
Groups of levels:
Maxima (Max 1D / Event / Extreme)
Minima (Min 1D / Event / Extreme)
Buyer/Seller Controls
Put Supports and Call Resistances
Independent color, style, and width for each line.
Transparent rectangular labels positioned perfectly on the levels.
Previous Daily, Weekly, and Monthly High/Low levels added automatically.
Optional summary table showing all levels and values in real time.
MODULE 2 — OPR (Opening Price Range)
The second module highlights the Opening Price Range, defined by the first 15 minutes (or any chosen period) of the trading session.
Features:
Fully configurable start and end time (local chart timezone).
Displays:
High, Low, and Midline (median)
Optional rectangle between high/low
Optional labels on each line
Independent color, line style, and thickness.
Works perfectly with non-standard sessions (e.g. 13:30–22:00 UTC for U.S. futures).
Uses local chart time instead of exchange time for intuitive control.
MODULE 3 — Asian Session Range
The third module draws the Asian trading session range, automatically detecting price action between configurable hours (default 17:00 → 01:00).
Features:
Adjustable start and end time (supports overnight sessions).
Plots Asian High, Asian Low, and Asian Middle (mid-range line).
Highlights the Asian box area with semi-transparent color.
Optional labels at the end of each level.
Fully synchronized with the chart’s local timezone (same logic as OPR).
Simple toggle to enable or disable the entire Asian module.
⚙️ Customization & Display
Each module can be toggled independently.
Colors, line styles (solid, dashed, dotted), and thickness are customizable.
Label visibility and extensions (left/right) can be adjusted.
The indicator is lightweight and optimized for real-time performance.
💡 Use Case
Traders can use this multi-module setup to:
Identify dealer reaction zones and institutional levels.
Track previous highs/lows for potential liquidity sweeps.
Monitor session ranges (Opening and Asian) for volatility shifts.
Combine all three perspectives (Dealer, Session, Historical) into one unified view.
Would you like me to rewrite this description in TradingView publication form
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。