NR4 and NR7 Candlestick patterns

Optuma Forums Optuma Scripting NR4 and NR7 Candlestick patterns

This topic contains 1 reply, has 2 voices, and was last updated by Matthew Matthew 3 weeks, 3 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53833
    Avatar
    Mandeep
    • Topics: 22
    • Replies: 12
    • Posts: 34

    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.

     

    cheers

     

    Mandeep

    #53835
    Matthew
    Matthew
    • Topics: 4
    • Replies: 165
    • Posts: 169

    Hi,

    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.

Close