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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    132 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    74 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    117 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    113 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    89 views
    0 likes
    Last Post CarlTrading  
    Working...
    X