Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 data t/f on one chart

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

    2 data t/f on one chart

    Hi,

    I want to have 2 data time-frames on one chart. I want to have 2000t, and 5min.

    When I add both lots of data the 5m becomes the dominant chart and the 2000t chart candles overlap or gap to compensate for the time-frame of the 5m chart... Is there a way to make the 2000t the dominant chart, so the 5m chart candles gap and overlap?

    I have tried adding the 2000t data last and first, doesn´t matter which way the 5m is the dominant chart.

    Have attached a screenshot. Basically I would like the 2000t to be the dominant orderly chart.
    Attached Files

    #2
    Hello ScottieDog,

    Thank you for your note.

    The equidistant bar spacing is disabled when you have multiple data series on a chart.

    This cannot be changed.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      But why does the minute one take preference?

      Comment


        #4
        Originally posted by ScottieDog View Post
        But why does the minute one take preference?
        It is the determinate one. The bar end times, and hence position, can be calculated with exactitude beforehand.

        Comment


          #5
          And there is absolutely no way of making the 2000t become the dominant one? I dont care if the 5minute chart candles overlap, gap, or do whatever... its the 2000t that I want to see clean.

          Comment


            #6
            Hi ScottieDog,

            This is not possible to have the tick series set the equidistant intervals.

            I would recommend two charts stacked on top of each other.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Would it be (theoretically) possible with a ninjascript code?

              Comment


                #8
                Hi ScottieDog,

                I am not aware of any unsupported methods that could make this possible.

                It might possible to make a custom bar type that maybe has the bar time not be the actual bar time but instead a false bar time that is an even increment. Then you could add whatever ticks you wanted to any of the bars.

                I don't know if it would be possible and we wouldn't be able to assist with that as it would be highly unsupported.

                But you may want to check with a NinjaScript Consultant to see if thats something that can be done.
                http://www.ninjatrader.com/Ecosystem/NonBroker.php#81
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  What I want to do is to have a 5minute indicator plotting on the 2000tick chart, without the tick chart having all the gaps/overlaps. Is there a solution for that?

                  The 5min candles can just be made invisible, i have no requirement to see them, just the indicator that plots from the 5m.

                  Any suggestions?

                  Comment


                    #10
                    Hi ScottieDog,

                    Its possible to set a a dataseries to transparent so that it is hidden from the chart but used for the dataseries of an indicator, however, it still modifies the equidistant bar spacing and this likely isn't what you are looking for.

                    https://www.youtube.com/watch?v=x_6B...140D7&index=30
                    Chelsea B.NinjaTrader Customer Service

                    Comment


                      #11
                      Is there some way the indicator can be on its own 5minute chart, yet it throws alerts or a message to the 2000t chart?

                      Comment


                        #12
                        Hi ScottieDog,

                        You can add a data series to an indicator using the Add() call.
                        http://www.ninjatrader.com/support/h...s/nt7/add3.htm

                        Add the secondary data series of 5000 Tick to your indicator and then apply the indicator to a 5 minute chart, and be sure to process the alerts on BarsInProgress 1.

                        Below is a link to the help guide on BarsInProgess.
                        http://www.ninjatrader.com/support/h...inprogress.htm
                        Chelsea B.NinjaTrader Customer Service

                        Comment


                          #13
                          Can anyone help me with this?

                          Originally posted by NinjaTrader_ChelseaB View Post
                          Hi ScottieDog,

                          You can add a data series to an indicator using the Add() call.
                          http://www.ninjatrader.com/support/h...s/nt7/add3.htm

                          Add the secondary data series of 5000 Tick to your indicator and then apply the indicator to a 5 minute chart, and be sure to process the alerts on BarsInProgress 1.

                          Below is a link to the help guide on BarsInProgess.
                          http://www.ninjatrader.com/support/h...inprogress.htm
                          Can anyone help me with this?

                          Comment


                            #14
                            Been looking at this again this morning, I read the documentation but to be frank, I don´t understand it - I´ve no experience coding Ninjascript.

                            Could anyone help me with real world instructions on how to get this setup?

                            If it would be time consuming, could someone let me know, from the instructions it would seem there are not many steps to make this happen but I am none the wiser after reading the documentation



                            Originally posted by NinjaTrader_ChelseaB View Post
                            Hi ScottieDog,

                            You can add a data series to an indicator using the Add() call.


                            Add the secondary data series of 5000 Tick to your indicator and then apply the indicator to a 5 minute chart, and be sure to process the alerts on BarsInProgress 1.

                            Below is a link to the help guide on BarsInProgess.
                            http://www.ninjatrader.com/support/h...inprogress.htm

                            Comment


                              #15
                              Hi ScottieDog,

                              What is the indicator you are attempting to get alerts from?

                              What should trigger the alert?

                              Attached is an example of an SMACrossOver running alerts on a secondary series you can specify Tick.
                              Attached Files
                              Chelsea B.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by rocketman7, Today, 02:12 AM
                              6 responses
                              26 views
                              0 likes
                              Last Post rocketman7  
                              Started by guillembm, Yesterday, 11:25 AM
                              3 responses
                              16 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Started by junkone, 04-21-2024, 07:17 AM
                              10 responses
                              148 views
                              0 likes
                              Last Post NinjaTrader_BrandonH  
                              Started by tsantospinto, 04-12-2024, 07:04 PM
                              6 responses
                              101 views
                              0 likes
                              Last Post tsantospinto  
                              Started by ZenCortexReal, Today, 08:54 AM
                              0 responses
                              2 views
                              0 likes
                              Last Post ZenCortexReal  
                              Working...
                              X