Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple timeframes in indicator does not seem to work... should it?

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

    #16
    Hello trader4_,

    Thanks for your reply.

    Are you able to create a 1-minute chart?

    Are you able to create a 5-minute chart? (the 5-minute bars would be created from 1-minute data)

    Comment


      #17
      Should not that work?

      Comment


        #18
        Yes, I min, 5 minutes.. I loaded bid prices only

        Comment


          #19
          Hello trader4_,

          Thanks for your reply.

          Are you able to create charts of 1 minute data using "last"?

          Are you able to create charts of 5 minute data using "last"?

          Comment


            #20
            no, not using last... data is not loaded

            Comment


              #21
              Hello trader4_,

              Thanks for your reply.

              This is likely the source of the issue then.

              In NinjaTrader, by default, this statement: Add(PeriodType.Minute, 5); would look for "last" type.

              With reference to the help guide on the Add() method: https://ninjatrader.com/support/help.../nt7/?add3.htm

              Please test using Add(PeriodType.Minute, 5, MarketDataType.Bid);

              Comment


                #22
                Even If I load last data.... it does not work
                IS this a bug in Ninja 7?

                Comment


                  #23
                  Hello trader4_,

                  Thanks for your reply.

                  If I understand correctly you have historical data that you imported as bid only, is that correct?

                  Did you try what I previously advised: Please test using Add(PeriodType.Minute, 5, MarketDataType.Bid);

                  Comment


                    #24
                    That was true in past tense. When I realized the last data was missing I imported that too.

                    Comment


                      #25
                      You suggestion does not seem to work

                      Comment


                        #26
                        Hello trader4_,

                        Thanks for your replies.

                        Correct, I forgot that when specifying the Marketdata type you also have to specify the instrument name according to: Add(string instrumentName, PeriodType periodType, int period, MarketDataType marketDataType)
                        Reference: https://ninjatrader.com/support/help.../nt7/?add3.htm

                        Please change Add(PeriodType.Minute, 5, MarketDataType.Bid); to Add("", PeriodType.Minute, 5, MarketDataType.Bid);
                        Using an empty string for the instrument name will pull the same instrument as the chart bars.

                        Alternatively, if you now have "last" data, then you can use Add(PeriodType.Minute, 5)

                        Comment


                          #27
                          ok, it works. thanks

                          Comment

                          Latest Posts

                          Collapse

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