Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CalculateOnBarClose

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

    CalculateOnBarClose

    Hi,

    If I have an indicator I want to port to a strategy that is using Unmanaged Approach and the indicator has CalculateOnBarClose = true and my strategy requires every tick, can I use the first tick of bar flag and then just back up all the indexes by 1?

    Does Close[0] using CalculateOnBarClose, given that it is the end of the bar, become Close[1] on the first tick of the next bar to reference the same value?

    This seems correct but I want to check for any gotcha's with this.

    Thanks
    Scott

    #2
    Hi Scott, that's correct you basically want to work alongside this reference sample here - http://www.ninjatrader.com/support/f...ad.php?t=19387

    Comment


      #3
      Bertrand, thanks so much. As I said in an earlier post (of yet another question), I really appreciate the amazing level of support you guys give.

      Scott

      Comment


        #4
        Thanks for your kind words Scott.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        91 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        31 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        69 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X