Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sample Intrabar Backtest

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

    Sample Intrabar Backtest

    Using the SampleBoolSeriesStrategy and the SampleIntrabarBacktest...

    If the indicator file is set to
    CalculateOnBarClose =
    true;

    can the strategy file be set to
    CalculateOnBarClose =
    false;?

    in other words, using the primary as a 3-minute and the secondary as an 89-tick, will the calls from the 89-tick be totally independent from the calconclose?

    kz
    Last edited by zeller4; 12-11-2008, 12:00 PM.

    #2
    Bool Strategy not exiting properly?

    Hello,

    I'm not able to make the exits work like I'm anticipating from the separate time frame between the strategy and indicator files.

    Please steer me in the correct direction to set the parameters correctly.

    I'm trying to get the exits after the HMA begins to switch directions.
    The DrawDiamonds is showing correctly but the exits don't work or are late. Perhaps it has to do with bar index or calculateonclose

    Thanks in advance.
    Kirk
    Attached Files

    Comment


      #3
      zeller4,

      There is currently a bug where you cannot have different CalculateOnBarClose settings. If you are calling an indicator from a strategy the indicator must not have a CalculateOnBarClose line.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        thanks,
        kz

        Comment


          #5
          BUG - post #3

          Hello Josh,

          Any iimprovement on the Bug you mentioned in post #3?
          Kirk

          Comment


            #6
            Kirk,

            It has been deemed a necessity to not have conflicting COBC lines so this would mean no COBC line in an indicator that is being hosted. All system indicators have been changed to reflect this requirement in NT7.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            668 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            377 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            110 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            575 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            580 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X