tkarolak

Previous Day and Week Ranges

tkarolak Cập nhật   
I've designed the "Previous Day and Week Ranges" indicator to enhance your trading strategy by clearly displaying daily and weekly price levels. This tool shows Open-Close and High-Low ranges for both daily and weekly timeframes directly on your trading chart.

Key Features:

  • Potential Support and Resistance: The indicator highlights previous day and week ranges that may serve as key support or resistance levels in subsequent trading sessions.
  • Customizable Display Options: Offers the flexibility to show or hide daily and weekly ranges based on your trading needs.
  • Color Customization: Adjust the color settings to differentiate between upward and downward movements, enhancing visual clarity and chart readability.

This indicator is ideal for traders aiming to understand market dynamics better, offering insights into potential pivot points and zones of price stability or volatility.
Phát hành các Ghi chú:
Minor bug fix
Phát hành các Ghi chú:
Changelog
  1. Significant code refactor for faster execution.
  2. Visualizes open-close and high-low values as labels with tooltips for the previous day and week.
  3. Plots lines and labels for the Point of Control (POC) of the previous day and week.
Phát hành các Ghi chú:
New functions and type:
  • Introduced RangeColors type for improved color management.
  • renderLine function for easier creation and updating of lines.
  • copyAndClear method to handle data copy and clearing between BarArrays.
Phát hành các Ghi chú:
nothing important
Phát hành các Ghi chú:
Added max_bars_back that sets the maximum number of bars that is available for historical reference to prevent cache issue
Phát hành các Ghi chú:
Fixed issue with lines not being redrawn correctly by using persistent variables for line objects.
Phát hành các Ghi chú:
max_bars_back fixed
Phát hành các Ghi chú:
Change log:
  • Updated color scheme
  • Added transparency to fill color
  • getPoc() function changed
Phát hành các Ghi chú:
Change log:
  • getPoc() function uses math.floor now
Phát hành các Ghi chú:
Chart update
Phát hành các Ghi chú:
Added new Method to
Initializes the arrays within the `BarArrays` instance to empty arrays.
Phát hành các Ghi chú:
Rolling back to the previous version, the method for BarArrays object init has been removed

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?