Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

One Plot in Indicator's Panel and another in Price Panel

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

    One Plot in Indicator's Panel and another in Price Panel

    Hello:

    Is there any way to draw one plot in indicator panel and another plot in price panel?

    I am developing an indicator that shows a red bar when the WMA is descending and a green bar when ascending.

    I want the same indicator can also show the WMA in the price panel, is it possible?

    Thanks!

    #2
    Hi jatubio,

    For this, you can use "BarColor"
    More info at - http://www.ninjatrader-support.com/H....html?BarColor

    You can use "Overlay = true" to overlay the WMA, however, this will apply to all plots.
    More info at - http://www.ninjatrader-support.com/H...e.html?Overlay
    TimNinjaTrader Customer Service

    Comment


      #3
      Thank you Tim,

      I can't use BarColor because the bars are drawn on the indicator panel.

      What i want if possible, is to use Overlay only for some Plots and not to all plots. Or for each plot to set the panel number where to drawn

      Comment


        #4
        Hi jatubio,

        Not sure how the bars are being drawn, but you can use DrawOnPricePanel before the DrawLine(), for example, statement.
        More info at - http://www.ninjatrader-support.com/H...awPriceOnPanel

        However, if these are plots, and you need to separate them amongst the panels, you will, unfortunately, need to create separate indicators.
        TimNinjaTrader Customer Service

        Comment


          #5
          Tim, thank you for your fast reply.

          I think it's not possible to do what i want.. but i try to explain better

          I have this code:
          Add(new Plot(new Pen(Color.FromKnownColor(KnownColor.Green),2), PlotStyle.Bar, "PlotTrendMA"));
          Add(new Plot(Color.Orange, "PlotWMA"));

          I want to show PlotTrendMA into panel indicator and PlotWMA into price panel.

          Best Regards

          Comment


            #6
            Hi jatubio,

            Understood, however, unfortunately, this is not possible and will need to be done with separate indicators.
            TimNinjaTrader Customer Service

            Comment


              #7
              Ok Tim, thank you very much

              Comment


                #8
                You're very welcome.

                Happy Coding!
                TimNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

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