Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Indicator on Indicator

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

    Indicator on Indicator

    Say I have price bars in panel 1 and MACD in panel 2. I want to add the ATR stop like TSSuperTrend to MACD in panel 2. Can I do that without having to edit the code in the MACD indicator or can i do it from the drop down indicator box.

    #2
    Hello rtj4201,

    Yes, you can do that in the Indicator's Parameters so in the Indicators windows select the "TSSuperTrend" and in the panel to the right change the Panel to "2" to plot on the MACD panel as well.

    Let us know if you have any further questions.
    JCNinjaTrader Customer Service

    Comment


      #3
      I did that but it is overly skewed and I could not get it to plot corectly

      Comment


        #4
        Hello rtj4201,

        Can you try to change the "Scale Justification" of the MACD to "Left" and then press OK?
        JCNinjaTrader Customer Service

        Comment


          #5
          Is there an set of instructions for this somewhere, because i am obviously doing something wrong. What do i use as the input series for the ATR that plots on the MACD.

          Comment


            #6
            Hello rtj4201,

            Does the ATR use the MACD's output value as an input source or are you simply looking to overlay the two indicators in the same panel?
            KyleNinjaTrader Customer Service

            Comment


              #7
              I want the ATR to use the MACD output to calculate the ATR.

              Comment


                #8
                Hello rtj4201,

                Please see the screenshot for an example. I set Input series to the Macd line of the MACD indicator. You can choose the Avg line or Diff as well.
                Attached Files
                JasonNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by CortexZenUSA, Today, 12:53 AM
                0 responses
                1 view
                0 likes
                Last Post CortexZenUSA  
                Started by CortexZenUSA, Today, 12:46 AM
                0 responses
                1 view
                0 likes
                Last Post CortexZenUSA  
                Started by usazencortex, Today, 12:43 AM
                0 responses
                5 views
                0 likes
                Last Post usazencortex  
                Started by sidlercom80, 10-28-2023, 08:49 AM
                168 responses
                2,266 views
                0 likes
                Last Post sidlercom80  
                Started by Barry Milan, Yesterday, 10:35 PM
                3 responses
                13 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Working...
                X