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 burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        14 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        13 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,983 views
        3 likes
        Last Post jhudas88  
        Working...
        X