TheMas7er

DR/IDR V1

TheMas7er Cập nhật   
Defining Range DR and Implied Defining Range IDR for regular Session and overnight Session

This script is showing the IDR and DR for the regular trading session and for the overnight session based on the rules from the creator of the DR/IDR concept.
It works for all major Forex Pairs, BTC, ETH and the US Equity indices. This concept is based on rules and has a 80 % probability to be correct.

It should be applied in the 5 Min. Timeframe.

The timings for the RDR are from 09.30 - 10.30 am New York local time.
The timings for the ODR are from 03.00 - 04.00 am New York local time.

Rules:
1. If price in the 5 Min timeframe closes above the DR high after 10.30 am or 04.00 am then the DR low will be with 80 percent probability the low of the trading session. This is called confirmation.
2. If price in the 5 Min timeframe closes below the DR low after 10.30 am or 04.00 am then the DR high will be with 80 percent probability the high of the trading session. This is called confirmation.
3. If price closes above the IDR high after 10.30 am or 04.00 am it is an early indication that the low of the DR will be the low of the day and vice versa.


Credits:
This script imports the recently published (VisibleChart) library containing functions that return values calculated from the range of visible bars on the chart.
bmistiaen helped me a lot with this script. Thank you a lot.
Phát hành các Ghi chú:
- fixed problem with daylight savings. Script should now always the right New York local time. You can still manually in the options.
Credit: trading-guide and bmistiaen for helping a lot.
Phát hành các Ghi chú:
- added ADR Range (after session DR)
- added click boxes to only show DR session you select
- added open line for each DR session
Phát hành các Ghi chú:
- added SD lines for RDR session until next RDR session
- SD lines can be shown static or dynamic (based on price movement)
- added option to extend ADR and ODR levels until the end of RDR session (only most recent session)
- added option to extend open price line
Phát hành các Ghi chú:
- Small bugfix for backtesting older contracts. Script should work now. Just a work around. We already informed TV about the main issue.

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 đồ?