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 PhillT, Today, 02:16 PM
            2 responses
            6 views
            0 likes
            Last Post PhillT
            by PhillT
             
            Started by Kaledus, Today, 01:29 PM
            3 responses
            10 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by frankthearm, Yesterday, 09:08 AM
            14 responses
            47 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by gentlebenthebear, Today, 01:30 AM
            2 responses
            14 views
            0 likes
            Last Post gentlebenthebear  
            Started by PaulMohn, Today, 12:36 PM
            2 responses
            17 views
            0 likes
            Last Post PaulMohn  
            Working...
            X