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