NR4 and NR7 Candlestick patterns

Optuma Forums Optuma Scripting NR4 and NR7 Candlestick patterns

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #53833
    • Topics: 44
    • Replies: 22
    • Posts: 66

    Hi looking to replicate the Narrow range patterns (NR4 and NR7) come from Tony Crabbel’s boo – Day Trading with Short Term Price Patterns.


    He’s focused on two different narrow range timeframes: four days and seven days. An NR4 pattern would be the narrowest range in four days, while an NR7 would be the narrowest range in seven days.  I’m currently not sure how to do this.


    I started off using the var1 = CANDLESTICKPATTERN(SCANALL=False, SCANTYPE=[Bullish Harami,Bearish Harami]) – which is an inside bar I believe.  How do I assess its range looking back 4 ad 7 days.





    • Topics: 5
    • Replies: 317
    • Posts: 322


    The following script will identify a bar that has the lowest range within the last 4 days:

    You can use the above script to build the 7 day version as well by adjusting the V2 line to 7 bars.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.