Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Paint price on chart

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

    Paint price on chart

    Hi- Since I'm using 2 different platforms to monitor futures turn zones...I'm looking for a ninjascript file that does something like this: At the top of the chart I would like for it to display for example the high price of each of the last ex: 4 bars and when a new bar prints the price at the top of the chart for the fourth bar back goes away...visually I'm working with custom smoothed bars and it seems like it would be easier to monitor shifts in direction by staring at numbers at the top of the chart vs the actual bars...does anyone know of any current ninjascript file that will do this? Thanks for any help

    PL

    #2
    Hello plemal,

    Thanks for your post.

    You could consider adding a toolbar and adding TextBlocks to the toolbar. Or you could consider using Draw.TextFixed or RenderTarget.DrawTextLayout with SharpDX.

    See the Position Display Indicator from our User App Share Center which you may find helpful. This indicator uses SharpDX to draw a text box on the chart.

    Position Display Indicator: https://ninjatraderecosystem.com/use...lay-indicator/

    See the SampleWPFModifications reference sample which demonstrates creating toolbars: https://ninjatrader.com/support/help...ui)-modifi.htm

    And, see the help guide documentation below for more information.

    SharpDX: https://ninjatrader.com/support/help..._rendering.htm

    RenderTarget.DrawTextLayout: https://ninjatrader.com/support/help...textlayout.htm

    Draw.TextFixed: https://ninjatrader.com/support/help..._textfixed.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Brandon:

      Thank you so much for your detailed response...although the above sounds foreign to me-I'll explore these in the next few days-thanks again!

      PL

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      576 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      553 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X