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

Drawing numerical values on chart

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

    Drawing numerical values on chart

    Hello,

    Is there a way to draw numerical values from a custom series on the chart without creating drawing objects?

    I want to avoid creating tons of drawing objects from doing something like this:

    Draw.Text(this, @"Time-" + Time[0].ToString(),T1.Minutes.ToString(), 0, (Open[0]) + 0.20);

    #2
    Hello dashti,

    Thanks for your post and welcome to the forums!

    It looks like you are using NinjaTrader8. For future reference, anything related to NinjaTrader8 should be posted in the Ninjatrader 8 forums to avoid confusion, thank-you.

    You may want to look at using the OnRender() method to accomplish your goals. An example is provided in NinjaTrader8 as SampleCustomPlot.

    Reference: http://ninjatrader.com/support/helpG.../?onrender.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      This is exactly what I was looking for.

      Thanks Paul

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by giulyko00, Yesterday, 12:03 PM
      3 responses
      12 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by habeebft, Today, 07:27 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Started by AveryFlynn, Today, 04:57 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by Max238, Today, 01:28 AM
      4 responses
      38 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by r68cervera, Today, 05:29 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X