Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CaclculateOnBarClose -False evaluates every minute in 60min bar?

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

    CaclculateOnBarClose -False evaluates every minute in 60min bar?

    I'm backtesting on historic minute data and have set bar interval to 60 minutes/bar.
    If I set CalculateOnBar=False, does the strategy evaluate on every minute or at the end of 60-minute bar? I don't have tick-data in my historic data feed.

    thanks
    Kiran

    #2
    Hello Kiran,

    Thank you for your post.

    Backtesting in the Strategy Analyzer is always done on historical data, and with historical data the calculations are always done on the close of the bar (CalculateOnBarClose=True).

    If you wish to have the backtest calculate intra-bar you can do so by adding a smaller interval to your strategy to simulate intra-bar fills and calculate on. For information on this method please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=6652

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, Yesterday, 11:51 AM
    0 responses
    16 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, Yesterday, 11:48 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    13 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    20 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X