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

Compare Price To Index

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

    Compare Price To Index

    I'm attempting to replicate the "Compare To Index" functionality common on many stock price websites.

    Creating a new indicator, defining a Dataseries and exposing it as a property seems straightforward.

    My question is, how do I explicitly retrieve the data for a particular instrument, like ^SP500, regardless of the instrument for which the chart is being drawn?

    (Note: I'm fluent in C#, but pretty new to NT)

    - Fred

    #2
    Fred, welcome to our forums - for this you would need to use a MultiInstrument strategy in NinjaTrader 6.5 - http://www.ninjatrader-support.com/H...struments.html

    MultiSeries charting and Indicators will be supported with NinjaTrader 7 - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks for the quick and accurate response to what this newbie should have found by searching the Helpfile.

      The NT extensibility via .Net interfaces is very powerful.

      Looking forward to creating a systematic base for trading and also contributing to the NT customizing community.

      - Fred

      Comment


        #4
        You're welcome Fred, looking forward to your contributions!
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by samish18, Yesterday, 08:31 AM
        3 responses
        14 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by funk10101, Yesterday, 09:43 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
        5 responses
        551 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by rtwave, 04-12-2024, 09:30 AM
        5 responses
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by funk10101, Today, 12:02 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X