Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Passing Value to Market Analyzer

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

    Passing Value to Market Analyzer

    I want my indicator, that does not plot a value, to return an IntSeries value to a Market Analyzer window. I have a private IntSeries indicatorValue defined in Variables -

    private IntSeries indicatorValue;

    and initialized in Initailize -

    indicatorValue = new IntSeries(this);

    And I have a public IntSeries -

    [Browsable(false)]
    [XmlIgnore()]
    public IntSeries IndicatorValue
    {
    get { return indicatorValue; }
    }

    For test purposes I am setting indicator.Value = 4 in OnBarUpdate -

    indicatorValue.Set(4);

    How do I specify that I want that value in my Market Analyzer window? I have added the indicator as a column. What do I have to do to see my test value, 4, in the Analyzer?

    #2
    Hello,

    If you wanted to output it as an indicator it would require assigning it a plot so that you could select it in the market analyzer drop down to select what plot to output.

    Otherwise if you do not want to do this requires unsupported programming to create an indicator that is a market analyzer only indicator.

    There is no documentation on how to do this. The only thing you can do is look at the example for the NinjaTrader market analyzer indicators which the code can be seen through windows explorer by navigating manually to the My Documents->NinjaTrader 7->bin->custom->Market Analyzer column. It is here you could adapt on of these to do what you need.

    Let me know if I can be of further assistance.

    Comment


      #3


      There is a link in that thread which will take to the latest version of my code.

      It should give you some ideas.

      Comment


        #4
        Thanks for the direction.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AveryFlynn, Today, 04:57 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by Max238, Today, 01:28 AM
        4 responses
        37 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by r68cervera, Today, 05:29 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by geddyisodin, Today, 05:20 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by timko, Today, 06:45 AM
        2 responses
        14 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Working...
        X