Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

printing text on panel

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

    printing text on panel

    hello, I've created an indicator that runs on a lower panel ... i want to print some information on the lower right section of that panel. In the past I've used the DrawTextFixed command however that seems to only print on the main panel. Anyway to print on a lower panel? thanks

    #2
    Hello pman777,
    Please make sure to set DrawOnPricePanel to false in the Initialize section of the code to draw any draw object on the indicator pane. Please refer to our help guide to know more about it.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      thank you Joydeep ... is there a way to print on the main panel and the lower panel from the same indicator?

      Comment


        #4
        Hello pman777,
        You can toggle DrawOnPricePanel to true and false in the OnBarUpdate section to do it.

        Code:
        if (conditions)
        {
          DrawOnPricePanel = true;
          DrawTextFixed(....);
        }
        
        if (conditions)
        {
          DrawOnPricePanel = false;
          DrawTextFixed(....);
        }
        However please note this is not officially supported.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        173 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        91 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        129 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        208 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        186 views
        0 likes
        Last Post CarlTrading  
        Working...
        X