tumiza999

FIRST-HOUR TOOL V.1.8.08.23

Three horizontal lines are drawn on the chart to represent session prices. These prices are calculated based on the user-specified session:

"FirstHour Session High" represents the highest price reached during the firsthour session.
"FirstHour Session Open" represents the opening price of the firsthour session
"FirstHour Session Low" represents the lowest price reached during the firsthour session.

These prices are respectively colored with light blue, light yellow, and light pink.

The chart background can change color based on whether the current time is within the specified session. If the current time is within the session, the background will be colored in semi-transparent aqua green. Otherwise, it will remain transparent.

Upward-pointing triangle markers are used to highlight points where the closing price crosses above (crossover) or below (crossunder) the session levels.

These markers appear below the corresponding bar.
They are colored based on the type of crossover:

Yellow for crossover above the "FirstHour High"
Red for crossover above the "FirstHour Open"
Green for crossover above the "FirstHour Low"

Alerts:
Alert messages are generated when crossovers or crossunders of the closing price relative to the session levels occur.
The alerts appear once per bar. Alerts are generated for the following events:

Crossover of the price above the "Session High" with the message "High First Hour Crossover."

Crossunder of the price below the "Session Open" with the message "Open First Hour Crossunder."

Crossunder of the price below the "Session Low" with the message "Low First Hour Crossunder."

Crossover of the price above the "Session Low" with the message "Low First Hour Crossover."

In summary, this indicator provides a visual representation of session prices and events, helping traders spot significant crossovers and crossunders relative to key price levels.

Author @tumiza999
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 đồ?