Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Combine indicators into one?

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

    Combine indicators into one?

    I want to aggregate a few indicators.

    So I'll make a custom indicator and I need to it have both ADX and SMA.

    Based on those values will return a simple 1, 0, -1 (long, flat, or short respectively)

    How can I add ADX and SMA to the indicator?

    I tried Add( ADX(90)) but that gives an error.

    Sincerely,
    Wayne

    #2
    You woud have to create a plot for each indicator and then assign the value of the ADX to this plot.
    RayNinjaTrader Customer Service

    Comment


      #3
      Ray,

      Thanks. Now I'm finding that the SMA and ADX plot either in panel 2 or panel 1. Neither of that works. I need SMA in panel one and ADX in panel 2.

      How do I do that?

      Wayne

      Comment


        #4
        Not sure I follow.

        - A custom indicator will plot in what ever panel you apply it in
        - A custom strategy where you have added indicators for display can have their panels set via this tip - http://www.ninjatrader-support.com/v...ead.php?t=3228
        RayNinjaTrader Customer Service

        Comment


          #5
          Right, you didn't follow.

          I'm adding plots into a custom indicator.

          One plot I want in pane 1 and the other in pane 2.

          Please help.

          Wayne

          Comment


            #6
            This is not possible.
            RayNinjaTrader Customer Service

            Comment


              #7
              Okay. I already gave up.

              What about my other problem post? The adx High and Low DataSeries don't get set when ADX is within another indicator which is also within a strategy.

              Help.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Hwop38, 05-04-2026, 07:02 PM
              0 responses
              160 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Started by CaptainJack, 04-24-2026, 11:07 PM
              0 responses
              308 views
              0 likes
              Last Post CaptainJack  
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              245 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              349 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              179 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Working...
              X