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.
    http://www.ninjatrader.com/support/h...pricepanel.htm
    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 Jeremytang, 07-14-2018, 06:45 PM
        21 responses
        439 views
        0 likes
        Last Post mav8rick  
        Started by LeonK, Yesterday, 09:26 PM
        1 response
        8 views
        0 likes
        Last Post bltdavid  
        Started by NicholasJoannette, Yesterday, 03:01 PM
        2 responses
        11 views
        0 likes
        Last Post NicholasJoannette  
        Started by rach1994, Yesterday, 12:20 PM
        1 response
        35 views
        0 likes
        Last Post bltdavid  
        Started by litamm89, Yesterday, 11:00 AM
        5 responses
        22 views
        1 like
        Last Post rafael_delima86  
        Working...
        X