Level8Trading

Majors HOD/LOD

Level8Trading Cập nhật   
This simple script detects when the major American sectors — technology ( QQQ ), financials ( XLF ), and healthcare ( XLV ) — are at the high or low of the current day at the same time. This information can be useful to gauge the potential strength or weakness of the trading day. The script uses the security function to pull in data from the three major indices and keeps a running cache of the high and low of the day regardless of the time frame selected.

A small table in the top right corner displays the current status of the major sectors. The display table can read:

"Mixed" - Major sectors are not at the high or low of the day at the same time

"Majors @ HOD" - Major sectors are at the high of day at the same time

"Majors @ LOD" - Major sectors are at the low of the day at the same time

Labels (optional) show past moments when the major sectors were at the high or low of the day at the same time. A green label above a candle indicates major sectors were at the high of the day at the same time, and a red label below a candle indicates major sectors were at the low of the day at the same time. These labels can be toggled on or off in the indicator settings.

To receive an alert when either condition happens (all majors at high of day or all majors at low of day), click the more (...) icon next to the indicator settings button and click "Add alert on Majors HOD/LOD".

If you notice any problems with the script, feel free to DM me.
Phát hành các Ghi chú:
-Changed the signals to reflect the real-time price and not the low or high of the current candle. This fixes the display table in the circumstance that the alert was triggered, but the sectors are no longer at the low or high of the day together
Phát hành các Ghi chú:
-Fixed a coding error that caused the "Majors @ LOD" alert to fire off incorrectly
Phát hành các Ghi chú:
-Fix so it only works on intraday time frames

➡️ View trading as a numbers game
➡️ Take on the business model of a casino
➡️ Find an edge that puts odds in your favor over a set of trades
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 đồ?