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

display current indicator values at top or bottom of chart

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

    display current indicator values at top or bottom of chart

    Hi,
    Is there a way to show the indicators' values in rows of boxes on the chart they way you can with think or swim? Stacking the plots isn't always needed and can take up too much space
    thanks,
    David

    #2
    Well, you can try using Draw.TextFixed.

    In the string to display, you can append
    a newline character '\n' whenever you
    want to start a new line of output.

    Comment


      #3
      Yes, or you could custom OnRender exactly what you want to be shown.

      This is not exactly the same idea, but you might also like this: https://ninjatraderecosystem.com/use.../addplotnames/
      Bruce DeVault
      QuantKey Trading Vendor Services
      NinjaTrader Ecosystem Vendor - QuantKey

      Comment


        #4
        Hello trader3000a,

        Thanks for your post.

        The Draw.TextFixed() method could be used to draw text on the top left, top right, bottom left, or bottom right of a chart window.

        See this help guide page for more information about using Draw.TextFixed() and sample code: https://ninjatrader.com/support/help...draw.textfixed

        See the sample script on this forum thread demonstrating how this could be accomplished with Draw.TextFixed(): https://forum.ninjatrader.com/forum/...403#post838403

        Or, you could consider using SharpDX in OnRender() to custom render text on a chart.

        See the help guide documentation below for more information about SharpDX and OnRender().

        OnRender(): https://ninjatrader.com/support/help...htsub=onrender
        Using SharpDX to Custom Chart Rendering: https://ninjatrader.com/support/help...htsub=onrender
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rhyminkevin, Today, 04:58 PM
        4 responses
        52 views
        0 likes
        Last Post dp8282
        by dp8282
         
        Started by iceman2018, Today, 05:07 PM
        0 responses
        5 views
        0 likes
        Last Post iceman2018  
        Started by lightsun47, Today, 03:51 PM
        0 responses
        7 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        14 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        50 views
        0 likes
        Last Post futtrader  
        Working...
        X