Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Output Box in Main Chart Window

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

    Indicator Output Box in Main Chart Window

    Hi

    I have a few indicators on my charts but it is quite time-consuming to check all their outputs/values before taking a trade. What I'd like to do therefore is to create a little "Box" (a bit like the data box) in the main (price) panel of each chart with the current output values of all my indicators.

    It should look like this:

    MACD: current value here
    RSI: current value here
    CCI: current value here
    etc.

    The values should be updated on every bar close.
    Are there any examples available of how to do this?

    Thanks a lot.

    Regards
    Last edited by laocoon; 03-17-2011, 08:23 AM.

    #2
    Hi laocoon,

    Yes, DrawTextFixed() is good for this.

    It's pretty straightforward, and one helpful C# command is \n for a new line. You might want this so you can place each indicator on a new line.

    Example:
    DrawTextFixed("indicatorValues", "MACD: " + MACD(7, 21, 3)[0].ToString("N2") + "\n SMA: " + Instrument.MasterInstrument.Round2TickSize(SMA(14)[0]), TextPosition.BottomRight);

    These samples can help with string and number formatting:

    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks a lot for that RyanM, I'll look into it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      581 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      338 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X