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 cre8able, Yesterday, 07:24 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by cocoescala, 10-12-2018, 11:02 PM
        6 responses
        939 views
        0 likes
        Last Post Jquiroz1975  
        Started by gbourque, Today, 06:39 AM
        2 responses
        4 views
        0 likes
        Last Post gbourque  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by benmarkal, Yesterday, 12:52 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X