Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trade Alternate Instrument from Strategy Conditions

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

    Trade Alternate Instrument from Strategy Conditions

    Greetings,

    I am wondering how I could use one of my existing strategies, developed to be used on 1 particular instrument but have it trigger entries/exits on a completely different instrument, hopefully without changing too much. Is there a way to specify the instrument in the entry/exit methods?

    Thank you,
    hbmiles2000

    #2
    hbmiles2000, yes what you look for here is a MultiInstrument strategy, a working example is preinstalled with NT and it's named 'SampleMultiInstrument' strategy.

    The framework used is explained in depth here in our helpguide :

    Comment


      #3
      Thanks Bertrand-one more question that I cannot find the answer to in the documentation - where & how do you define the signal name you can use to enter/exit various instruments within the context of bars updates for other instruments?
      Thx again,
      hbmiles2000

      Comment


        #4
        Please take as example this Market order entry overload we have :

        EnterLong(int barsInProgressIndex, int quantity, string signalName)

        The barsInProgressIndex is the bars series you submit to, if you Add() for example MSFT to your strategy and enter 1 as the index (the second instrument, it starts counting from 0) then you would submit to MSFT instead. The signalName is just a string you could configure to your liking and potentially add the instrument name here as well to differentiate.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        666 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        377 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        580 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X