Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi TimeFrame Compile time error

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

    Multi TimeFrame Compile time error

    I'm wanting to use several time frames of the same instrument as input to indicators, but have fallen down at the first hurdle. In the help guide it says that a bars object for the same instrument as BarsArray[0] can be initialised by

    protected override void Initialize()
    {
    Add(PeriodType.Minute, 3);
    }

    but when I try this I get compile time error CS1501, "No overload for method 'Add' takes 2 arguments"

    Presumably a third argument is required, before PeriodType, indicating the instrument to be used? If so, is there an argument that I can use which indicates the BarsArray[0] instrument?

    #2
    Hi DaveS,

    Indicators based on mutiple time frames are not supported in NinjaTrader 6.5.

    However in our upcoming NinjaTrader 7 this will be possible.

    Comment


      #3
      Hi Bertrand.
      When I mailed your people about Multi Time Frame, they referred me to YOUR help Guide -



      Which is quite a long document explaining how to do it.
      Are there two NinjaTraders? Or what?

      Comment


        #4
        Hi DaveS,
        there's a big NinjaTrader family and growing steadily ...

        This section from our help guide deals with Mutiple Time Frame strategies, not indicators.

        Comment


          #5
          OK, I was sent the link in an email and never bothered to trace it to its source, I should have done!
          So, maybe I can get around this and still use NinjaTrader:-

          1) Can 'Shared Drawing Methods' be used by Strategies AND Indicators?

          2) If the answer to 1) is yes, is it OK to use a Strategy that does not submit any orders?

          3) Are you able to say when NinjaTrader v7 will be available?

          Thanks

          Comment


            #6
            Hi DaveS,

            Yes, you can draw from within a strategy and you don't have to submit any orders.

            We plan to release NinjaTrader 7 in the first quarter of 2009.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            574 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            332 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            553 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            551 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X