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).


本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。