Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator values from one chart to another

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

    Indicator values from one chart to another

    I know if you draw a line or Fibs on one chart you can transfer those values to another chart of the same symbol by selection that option from the properties drop down. So I'd like to know if the same can be accomplished with an indicator ? I have one that colors the background on a higher time frame and I'd like it to do the same on a smaller time frame. Can this be done ?

    Thanks

    #2
    Hello,

    Thank you for your note.

    Yes, this can be accomplished with Chart Templates

    Right click in your chart -> Templates -> Save As

    The Templates are independent of Instrument and Time Frame.

    CameronNinjaTrader Customer Service

    Comment


      #3
      Sorry, I guess I wasn't clear what I meant. What you suggest transfers the indicators to a smaller time frame but not the values of the higher time frame. If you apply this formula for example to a 4 tick range bar chart it's going to change the background color at a different time then if you applied it to a 12 tick range bar chart .

      example :

      if(Close[0] >= (Close[Displacement])+0.2)
      BackColorAll = Color.FromArgb(opacity,ColorAbove);

      Comment


        #4
        Hello,

        Thank you for the clarification.

        Within NinjaScript you can access other time frames with the Add command.



        Additionally, please take the time to review our reference guide on Multi-Time Frame scripts.
        CameronNinjaTrader Customer Service

        Comment


          #5
          OK , thank you.

          Comment


            #6
            Originally posted by NinjaTrader_Cameron View Post
            Hello,

            Thank you for the clarification.

            Within NinjaScript you can access other time frames with the Add command.



            Additionally, please take the time to review our reference guide on Multi-Time Frame scripts.
            http://www.ninjatrader.com/support/h...nstruments.htm
            Should have ask if this will work on custom bar types like " betterRenko " or Non gap range bars. ?

            Comment


              #7
              Guess not.

              Comment


                #8
                Hello,

                They will work on custom bar types, however, you need to know the underlying custom bar type slot.

                Within NinjaTrader, custom bar types use a custom number Custom0 through Custom9 to hold certain custom bar types.

                For example, if your custom bar type was using Custom2 you would use something along the lines of Add(PeriodType.Custom2, 16)


                You can ask the developer of the bar type which custom slot they are using.
                CameronNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                648 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                369 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                109 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                573 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                575 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X