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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        181 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        334 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        258 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        358 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        187 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X