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 arvidvanstaey, Today, 02:19 PM
    4 responses
    11 views
    0 likes
    Last Post arvidvanstaey  
    Started by samish18, 04-17-2024, 08:57 AM
    16 responses
    61 views
    0 likes
    Last Post samish18  
    Started by jordanq2, Today, 03:10 PM
    2 responses
    9 views
    0 likes
    Last Post jordanq2  
    Started by traderqz, Today, 12:06 AM
    10 responses
    18 views
    0 likes
    Last Post traderqz  
    Started by algospoke, 04-17-2024, 06:40 PM
    5 responses
    48 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X