OPEN-SOURCE SCRIPT

Daily Levels [Dr-Ram]

159
English:

This indicator plots the previous trading day's highest and lowest wick prices as horizontal reference lines, helping traders spot key support/resistance levels carried over from the prior session.

- On **Tuesday–Friday**, it draws the **High** and **Low** of the immediately preceding trading day (e.g., on Wednesday it shows Tuesday's High/Low).
- On **Monday**, since the market was closed over the weekend, it draws two separate reference pairs instead: **Friday's High/Low** (last full trading day) and **Sunday's High/Low** (the initial weekend/open session), each in its own color so they can be told apart at a glance.
- Each line begins at the start of its target day and extends only through that day — it does not carry over into the next day.
- Colors, line width, and line style (solid/dashed/dotted) are fully customizable in the settings.

فارسی:

این اندیکاتور بالاترین و پایین‌ترین قیمت (سایه کندل، نه بدنه) روز معاملاتی قبل را به‌صورت خطوط افقی مرجع روی چارت رسم می‌کند تا سطوح حمایت/مقاومت مهمی که از روز قبل باقی مانده مشخص شوند.

- در روزهای **سه‌شنبه تا جمعه**، بالاترین و پایین‌ترین نقطه‌ی **روز معاملاتی قبل** رسم می‌شود (مثلاً چهارشنبه، سقف/کف روز سه‌شنبه نشان داده می‌شود).
- در **دوشنبه**، چون بازار در تعطیلات آخر هفته بسته بوده، به‌جای یک جفت خط، دو جفت جداگانه رسم می‌شود: **سقف/کف جمعه** (آخرین روز کامل معاملاتی) و **سقف/کف یکشنبه** (اولین بخش بازگشایی هفته)، هرکدام با رنگ متفاوت تا به‌راحتی از هم تشخیص داده شوند.
- هر خط دقیقاً از ابتدای روز هدف شروع شده و فقط تا پایان همان روز ادامه دارد و به روز بعد کشیده نمی‌شود.
- رنگ‌ها، ضخامت خط و نوع خط (ممتد/خط‌چین/نقطه‌چین) کاملاً از تنظیمات قابل تغییر هستند.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。