• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    Patrick H.NinjaTrader Customer Service

    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().
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Zuhier Dourgham, Today, 03:55 AM
        0 responses
        6 views
        0 likes
        Last Post Zuhier Dourgham  
        Started by JorgeDamien, Today, 03:47 AM
        0 responses
        2 views
        0 likes
        Last Post JorgeDamien  
        Started by jefferyfrench, Today, 03:45 AM
        0 responses
        3 views
        0 likes
        Last Post jefferyfrench  
        Started by alberts, Yesterday, 09:50 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by VincentMicah, Today, 12:46 AM
        0 responses
        3 views
        0 likes
        Last Post VincentMicah  
        Working...
        X