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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            66 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            36 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            59 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            52 views
            0 likes
            Last Post CarlTrading  
            Working...
            X