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 Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Working...
    X