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 lightsun47, Today, 03:51 PM
        0 responses
        5 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        8 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        44 views
        0 likes
        Last Post futtrader  
        Started by Option Whisperer, Today, 09:55 AM
        1 response
        13 views
        0 likes
        Last Post bltdavid  
        Started by port119, Today, 02:43 PM
        0 responses
        9 views
        0 likes
        Last Post port119
        by port119
         
        Working...
        X