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 CaptainJack, 05-29-2026, 05:09 AM
            0 responses
            320 views
            0 likes
            Last Post CaptainJack  
            Started by CaptainJack, 05-29-2026, 12:02 AM
            0 responses
            203 views
            0 likes
            Last Post CaptainJack  
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            190 views
            1 like
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            283 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            238 views
            0 likes
            Last Post CarlTrading  
            Working...
            X