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 CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        31 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        21 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        184 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        342 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        264 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X