Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator strength box

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

    indicator strength box

    Is it possible to draw eg a box on a fixed position of the chart (eg left hand corner) with a fixed size (regardless of how the chart zooms in, scrolls etc) that I fill up depending on how high or low my indicator gets?

    I was trying to find some examples but couldnt find any. All charting seems to be organised around plotting time series and less so as an alerting system for the current state.

    I could code this up in C# as a separate panel of course, but was wondering if you had anything like this before I do so


    #2
    Hello crystalet,

    Thanks for your post.

    If you can use text or numerical values to express your indicator you might consider using Draw.TextFixed() which uses any of the 4 corners of the chart.
    Reference: https://ninjatrader.com/support/help..._textfixed.htm

    Otherwise, I would suggest using OnRender() to draw the box.
    Reference: https://ninjatrader.com/support/help.../?onrender.htm

    While not a direct example but certainly an educational one, check out the coding of the indicator SampleCustomRender in your NinjaTrader.

    Comment


      #3
      thanks for pointing me in the right direction - i will have a look a the sample

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      44 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      56 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      35 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      95 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      57 views
      0 likes
      Last Post PaulMohn  
      Working...
      X