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 helpwanted, Today, 03:06 AM
        1 response
        7 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        7 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        385 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X