OPEN-SOURCE SCRIPT

Time Range

Theo digambars4u
### Indicator Name: **Time Range**

#### Description:
The **Time Range** indicator allows users to highlight specific time ranges on a chart for each day of the week. It uses customizable time inputs for every day (Monday to Sunday), allowing the user to define trading sessions or any time-based range. These sessions are visualized by shading the background of the chart within the defined periods.

#### Key Features:
- **Custom Sessions**: For each day of the week (Monday to Sunday), the user can define a unique time session by specifying the start time using the input fields.
- **Day-wise Session Activation**: The user can toggle the activation of sessions for each day by using checkboxes. If the session for a particular day is disabled, no background shading will appear for that day.
- **Background Highlighting**: When a session is active, the background of the chart during the specified session period will be shaded in gray with a 70% transparency. This helps the user visually identify active time ranges across multiple days.

#### Use Cases:
- **Highlighting Trading Sessions**: Traders can use this indicator to easily visualize specific market sessions such as the New York or London trading sessions.
- **Visualizing Custom Time Blocks**: Can be used to highlight any custom time blocks that are important for the trader, such as key trading hours, news release periods, or other time-based strategies.

#### Customizable Parameters:
- **Day Toggles**: Checkboxes to activate or deactivate sessions for each day of the week.
- **Time Range Inputs**: Time range inputs allow the user to set start times for each session, which are applied based on the user's selection for the day.

This indicator helps streamline chart analysis by giving clear visual markers for time-based events or trading windows.
Cycles

Mã nguồn mở

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

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

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