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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        176 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        93 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        130 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        210 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        186 views
        0 likes
        Last Post CarlTrading  
        Working...
        X