NR7 Indicator Based on Thomas Bulkowski's Theories

This NR7 indicator was built on the concept by Thomas Bulkowski and his ThePatternSite. NR7 is based on high to low price range (true range) that is the smallest of the prior 6 days (7 days total), when one NR7 shows, it means that today's candle body (low to high) is the narrowest of the past 7 days. Then if the current close is higher than the NR7's high, we call it a bullish breakout; and if the current close is lower than the NR7's low, we call it a bearish breakout. Regardless the direction, once the current close price goes above or below the high or low of the NR7 candle, we call it a "breakout" in this strategy. Bulkowski suggested on his website that only gave 7 calendar days (NOT trading days) for the symbol to breakout after NR7 occurs, and if the underlying asset does not breakout within 7 calendar days after one NR7 occurs, we would abandon this NR7 signal and start recounting again.

Since most securities/indexes do not trade on the weekends and have no data available, I switched 7 calendar days breakout limit to 5 trading days breakout limit, which will work on most assets. However, if you are trading cryptocurrencies or forex which have data on the weekends, feel free to add 2 more days to finish the NR7 count, all you have to do is to add "Buy6", "Buy7", "Sell6" and "Sell7" under line 11 and line 17, then add the senarioes under those "if" statements.

Every "NR7" will show up on the chart with a cross symbol and text next to it, then green arrowups show bullish signals and red arrowdowns show bearish signals. Bulkowski also added a "CPI" index on his NR7 strategy, this indicator does not include that "CPI equation" for simplicity purposes and other time frame tradings other than just weekly signals. Please like and share this script, let me know if any questions, thanks!
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.


Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?