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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      77 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X