Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Rapine Heihei, Today, 08:19 PM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by Rapine Heihei, Today, 08:25 PM
            0 responses
            6 views
            0 likes
            Last Post Rapine Heihei  
            Started by f.saeidi, Today, 08:01 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by Rapine Heihei, Today, 07:51 PM
            0 responses
            8 views
            0 likes
            Last Post Rapine Heihei  
            Started by frslvr, 04-11-2024, 07:26 AM
            5 responses
            98 views
            1 like
            Last Post caryc123  
            Working...
            X