Announcement

Collapse
No announcement yet.

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

    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!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        579 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X