Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can an Indicator in a different Panel draw with SharpDX on the Security Panel?

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

    #16
    Originally posted by NinjaTrader_ChelseaB View Post
    Hello dween,

    The Draw.Text() method does not have an overload for DrawOnPricePanel.

    There is a DrawOnPricePanel property for the indicator, which will control if all drawing objects, including text, is drawn on the price panel.
    https://ninjatrader.com/support/help...pricepanel.htm

    I am also happy to request an overload be added to Draw.Text() for DrawOnPricePanel.

    An image would require custom rendering in OnRender(), which can only be on the indicator panel.
    https://ninjatrader.com/support/foru...art#post814062
    NinjaTrader_ChelseaB Thanks for responding; that's not what I wanted to hear but maybe we can dig further.
    • (1) happy to request an overload...
    Please do add my name to the list of people asking for Draw.Text to have a drawOnPricePanel parameter.

    My request is actually to add this parameter to all the Draw methods (Draw.Text, Draw.Polygon, Draw.PathLine, ...); this means of saying "draw it up on the Price panel" appears to be the most API-compliant way to do what I want to do.
    • (2) There is a DrawOnPricePael property for the indicator...
    Gotcha. I'm using that - set to false - see "Big Picture" below.
    • (3) An image would require custom rendering in OnRender(), which can only be on the indicator panel
    This is why I'm glad I'm talking with you - you know stuff like that. Again, it's not what I want to hear...


    Big Picture

    I want my "User Experience" to be that a customer loads my indicator and get my indicator loaded in a panel with a graph showing some analysis information, and also some graphics on relevant specific Bars in the Price panel.

    You see where I'm going. I want to "draw on my own new panel" and also "draw on the price panel". I'm pretty sure the docs said bad things would happen if I tried to change Indicator.DrawOnPricePanel on the fly...

    The Draw.ABC() "drawOnPricePanel" parameter lets me do what I want but only for a subset of the Draw methods - I get my hopes up seeing it there for Square() but then bump into it being omitted for Text().

    There doesn't seem to be a "framework ban" on the concept, because it is allowed for some API calls - it's just incomplete - I try pursuing it and run into a wall.

    >> This means if you need to render in multiple panels, you will need to add an instance of the indicator for each panel.

    But this means more manual actions for the customer - they want a one-click install experience.

    If I could have one Indicator "load" another Indicator, I could get the result I'm looking for - but we've discussed that elsewhere (link below)

    Bottom Line
    1. If you think of another way I could put an Image on the Price panel, please let me know, or Text, or a Polygon.
    2. If you think of a way for my Indicator, when it gets loaded, to be able to load a second indicator, either an overlay indicator (price panel) or one in a new independent panel - I'm interested.
    Thanks.
    Folks, I have two custom indicators. I'll call the first one REVEAL - it shows some information about the loaded security, in a separate panel (so it is not an overlay). A second one, I'll call it BOLTON, is essentially an overlay onto REVEAL - BOLTON portrays additional information that supplements what is shown by REVEAL.

    Comment


      #17
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello Bruce,

      Vote added. I've added one for dween as well.
      Thanks for doing that before I asked

      Would you consider adding the "broadened request" of adding the parameter not just to Draw.Text but also the other Draw methods, as I mentioned above?

      Comment


        #18
        Hello dween,

        SFT-962 is for all drawing tools and is not specific to Draw.Text().

        In the meantime, if you want to draw on multiple panels, it would be necessary to use an indicator instance for each panel you want to draw on. (You could apply them with a chart template)
        Chelsea B.NinjaTrader Customer Service

        Comment


          #19
          Originally posted by NinjaTrader_ChelseaB View Post
          Hello dween,

          SFT-962 is for all drawing tools and is not specific to Draw.Text().

          In the meantime, if you want to draw on multiple panels, it would be necessary to use an indicator instance for each panel you want to draw on. (You could apply them with a chart template)
          I like that idea. Thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          649 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          370 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
          574 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          576 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X