Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CalculateOnBarClose=true vs FirstTickOfBar

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

    CalculateOnBarClose=true vs FirstTickOfBar

    Hi Ninjatrader


    I would like to compare two situations
    As far as I understand NinjaTrader is eventdriven and not timedriven. I suppose that barclose is true when a tick arrives and the time since the close of the previous bar exceeds the timelength of the bar. The bar is closed and that specific tick is the open of the next bar.

    1) CalculationOnBarClose=true
    When an entry is triggered at the close of the bar and assuming that the above is correct the entry can be executed at the most at the second tick of that bar or at a later tick.

    2) CalculateOnBarClose=false
    Suppose I have the the same entry rules as above and the additional condition FirstTickOfBar.

    It looks like that the results should be the same. I have not tested it.
    Am I correct or is there something that I do not see.?

    #2
    Yes, should be same. We have not tested it yet though.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    111 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    59 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    38 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    42 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    78 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X