Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Print text on panels

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

    Print text on panels

    Hi all,

    is it posible to plot text on panels? Insted of debuging with output window i would like to see some values on panels.

    Best,
    Vince.

    #2
    Hello,

    Yes, you can use DrawText() or DrawTextFixed() to draw on the panel:



    You can set DrawOnPricePanel = true or false to determine which panel it's drawn in:

    MatthewNinjaTrader Product Management

    Comment


      #3
      Vince,
      If you want to show specific text related to each or some bars you can use
      DrawText(CurrentBar+"1",my_value.ToString(),0,High[0],Color.Blue);
      ..to show value contained on my_value
      If you only want to show one value live on all the chart ( instead of independent values over each bar ) you can use :
      DrawTextFixed("bar",my_value.ToString(),TextPositi on.BottomRight);

      Regards,

      Pablo Maglio
      www.TheIndicatorStore.com
      pmaglio
      NinjaTrader Ecosystem Vendor - The Indicator Store

      Comment


        #4
        Thanks @Matthew, Thanks pmaglio.

        Best,
        Vince.

        Comment


          #5
          I am having a problem on a DrawText. I have attached an image. Please someone could help.
          Attached Files

          Comment


            #6
            Originally posted by edward_bell View Post
            I am having a problem on a DrawText. I have attached an image. Please someone could help.
            No. However, you can use the Chart Properties to create empty space between the last bar and the right axis, and draw test into that empty space.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by techgetgame, Yesterday, 11:42 PM
            0 responses
            8 views
            0 likes
            Last Post techgetgame  
            Started by sephichapdson, Yesterday, 11:36 PM
            0 responses
            2 views
            0 likes
            Last Post sephichapdson  
            Started by bortz, 11-06-2023, 08:04 AM
            47 responses
            1,613 views
            0 likes
            Last Post aligator  
            Started by jaybedreamin, Yesterday, 05:56 PM
            0 responses
            10 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            20 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Working...
            X