Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot of Characters

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

    Plot of Characters

    Is there a way to plot an array of characters on a chart? Why would this be useful?
    Well if you have a chart with a lot of different symbols, it would be easier to able to distinguish them from each other.

    A perfect example would be a Previous Day High, Low, Open, Close indicator. Instead of having triangles pointing in different directions, you could just plot "H" for High , "L" for low etc...

    If would give traders a lot more options, especially if you were able to plot ASCII characters.

    #2
    Hello cutzpr,

    Thank you for the post.

    With the default plots, I dont believe there is a way to do this out of the box. You can, however, use OnRender to draw whatever you would like including text efficiently much like a Plot.

    For this, you would likely need to use two concepts, the first is drawing text from OnRender which you can see examples of in the SampleCustomRender indicator that comes with the platform. The second would be looping over the visible range of the chart, you can see a small example of this in the following page: https://ninjatrader.com/support/help...ghtsub=toindex

    This could be used to iterate over a set of visible bars and then draw the values on the chart. The values could be from an indicator such as PriorDayOHLC indicator and its plots. A Plot has the GetValueAt method which could be used in OnRender to retrieve values.

    I look forward to being of further assistance.

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello cutzpr,

      Thank you for the post.

      With the default plots, I dont believe there is a way to do this out of the box. You can, however, use OnRender to draw whatever you would like including text efficiently much like a Plot.

      For this, you would likely need to use two concepts, the first is drawing text from OnRender which you can see examples of in the SampleCustomRender indicator that comes with the platform. The second would be looping over the visible range of the chart, you can see a small example of this in the following page: https://ninjatrader.com/support/help...ghtsub=toindex

      This could be used to iterate over a set of visible bars and then draw the values on the chart. The values could be from an indicator such as PriorDayOHLC indicator and its plots. A Plot has the GetValueAt method which could be used in OnRender to retrieve values.

      I look forward to being of further assistance.
      Thank you, I will take a look into this.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      574 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      332 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