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 Jonafare, 12-06-2012, 03:48 PM
    5 responses
    3,986 views
    0 likes
    Last Post rene69851  
    Started by Fitspressorest, Today, 01:38 PM
    0 responses
    2 views
    0 likes
    Last Post Fitspressorest  
    Started by Jonker, Today, 01:19 PM
    0 responses
    2 views
    0 likes
    Last Post Jonker
    by Jonker
     
    Started by futtrader, Today, 01:16 PM
    0 responses
    8 views
    0 likes
    Last Post futtrader  
    Started by Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,792 views
    0 likes
    Last Post aligator  
    Working...
    X