Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculate on Bar Close with Strategy Analyzer vs. Real Time Strategy Enabling

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

    Calculate on Bar Close with Strategy Analyzer vs. Real Time Strategy Enabling

    Hi folks...

    I notice when implementing a real time Strategy (when enabling) the option to Calculate on Bar Close is available to select.

    When doing the backtesting with the Strategy Analyzer it is not. How can I add it as a option to my code so that it appears as a option in the backtesting?

    Can the developers just add it as a option automatically in the future for backtesting (feature request)?

    Please let me know how I can so that I can allow for it on the fly when backtesting...smile.

    I am using raw code as well...let me know on both raw code for strategies and the condition builder as well if you would...

    Thanks everyone...

    Greg

    #2
    Hello,

    Calculate on bar close will ALWAYS be set to true when backtesting. This is due to the fact that with a historical data set, only the OHLCVT of the bar is known and not each tick that made up the bar.


    Some advanced programmers will use multi-series strategies to enter historical trades on tick charts in order to simulate more accurate results.


    Please let me know if I can be of further assistance.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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