Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

sending strings from indicator...

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

    sending strings from indicator...

    Hi everyone.

    I would like to return a string from an indicator. For example, I would like to return a string to the Market Analyzer and have the string that is returned displayed on the Market Analyzer once that indicator is selected. How possible is this? A string could be "89765 / 89789" (for my current situation).

    thanks!
    jon

    #2
    Hi jon, welcome to the NinjaTrader support forums - please check out this reference sample how to expose indicator values that are not plots - http://www.ninjatrader-support2.com/...ead.php?t=4991
    BertrandNinjaTrader Customer Service

    Comment


      #3
      NT_Bertrand,

      Thanks for replying. I've looked through the SampleBoolSeries example you linked to. I created an object of type StringSeries, and set the string to the desired string I want to make available for this indicator. However, when I add this indicator (and even when I add the SampleBoolSeries indicator) in the Market Analyzer, the column displays the last price. Why is this? Can I display text in any of the columns of the Market Analyzer? And how is the last price being displayed at all for this indicator -- is it the default value to display somehow?

      thanks

      Comment


        #4
        jonmoron,

        The Market Analyzer only displays plot values of the indicator. The StringSeries would just be a series and not a plot and so you cannot display it.

        By default you will have close price displayed as you are experiencing.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          NT_Josh,

          Thanks for the response. I see the instrument column has text (for example GC 04-09). Is there a way to create a custom Market Analyzer column to handle text? Or is this something we can look forward to in the future? TS has something similar. We are using the Market Analyzer for scanning markets and would love to display text from some custom-built indicators.

          thanks

          Comment


            #6
            jonmoron,

            The instrument column is different along with a few other string columns. Thank you for the suggestion. I have forwarded it to development.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Is it still not possible to read a StringSeries from the Market Analyzer?

              Comment


                #8
                Unfortunately you're correct in understand Saxo, please also see for example this thread where alternatives where discussed - http://www.ninjatrader.com/support/f...ad.php?t=45537
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by jc.am, Today, 07:59 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_EricB  
                Started by ybhx0315, Today, 09:06 PM
                0 responses
                6 views
                0 likes
                Last Post ybhx0315  
                Started by parkinsonbr, Today, 08:23 PM
                0 responses
                3 views
                0 likes
                Last Post parkinsonbr  
                Started by i2w8am9ii2, Today, 04:36 PM
                2 responses
                13 views
                0 likes
                Last Post i2w8am9ii2  
                Started by WeyldFalcon, Today, 02:07 PM
                2 responses
                16 views
                0 likes
                Last Post WeyldFalcon  
                Working...
                X