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 burtoninlondon, Today, 12:38 AM
    0 responses
    5 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