Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overiding Plot in Chart window and indicator window at the same time

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

    Overiding Plot in Chart window and indicator window at the same time

    Hi I am currently overriding plot to draw strings on a fixed X / Y scale like below

    Code:
    public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
    		{ 
                       "Drawing strings here"
    		}
    So which ever window the indicator is in will naturally be the window that is automatically selected to draw the text.

    So my question...

    Is is possible to select the main chart window and draw text on a fixed x/y scale here as well as in the indicator window from the same indicator?

    I understand that if the indicator is set to "Overlay = true" that i can then draw text on the main window but I also need to draw text in the indicator window, therefor my indicator is always set to overlay = false.


    Thanks in advance for any suggestions.

    #2
    Hello marty087,

    Thank you for writing in. There is currently no documented way to draw on multiple panels in NinjaTrader 7. You could accomplish this using an indicator pair: One indicator which draws on the main panel and provides signals to the second indicator which draws in its own panel, or vice versa.

    Please let me know if I may be of further assistance.
    Michael M.NinjaTrader Quality Assurance

    Comment

    Latest Posts

    Collapse

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