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
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        11 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        16 views
        0 likes
        Last Post AaronKoRn  
        Working...
        X