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 CaptainJack, 05-29-2026, 05:09 AM
            0 responses
            176 views
            0 likes
            Last Post CaptainJack  
            Started by CaptainJack, 05-29-2026, 12:02 AM
            0 responses
            93 views
            0 likes
            Last Post CaptainJack  
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            130 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            210 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            186 views
            0 likes
            Last Post CarlTrading  
            Working...
            X