Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Correlation between two instruments

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

    Correlation between two instruments

    Can you please tell me how to correlate two different instruments in custom strategy? I need to create an indicator of this above correlation in the strategy.

    #2
    Hello Berny Paul,

    Please see the link below for information about strategies that support multi instruments and time frames.

    Comment


      #3
      Thank you Jason.

      I was going through the link which you provided. To confirm, The "APPL" and "MSFT" which described in that page are the instruments. right?
      Last edited by bernypaul; 09-29-2009, 06:37 AM. Reason: Clarification

      Comment


        #4
        You are correct in your assumption.

        These are the Apple and Microsoft stocks.

        Comment


          #5
          Thanks. But how can I make those dynamic. What I meant to say is - how can I use a parameter to define the instruments like we have parameters for indicators.

          Comment


            #6
            bernypaul, changing those added instruments dynamically in the Initialize() is unfortunately not supported.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            27 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            117 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            69 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            226 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            417 views
            0 likes
            Last Post CaptainJack  
            Working...
            X