Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change execution instrument

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

    Change execution instrument

    Hi All,
    Newbie here. I'm sure I'm missing something obvious, but how do you code things if you want to use one instrument for your indicator/ strategy but execute orders on a different instrument?

    Thanks

    #2
    Trader5555, welcome to our forums here - you could Add() an instrument / series in the Initialize() of the script and then drive orders to it as needed :



    A working sample of this concept can be seen under the 'SampleMultiInstrument' strategy shipped per default with NT.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 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
    61 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
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X