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 Rogers101, 05-05-2024, 11:30 AM
        10 responses
        33 views
        0 likes
        Last Post Rogers101  
        Started by tradingnasdaqprueba, Today, 03:42 AM
        2 responses
        21 views
        0 likes
        Last Post tradingnasdaqprueba  
        Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
        21 responses
        114 views
        0 likes
        Last Post cmtjoancolmenero  
        Started by Quanto, 04-17-2024, 10:43 AM
        3 responses
        28 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Mindset, Yesterday, 06:19 AM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X