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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      68 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      151 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      100 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      288 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X