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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        102 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X