tradeforopp

DR/IDR Case Study [TFO]

This indicator was made to backtest the DR / IDR concept (Defining Range / Implied Defining Range). There is only one built in DR session, but it can be changed to fit whatever session you like. Just make sure that the beginning time of the Session parameter matches the end time of the Defining Range parameter.

I'm not trying to validate or invalidate the claims of the DR concept, as the sample size of the success rate from this indicator is likely significantly smaller than that of the backtests where the initial success rates were derived. I'm simply sharing this indicator to encourage others to do their own due diligence by collecting their own data before implementing new concepts in their trading. Likewise I'm also making this open source for those who wish to do different kinds of backtesting and extract more value from this concept - for example, what percentage of the time does the session actually close further from the DR after initially closing through the range? Data like this could be good to track for those looking to make a trading model out of the DR concept.

Please note that all times are set to the "America/New_York" time zone by default. Besides the fact that the input times will use New York local time, this also means that they automatically adjust for Daylight Savings (this only impacts areas that do not observe Daylight Savings).

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