Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using PriorDayOHLC for more than the "prior" day

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Using PriorDayOHLC for more than the "prior" day

    Within strategy wizard is it possible to use PriorDayOHLC indicator to reference days further back than just the "prior" day?
    For example a 5 min bar close greater than the daily bar high 5 days ago.

    #2
    Hello dtf139,

    Thank you for your post.

    This can be done by using Bars.BarsSinceSession + 1. Please visit the following link for information on Bars: http://www.ninjatrader.com/support/h...s/nt7/bars.htm

    Please let me know if I may be of further assistance.

    Comment


      #3
      I'm not a programmer so I was looking for something within the strategy wizard or at most editing the existing code within a strategy

      Comment


        #4
        Hello dtf139,

        Thank you for your response.

        While this coudl not be done with the Strategy Wizard, you can unlock the code to add the Bars.BarsSinceSession as the int BarsAgo for the PriorDayOHLC().

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        68 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        24 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        27 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        53 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X